twilio-ruby 5.1.1 → 5.1.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.
Files changed (30) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGES.md +17 -0
  3. data/README.md +2 -2
  4. data/lib/twilio-ruby/rest/api/v2010/account/incoming_phone_number.rb +8 -2
  5. data/lib/twilio-ruby/rest/chat/v2/service.rb +13 -2
  6. data/lib/twilio-ruby/rest/chat/v2/service/channel/message.rb +14 -0
  7. data/lib/twilio-ruby/rest/ip_messaging/v2/service.rb +13 -2
  8. data/lib/twilio-ruby/rest/ip_messaging/v2/service/channel/message.rb +14 -0
  9. data/lib/twilio-ruby/rest/preview.rb +16 -0
  10. data/lib/twilio-ruby/rest/preview/bulk_exports/export_configuration.rb +2 -13
  11. data/lib/twilio-ruby/rest/preview/deployed_devices.rb +42 -0
  12. data/lib/twilio-ruby/rest/preview/deployed_devices/fleet.rb +531 -0
  13. data/lib/twilio-ruby/rest/preview/deployed_devices/fleet/certificate.rb +428 -0
  14. data/lib/twilio-ruby/rest/preview/deployed_devices/fleet/deployment.rb +412 -0
  15. data/lib/twilio-ruby/rest/preview/deployed_devices/fleet/device.rb +465 -0
  16. data/lib/twilio-ruby/rest/preview/deployed_devices/fleet/key.rb +425 -0
  17. data/lib/twilio-ruby/rest/sync/v1/service.rb +7 -0
  18. data/lib/twilio-ruby/version.rb +1 -1
  19. data/spec/integration/chat/v2/service/channel/message_spec.rb +68 -0
  20. data/spec/integration/chat/v2/service_spec.rb +20 -4
  21. data/spec/integration/ip_messaging/v2/service/channel/message_spec.rb +68 -0
  22. data/spec/integration/ip_messaging/v2/service_spec.rb +20 -4
  23. data/spec/integration/preview/bulk_exports/export_configuration_spec.rb +1 -3
  24. data/spec/integration/preview/deployed_devices/fleet/certificate_spec.rb +238 -0
  25. data/spec/integration/preview/deployed_devices/fleet/deployment_spec.rb +231 -0
  26. data/spec/integration/preview/deployed_devices/fleet/device_spec.rb +247 -0
  27. data/spec/integration/preview/deployed_devices/fleet/key_spec.rb +235 -0
  28. data/spec/integration/preview/deployed_devices/fleet_spec.rb +244 -0
  29. data/spec/integration/sync/v1/service_spec.rb +4 -0
  30. metadata +19 -3
@@ -37,6 +37,7 @@ describe 'Service' do
37
37
  "maps": "https://sync.twilio.com/v1/Services/ISaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/Maps"
38
38
  },
39
39
  "sid": "ISaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa",
40
+ "unique_name": "unique_name",
40
41
  "url": "https://sync.twilio.com/v1/Services/ISaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa",
41
42
  "webhook_url": "http://www.example.com",
42
43
  "reachability_webhooks_enabled": false,
@@ -106,6 +107,7 @@ describe 'Service' do
106
107
  "maps": "https://sync.twilio.com/v1/Services/ISaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/Maps"
107
108
  },
108
109
  "sid": "ISaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa",
110
+ "unique_name": "unique_name",
109
111
  "url": "https://sync.twilio.com/v1/Services/ISaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa",
110
112
  "webhook_url": "http://www.example.com",
111
113
  "reachability_webhooks_enabled": false,
@@ -184,6 +186,7 @@ describe 'Service' do
184
186
  "maps": "https://sync.twilio.com/v1/Services/ISaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/Maps"
185
187
  },
186
188
  "sid": "ISaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa",
189
+ "unique_name": "unique_name",
187
190
  "url": "https://sync.twilio.com/v1/Services/ISaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa",
188
191
  "webhook_url": "http://www.example.com",
189
192
  "reachability_webhooks_enabled": false,
