twilio-ruby 5.10.7 → 5.11.0

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.
@@ -123,7 +123,7 @@ describe Twilio::TwiML::VoiceResponse do
123
123
  </Response>
124
124
  XML
125
125
  response = Twilio::TwiML::VoiceResponse.new
126
- response.say ''
126
+ response.say(message: '')
127
127
 
128
128
  doc = parse(response)
129
129
  expect(doc).to be_equivalent_to(expected_doc).respecting_element_order
@@ -136,7 +136,7 @@ describe Twilio::TwiML::VoiceResponse do
136
136
  </Response>
137
137
  XML
138
138
  response = Twilio::TwiML::VoiceResponse.new
139
- response.say 'Hello World'
139
+ response.say(message: 'Hello World')
140
140
 
141
141
  doc = parse(response)
142
142
  expect(doc).to be_equivalent_to(expected_doc).respecting_element_order
@@ -149,7 +149,7 @@ describe Twilio::TwiML::VoiceResponse do
149
149
  </Response>
150
150
  XML
151
151
  response = Twilio::TwiML::VoiceResponse.new
152
- response.say 'nécessaire et d\'autres'
152
+ response.say(message: 'nécessaire et d\'autres')
153
153
 
154
154
  doc = parse(response)
155
155
  expect(doc).to be_equivalent_to(expected_doc).respecting_element_order
@@ -162,7 +162,7 @@ describe Twilio::TwiML::VoiceResponse do
162
162
  </Response>
163
163
  XML
164
164
  response = Twilio::TwiML::VoiceResponse.new
165
- response.say 'Hello Monkey', loop: 3
165
+ response.say(message: 'Hello Monkey', loop: 3)
166
166
 
167
167
  doc = parse(response)
168
168
  expect(doc).to be_equivalent_to(expected_doc).respecting_element_order
@@ -175,7 +175,7 @@ describe Twilio::TwiML::VoiceResponse do
175
175
  </Response>
176
176
  XML
177
177
  response = Twilio::TwiML::VoiceResponse.new
178
- response.say 'Hello Monkey', language: 'en-gb'
178
+ response.say(message: 'Hello Monkey', language: 'en-gb')
179
179
 
180
180
  doc = parse(response)
181
181
  expect(doc).to be_equivalent_to(expected_doc).respecting_element_order
@@ -188,7 +188,7 @@ describe Twilio::TwiML::VoiceResponse do
188
188
  </Response>
189
189
  XML
190
190
  response = Twilio::TwiML::VoiceResponse.new
191
- response.say 'Hello Monkey', loop: 3, voice: 'man', language: 'fr'
191
+ response.say(message: 'Hello Monkey', loop: 3, voice: 'man', language: 'fr')
192
192
 
193
193
  doc = parse(response)
194
194
  expect(doc).to be_equivalent_to(expected_doc).respecting_element_order
@@ -775,7 +775,7 @@ describe Twilio::TwiML::VoiceResponse do
775
775
  </Response>
776
776
  XML
777
777
  gather_elem = Twilio::TwiML::Gather.new
778
- gather_elem.say 'Hello'
778
+ gather_elem.say(message: 'Hello')
779
779
 
780
780
  response = Twilio::TwiML::VoiceResponse.new
781
781
  response.append(gather_elem)
@@ -794,7 +794,7 @@ describe Twilio::TwiML::VoiceResponse do
794
794
  </Response>
795
795
  XML
796
796
  gather = Twilio::TwiML::Gather.new
797
- gather.say 'Hey'
797
+ gather.say(message: 'Hey')
798
798
  gather.play(url: 'hey.mp3')
799
799
  gather.pause
800
800
 
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: twilio-ruby
3
3
  version: !ruby/object:Gem::Version
4
- version: 5.10.7
4
+ version: 5.11.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Twilio API Team
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2018-07-11 00:00:00.000000000 Z
11
+ date: 2018-07-16 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: jwt
@@ -767,7 +767,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
767
767
  version: '0'
768
768
  requirements: []
769
769
  rubyforge_project:
770
- rubygems_version: 2.6.11
770
+ rubygems_version: 2.5.2.3
771
771
  signing_key:
772
772
  specification_version: 4
773
773
  summary: The official library for communicating with the Twilio REST API, building