twilio-ruby 3.2.0 → 3.3.0
Sign up to get free protection for your applications and to get access to all the features.
- data/.gitignore +5 -0
- data/Gemfile +3 -0
- data/README.md +70 -6
- data/README.rdoc +0 -0
- data/lib/twilio-ruby/rest/{accounts/account.rb → accounts.rb} +2 -0
- data/lib/twilio-ruby/rest/{applications/application.rb → applications.rb} +1 -0
- data/lib/twilio-ruby/rest/{available_phone_numbers/available_phone_numbers.rb → available_phone_numbers.rb} +2 -0
- data/lib/twilio-ruby/rest/{calls/call.rb → calls.rb} +6 -0
- data/lib/twilio-ruby/rest/client.rb +140 -27
- data/lib/twilio-ruby/rest/conferences/participants.rb +18 -1
- data/lib/twilio-ruby/rest/{conferences/conference.rb → conferences.rb} +2 -0
- data/lib/twilio-ruby/rest/{incoming_phone_numbers/incoming_phone_numbers.rb → incoming_phone_numbers.rb} +2 -0
- data/lib/twilio-ruby/rest/instance_resource.rb +39 -0
- data/lib/twilio-ruby/rest/list_resource.rb +67 -7
- data/lib/twilio-ruby/rest/{notifications/notification.rb → notifications.rb} +1 -0
- data/lib/twilio-ruby/rest/{outgoing_caller_ids/outgoing_caller_ids.rb → outgoing_caller_ids.rb} +2 -0
- data/lib/twilio-ruby/rest/{recordings/recording.rb → recordings.rb} +2 -2
- data/lib/twilio-ruby/rest/{sandbox/sandbox.rb → sandbox.rb} +0 -0
- data/lib/twilio-ruby/rest/sms/messages.rb +2 -0
- data/lib/twilio-ruby/rest/sms/short_codes.rb +1 -0
- data/lib/twilio-ruby/rest/{sms/sms.rb → sms.rb} +0 -0
- data/lib/twilio-ruby/rest/{transcriptions/transcription.rb → transcriptions.rb} +1 -0
- data/lib/twilio-ruby/version.rb +3 -0
- data/lib/twilio-ruby.rb +29 -44
- data/test/twilio_spec.rb +141 -4
- data/twilio-ruby.gemspec +25 -11
- metadata +178 -84
- data/lib/twilio-ruby/rest/accounts/accounts.rb +0 -5
- data/lib/twilio-ruby/rest/applications/applications.rb +0 -5
- data/lib/twilio-ruby/rest/available_phone_numbers/available_phone_number.rb +0 -5
- data/lib/twilio-ruby/rest/calls/calls.rb +0 -10
- data/lib/twilio-ruby/rest/conferences/conferences.rb +0 -5
- data/lib/twilio-ruby/rest/conferences/participant.rb +0 -17
- data/lib/twilio-ruby/rest/incoming_phone_numbers/incoming_phone_number.rb +0 -5
- data/lib/twilio-ruby/rest/notifications/notifications.rb +0 -5
- data/lib/twilio-ruby/rest/outgoing_caller_ids/outgoing_caller_id.rb +0 -5
- data/lib/twilio-ruby/rest/recordings/recordings.rb +0 -5
- data/lib/twilio-ruby/rest/sms/message.rb +0 -5
- data/lib/twilio-ruby/rest/sms/short_code.rb +0 -5
- data/lib/twilio-ruby/rest/transcriptions/transcriptions.rb +0 -5
metadata
CHANGED
@@ -1,129 +1,223 @@
|
|
1
|
-
--- !ruby/object:Gem::Specification
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
2
|
name: twilio-ruby
|
3
|
-
version: !ruby/object:Gem::Version
|
4
|
-
|
3
|
+
version: !ruby/object:Gem::Version
|
4
|
+
hash: 11
|
5
5
|
prerelease:
|
6
|
+
segments:
|
7
|
+
- 3
|
8
|
+
- 3
|
9
|
+
- 0
|
10
|
+
version: 3.3.0
|
6
11
|
platform: ruby
|
7
|
-
authors:
|
12
|
+
authors:
|
8
13
|
- Andrew Benton
|
9
14
|
autorequire:
|
10
15
|
bindir: bin
|
11
16
|
cert_chain: []
|
12
|
-
|
17
|
+
|
18
|
+
date: 2011-08-10 00:00:00 -07:00
|
13
19
|
default_executable:
|
14
|
-
dependencies:
|
15
|
-
- !ruby/object:Gem::Dependency
|
16
|
-
name:
|
17
|
-
|
20
|
+
dependencies:
|
21
|
+
- !ruby/object:Gem::Dependency
|
22
|
+
name: multi_json
|
23
|
+
prerelease: false
|
24
|
+
requirement: &id001 !ruby/object:Gem::Requirement
|
18
25
|
none: false
|
19
|
-
requirements:
|
20
|
-
- -
|
21
|
-
- !ruby/object:Gem::Version
|
22
|
-
|
26
|
+
requirements:
|
27
|
+
- - ">="
|
28
|
+
- !ruby/object:Gem::Version
|
29
|
+
hash: 17
|
30
|
+
segments:
|
31
|
+
- 1
|
32
|
+
- 0
|
33
|
+
- 3
|
34
|
+
version: 1.0.3
|
23
35
|
type: :runtime
|
24
|
-
|
25
|
-
|
26
|
-
- !ruby/object:Gem::Dependency
|
36
|
+
version_requirements: *id001
|
37
|
+
- !ruby/object:Gem::Dependency
|
27
38
|
name: builder
|
28
|
-
|
39
|
+
prerelease: false
|
40
|
+
requirement: &id002 !ruby/object:Gem::Requirement
|
29
41
|
none: false
|
30
|
-
requirements:
|
31
|
-
- -
|
32
|
-
- !ruby/object:Gem::Version
|
42
|
+
requirements:
|
43
|
+
- - ">="
|
44
|
+
- !ruby/object:Gem::Version
|
45
|
+
hash: 15
|
46
|
+
segments:
|
47
|
+
- 2
|
48
|
+
- 1
|
49
|
+
- 2
|
33
50
|
version: 2.1.2
|
34
51
|
type: :runtime
|
35
|
-
|
36
|
-
|
37
|
-
- !ruby/object:Gem::Dependency
|
52
|
+
version_requirements: *id002
|
53
|
+
- !ruby/object:Gem::Dependency
|
38
54
|
name: jwt
|
39
|
-
|
55
|
+
prerelease: false
|
56
|
+
requirement: &id003 !ruby/object:Gem::Requirement
|
40
57
|
none: false
|
41
|
-
requirements:
|
42
|
-
- -
|
43
|
-
- !ruby/object:Gem::Version
|
58
|
+
requirements:
|
59
|
+
- - ">="
|
60
|
+
- !ruby/object:Gem::Version
|
61
|
+
hash: 31
|
62
|
+
segments:
|
63
|
+
- 0
|
64
|
+
- 1
|
65
|
+
- 2
|
44
66
|
version: 0.1.2
|
45
67
|
type: :runtime
|
68
|
+
version_requirements: *id003
|
69
|
+
- !ruby/object:Gem::Dependency
|
70
|
+
name: rake
|
71
|
+
prerelease: false
|
72
|
+
requirement: &id004 !ruby/object:Gem::Requirement
|
73
|
+
none: false
|
74
|
+
requirements:
|
75
|
+
- - ~>
|
76
|
+
- !ruby/object:Gem::Version
|
77
|
+
hash: 59
|
78
|
+
segments:
|
79
|
+
- 0
|
80
|
+
- 9
|
81
|
+
- 0
|
82
|
+
version: 0.9.0
|
83
|
+
type: :development
|
84
|
+
version_requirements: *id004
|
85
|
+
- !ruby/object:Gem::Dependency
|
86
|
+
name: rspec
|
87
|
+
prerelease: false
|
88
|
+
requirement: &id005 !ruby/object:Gem::Requirement
|
89
|
+
none: false
|
90
|
+
requirements:
|
91
|
+
- - ~>
|
92
|
+
- !ruby/object:Gem::Version
|
93
|
+
hash: 23
|
94
|
+
segments:
|
95
|
+
- 2
|
96
|
+
- 6
|
97
|
+
- 0
|
98
|
+
version: 2.6.0
|
99
|
+
type: :development
|
100
|
+
version_requirements: *id005
|
101
|
+
- !ruby/object:Gem::Dependency
|
102
|
+
name: fakeweb
|
103
|
+
prerelease: false
|
104
|
+
requirement: &id006 !ruby/object:Gem::Requirement
|
105
|
+
none: false
|
106
|
+
requirements:
|
107
|
+
- - ~>
|
108
|
+
- !ruby/object:Gem::Version
|
109
|
+
hash: 27
|
110
|
+
segments:
|
111
|
+
- 1
|
112
|
+
- 3
|
113
|
+
- 0
|
114
|
+
version: 1.3.0
|
115
|
+
type: :development
|
116
|
+
version_requirements: *id006
|
117
|
+
- !ruby/object:Gem::Dependency
|
118
|
+
name: rack
|
46
119
|
prerelease: false
|
47
|
-
|
48
|
-
|
49
|
-
|
120
|
+
requirement: &id007 !ruby/object:Gem::Requirement
|
121
|
+
none: false
|
122
|
+
requirements:
|
123
|
+
- - ~>
|
124
|
+
- !ruby/object:Gem::Version
|
125
|
+
hash: 27
|
126
|
+
segments:
|
127
|
+
- 1
|
128
|
+
- 3
|
129
|
+
- 0
|
130
|
+
version: 1.3.0
|
131
|
+
type: :development
|
132
|
+
version_requirements: *id007
|
133
|
+
description: A simple library for communicating with the Twilio REST API, building TwiML, and generating Twilio Client Capability Tokens
|
50
134
|
email: andrew@twilio.com
|
51
135
|
executables: []
|
136
|
+
|
52
137
|
extensions: []
|
53
|
-
|
54
|
-
|
138
|
+
|
139
|
+
extra_rdoc_files:
|
140
|
+
- README.md
|
141
|
+
- README.rdoc
|
142
|
+
- examples.rb
|
143
|
+
- LICENSE
|
144
|
+
files:
|
145
|
+
- .gitignore
|
146
|
+
- Gemfile
|
147
|
+
- LICENSE
|
148
|
+
- README.md
|
149
|
+
- README.rdoc
|
150
|
+
- Rakefile
|
151
|
+
- examples.rb
|
55
152
|
- lib/twilio-ruby.rb
|
153
|
+
- lib/twilio-ruby/rest/accounts.rb
|
154
|
+
- lib/twilio-ruby/rest/applications.rb
|
155
|
+
- lib/twilio-ruby/rest/available_phone_numbers.rb
|
156
|
+
- lib/twilio-ruby/rest/available_phone_numbers/country.rb
|
157
|
+
- lib/twilio-ruby/rest/available_phone_numbers/local.rb
|
158
|
+
- lib/twilio-ruby/rest/available_phone_numbers/toll_free.rb
|
159
|
+
- lib/twilio-ruby/rest/calls.rb
|
56
160
|
- lib/twilio-ruby/rest/client.rb
|
57
|
-
- lib/twilio-ruby/rest/
|
58
|
-
- lib/twilio-ruby/rest/incoming_phone_numbers/incoming_phone_number.rb
|
59
|
-
- lib/twilio-ruby/rest/incoming_phone_numbers/incoming_phone_numbers.rb
|
60
|
-
- lib/twilio-ruby/rest/conferences/participant.rb
|
61
|
-
- lib/twilio-ruby/rest/conferences/conference.rb
|
62
|
-
- lib/twilio-ruby/rest/conferences/conferences.rb
|
161
|
+
- lib/twilio-ruby/rest/conferences.rb
|
63
162
|
- lib/twilio-ruby/rest/conferences/participants.rb
|
64
|
-
- lib/twilio-ruby/rest/transcriptions/transcriptions.rb
|
65
|
-
- lib/twilio-ruby/rest/transcriptions/transcription.rb
|
66
|
-
- lib/twilio-ruby/rest/calls/call.rb
|
67
|
-
- lib/twilio-ruby/rest/calls/calls.rb
|
68
|
-
- lib/twilio-ruby/rest/applications/applications.rb
|
69
|
-
- lib/twilio-ruby/rest/applications/application.rb
|
70
|
-
- lib/twilio-ruby/rest/utils.rb
|
71
|
-
- lib/twilio-ruby/rest/accounts/accounts.rb
|
72
|
-
- lib/twilio-ruby/rest/accounts/account.rb
|
73
|
-
- lib/twilio-ruby/rest/recordings/recording.rb
|
74
|
-
- lib/twilio-ruby/rest/recordings/recordings.rb
|
75
163
|
- lib/twilio-ruby/rest/errors.rb
|
76
|
-
- lib/twilio-ruby/rest/
|
77
|
-
- lib/twilio-ruby/rest/
|
164
|
+
- lib/twilio-ruby/rest/incoming_phone_numbers.rb
|
165
|
+
- lib/twilio-ruby/rest/instance_resource.rb
|
166
|
+
- lib/twilio-ruby/rest/list_resource.rb
|
167
|
+
- lib/twilio-ruby/rest/notifications.rb
|
168
|
+
- lib/twilio-ruby/rest/outgoing_caller_ids.rb
|
169
|
+
- lib/twilio-ruby/rest/recordings.rb
|
170
|
+
- lib/twilio-ruby/rest/sandbox.rb
|
171
|
+
- lib/twilio-ruby/rest/sms.rb
|
78
172
|
- lib/twilio-ruby/rest/sms/messages.rb
|
79
|
-
- lib/twilio-ruby/rest/sms/short_code.rb
|
80
173
|
- lib/twilio-ruby/rest/sms/short_codes.rb
|
81
|
-
- lib/twilio-ruby/rest/
|
82
|
-
- lib/twilio-ruby/rest/
|
83
|
-
- lib/twilio-ruby/
|
84
|
-
- lib/twilio-ruby/
|
85
|
-
- lib/twilio-ruby/rest/available_phone_numbers/country.rb
|
86
|
-
- lib/twilio-ruby/rest/available_phone_numbers/local.rb
|
87
|
-
- lib/twilio-ruby/rest/available_phone_numbers/available_phone_number.rb
|
88
|
-
- lib/twilio-ruby/rest/available_phone_numbers/available_phone_numbers.rb
|
89
|
-
- lib/twilio-ruby/rest/available_phone_numbers/toll_free.rb
|
90
|
-
- lib/twilio-ruby/rest/sandbox/sandbox.rb
|
91
|
-
- lib/twilio-ruby/rest/instance_resource.rb
|
174
|
+
- lib/twilio-ruby/rest/transcriptions.rb
|
175
|
+
- lib/twilio-ruby/rest/utils.rb
|
176
|
+
- lib/twilio-ruby/twiml/response.rb
|
177
|
+
- lib/twilio-ruby/util.rb
|
92
178
|
- lib/twilio-ruby/util/capability.rb
|
93
179
|
- lib/twilio-ruby/util/request_validator.rb
|
94
|
-
- lib/twilio-ruby/
|
95
|
-
- lib/twilio-ruby/twiml/response.rb
|
180
|
+
- lib/twilio-ruby/version.rb
|
96
181
|
- test/twilio_spec.rb
|
97
|
-
- examples.rb
|
98
|
-
- Rakefile
|
99
|
-
- LICENSE
|
100
|
-
- README.md
|
101
182
|
- twilio-ruby.gemspec
|
102
183
|
has_rdoc: true
|
103
184
|
homepage: http://github.com/twilio/twilio-ruby
|
104
185
|
licenses: []
|
186
|
+
|
105
187
|
post_install_message:
|
106
|
-
rdoc_options:
|
107
|
-
|
188
|
+
rdoc_options:
|
189
|
+
- --line-numbers
|
190
|
+
- --inline-source
|
191
|
+
- --title
|
192
|
+
- twilio-ruby
|
193
|
+
- --main
|
194
|
+
- README.md
|
195
|
+
require_paths:
|
108
196
|
- lib
|
109
|
-
required_ruby_version: !ruby/object:Gem::Requirement
|
197
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
110
198
|
none: false
|
111
|
-
requirements:
|
112
|
-
- -
|
113
|
-
- !ruby/object:Gem::Version
|
114
|
-
|
115
|
-
|
199
|
+
requirements:
|
200
|
+
- - ">="
|
201
|
+
- !ruby/object:Gem::Version
|
202
|
+
hash: 3
|
203
|
+
segments:
|
204
|
+
- 0
|
205
|
+
version: "0"
|
206
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
116
207
|
none: false
|
117
|
-
requirements:
|
118
|
-
- -
|
119
|
-
- !ruby/object:Gem::Version
|
120
|
-
|
208
|
+
requirements:
|
209
|
+
- - ">="
|
210
|
+
- !ruby/object:Gem::Version
|
211
|
+
hash: 3
|
212
|
+
segments:
|
213
|
+
- 0
|
214
|
+
version: "0"
|
121
215
|
requirements: []
|
216
|
+
|
122
217
|
rubyforge_project:
|
123
218
|
rubygems_version: 1.6.2
|
124
219
|
signing_key:
|
125
220
|
specification_version: 3
|
126
|
-
summary: A simple library for communicating with the Twilio REST API, building TwiML,
|
127
|
-
|
128
|
-
test_files:
|
221
|
+
summary: A simple library for communicating with the Twilio REST API, building TwiML, and generating Twilio Client Capability Tokens
|
222
|
+
test_files:
|
129
223
|
- test/twilio_spec.rb
|