@@ -229,6 +232,7 @@ describe 'Service' do
229
232
  "maps": "https://sync.twilio.com/v1/Services/ISaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/Maps"
230
233
  },
231
234
  "sid": "ISaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa",
235
+ "unique_name": "unique_name",
232
236
  "url": "https://sync.twilio.com/v1/Services/ISaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa",
233
237
  "webhook_url": "http://www.example.com",
234
238
  "reachability_webhooks_enabled": false,
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.1.1
4
+ version: 5.1.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: 2017-08-10 00:00:00.000000000 Z
11
+ date: 2017-08-18 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: libxml-ruby
@@ -278,6 +278,12 @@ files:
278
278
  - lib/twilio-ruby/rest/preview/bulk_exports/export.rb
279
279
  - lib/twilio-ruby/rest/preview/bulk_exports/export/day.rb
280
280
  - lib/twilio-ruby/rest/preview/bulk_exports/export_configuration.rb
281
+ - lib/twilio-ruby/rest/preview/deployed_devices.rb
282
+ - lib/twilio-ruby/rest/preview/deployed_devices/fleet.rb
283
+ - lib/twilio-ruby/rest/preview/deployed_devices/fleet/certificate.rb
284
+ - lib/twilio-ruby/rest/preview/deployed_devices/fleet/deployment.rb
285
+ - lib/twilio-ruby/rest/preview/deployed_devices/fleet/device.rb
286
+ - lib/twilio-ruby/rest/preview/deployed_devices/fleet/key.rb
281
287
  - lib/twilio-ruby/rest/preview/hosted_numbers.rb
282
288
  - lib/twilio-ruby/rest/preview/hosted_numbers/hosted_number_order.rb
283
289
  - lib/twilio-ruby/rest/preview/marketplace.rb
@@ -494,6 +500,11 @@ files:
494
500
  - spec/integration/preview/bulk_exports/export/day_spec.rb
495
501
  - spec/integration/preview/bulk_exports/export_configuration_spec.rb
496
502
  - spec/integration/preview/bulk_exports/export_spec.rb
503
+ - spec/integration/preview/deployed_devices/fleet/certificate_spec.rb
504
+ - spec/integration/preview/deployed_devices/fleet/deployment_spec.rb
505
+ - spec/integration/preview/deployed_devices/fleet/device_spec.rb
506
+ - spec/integration/preview/deployed_devices/fleet/key_spec.rb
507
+ - spec/integration/preview/deployed_devices/fleet_spec.rb
497
508
  - spec/integration/preview/hosted_numbers/hosted_number_order_spec.rb
498
509
  - spec/integration/preview/marketplace/available_add_on/available_add_on_extension_spec.rb
499
510
  - spec/integration/preview/marketplace/available_add_on_spec.rb
@@ -604,7 +615,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
604
615
  version: '0'
605
616
  requirements: []
606
617
  rubyforge_project:
607
- rubygems_version: 2.2.0
618
+ rubygems_version: 2.6.11
608
619
  signing_key:
609
620
  specification_version: 4
610
621
  summary: A simple library for communicating with the Twilio REST API, building TwiML,
@@ -732,6 +743,11 @@ test_files:
732
743
  - spec/integration/preview/bulk_exports/export/day_spec.rb
733
744
  - spec/integration/preview/bulk_exports/export_configuration_spec.rb
734
745
  - spec/integration/preview/bulk_exports/export_spec.rb
746
+ - spec/integration/preview/deployed_devices/fleet/certificate_spec.rb
747
+ - spec/integration/preview/deployed_devices/fleet/deployment_spec.rb
748
+ - spec/integration/preview/deployed_devices/fleet/device_spec.rb
749
+ - spec/integration/preview/deployed_devices/fleet/key_spec.rb
750
+ - spec/integration/preview/deployed_devices/fleet_spec.rb
735
751
  - spec/integration/preview/hosted_numbers/hosted_number_order_spec.rb
736
752
  - spec/integration/preview/marketplace/available_add_on/available_add_on_extension_spec.rb
737
753
  - spec/integration/preview/marketplace/available_add_on_spec.rb