plivo 4.6.0 → 4.6.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 50ebb6885dd7e4cf94686ac3d869347ab86d17bf
4
- data.tar.gz: 9f1810e64cac9201e96bf3b65fd445d935ca5284
3
+ metadata.gz: 4d52c001b00cc47d25bea87d44a4ce09ae8f922f
4
+ data.tar.gz: 7938d6bd6d1d1d1612dd455132de25006c3fd30f
5
5
  SHA512:
6
- metadata.gz: 2b06b067eee857a96bab7daa65d0939a086f14ab195f9c351e922d469707de3c049ac4c7ab4533eb2718e4e8c8b4289296633844f12991487ad77d5ffc0861cf
7
- data.tar.gz: 4934198948c682574caf6b64c3fa35db2fc0055d092d3712ec216218d7667b8cf11a568860669ba422d3e36a8c0d3e61fe4c72eceb23536d031eae01ee3c9565
6
+ metadata.gz: f886ee8aa69fe4228c300a4476082ba0c05e4e179972b33768d1a73f9ece04b5e071d3f6005510c17e92335e8c9bec97929e22a0253e8fe50bbecac6b166a096
7
+ data.tar.gz: c3f02372894c4de3be0617b7c9727f54a9f681722c86e164212aba1585850d2f3568f9eca75ef038430e2d3ef186d4eea30b5453cc1700d8618de0c2aa7d05d8
@@ -1,5 +1,8 @@
1
1
  # Change Log
2
2
 
3
+ ## [4.6.1](https://github.com/plivo/plivo-ruby/releases/tag/v4.6.1) (2020-04-02)
4
+ - Add nil check for API requests.
5
+
3
6
  ## [4.6.0](https://github.com/plivo/plivo-ruby/releases/tag/v4.6.0) (2020-03-31)
4
7
  - Add application cascade delete support.
5
8
 
data/README.md CHANGED
@@ -8,7 +8,7 @@ The Plivo Ruby SDK makes it simpler to integrate communications into your Ruby a
8
8
  Add this line to your application's Gemfile:
9
9
 
10
10
  ```ruby
11
- gem 'plivo', '>= 4.6.0'
11
+ gem 'plivo', '>= 4.6.1'
12
12
  ```
13
13
 
14
14
  And then execute:
@@ -167,7 +167,7 @@ module Plivo
167
167
  req.body = data
168
168
  end
169
169
  else
170
- if data.has_key? 'is_callinsights_request'
170
+ if !data.nil? && (data.has_key? 'is_callinsights_request')
171
171
  callinsight_base_url = data['callinsight_base_url']
172
172
  resource_path = data['request_url']
173
173
  data.delete('is_callinsights_request')
@@ -1,4 +1,4 @@
1
1
  module Plivo
2
- VERSION = '4.6.0'.freeze
2
+ VERSION = '4.6.1'.freeze
3
3
 
4
4
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: plivo
3
3
  version: !ruby/object:Gem::Version
4
- version: 4.6.0
4
+ version: 4.6.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - The Plivo SDKs Team
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2020-03-31 00:00:00.000000000 Z
11
+ date: 2020-04-02 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: faraday