From 7b5d2633a9fc074de36a5e6436c94b66b38d42df Mon Sep 17 00:00:00 2001 From: narayana Date: Wed, 21 Sep 2022 16:51:29 +0530 Subject: [PATCH 1/3] version upgrade --- CHANGELOG.md | 4 ++++ README.md | 2 +- lib/plivo/version.rb | 2 +- 3 files changed, 6 insertions(+), 2 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index d5e689d0..b0ed1d0e 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,9 @@ # Change Log +## [4.30.1](https://github.com/plivo/plivo-go/tree/v4.30.1) (2022-09-20) +**Feature - faraday upgrade** +- faraday version upgrade + ## [4.30.0](https://github.com/plivo/plivo-go/tree/v4.30.0) (2022-08-26) **Feature - 10DLC APIs** - Added new 10DLC APIs diff --git a/README.md b/README.md index 2879c31f..58d3e174 100644 --- a/README.md +++ b/README.md @@ -9,7 +9,7 @@ The Plivo Ruby SDK makes it simpler to integrate communications into your Ruby a Add this line to your application's Gemfile: ```ruby -gem 'plivo', '>= 4.30.0' +gem 'plivo', '>= 4.30.1' ``` And then execute: diff --git a/lib/plivo/version.rb b/lib/plivo/version.rb index e1e84946..9d61bea1 100644 --- a/lib/plivo/version.rb +++ b/lib/plivo/version.rb @@ -1,3 +1,3 @@ module Plivo - VERSION = "4.30.0".freeze + VERSION = "4.30.1".freeze end From 5212898a17211b9631f41c7c2ecbb998618b024e Mon Sep 17 00:00:00 2001 From: narayana Date: Wed, 21 Sep 2022 17:07:09 +0530 Subject: [PATCH 2/3] version upgrade --- lib/plivo/base_client.rb | 14 +++++++------- plivo.gemspec | 4 ++-- 2 files changed, 9 insertions(+), 9 deletions(-) diff --git a/lib/plivo/base_client.rb b/lib/plivo/base_client.rb index 0e958b44..5dd10fd3 100644 --- a/lib/plivo/base_client.rb +++ b/lib/plivo/base_client.rb @@ -137,7 +137,7 @@ def configure_connection # DANGER: Basic auth should always come after headers, else # The headers will replace the basic_auth - faraday.basic_auth(auth_id, auth_token) + faraday.request(:basic_auth, auth_id, auth_token) faraday.proxy=@proxy_hash if @proxy_hash faraday.response :json, content_type: /\bjson$/ @@ -150,7 +150,7 @@ def configure_connection # DANGER: Basic auth should always come after headers, else # The headers will replace the basic_auth - faraday.basic_auth(auth_id, auth_token) + faraday.request(:basic_auth, auth_id, auth_token) faraday.proxy=@proxy_hash if @proxy_hash faraday.response :json, content_type: /\bjson$/ @@ -163,7 +163,7 @@ def configure_connection # DANGER: Basic auth should always come after headers, else # The headers will replace the basic_auth - faraday.basic_auth(auth_id, auth_token) + faraday.request(:basic_auth, auth_id, auth_token) faraday.proxy=@proxy_hash if @proxy_hash faraday.response :json, content_type: /\bjson$/ @@ -176,7 +176,7 @@ def configure_connection # DANGER: Basic auth should always come after headers, else # The headers will replace the basic_auth - faraday.basic_auth(auth_id, auth_token) + faraday.request(:basic_auth, auth_id, auth_token) faraday.proxy=@proxy_hash if @proxy_hash faraday.response :json, content_type: /\bjson$/ @@ -189,7 +189,7 @@ def configure_connection # DANGER: Basic auth should always come after headers, else # The headers will replace the basic_auth - faraday.basic_auth(auth_id, auth_token) + faraday.request(:basic_auth, auth_id, auth_token) faraday.proxy=@proxy_hash if @proxy_hash faraday.response :json, content_type: /\bjson$/ @@ -202,7 +202,7 @@ def configure_connection # DANGER: Basic auth should always come after headers, else # The headers will replace the basic_auth - faraday.basic_auth(auth_id, auth_token) + faraday.request(:basic_auth, auth_id, auth_token) faraday.proxy=@proxy_hash if @proxy_hash faraday.response :json, content_type: /\bjson$/ @@ -255,7 +255,7 @@ def send_post(resource_path, data, timeout, use_multipart_conn, options = nil) faraday.request :multipart faraday.request :url_encoded - faraday.basic_auth(auth_id, auth_token) + faraday.request(:basic_auth, auth_id, auth_token) faraday.proxy=@proxy_hash if @proxy_hash faraday.response :json, content_type: /\bjson$/ diff --git a/plivo.gemspec b/plivo.gemspec index a80ca7ea..0db3240b 100644 --- a/plivo.gemspec +++ b/plivo.gemspec @@ -31,8 +31,8 @@ Gem::Specification.new do |spec| spec.required_ruby_version = '>= 2.0.0' - spec.add_dependency 'faraday', '~> 1.0.1' - spec.add_dependency 'faraday_middleware', '~> 1.0.0' + spec.add_dependency 'faraday', '~> 1.0' + spec.add_dependency 'faraday_middleware', '~> 1.0' spec.add_dependency 'htmlentities' spec.add_dependency 'jwt' From 7c75147aed9a08ebeb84b3587cd2bdb80d19ee3d Mon Sep 17 00:00:00 2001 From: narayana Date: Wed, 21 Sep 2022 17:17:24 +0530 Subject: [PATCH 3/3] version upgrade --- CHANGELOG.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index b0ed1d0e..13b06487 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,7 +1,7 @@ # Change Log ## [4.30.1](https://github.com/plivo/plivo-go/tree/v4.30.1) (2022-09-20) -**Feature - faraday upgrade** +**stability - faraday upgrade** - faraday version upgrade ## [4.30.0](https://github.com/plivo/plivo-go/tree/v4.30.0) (2022-08-26)