twilio-ruby 5.21.0 → 5.21.1

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: e76b1c0b609320ed1401564614b95de7c3918233d476cf0643b0db1a04e777c7
4
- data.tar.gz: 4655a995ac910997607ad48f315885bae18e6414b099a1664016049b97c61115
3
+ metadata.gz: 033d99c22bd8c3c4917074619d7339aa1dd541a235f35198a0cf6fa901a5bea4
4
+ data.tar.gz: c5d36cc844d6f9df0da19d03b91e3c84fa8c2877be215c25b3a63120bc252865
5
5
  SHA512:
6
- metadata.gz: 60d475fe9b525b2cef55c07d4d0fc8b9fd9f352b9efd7e297fc9bbaf1ec247bcbc7e500a4b2355a8ef0ac4b1b25d939899235e075b9eddf85b055078d0e968ef
7
- data.tar.gz: 725b04b2d2832e64e4769c1c63ee0e0f48d42f26d0547eca8c9015bf83a69de67b533fc27c8af2c6b9f7a4b6922c8066ef9af56d5a2c9b8971ce5fa9f6710c54
6
+ metadata.gz: eac7dc68e920d156be2f1dac6c02af1da3d9b6d54cb9e2d93886d2807c84d34bec5f1ef14ffee43fdd7c89a9228732def563cfe6428a6aad527cbbdd85173b86
7
+ data.tar.gz: dca9534370604592a18c3ffaeb290abdcc3bac1f27dfa6b97b1950edc6a5d08d162ad14b55702d57a9dea8780ab8ef9debdb6a7c09da63ca3510d623a212edd7
data/CHANGES.md CHANGED
@@ -1,6 +1,12 @@
1
1
  twilio-ruby changelog
2
2
  =====================
3
3
 
4
+ [2019-03-06] Version 5.21.1
5
+ ----------------------------
6
+ **Twiml**
7
+ - Add `de1` to `<Conference>` regions
8
+
9
+
4
10
  [2019-03-01] Version 5.21.0
5
11
  ----------------------------
6
12
  **Api**
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.21.0'
30
+ gem 'twilio-ruby', '~> 5.21.1'
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.21.0
36
+ gem install twilio-ruby -v 5.21.1
37
37
  ```
38
38
 
39
39
  To build and install the development branch yourself from the latest source:
@@ -71,9 +71,9 @@ module Twilio
71
71
  # '`#`' character has special meaning in a URL. If both `SendDigits` and
72
72
  # `MachineDetection` parameters are provided, then `MachineDetection` will be
73
73
  # ignored.
74
- # @param [String] if_machine The action to take if an answering machine is
75
- # detected. Can be: `Continue`, `Hangup`, or `False`. `False` disables the
76
- # detection of an answering machine.
74
+ # @param [String] if_machine Deprecated. Tell Twilio to try and determine if a
75
+ # machine (like voicemail) or a human has answered the call. Possible value are
76
+ # `Continue` and `Hangup`.
77
77
  # @param [String] timeout The integer number of seconds that we should allow the
78
78
  # phone to ring before assuming there is no answer. The default is `60` seconds
79
79
  # and the maximum is `600` seconds. For some call flows, we will add a 5-second
@@ -1,3 +1,3 @@
1
1
  module Twilio
2
- VERSION = '5.21.0'
2
+ VERSION = '5.21.1'
3
3
  end
@@ -297,7 +297,54 @@ describe 'Call' do
297
297
  "status": "completed",
298
298
  "subresource_uris": {
299
299
  "notifications": "/2010-04-01/Accounts/ACaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/Calls/CAaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/Notifications.json",
300
- "recordings": "/2010-04-01/Accounts/ACaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/Calls/CAaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/Recordings.json"
300
+ "recordings": "/2010-04-01/Accounts/ACaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/Calls/CAaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/Recordings.json",
301
+ "feedback": "/2010-04-01/Accounts/ACaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/Calls/CAaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/Feedback.json",
302
+ "feedback_summaries": "/2010-04-01/Accounts/ACaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/Calls/FeedbackSummary.json"
303
+ },
304
+ "to": "+14158675309",
305
+ "to_formatted": "(415) 867-5309",
306
+ "uri": "/2010-04-01/Accounts/ACaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/Calls/CAaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa.json"
307
+ }
308
+ ]
309
+ ))
310
+
311
+ actual = @client.api.v2010.accounts('ACXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX') \
312
+ .calls('CAXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX').update()
313
+
314
+ expect(actual).to_not eq(nil)
315
+ end
316
+
317
+ it "receives cancel responses" do
318
+ @holodeck.mock(Twilio::Response.new(
319
+ 200,
320
+ %q[
321
+ {
322
+ "account_sid": "ACaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa",
323
+ "annotation": null,
324
+ "answered_by": null,
325
+ "api_version": "2010-04-01",
326
+ "caller_name": null,
327
+ "date_created": "Tue, 31 Aug 2010 20:36:28 +0000",
328
+ "date_updated": "Tue, 31 Aug 2010 20:36:44 +0000",
329
+ "direction": "inbound",
330
+ "duration": "15",
331
+ "end_time": "Tue, 31 Aug 2010 20:36:44 +0000",
332
+ "forwarded_from": "+141586753093",
333
+ "from": "+14158675308",
334
+ "from_formatted": "(415) 867-5308",
335
+ "group_sid": null,
336
+ "parent_call_sid": null,
337
+ "phone_number_sid": "PNaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa",
338
+ "price": "-0.03000",
339
+ "price_unit": "USD",
340
+ "sid": "CAaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa",
341
+ "start_time": "Tue, 31 Aug 2010 20:36:29 +0000",
342
+ "status": "canceled",
343
+ "subresource_uris": {
344
+ "notifications": "/2010-04-01/Accounts/ACaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/Calls/CAaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/Notifications.json",
345
+ "recordings": "/2010-04-01/Accounts/ACaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/Calls/CAaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/Recordings.json",
346
+ "feedback": "/2010-04-01/Accounts/ACaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/Calls/CAaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/Feedback.json",
347
+ "feedback_summaries": "/2010-04-01/Accounts/ACaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/Calls/FeedbackSummary.json"
301
348
  },
302
349
  "to": "+14158675309",
303
350
  "to_formatted": "(415) 867-5309",
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.21.0
4
+ version: 5.21.1
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: 2019-03-01 00:00:00.000000000 Z
11
+ date: 2019-03-07 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: jwt
@@ -851,7 +851,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
851
851
  - !ruby/object:Gem::Version
852
852
  version: '0'
853
853
  requirements: []
854
- rubygems_version: 3.0.1
854
+ rubygems_version: 3.0.2
855
855
  signing_key:
856
856
  specification_version: 4
857
857
  summary: The official library for communicating with the Twilio REST API, building