twilio-ruby 5.60.0 → 5.62.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +5 -5
- data/.github/workflows/test-and-deploy.yml +95 -0
- data/.gitignore +3 -1
- data/.rubocop.yml +1 -1
- data/CHANGES.md +98 -0
- data/Makefile +3 -4
- data/README.md +4 -4
- data/lib/twilio-ruby/rest/api/v2010/account/call.rb +3 -3
- data/lib/twilio-ruby/rest/api/v2010/account/message.rb +5 -1
- 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/insights/v1/setting.rb +215 -0
- data/lib/twilio-ruby/rest/insights/v1.rb +7 -0
- data/lib/twilio-ruby/rest/insights.rb +6 -0
- data/lib/twilio-ruby/rest/media/v1/media_processor.rb +15 -2
- data/lib/twilio-ruby/rest/messaging/v1/brand_registration/brand_vetting.rb +84 -3
- data/lib/twilio-ruby/rest/messaging/v1/brand_registration.rb +9 -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 +34 -1
- data/lib/twilio-ruby/rest/voice/v1/archived_call.rb +184 -0
- data/lib/twilio-ruby/rest/voice/v1.rb +21 -0
- data/lib/twilio-ruby/rest/voice.rb +8 -0
- 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 +9 -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.62.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: 2021-
|
11
|
+
date: 2021-12-15 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: jwt
|
@@ -212,10 +212,10 @@ extra_rdoc_files:
|
|
212
212
|
- LICENSE
|
213
213
|
files:
|
214
214
|
- ".dockerignore"
|
215
|
+
- ".github/workflows/test-and-deploy.yml"
|
215
216
|
- ".gitignore"
|
216
217
|
- ".rubocop.yml"
|
217
218
|
- ".rubocop_todo.yml"
|
218
|
-
- ".travis.yml"
|
219
219
|
- AUTHORS.md
|
220
220
|
- CHANGES.md
|
221
221
|
- CODE_OF_CONDUCT.md
|
@@ -405,6 +405,7 @@ files:
|
|
405
405
|
- lib/twilio-ruby/rest/conversations/v1/service/binding.rb
|
406
406
|
- lib/twilio-ruby/rest/conversations/v1/service/configuration.rb
|
407
407
|
- lib/twilio-ruby/rest/conversations/v1/service/configuration/notification.rb
|
408
|
+
- lib/twilio-ruby/rest/conversations/v1/service/configuration/webhook.rb
|
408
409
|
- lib/twilio-ruby/rest/conversations/v1/service/conversation.rb
|
409
410
|
- lib/twilio-ruby/rest/conversations/v1/service/conversation/message.rb
|
410
411
|
- lib/twilio-ruby/rest/conversations/v1/service/conversation/message/delivery_receipt.rb
|
@@ -448,6 +449,7 @@ files:
|
|
448
449
|
- lib/twilio-ruby/rest/insights/v1/call_summaries.rb
|
449
450
|
- lib/twilio-ruby/rest/insights/v1/room.rb
|
450
451
|
- lib/twilio-ruby/rest/insights/v1/room/participant.rb
|
452
|
+
- lib/twilio-ruby/rest/insights/v1/setting.rb
|
451
453
|
- lib/twilio-ruby/rest/ip_messaging.rb
|
452
454
|
- lib/twilio-ruby/rest/ip_messaging/v1.rb
|
453
455
|
- lib/twilio-ruby/rest/ip_messaging/v1/credential.rb
|
@@ -636,6 +638,7 @@ files:
|
|
636
638
|
- lib/twilio-ruby/rest/supersim/v1.rb
|
637
639
|
- lib/twilio-ruby/rest/supersim/v1/command.rb
|
638
640
|
- lib/twilio-ruby/rest/supersim/v1/fleet.rb
|
641
|
+
- lib/twilio-ruby/rest/supersim/v1/ip_command.rb
|
639
642
|
- lib/twilio-ruby/rest/supersim/v1/network.rb
|
640
643
|
- lib/twilio-ruby/rest/supersim/v1/network_access_profile.rb
|
641
644
|
- lib/twilio-ruby/rest/supersim/v1/network_access_profile/network_access_profile_network.rb
|
@@ -740,6 +743,7 @@ files:
|
|
740
743
|
- lib/twilio-ruby/rest/video/v1/room/room_recording_rule.rb
|
741
744
|
- lib/twilio-ruby/rest/voice.rb
|
742
745
|
- lib/twilio-ruby/rest/voice/v1.rb
|
746
|
+
- lib/twilio-ruby/rest/voice/v1/archived_call.rb
|
743
747
|
- lib/twilio-ruby/rest/voice/v1/byoc_trunk.rb
|
744
748
|
- lib/twilio-ruby/rest/voice/v1/connection_policy.rb
|
745
749
|
- lib/twilio-ruby/rest/voice/v1/connection_policy/connection_policy_target.rb
|
@@ -794,7 +798,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
794
798
|
- !ruby/object:Gem::Version
|
795
799
|
version: '0'
|
796
800
|
requirements: []
|
797
|
-
|
801
|
+
rubyforge_project:
|
802
|
+
rubygems_version: 2.6.14.4
|
798
803
|
signing_key:
|
799
804
|
specification_version: 4
|
800
805
|
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=
|