twilio-ruby 5.59.0 → 5.61.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +5 -5
- data/.github/workflows/deploy.yml +65 -0
- data/.github/workflows/test.yml +52 -0
- data/.gitignore +3 -1
- data/.rubocop.yml +1 -1
- data/CHANGES.md +91 -0
- data/Makefile +3 -4
- data/README.md +4 -4
- data/lib/twilio-ruby/jwt/access_token.rb +13 -0
- data/lib/twilio-ruby/rest/api/v2010/account/call.rb +3 -3
- data/lib/twilio-ruby/rest/api/v2010/account/incoming_phone_number/local.rb +7 -0
- data/lib/twilio-ruby/rest/api/v2010/account/incoming_phone_number/mobile.rb +7 -0
- data/lib/twilio-ruby/rest/api/v2010/account/incoming_phone_number/toll_free.rb +7 -0
- data/lib/twilio-ruby/rest/api/v2010/account/incoming_phone_number.rb +7 -0
- data/lib/twilio-ruby/rest/client.rb +7 -0
- data/lib/twilio-ruby/rest/conversations/v1/service/configuration/webhook.rb +269 -0
- data/lib/twilio-ruby/rest/conversations/v1/service/configuration.rb +8 -0
- data/lib/twilio-ruby/rest/flex_api/v1/configuration.rb +14 -0
- data/lib/twilio-ruby/rest/frontline_api/v1/user.rb +31 -6
- data/lib/twilio-ruby/rest/media/v1/media_processor.rb +384 -0
- data/lib/twilio-ruby/rest/media/v1/player_streamer/playback_grant.rb +221 -0
- data/lib/twilio-ruby/rest/media/v1/player_streamer.rb +390 -0
- data/lib/twilio-ruby/rest/media/v1.rb +60 -0
- data/lib/twilio-ruby/rest/media.rb +56 -0
- data/lib/twilio-ruby/rest/messaging/v1/brand_registration/brand_vetting.rb +353 -0
- data/lib/twilio-ruby/rest/messaging/v1/brand_registration.rb +43 -1
- data/lib/twilio-ruby/rest/messaging/v1/service.rb +29 -3
- data/lib/twilio-ruby/rest/supersim/v1/ip_command.rb +416 -0
- data/lib/twilio-ruby/rest/supersim/v1.rb +16 -0
- data/lib/twilio-ruby/rest/supersim.rb +9 -0
- data/lib/twilio-ruby/rest/taskrouter/v1/workspace.rb +8 -2
- data/lib/twilio-ruby/rest/verify/v2/service/access_token.rb +8 -2
- data/lib/twilio-ruby/rest/verify/v2/service/entity/factor.rb +16 -6
- data/lib/twilio-ruby/rest/verify/v2/service/entity/new_factor.rb +5 -5
- data/lib/twilio-ruby/rest/verify/v2/service/verification.rb +9 -1
- data/lib/twilio-ruby/rest/verify/v2/service.rb +22 -3
- data/lib/twilio-ruby/rest/video/v1/room.rb +23 -1
- data/lib/twilio-ruby/rest/wireless/v1/rate_plan.rb +3 -3
- data/lib/twilio-ruby/rest/wireless/v1/sim.rb +16 -26
- data/lib/twilio-ruby/twiml/voice_response.rb +613 -36
- data/lib/twilio-ruby/version.rb +1 -1
- metadata +14 -4
- data/.travis.yml +0 -57
data/lib/twilio-ruby/version.rb
CHANGED
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.
|
4
|
+
version: 5.61.2
|
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: 2021-
|
11
|
+
date: 2021-12-01 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: jwt
|
@@ -212,10 +212,11 @@ extra_rdoc_files:
|
|
212
212
|
- LICENSE
|
213
213
|
files:
|
214
214
|
- ".dockerignore"
|
215
|
+
- ".github/workflows/deploy.yml"
|
216
|
+
- ".github/workflows/test.yml"
|
215
217
|
- ".gitignore"
|
216
218
|
- ".rubocop.yml"
|
217
219
|
- ".rubocop_todo.yml"
|
218
|
-
- ".travis.yml"
|
219
220
|
- AUTHORS.md
|
220
221
|
- CHANGES.md
|
221
222
|
- CODE_OF_CONDUCT.md
|
@@ -405,6 +406,7 @@ files:
|
|
405
406
|
- lib/twilio-ruby/rest/conversations/v1/service/binding.rb
|
406
407
|
- lib/twilio-ruby/rest/conversations/v1/service/configuration.rb
|
407
408
|
- lib/twilio-ruby/rest/conversations/v1/service/configuration/notification.rb
|
409
|
+
- lib/twilio-ruby/rest/conversations/v1/service/configuration/webhook.rb
|
408
410
|
- lib/twilio-ruby/rest/conversations/v1/service/conversation.rb
|
409
411
|
- lib/twilio-ruby/rest/conversations/v1/service/conversation/message.rb
|
410
412
|
- lib/twilio-ruby/rest/conversations/v1/service/conversation/message/delivery_receipt.rb
|
@@ -475,9 +477,15 @@ files:
|
|
475
477
|
- lib/twilio-ruby/rest/lookups.rb
|
476
478
|
- lib/twilio-ruby/rest/lookups/v1.rb
|
477
479
|
- lib/twilio-ruby/rest/lookups/v1/phone_number.rb
|
480
|
+
- lib/twilio-ruby/rest/media.rb
|
481
|
+
- lib/twilio-ruby/rest/media/v1.rb
|
482
|
+
- lib/twilio-ruby/rest/media/v1/media_processor.rb
|
483
|
+
- lib/twilio-ruby/rest/media/v1/player_streamer.rb
|
484
|
+
- lib/twilio-ruby/rest/media/v1/player_streamer/playback_grant.rb
|
478
485
|
- lib/twilio-ruby/rest/messaging.rb
|
479
486
|
- lib/twilio-ruby/rest/messaging/v1.rb
|
480
487
|
- lib/twilio-ruby/rest/messaging/v1/brand_registration.rb
|
488
|
+
- lib/twilio-ruby/rest/messaging/v1/brand_registration/brand_vetting.rb
|
481
489
|
- lib/twilio-ruby/rest/messaging/v1/deactivation.rb
|
482
490
|
- lib/twilio-ruby/rest/messaging/v1/external_campaign.rb
|
483
491
|
- lib/twilio-ruby/rest/messaging/v1/service.rb
|
@@ -630,6 +638,7 @@ files:
|
|
630
638
|
- lib/twilio-ruby/rest/supersim/v1.rb
|
631
639
|
- lib/twilio-ruby/rest/supersim/v1/command.rb
|
632
640
|
- lib/twilio-ruby/rest/supersim/v1/fleet.rb
|
641
|
+
- lib/twilio-ruby/rest/supersim/v1/ip_command.rb
|
633
642
|
- lib/twilio-ruby/rest/supersim/v1/network.rb
|
634
643
|
- lib/twilio-ruby/rest/supersim/v1/network_access_profile.rb
|
635
644
|
- lib/twilio-ruby/rest/supersim/v1/network_access_profile/network_access_profile_network.rb
|
@@ -788,7 +797,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
788
797
|
- !ruby/object:Gem::Version
|
789
798
|
version: '0'
|
790
799
|
requirements: []
|
791
|
-
|
800
|
+
rubyforge_project:
|
801
|
+
rubygems_version: 2.6.14.4
|
792
802
|
signing_key:
|
793
803
|
specification_version: 4
|
794
804
|
summary: The official library for communicating with the Twilio REST API, building
|
data/.travis.yml
DELETED
@@ -1,57 +0,0 @@
|
|
1
|
-
language: ruby
|
2
|
-
dist: focal
|
3
|
-
cache: bundler
|
4
|
-
bundler_args: "--without development"
|
5
|
-
rvm:
|
6
|
-
- ruby-head
|
7
|
-
- jruby-9.2
|
8
|
-
- 2.4
|
9
|
-
- 2.5
|
10
|
-
- 2.6
|
11
|
-
- 2.7
|
12
|
-
- 3.0
|
13
|
-
services:
|
14
|
-
- docker
|
15
|
-
install: make install
|
16
|
-
script:
|
17
|
-
- make test
|
18
|
-
- if [[ "$TRAVIS_BRANCH" == "main" || "$TRAVIS_BRANCH" == "travis" ]] && [ "$TRAVIS_PULL_REQUEST"
|
19
|
-
== "false" ]; then echo "${DOCKER_PASSWORD}" | docker login -u "${DOCKER_USERNAME}"
|
20
|
-
--password-stdin; fi
|
21
|
-
matrix:
|
22
|
-
include:
|
23
|
-
- language: ruby
|
24
|
-
rvm: '3.0'
|
25
|
-
# The below workaround is necessary because of the branch coverage inclusion in simplecov 0.18+
|
26
|
-
# more discussion here - https://community.sonarsource.com/t/ruby-coverage-simplecov-json-file-does-not-work/20909/7
|
27
|
-
after_success:
|
28
|
-
- ruby -rjson -e 'sqube = JSON.load(File.read("coverage/.resultset.json"))["RSpec"]["coverage"].transform_values {|lines| lines["lines"]}; total = { "RSpec" => { "coverage" => sqube, "timestamp" => Time.now.to_i }}; puts JSON.dump(total)' > coverage/.resultset.sonarqube.json
|
29
|
-
- sonar-scanner
|
30
|
-
allow_failures:
|
31
|
-
- rvm: ruby-head
|
32
|
-
fast_finish: true
|
33
|
-
deploy:
|
34
|
-
- provider: script
|
35
|
-
script: make docker-build && make docker-push
|
36
|
-
skip_cleanup: true
|
37
|
-
on:
|
38
|
-
tags: true
|
39
|
-
rvm: '2.4'
|
40
|
-
- provider: rubygems
|
41
|
-
api_key: "$RUBYGEMS_APIKEY"
|
42
|
-
on:
|
43
|
-
tags: true
|
44
|
-
rvm: '2.4'
|
45
|
-
notifications:
|
46
|
-
slack:
|
47
|
-
if: branch = main
|
48
|
-
on_pull_requests: false
|
49
|
-
on_success: never
|
50
|
-
on_failure: change
|
51
|
-
rooms:
|
52
|
-
secure: HG7rC5VSDOZiLCkpTsC4ZImh1k59OPi6YEjYKhdGXItybLHa6Yh5C42WvSx3kVW3SeyLOm1CiaMv+pbBZUXStXYsl8eH69MbEZimhDWsPs/m+bh+gEISov22WNUs3ZfUqIXMIb6v18oXPp2Qa1gX5LUEAGoSxHWNmCAcHayWl7M=
|
53
|
-
addons:
|
54
|
-
sonarcloud:
|
55
|
-
organization: twilio
|
56
|
-
token:
|
57
|
-
secure: OSEahx/yO/r9PdjXbASwJt+ogphxkDDpnlajWNCBTc+hoiEurGP/12CN0oQi7+iishIgIowqo5J9/+m1BQfsAv4fKST+t6mSazx27udiiM9am03lhviW8QSG6STADvtq6uJRqTXMk3WehoSidNRYXamVdCoBbqxCSaMX8MbMsN8=
|