whoosh-ruby 0.1.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/README.md +355 -0
- metadata +229 -0
checksums.yaml
ADDED
@@ -0,0 +1,7 @@
|
|
1
|
+
---
|
2
|
+
SHA256:
|
3
|
+
metadata.gz: 2a8e69af09aa3d2d0d9573ceebe9ca7a6c70e2822c70d122dd4f1e7039e4f266
|
4
|
+
data.tar.gz: 972a7197113aef604e06dfdefad5f1e9bc34b1a099540f8e79d90de6933196a3
|
5
|
+
SHA512:
|
6
|
+
metadata.gz: ac8b386c2535458066f9568aa88daa73be2adc62f6706967452a0ff493a0b9836e06cd28829eae1e7eea7c5fc13f1fde909df24c37f09ff8fac5c2073fa1dc21
|
7
|
+
data.tar.gz: c641a4d014f387f2be60a9234436b3dec4f9de94ea63be1161d55dad8883b75e3fbeacb750d767f0fe39244872634a414a3efa6ad89561aacfdb5a20d704ebdb
|
data/README.md
ADDED
@@ -0,0 +1,355 @@
|
|
1
|
+
# twilio-ruby
|
2
|
+
|
3
|
+
[![Tests](https://github.com/twilio/twilio-ruby/actions/workflows/test-and-deploy.yml/badge.svg)][github-actions]
|
4
|
+
[![Gem Version](https://img.shields.io/gem/v/twilio-ruby.svg)](https://rubygems.org/gems/twilio-ruby)
|
5
|
+
[![Learn with TwilioQuest](https://img.shields.io/static/v1?label=TwilioQuest&message=Learn%20to%20contribute%21&color=F22F46&labelColor=1f243c&style=flat-square&logo=data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAIAAAACACAMAAAD04JH5AAAASFBMVEUAAAAZGRkcHBwjIyMoKCgAAABgYGBoaGiAgICMjIyzs7PJycnMzMzNzc3UoBfd3d3m5ubqrhfrMEDu7u739/f4vSb/3AD///9tbdyEAAAABXRSTlMAAAAAAMJrBrEAAAKoSURBVHgB7ZrRcuI6EESdyxXGYoNFvMD//+l2bSszRgyUYpFAsXOeiJGmj4NkuWx1Qeh+Ekl9DgEXOBwOx+Px5xyQhDykfgq4wG63MxxaR4ddIkg6Ul3g84vCIcjPBA5gmUMeXESrlukuoK33+33uID8TWeLAdOWsKpJYzwVMB7bOzYSGOciyUlXSn0/ABXTosJ1M1SbypZ4O4MbZuIDMU02PMbauhhHMHXbmebmALIiEbbbbbUrpF1gwE9kFfRNAJaP+FQEXCCTGyJ4ngDrjOFo3jEL5JdqjF/pueR4cCeCGgAtwmuRS6gDwaRiGvu+DMFwSBLTE3+jF8JyuV1okPZ+AC4hDFhCHyHQjdjPHUKFDlHSJkHQXMB3KpSwXNGJPcwwTdZiXlRN0gSp0zpWxNtM0beYE0nRH6QIbO7rawwXaBYz0j78gxjokDuv12gVeUuBD0MDi0OQCLvDaAho4juP1Q/jkAncXqIcCfd+7gAu4QLMACCLxpRsSuQh0igu0C9Svhi7weAGZg50L3IE3cai4IfkNZAC8dfdhsUD3CgKBVC9JE5ABAFzg4QL/taYPAAWrHdYcgfLaIgAXWJ7OV38n1LEF8tt2TH29E+QAoDoO5Ve/LtCQDmKM9kPbvCEBApK+IXzbcSJ0cIGF6e8gpcRhUDogWZ8JnaWjPXc/fNnBBUKRngiHgTUSivSzDRDgHZQOLvBQgf8rRt+VdBUUhwkU6VpJ+xcOwQUqZr+mR0kvBUgv6cB4+37hQAkXqE8PwGisGhJtN4xAHMzrsgvI7rccXqSvKh6jltGlrOHA3Xk1At3LC4QiPdX9/0ndHpGVvTjR4bZA1ypAKgVcwE5vx74ulwIugDt8e/X7JgfkucBMIAr26ndnB4UCLnDOqvteQsHlgX9N4A+c4cW3DXSPbwAAAABJRU5ErkJggg==)](https://twil.io/learn-open-source)
|
6
|
+
|
7
|
+
## Documentation
|
8
|
+
|
9
|
+
The documentation for the Twilio API can be found [here][apidocs].
|
10
|
+
|
11
|
+
The individual releases [here][refdocs].
|
12
|
+
|
13
|
+
## Versions
|
14
|
+
|
15
|
+
`twilio-ruby` uses a modified version of [Semantic Versioning](https://semver.org) for all changes. [See this document](VERSIONS.md) for details.
|
16
|
+
|
17
|
+
### Supported Ruby Versions
|
18
|
+
|
19
|
+
This library supports the following Ruby implementations:
|
20
|
+
|
21
|
+
* Ruby 2.4
|
22
|
+
* Ruby 2.5
|
23
|
+
* Ruby 2.6
|
24
|
+
* Ruby 2.7
|
25
|
+
* Ruby 3.0
|
26
|
+
* Ruby 3.1
|
27
|
+
* Ruby 3.2
|
28
|
+
|
29
|
+
* JRuby 9.2
|
30
|
+
* JRuby 9.3
|
31
|
+
* JRuby 9.4
|
32
|
+
|
33
|
+
### Migrating from 5.x
|
34
|
+
|
35
|
+
[Upgrade Guide][upgrade]
|
36
|
+
|
37
|
+
## Installation
|
38
|
+
|
39
|
+
To install using [Bundler][bundler] grab the latest stable version:
|
40
|
+
|
41
|
+
```ruby
|
42
|
+
gem 'twilio-ruby', '~> 6.0.0'
|
43
|
+
```
|
44
|
+
|
45
|
+
To manually install `twilio-ruby` via [Rubygems][rubygems] simply gem install:
|
46
|
+
|
47
|
+
```bash
|
48
|
+
gem install twilio-ruby -v 6.0.0
|
49
|
+
```
|
50
|
+
|
51
|
+
To build and install the development branch yourself from the latest source:
|
52
|
+
|
53
|
+
```bash
|
54
|
+
git clone git@github.com:twilio/twilio-ruby.git
|
55
|
+
cd twilio-ruby
|
56
|
+
make install
|
57
|
+
```
|
58
|
+
|
59
|
+
> **Info**
|
60
|
+
> If the command line gives you an error message that says Permission Denied, try running the above commands with sudo.
|
61
|
+
>
|
62
|
+
> For example: `sudo gem install twilio-ruby`
|
63
|
+
|
64
|
+
### Test your installation
|
65
|
+
|
66
|
+
To make sure the installation was successful, try sending yourself an SMS message, like this:
|
67
|
+
|
68
|
+
```rb
|
69
|
+
require "twilio-ruby"
|
70
|
+
|
71
|
+
# Your Account SID and Auth Token from console.twilio.com
|
72
|
+
account_sid = "ACXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX"
|
73
|
+
auth_token = "your_auth_token"
|
74
|
+
|
75
|
+
@client = Twilio::REST::Client.new account_sid, auth_token
|
76
|
+
message = @client.messages.create(
|
77
|
+
body: "Hello from Ruby",
|
78
|
+
to: "+12345678901", # Text this number
|
79
|
+
from: "+15005550006", # From a valid Twilio number
|
80
|
+
)
|
81
|
+
|
82
|
+
puts message.sid
|
83
|
+
```
|
84
|
+
|
85
|
+
> **Warning**
|
86
|
+
> It's okay to hardcode your credentials when testing locally, but you should use environment variables to keep them secret before committing any code or deploying to production. Check out [How to Set Environment Variables](https://www.twilio.com/blog/2017/01/how-to-set-environment-variables.html) for more information.
|
87
|
+
|
88
|
+
## Usage
|
89
|
+
|
90
|
+
### Authenticate the Client
|
91
|
+
|
92
|
+
```ruby
|
93
|
+
require 'twilio-ruby'
|
94
|
+
|
95
|
+
# Your Account SID and Auth Token from console.twilio.com
|
96
|
+
account_sid = 'ACxxxxxxxxxxxxxxxxxxxxxxxxxxxxx'
|
97
|
+
auth_token = 'yyyyyyyyyyyyyyyyyyyyyyyyyyyyyyy'
|
98
|
+
|
99
|
+
# Initialize the Twilio Client with your credentials
|
100
|
+
@client = Twilio::REST::Client.new account_sid, auth_token
|
101
|
+
```
|
102
|
+
|
103
|
+
### Use An API Key
|
104
|
+
|
105
|
+
```ruby
|
106
|
+
require 'twilio-ruby'
|
107
|
+
|
108
|
+
# Your Account SID from console.twilio.com
|
109
|
+
account_sid = 'ACxxxxxxxxxxxxxxxxxxxxxxxxxxxxx'
|
110
|
+
# API Key from twilio.com/console/project/api-keys
|
111
|
+
api_key_sid = 'zzzzzzzzzzzzzzzzzzzzzz'
|
112
|
+
api_key_secret = 'yyyyyyyyyyyyyyyyyyyyyyyyyyyyyyy'
|
113
|
+
|
114
|
+
# set up a client to talk to the Twilio REST API using an API Key
|
115
|
+
@client = Twilio::REST::Client.new api_key_sid, api_key_secret, account_sid
|
116
|
+
```
|
117
|
+
|
118
|
+
### Specify a Region and/or Edge
|
119
|
+
|
120
|
+
To take advantage of Twilio's [Global Infrastructure](https://www.twilio.com/docs/global-infrastructure), specify the target Region and/or Edge for the client:
|
121
|
+
|
122
|
+
```ruby
|
123
|
+
# set up a client to talk to the Twilio REST API over a specific region and edge
|
124
|
+
@client = Twilio::REST::Client.new account_sid, auth_token, nil, 'au1'
|
125
|
+
@client.edge = 'sydney'
|
126
|
+
|
127
|
+
# you may also specify the region and/or edge after client creation
|
128
|
+
@client = Twilio::REST::Client.new account_sid, auth_token
|
129
|
+
@client.region = 'au1'
|
130
|
+
@client.edge = 'sydney'
|
131
|
+
```
|
132
|
+
|
133
|
+
This will result in the `hostname` transforming from `api.twilio.com` to `api.sydney.au1.twilio.com`.
|
134
|
+
|
135
|
+
### Make a Call
|
136
|
+
|
137
|
+
```ruby
|
138
|
+
@client.calls.create(
|
139
|
+
from: '+14159341234',
|
140
|
+
to: '+16105557069',
|
141
|
+
url: 'http://example.com'
|
142
|
+
)
|
143
|
+
```
|
144
|
+
|
145
|
+
### Send an SMS
|
146
|
+
|
147
|
+
```ruby
|
148
|
+
@client.messages.create(
|
149
|
+
from: '+14159341234',
|
150
|
+
to: '+16105557069',
|
151
|
+
body: 'Hey there!'
|
152
|
+
)
|
153
|
+
```
|
154
|
+
|
155
|
+
### List your SMS Messages
|
156
|
+
|
157
|
+
```ruby
|
158
|
+
@client.messages.list(limit: 20)
|
159
|
+
```
|
160
|
+
|
161
|
+
### Fetch a single SMS message by Sid
|
162
|
+
|
163
|
+
```ruby
|
164
|
+
# put the message sid you want to retrieve here:
|
165
|
+
message_sid = 'SMxxxxxxxxxxxxxxxxxxxxxxxxxxxxx'
|
166
|
+
@client.messages(message_sid).fetch
|
167
|
+
```
|
168
|
+
|
169
|
+
### Iterate through records
|
170
|
+
|
171
|
+
The library automatically handles paging for you. Collections, such as `calls` and `messages`, have `list` and stream methods that page under the hood. With both `list` and `stream`, you can specify the number of records you want to receive (`limit`) and the maximum size you want each page fetch to be (`page_size`). The library will then handle the task for you.
|
172
|
+
|
173
|
+
`list` eagerly fetches all records and returns them as a list, whereas `stream` returns an enumerator and lazily retrieves pages of records as you iterate over the collection. You can also page manually using the `page` method.
|
174
|
+
|
175
|
+
For more information about these methods, view the [auto-generated library docs](https://www.twilio.com/docs/libraries/reference/twilio-ruby).
|
176
|
+
|
177
|
+
```rb
|
178
|
+
require 'twilio-ruby'
|
179
|
+
|
180
|
+
account_sid = 'ACXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX'
|
181
|
+
auth_token = 'your_auth_token'
|
182
|
+
|
183
|
+
@client = Twilio::REST::Client.new(account_sid, auth_token)
|
184
|
+
|
185
|
+
@client.calls.list
|
186
|
+
.each do |call|
|
187
|
+
puts call.direction
|
188
|
+
end
|
189
|
+
```
|
190
|
+
|
191
|
+
### Enable Debug logging
|
192
|
+
|
193
|
+
In order to enable debug logging, pass in a 'logger' instance to the client with the level set to at least 'DEBUG'
|
194
|
+
|
195
|
+
```ruby
|
196
|
+
@client = Twilio::REST::Client.new account_sid, auth_token
|
197
|
+
myLogger = Logger.new(STDOUT)
|
198
|
+
myLogger.level = Logger::DEBUG
|
199
|
+
@client.logger = myLogger
|
200
|
+
|
201
|
+
@client = Twilio::REST::Client.new account_sid, auth_token
|
202
|
+
myLogger = Logger.new('my_log.log')
|
203
|
+
myLogger.level = Logger::DEBUG
|
204
|
+
@client.logger = myLogger
|
205
|
+
```
|
206
|
+
|
207
|
+
### Handle Exceptions {#exceptions}
|
208
|
+
|
209
|
+
If the Twilio API returns a 400 or a 500 level HTTP response, the `twilio-ruby`
|
210
|
+
library will throw a `Twilio::REST::RestError`. 400-level errors are normal
|
211
|
+
during API operation (`“Invalid number”`, `“Cannot deliver SMS to that number”`,
|
212
|
+
for example) and should be handled appropriately.
|
213
|
+
|
214
|
+
```rb
|
215
|
+
require 'twilio-ruby'
|
216
|
+
|
217
|
+
account_sid = 'ACXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX'
|
218
|
+
auth_token = 'your_auth_token'
|
219
|
+
|
220
|
+
@client = Twilio::REST::Client.new account_sid, auth_token
|
221
|
+
|
222
|
+
begin
|
223
|
+
messages = @client.messages.list(limit: 20)
|
224
|
+
rescue Twilio::REST::RestError => e
|
225
|
+
puts e.message
|
226
|
+
end
|
227
|
+
```
|
228
|
+
|
229
|
+
### Debug API requests
|
230
|
+
|
231
|
+
To assist with debugging, the library allows you to access the underlying request and response objects. This capability is built into the default HTTP client that ships with the library.
|
232
|
+
|
233
|
+
For example, you can retrieve the status code of the last response like so:
|
234
|
+
|
235
|
+
```ruby
|
236
|
+
require 'rubygems' # Not necessary with ruby 1.9 but included for completeness
|
237
|
+
require 'twilio-ruby'
|
238
|
+
|
239
|
+
# Your Account SID and Auth Token from console.twilio.com
|
240
|
+
account_sid = 'ACXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX'
|
241
|
+
auth_token = 'your_auth_token'
|
242
|
+
|
243
|
+
@client = Twilio::REST::Client.new(account_sid, auth_token)
|
244
|
+
|
245
|
+
@message = @client.messages.create(
|
246
|
+
to: '+14158675309',
|
247
|
+
from: '+14258675310',
|
248
|
+
body: 'Ahoy!'
|
249
|
+
)
|
250
|
+
|
251
|
+
# Retrieve the status code of the last response from the HTTP client
|
252
|
+
puts @client.http_client.last_response.status_code
|
253
|
+
```
|
254
|
+
|
255
|
+
### Customize your HTTP Client
|
256
|
+
|
257
|
+
`twilio-ruby` uses [Faraday][faraday] to make HTTP requests. You can tell `Twilio::REST::Client` to use any of the Faraday adapters like so:
|
258
|
+
|
259
|
+
```ruby
|
260
|
+
@client.http_client.adapter = :typhoeus
|
261
|
+
```
|
262
|
+
|
263
|
+
To use a custom HTTP client with this helper library, please see the [advanced example of how to do so](./advanced-examples/custom-http-client.md).
|
264
|
+
|
265
|
+
To apply customizations such as middleware, you can use the `configure_connection` method like so:
|
266
|
+
|
267
|
+
```ruby
|
268
|
+
@client.http_client.configure_connection do |faraday|
|
269
|
+
faraday.use SomeMiddleware
|
270
|
+
end
|
271
|
+
```
|
272
|
+
|
273
|
+
### Get started With Client Capability Tokens
|
274
|
+
|
275
|
+
If you just need to generate a Capability Token for use with Twilio Client, you can do this:
|
276
|
+
|
277
|
+
```ruby
|
278
|
+
require 'twilio-ruby'
|
279
|
+
|
280
|
+
# put your own account credentials here:
|
281
|
+
account_sid = 'ACxxxxxxxxxxxxxxxxxxxxxxxxxxxxx'
|
282
|
+
auth_token = 'yyyyyyyyyyyyyyyyyyyyyyyyyyyyyyy'
|
283
|
+
|
284
|
+
# set up
|
285
|
+
capability = Twilio::JWT::ClientCapability.new account_sid, auth_token
|
286
|
+
|
287
|
+
# allow outgoing calls to an application
|
288
|
+
outgoing_scope = Twilio::JWT::ClientCapability::OutgoingClientScope.new 'AP11111111111111111111111111111111'
|
289
|
+
capability.add_scope(outgoing_scope)
|
290
|
+
|
291
|
+
# allow incoming calls to 'andrew'
|
292
|
+
incoming_scope = Twilio::JWT::ClientCapability::IncomingClientScope.new 'andrew'
|
293
|
+
capability.add_scope(incoming_scope)
|
294
|
+
|
295
|
+
# generate the token string
|
296
|
+
@token = capability.to_s
|
297
|
+
```
|
298
|
+
|
299
|
+
There is a slightly more detailed document in the [Capability][capability] section of the wiki.
|
300
|
+
|
301
|
+
### Generate TwiML
|
302
|
+
|
303
|
+
To control phone calls, your application needs to output [TwiML][twiml].
|
304
|
+
|
305
|
+
You can construct a TwiML response like this:
|
306
|
+
|
307
|
+
```ruby
|
308
|
+
require 'twilio-ruby'
|
309
|
+
|
310
|
+
response = Twilio::TwiML::VoiceResponse.new do |r|
|
311
|
+
r.say(message: 'hello there', voice: 'alice')
|
312
|
+
r.dial(caller_id: '+14159992222') do |d|
|
313
|
+
d.client 'jenny'
|
314
|
+
end
|
315
|
+
end
|
316
|
+
|
317
|
+
# print the result
|
318
|
+
puts response.to_s
|
319
|
+
```
|
320
|
+
|
321
|
+
This will print the following (except for the whitespace):
|
322
|
+
|
323
|
+
```xml
|
324
|
+
<?xml version="1.0" encoding="UTF-8"?>
|
325
|
+
<Response>
|
326
|
+
<Say voice="alice">hello there</Say>
|
327
|
+
<Dial callerId="+14159992222">
|
328
|
+
<Client>jenny</Client>
|
329
|
+
</Dial>
|
330
|
+
</Response>
|
331
|
+
```
|
332
|
+
|
333
|
+
## Docker Image
|
334
|
+
|
335
|
+
The `Dockerfile` present in this repository and its respective `twilio/twilio-ruby` Docker image are currently used by Twilio for testing purposes only.
|
336
|
+
|
337
|
+
## Getting help
|
338
|
+
|
339
|
+
If you need help installing or using the library, please check the [Twilio Support Help Center](https://support.twilio.com) first, and [file a support ticket](https://twilio.com/help/contact) if you don't find an answer to your question.
|
340
|
+
|
341
|
+
If you've instead found a bug in the library or would like new features added, go ahead and open issues or pull requests against this repo!
|
342
|
+
|
343
|
+
[apidocs]: https://www.twilio.com/docs/api
|
344
|
+
[twiml]: https://www.twilio.com/docs/api/twiml
|
345
|
+
[libdocs]: https://www.twilio.com/docs/libraries/reference/twilio-ruby/
|
346
|
+
[refdocs]: https://twilio.github.io/twilio-ruby
|
347
|
+
[capability]: https://github.com/twilio/twilio-ruby/wiki/JWT-Tokens
|
348
|
+
[wiki]: https://github.com/twilio/twilio-ruby/wiki
|
349
|
+
[bundler]: https://bundler.io
|
350
|
+
[rubygems]: https://rubygems.org
|
351
|
+
[gem]: https://rubygems.org/gems/twilio
|
352
|
+
[github-actions]: https://github.com/twilio/twilio-ruby/actions/workflows/test-and-deploy.yml
|
353
|
+
[upgrade]: https://github.com/twilio/twilio-ruby/wiki/Ruby-Version-5.x-Upgrade-Guide
|
354
|
+
[issues]: https://github.com/twilio/twilio-ruby/issues
|
355
|
+
[faraday]: https://github.com/lostisland/faraday
|
metadata
ADDED
@@ -0,0 +1,229 @@
|
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
|
+
name: whoosh-ruby
|
3
|
+
version: !ruby/object:Gem::Version
|
4
|
+
version: 0.1.0
|
5
|
+
platform: ruby
|
6
|
+
authors:
|
7
|
+
- Totogi
|
8
|
+
autorequire:
|
9
|
+
bindir: bin
|
10
|
+
cert_chain: []
|
11
|
+
date: 2023-05-11 00:00:00.000000000 Z
|
12
|
+
dependencies:
|
13
|
+
- !ruby/object:Gem::Dependency
|
14
|
+
name: jwt
|
15
|
+
requirement: !ruby/object:Gem::Requirement
|
16
|
+
requirements:
|
17
|
+
- - ">="
|
18
|
+
- !ruby/object:Gem::Version
|
19
|
+
version: '1.5'
|
20
|
+
- - "<"
|
21
|
+
- !ruby/object:Gem::Version
|
22
|
+
version: '3.0'
|
23
|
+
type: :runtime
|
24
|
+
prerelease: false
|
25
|
+
version_requirements: !ruby/object:Gem::Requirement
|
26
|
+
requirements:
|
27
|
+
- - ">="
|
28
|
+
- !ruby/object:Gem::Version
|
29
|
+
version: '1.5'
|
30
|
+
- - "<"
|
31
|
+
- !ruby/object:Gem::Version
|
32
|
+
version: '3.0'
|
33
|
+
- !ruby/object:Gem::Dependency
|
34
|
+
name: nokogiri
|
35
|
+
requirement: !ruby/object:Gem::Requirement
|
36
|
+
requirements:
|
37
|
+
- - ">="
|
38
|
+
- !ruby/object:Gem::Version
|
39
|
+
version: '1.6'
|
40
|
+
- - "<"
|
41
|
+
- !ruby/object:Gem::Version
|
42
|
+
version: '2.0'
|
43
|
+
type: :runtime
|
44
|
+
prerelease: false
|
45
|
+
version_requirements: !ruby/object:Gem::Requirement
|
46
|
+
requirements:
|
47
|
+
- - ">="
|
48
|
+
- !ruby/object:Gem::Version
|
49
|
+
version: '1.6'
|
50
|
+
- - "<"
|
51
|
+
- !ruby/object:Gem::Version
|
52
|
+
version: '2.0'
|
53
|
+
- !ruby/object:Gem::Dependency
|
54
|
+
name: faraday
|
55
|
+
requirement: !ruby/object:Gem::Requirement
|
56
|
+
requirements:
|
57
|
+
- - ">="
|
58
|
+
- !ruby/object:Gem::Version
|
59
|
+
version: '0.9'
|
60
|
+
- - "<"
|
61
|
+
- !ruby/object:Gem::Version
|
62
|
+
version: '3.0'
|
63
|
+
type: :runtime
|
64
|
+
prerelease: false
|
65
|
+
version_requirements: !ruby/object:Gem::Requirement
|
66
|
+
requirements:
|
67
|
+
- - ">="
|
68
|
+
- !ruby/object:Gem::Version
|
69
|
+
version: '0.9'
|
70
|
+
- - "<"
|
71
|
+
- !ruby/object:Gem::Version
|
72
|
+
version: '3.0'
|
73
|
+
- !ruby/object:Gem::Dependency
|
74
|
+
name: bundler
|
75
|
+
requirement: !ruby/object:Gem::Requirement
|
76
|
+
requirements:
|
77
|
+
- - ">="
|
78
|
+
- !ruby/object:Gem::Version
|
79
|
+
version: '1.5'
|
80
|
+
- - "<"
|
81
|
+
- !ruby/object:Gem::Version
|
82
|
+
version: '3.0'
|
83
|
+
type: :development
|
84
|
+
prerelease: false
|
85
|
+
version_requirements: !ruby/object:Gem::Requirement
|
86
|
+
requirements:
|
87
|
+
- - ">="
|
88
|
+
- !ruby/object:Gem::Version
|
89
|
+
version: '1.5'
|
90
|
+
- - "<"
|
91
|
+
- !ruby/object:Gem::Version
|
92
|
+
version: '3.0'
|
93
|
+
- !ruby/object:Gem::Dependency
|
94
|
+
name: equivalent-xml
|
95
|
+
requirement: !ruby/object:Gem::Requirement
|
96
|
+
requirements:
|
97
|
+
- - "~>"
|
98
|
+
- !ruby/object:Gem::Version
|
99
|
+
version: '0.6'
|
100
|
+
type: :development
|
101
|
+
prerelease: false
|
102
|
+
version_requirements: !ruby/object:Gem::Requirement
|
103
|
+
requirements:
|
104
|
+
- - "~>"
|
105
|
+
- !ruby/object:Gem::Version
|
106
|
+
version: '0.6'
|
107
|
+
- !ruby/object:Gem::Dependency
|
108
|
+
name: fakeweb
|
109
|
+
requirement: !ruby/object:Gem::Requirement
|
110
|
+
requirements:
|
111
|
+
- - "~>"
|
112
|
+
- !ruby/object:Gem::Version
|
113
|
+
version: '1.3'
|
114
|
+
type: :development
|
115
|
+
prerelease: false
|
116
|
+
version_requirements: !ruby/object:Gem::Requirement
|
117
|
+
requirements:
|
118
|
+
- - "~>"
|
119
|
+
- !ruby/object:Gem::Version
|
120
|
+
version: '1.3'
|
121
|
+
- !ruby/object:Gem::Dependency
|
122
|
+
name: rack
|
123
|
+
requirement: !ruby/object:Gem::Requirement
|
124
|
+
requirements:
|
125
|
+
- - "~>"
|
126
|
+
- !ruby/object:Gem::Version
|
127
|
+
version: '2.0'
|
128
|
+
type: :development
|
129
|
+
prerelease: false
|
130
|
+
version_requirements: !ruby/object:Gem::Requirement
|
131
|
+
requirements:
|
132
|
+
- - "~>"
|
133
|
+
- !ruby/object:Gem::Version
|
134
|
+
version: '2.0'
|
135
|
+
- !ruby/object:Gem::Dependency
|
136
|
+
name: rake
|
137
|
+
requirement: !ruby/object:Gem::Requirement
|
138
|
+
requirements:
|
139
|
+
- - "~>"
|
140
|
+
- !ruby/object:Gem::Version
|
141
|
+
version: '13.0'
|
142
|
+
type: :development
|
143
|
+
prerelease: false
|
144
|
+
version_requirements: !ruby/object:Gem::Requirement
|
145
|
+
requirements:
|
146
|
+
- - "~>"
|
147
|
+
- !ruby/object:Gem::Version
|
148
|
+
version: '13.0'
|
149
|
+
- !ruby/object:Gem::Dependency
|
150
|
+
name: rspec
|
151
|
+
requirement: !ruby/object:Gem::Requirement
|
152
|
+
requirements:
|
153
|
+
- - "~>"
|
154
|
+
- !ruby/object:Gem::Version
|
155
|
+
version: '3.0'
|
156
|
+
type: :development
|
157
|
+
prerelease: false
|
158
|
+
version_requirements: !ruby/object:Gem::Requirement
|
159
|
+
requirements:
|
160
|
+
- - "~>"
|
161
|
+
- !ruby/object:Gem::Version
|
162
|
+
version: '3.0'
|
163
|
+
- !ruby/object:Gem::Dependency
|
164
|
+
name: yard
|
165
|
+
requirement: !ruby/object:Gem::Requirement
|
166
|
+
requirements:
|
167
|
+
- - "~>"
|
168
|
+
- !ruby/object:Gem::Version
|
169
|
+
version: 0.9.9
|
170
|
+
type: :development
|
171
|
+
prerelease: false
|
172
|
+
version_requirements: !ruby/object:Gem::Requirement
|
173
|
+
requirements:
|
174
|
+
- - "~>"
|
175
|
+
- !ruby/object:Gem::Version
|
176
|
+
version: 0.9.9
|
177
|
+
- !ruby/object:Gem::Dependency
|
178
|
+
name: logger
|
179
|
+
requirement: !ruby/object:Gem::Requirement
|
180
|
+
requirements:
|
181
|
+
- - "~>"
|
182
|
+
- !ruby/object:Gem::Version
|
183
|
+
version: 1.4.2
|
184
|
+
type: :development
|
185
|
+
prerelease: false
|
186
|
+
version_requirements: !ruby/object:Gem::Requirement
|
187
|
+
requirements:
|
188
|
+
- - "~>"
|
189
|
+
- !ruby/object:Gem::Version
|
190
|
+
version: 1.4.2
|
191
|
+
description: The official library for communicating with the Whoosh REST API
|
192
|
+
email:
|
193
|
+
executables: []
|
194
|
+
extensions: []
|
195
|
+
extra_rdoc_files:
|
196
|
+
- README.md
|
197
|
+
files:
|
198
|
+
- README.md
|
199
|
+
homepage: https://github.com/totogi/whoosh-ruby
|
200
|
+
licenses:
|
201
|
+
- MIT
|
202
|
+
metadata:
|
203
|
+
yard.run: yri
|
204
|
+
post_install_message:
|
205
|
+
rdoc_options:
|
206
|
+
- "--line-numbers"
|
207
|
+
- "--inline-source"
|
208
|
+
- "--title"
|
209
|
+
- twilio-ruby
|
210
|
+
- "--main"
|
211
|
+
- README.md
|
212
|
+
require_paths:
|
213
|
+
- lib
|
214
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
215
|
+
requirements:
|
216
|
+
- - ">="
|
217
|
+
- !ruby/object:Gem::Version
|
218
|
+
version: 2.0.0
|
219
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
220
|
+
requirements:
|
221
|
+
- - ">="
|
222
|
+
- !ruby/object:Gem::Version
|
223
|
+
version: '0'
|
224
|
+
requirements: []
|
225
|
+
rubygems_version: 3.0.3.1
|
226
|
+
signing_key:
|
227
|
+
specification_version: 4
|
228
|
+
summary: The official library for communicating with the Whoosh REST API
|
229
|
+
test_files: []
|