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 +4 -4
- data/CHANGES.md +5 -1
- data/README.md +2 -2
- data/lib/twilio-ruby/twiml/twiml.rb +4 -1
- data/lib/twilio-ruby/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: a534968e8e80fdcc69ead2ddd5aaaeda09dcf18f
|
4
|
+
data.tar.gz: 20b69ce0c9f9025676687810cd812f3db1bac16b
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
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.
|
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.
|
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
|
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
|
|
data/lib/twilio-ruby/version.rb
CHANGED