twilio-ruby 5.4.1 → 5.4.2

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: 40703106c2efc08fd3626dfebfd1985a9309f487
4
- data.tar.gz: 678073456fc08e365a14103b987ee13e7619584c
3
+ metadata.gz: a534968e8e80fdcc69ead2ddd5aaaeda09dcf18f
4
+ data.tar.gz: 20b69ce0c9f9025676687810cd812f3db1bac16b
5
5
  SHA512:
6
- metadata.gz: 5198f1c44aadfee2c07510bc0d2000104e72ac9dfc52ab109d952709d9f13f8a2d8d0f53b72c8ed1df481335fccbb8fab4b584cf32717a8e5ccfc883fc4192b7
7
- data.tar.gz: 6a43ed52d83119f5ff1b2b888afa50f74cf6fffdd64d3ac14ca90d8604fdc0e39e6a9dff35e3431e5623dd69bb6bd9e0b0d8deeed399a6035f2e63b58b00d5c0
6
+ metadata.gz: 7a7a495e308ae8789dc506cfe4b329a2bf508824809499c268ba7d0b95fb1309ca003be8ea8030fbb52775e7864f1e1cd3338099ef8b4981929802f3bd1d3ad4
7
+ data.tar.gz: 56ba26e891b7d8258e014ef24d32d7ff985e4df17cc550607bda5995843ac7ea9f3ba781356377da93ebbc7e27942b3d02aac1f66de03f13b99603a549973753
data/CHANGES.md CHANGED
@@ -1,11 +1,15 @@
1
1
  twilio-ruby changelog
2
2
  =====================
3
3
 
4
+ [2017-10-20] Version 5.4.2
5
+ ---------------------------
6
+ **Library**
7
+ - #360 Fix downcasing twiml parameters that are not snake_case
8
+
4
9
  [2017-10-20] Version 5.4.1
5
10
  ---------------------------
6
11
  **Library**
7
12
  - #359 Correctly set headers on Twilio::Response
8
- - #360 Fix downcasing twiml parameters that are not snake_case
9
13
 
10
14
  **Api**
11
15
  - Add `address_sid` param to IncomingPhoneNumbers create and update
data/README.md CHANGED
@@ -27,13 +27,13 @@ in-line code documentation here in the library.
27
27
  To install using [Bundler][bundler] grab the latest stable version:
28
28
 
29
29
  ```ruby
30
- gem 'twilio-ruby', '~> 5.4.1'
30
+ gem 'twilio-ruby', '~> 5.4.2'
31
31
  ```
32
32
 
33
33
  To manually install `twilio-ruby` via [Rubygems][rubygems] simply gem install:
34
34
 
35
35
  ```bash
36
- gem install twilio-ruby -v 5.4.1
36
+ gem install twilio-ruby -v 5.4.2
37
37
  ```
38
38
 
39
39
  To build and install the development branch yourself from the latest source:
@@ -27,7 +27,10 @@ module Twilio
27
27
 
28
28
  def self.to_lower_camel_case(symbol)
29
29
  # Symbols don't have the .split method, so convert to string first
30
- result = symbol.to_s.split('_').map(&:capitalize).join
30
+ result = symbol.to_s
31
+ if result.include? '_'
32
+ result = result.split('_').map(&:capitalize).join
33
+ end
31
34
  result[0].downcase + result[1..result.length]
32
35
  end
33
36
 
@@ -1,3 +1,3 @@
1
1
  module Twilio
2
- VERSION = '5.4.1'
2
+ VERSION = '5.4.2'
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: twilio-ruby
3
3
  version: !ruby/object:Gem::Version
4
- version: 5.4.1
4
+ version: 5.4.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Twilio API Team