slayer-twilio 3.0.1
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.
- data/.gitignore +8 -0
- data/CHANGELOG.rdoc +31 -0
- data/Gemfile +4 -0
- data/LICENSE +20 -0
- data/README.rdoc +63 -0
- data/Rakefile +9 -0
- data/lib/twilio.rb +53 -0
- data/lib/twilio/account.rb +12 -0
- data/lib/twilio/available_phone_numbers.rb +56 -0
- data/lib/twilio/call.rb +37 -0
- data/lib/twilio/conference.rb +35 -0
- data/lib/twilio/incoming_phone_number.rb +30 -0
- data/lib/twilio/notification.rb +20 -0
- data/lib/twilio/outgoing_caller_id.rb +33 -0
- data/lib/twilio/recording.rb +24 -0
- data/lib/twilio/sms.rb +22 -0
- data/lib/twilio/twilio_object.rb +19 -0
- data/lib/twilio/verb.rb +387 -0
- data/lib/twilio/version.rb +3 -0
- data/spec/fixtures/xml/account.xml +23 -0
- data/spec/fixtures/xml/account_renamed.xml +11 -0
- data/spec/fixtures/xml/available_phone_numbers_local.xml +26 -0
- data/spec/fixtures/xml/available_phone_numbers_local_search.xml +15 -0
- data/spec/fixtures/xml/available_phone_numbers_toll_free.xml +14 -0
- data/spec/fixtures/xml/available_phone_numbers_toll_free_search.xml +10 -0
- data/spec/fixtures/xml/call.xml +18 -0
- data/spec/fixtures/xml/call_new.xml +14 -0
- data/spec/fixtures/xml/call_redirected.xml +15 -0
- data/spec/fixtures/xml/calls.xml +36 -0
- data/spec/fixtures/xml/conference.xml +10 -0
- data/spec/fixtures/xml/conference_participant.xml +12 -0
- data/spec/fixtures/xml/conference_participant_muted.xml +12 -0
- data/spec/fixtures/xml/conference_participants.xml +24 -0
- data/spec/fixtures/xml/conferences.xml +12 -0
- data/spec/fixtures/xml/incoming_phone_number.xml +12 -0
- data/spec/fixtures/xml/incoming_phone_numbers.xml +24 -0
- data/spec/fixtures/xml/notification.xml +19 -0
- data/spec/fixtures/xml/notifications.xml +32 -0
- data/spec/fixtures/xml/outgoing_caller_id.xml +10 -0
- data/spec/fixtures/xml/outgoing_caller_id_new.xml +7 -0
- data/spec/fixtures/xml/outgoing_caller_ids.xml +20 -0
- data/spec/fixtures/xml/recording.xml +10 -0
- data/spec/fixtures/xml/recordings.xml +20 -0
- data/spec/fixtures/xml/sms.xml +14 -0
- data/spec/fixtures/xml/sms_messages.xml +29 -0
- data/spec/fixtures/xml/sms_new.xml +14 -0
- data/spec/fixtures/xml/sms_new_with_callback.xml +15 -0
- data/spec/fixtures/xml/transcription.xml +13 -0
- data/spec/fixtures/xml/transcriptions.xml +26 -0
- data/spec/fixtures/yml/verb_responses.yml +86 -0
- data/spec/spec_helper.rb +17 -0
- data/spec/support/twilio_helpers.rb +52 -0
- data/spec/twilio/account_spec.rb +21 -0
- data/spec/twilio/available_phone_numbers_spec.rb +53 -0
- data/spec/twilio/call_spec.rb +64 -0
- data/spec/twilio/conference_spec.rb +58 -0
- data/spec/twilio/incoming_phone_number_spec.rb +42 -0
- data/spec/twilio/live_connection_spec.rb +21 -0
- data/spec/twilio/notification_spec.rb +29 -0
- data/spec/twilio/outgoing_caller_id_spec.rb +43 -0
- data/spec/twilio/recording_spec.rb +44 -0
- data/spec/twilio/sms_spec.rb +36 -0
- data/spec/twilio/verb_spec.rb +253 -0
- data/twilio.gemspec +30 -0
- metadata +258 -0
data/twilio.gemspec
ADDED
@@ -0,0 +1,30 @@
|
|
1
|
+
# -*- encoding: utf-8 -*-
|
2
|
+
$:.push File.expand_path("../lib", __FILE__)
|
3
|
+
require "twilio/version"
|
4
|
+
|
5
|
+
Gem::Specification.new do |s|
|
6
|
+
s.name = "slayer-twilio"
|
7
|
+
s.version = Twilio::VERSION
|
8
|
+
s.platform = Gem::Platform::RUBY
|
9
|
+
s.authors = ["Phil Misiowiec", "Jonathan Rudenberg", "Alex K Wolfe", "Kyle Daigle", "Jeff Wigal", "Yuri Gadow", "Vlad Moskovets"]
|
10
|
+
s.email = ["github@webficient.com", "github@vlad.org.ua"]
|
11
|
+
s.homepage = ""
|
12
|
+
s.summary = %q{Twilio API Client}
|
13
|
+
s.description = %q{Twilio API wrapper}
|
14
|
+
|
15
|
+
s.rubyforge_project = "twilio"
|
16
|
+
|
17
|
+
s.files = `git ls-files`.split("\n")
|
18
|
+
s.test_files = `git ls-files -- {test,spec,features}/*`.split("\n")
|
19
|
+
s.executables = `git ls-files -- bin/*`.split("\n").map{ |f| File.basename(f) }
|
20
|
+
s.require_paths = ["lib"]
|
21
|
+
|
22
|
+
s.add_dependency "builder", "~> 2.1.2"
|
23
|
+
s.add_dependency "httparty", "~> 0.7.4"
|
24
|
+
|
25
|
+
{
|
26
|
+
'rake' => '~> 0.8.7',
|
27
|
+
'rspec' => '~> 2.5.0',
|
28
|
+
'webmock' => '~> 1.6.2'
|
29
|
+
}.each { |l, v| s. add_development_dependency l, v }
|
30
|
+
end
|
metadata
ADDED
@@ -0,0 +1,258 @@
|
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
|
+
name: slayer-twilio
|
3
|
+
version: !ruby/object:Gem::Version
|
4
|
+
hash: 5
|
5
|
+
prerelease:
|
6
|
+
segments:
|
7
|
+
- 3
|
8
|
+
- 0
|
9
|
+
- 1
|
10
|
+
version: 3.0.1
|
11
|
+
platform: ruby
|
12
|
+
authors:
|
13
|
+
- Phil Misiowiec
|
14
|
+
- Jonathan Rudenberg
|
15
|
+
- Alex K Wolfe
|
16
|
+
- Kyle Daigle
|
17
|
+
- Jeff Wigal
|
18
|
+
- Yuri Gadow
|
19
|
+
- Vlad Moskovets
|
20
|
+
autorequire:
|
21
|
+
bindir: bin
|
22
|
+
cert_chain: []
|
23
|
+
|
24
|
+
date: 2011-08-21 00:00:00 Z
|
25
|
+
dependencies:
|
26
|
+
- !ruby/object:Gem::Dependency
|
27
|
+
requirement: &id001 !ruby/object:Gem::Requirement
|
28
|
+
none: false
|
29
|
+
requirements:
|
30
|
+
- - ~>
|
31
|
+
- !ruby/object:Gem::Version
|
32
|
+
hash: 15
|
33
|
+
segments:
|
34
|
+
- 2
|
35
|
+
- 1
|
36
|
+
- 2
|
37
|
+
version: 2.1.2
|
38
|
+
type: :runtime
|
39
|
+
name: builder
|
40
|
+
version_requirements: *id001
|
41
|
+
prerelease: false
|
42
|
+
- !ruby/object:Gem::Dependency
|
43
|
+
requirement: &id002 !ruby/object:Gem::Requirement
|
44
|
+
none: false
|
45
|
+
requirements:
|
46
|
+
- - ~>
|
47
|
+
- !ruby/object:Gem::Version
|
48
|
+
hash: 11
|
49
|
+
segments:
|
50
|
+
- 0
|
51
|
+
- 7
|
52
|
+
- 4
|
53
|
+
version: 0.7.4
|
54
|
+
type: :runtime
|
55
|
+
name: httparty
|
56
|
+
version_requirements: *id002
|
57
|
+
prerelease: false
|
58
|
+
- !ruby/object:Gem::Dependency
|
59
|
+
requirement: &id003 !ruby/object:Gem::Requirement
|
60
|
+
none: false
|
61
|
+
requirements:
|
62
|
+
- - ~>
|
63
|
+
- !ruby/object:Gem::Version
|
64
|
+
hash: 49
|
65
|
+
segments:
|
66
|
+
- 0
|
67
|
+
- 8
|
68
|
+
- 7
|
69
|
+
version: 0.8.7
|
70
|
+
type: :development
|
71
|
+
name: rake
|
72
|
+
version_requirements: *id003
|
73
|
+
prerelease: false
|
74
|
+
- !ruby/object:Gem::Dependency
|
75
|
+
requirement: &id004 !ruby/object:Gem::Requirement
|
76
|
+
none: false
|
77
|
+
requirements:
|
78
|
+
- - ~>
|
79
|
+
- !ruby/object:Gem::Version
|
80
|
+
hash: 27
|
81
|
+
segments:
|
82
|
+
- 2
|
83
|
+
- 5
|
84
|
+
- 0
|
85
|
+
version: 2.5.0
|
86
|
+
type: :development
|
87
|
+
name: rspec
|
88
|
+
version_requirements: *id004
|
89
|
+
prerelease: false
|
90
|
+
- !ruby/object:Gem::Dependency
|
91
|
+
requirement: &id005 !ruby/object:Gem::Requirement
|
92
|
+
none: false
|
93
|
+
requirements:
|
94
|
+
- - ~>
|
95
|
+
- !ruby/object:Gem::Version
|
96
|
+
hash: 11
|
97
|
+
segments:
|
98
|
+
- 1
|
99
|
+
- 6
|
100
|
+
- 2
|
101
|
+
version: 1.6.2
|
102
|
+
type: :development
|
103
|
+
name: webmock
|
104
|
+
version_requirements: *id005
|
105
|
+
prerelease: false
|
106
|
+
description: Twilio API wrapper
|
107
|
+
email:
|
108
|
+
- github@webficient.com
|
109
|
+
- github@vlad.org.ua
|
110
|
+
executables: []
|
111
|
+
|
112
|
+
extensions: []
|
113
|
+
|
114
|
+
extra_rdoc_files: []
|
115
|
+
|
116
|
+
files:
|
117
|
+
- .gitignore
|
118
|
+
- CHANGELOG.rdoc
|
119
|
+
- Gemfile
|
120
|
+
- LICENSE
|
121
|
+
- README.rdoc
|
122
|
+
- Rakefile
|
123
|
+
- lib/twilio.rb
|
124
|
+
- lib/twilio/account.rb
|
125
|
+
- lib/twilio/available_phone_numbers.rb
|
126
|
+
- lib/twilio/call.rb
|
127
|
+
- lib/twilio/conference.rb
|
128
|
+
- lib/twilio/incoming_phone_number.rb
|
129
|
+
- lib/twilio/notification.rb
|
130
|
+
- lib/twilio/outgoing_caller_id.rb
|
131
|
+
- lib/twilio/recording.rb
|
132
|
+
- lib/twilio/sms.rb
|
133
|
+
- lib/twilio/twilio_object.rb
|
134
|
+
- lib/twilio/verb.rb
|
135
|
+
- lib/twilio/version.rb
|
136
|
+
- spec/fixtures/xml/account.xml
|
137
|
+
- spec/fixtures/xml/account_renamed.xml
|
138
|
+
- spec/fixtures/xml/available_phone_numbers_local.xml
|
139
|
+
- spec/fixtures/xml/available_phone_numbers_local_search.xml
|
140
|
+
- spec/fixtures/xml/available_phone_numbers_toll_free.xml
|
141
|
+
- spec/fixtures/xml/available_phone_numbers_toll_free_search.xml
|
142
|
+
- spec/fixtures/xml/call.xml
|
143
|
+
- spec/fixtures/xml/call_new.xml
|
144
|
+
- spec/fixtures/xml/call_redirected.xml
|
145
|
+
- spec/fixtures/xml/calls.xml
|
146
|
+
- spec/fixtures/xml/conference.xml
|
147
|
+
- spec/fixtures/xml/conference_participant.xml
|
148
|
+
- spec/fixtures/xml/conference_participant_muted.xml
|
149
|
+
- spec/fixtures/xml/conference_participants.xml
|
150
|
+
- spec/fixtures/xml/conferences.xml
|
151
|
+
- spec/fixtures/xml/incoming_phone_number.xml
|
152
|
+
- spec/fixtures/xml/incoming_phone_numbers.xml
|
153
|
+
- spec/fixtures/xml/notification.xml
|
154
|
+
- spec/fixtures/xml/notifications.xml
|
155
|
+
- spec/fixtures/xml/outgoing_caller_id.xml
|
156
|
+
- spec/fixtures/xml/outgoing_caller_id_new.xml
|
157
|
+
- spec/fixtures/xml/outgoing_caller_ids.xml
|
158
|
+
- spec/fixtures/xml/recording.xml
|
159
|
+
- spec/fixtures/xml/recordings.xml
|
160
|
+
- spec/fixtures/xml/sms.xml
|
161
|
+
- spec/fixtures/xml/sms_messages.xml
|
162
|
+
- spec/fixtures/xml/sms_new.xml
|
163
|
+
- spec/fixtures/xml/sms_new_with_callback.xml
|
164
|
+
- spec/fixtures/xml/transcription.xml
|
165
|
+
- spec/fixtures/xml/transcriptions.xml
|
166
|
+
- spec/fixtures/yml/verb_responses.yml
|
167
|
+
- spec/spec_helper.rb
|
168
|
+
- spec/support/twilio_helpers.rb
|
169
|
+
- spec/twilio/account_spec.rb
|
170
|
+
- spec/twilio/available_phone_numbers_spec.rb
|
171
|
+
- spec/twilio/call_spec.rb
|
172
|
+
- spec/twilio/conference_spec.rb
|
173
|
+
- spec/twilio/incoming_phone_number_spec.rb
|
174
|
+
- spec/twilio/live_connection_spec.rb
|
175
|
+
- spec/twilio/notification_spec.rb
|
176
|
+
- spec/twilio/outgoing_caller_id_spec.rb
|
177
|
+
- spec/twilio/recording_spec.rb
|
178
|
+
- spec/twilio/sms_spec.rb
|
179
|
+
- spec/twilio/verb_spec.rb
|
180
|
+
- twilio.gemspec
|
181
|
+
homepage: ""
|
182
|
+
licenses: []
|
183
|
+
|
184
|
+
post_install_message:
|
185
|
+
rdoc_options: []
|
186
|
+
|
187
|
+
require_paths:
|
188
|
+
- lib
|
189
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
190
|
+
none: false
|
191
|
+
requirements:
|
192
|
+
- - ">="
|
193
|
+
- !ruby/object:Gem::Version
|
194
|
+
hash: 3
|
195
|
+
segments:
|
196
|
+
- 0
|
197
|
+
version: "0"
|
198
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
199
|
+
none: false
|
200
|
+
requirements:
|
201
|
+
- - ">="
|
202
|
+
- !ruby/object:Gem::Version
|
203
|
+
hash: 3
|
204
|
+
segments:
|
205
|
+
- 0
|
206
|
+
version: "0"
|
207
|
+
requirements: []
|
208
|
+
|
209
|
+
rubyforge_project: twilio
|
210
|
+
rubygems_version: 1.8.8
|
211
|
+
signing_key:
|
212
|
+
specification_version: 3
|
213
|
+
summary: Twilio API Client
|
214
|
+
test_files:
|
215
|
+
- spec/fixtures/xml/account.xml
|
216
|
+
- spec/fixtures/xml/account_renamed.xml
|
217
|
+
- spec/fixtures/xml/available_phone_numbers_local.xml
|
218
|
+
- spec/fixtures/xml/available_phone_numbers_local_search.xml
|
219
|
+
- spec/fixtures/xml/available_phone_numbers_toll_free.xml
|
220
|
+
- spec/fixtures/xml/available_phone_numbers_toll_free_search.xml
|
221
|
+
- spec/fixtures/xml/call.xml
|
222
|
+
- spec/fixtures/xml/call_new.xml
|
223
|
+
- spec/fixtures/xml/call_redirected.xml
|
224
|
+
- spec/fixtures/xml/calls.xml
|
225
|
+
- spec/fixtures/xml/conference.xml
|
226
|
+
- spec/fixtures/xml/conference_participant.xml
|
227
|
+
- spec/fixtures/xml/conference_participant_muted.xml
|
228
|
+
- spec/fixtures/xml/conference_participants.xml
|
229
|
+
- spec/fixtures/xml/conferences.xml
|
230
|
+
- spec/fixtures/xml/incoming_phone_number.xml
|
231
|
+
- spec/fixtures/xml/incoming_phone_numbers.xml
|
232
|
+
- spec/fixtures/xml/notification.xml
|
233
|
+
- spec/fixtures/xml/notifications.xml
|
234
|
+
- spec/fixtures/xml/outgoing_caller_id.xml
|
235
|
+
- spec/fixtures/xml/outgoing_caller_id_new.xml
|
236
|
+
- spec/fixtures/xml/outgoing_caller_ids.xml
|
237
|
+
- spec/fixtures/xml/recording.xml
|
238
|
+
- spec/fixtures/xml/recordings.xml
|
239
|
+
- spec/fixtures/xml/sms.xml
|
240
|
+
- spec/fixtures/xml/sms_messages.xml
|
241
|
+
- spec/fixtures/xml/sms_new.xml
|
242
|
+
- spec/fixtures/xml/sms_new_with_callback.xml
|
243
|
+
- spec/fixtures/xml/transcription.xml
|
244
|
+
- spec/fixtures/xml/transcriptions.xml
|
245
|
+
- spec/fixtures/yml/verb_responses.yml
|
246
|
+
- spec/spec_helper.rb
|
247
|
+
- spec/support/twilio_helpers.rb
|
248
|
+
- spec/twilio/account_spec.rb
|
249
|
+
- spec/twilio/available_phone_numbers_spec.rb
|
250
|
+
- spec/twilio/call_spec.rb
|
251
|
+
- spec/twilio/conference_spec.rb
|
252
|
+
- spec/twilio/incoming_phone_number_spec.rb
|
253
|
+
- spec/twilio/live_connection_spec.rb
|
254
|
+
- spec/twilio/notification_spec.rb
|
255
|
+
- spec/twilio/outgoing_caller_id_spec.rb
|
256
|
+
- spec/twilio/recording_spec.rb
|
257
|
+
- spec/twilio/sms_spec.rb
|
258
|
+
- spec/twilio/verb_spec.rb
|