recurly 0.3.1 → 0.3.2
Sign up to get free protection for your applications and to get access to all the features.
Potentially problematic release.
This version of recurly might be problematic. Click here for more details.
- data/lib/recurly.rb +8 -0
- data/lib/recurly/account.rb +5 -0
- data/lib/recurly/rails3/railtie.rb +9 -0
- data/lib/recurly/version.rb +1 -1
- data/spec/integration/account_spec.rb +29 -1
- data/spec/integration/add_on_spec.rb +84 -0
- data/spec/vcr/account/accept-language-account/1294473653.yml +68 -0
- data/spec/vcr/account/accept-language-account/1294473761.yml +68 -0
- data/spec/vcr/account/accept-language/1294473117.yml +167 -0
- data/spec/vcr/account/close/{1288381765.yml → 1294473761.yml} +26 -25
- data/spec/vcr/account/create-blank/{1288381765.yml → 1294473761.yml} +5 -4
- data/spec/vcr/account/create-duplicate/{1288381765.yml → 1294473761.yml} +13 -11
- data/spec/vcr/account/create-min/{1288381765.yml → 1294473761.yml} +12 -11
- data/spec/vcr/account/create/{1288381765.yml → 1294473761.yml} +12 -11
- data/spec/vcr/account/find/{1288381765.yml → 1294473761.yml} +25 -24
- data/spec/vcr/account/list/{1288381765.yml → 1294473761.yml} +328 -287
- data/spec/vcr/account/update/{1288381765.yml → 1294473761.yml} +47 -45
- data/spec/vcr/billing/create/1286682213.yml +28 -27
- data/spec/vcr/billing/destroy/1286682213.yml +42 -41
- data/spec/vcr/billing/find/1286682213.yml +38 -37
- data/spec/vcr/billing/update/1286682213.yml +40 -39
- data/spec/vcr/charge/create/1287465632.yml +36 -35
- data/spec/vcr/charge/delete-uninvoiced/1287465632.yml +36 -35
- data/spec/vcr/charge/list-all/1287465632.yml +43 -42
- data/spec/vcr/charge/list-invoiced/1287465632.yml +70 -69
- data/spec/vcr/charge/list-pending/1287465632.yml +43 -42
- data/spec/vcr/charge/lookup/1287465632.yml +22 -21
- data/spec/vcr/credit/create/1287461400.yml +23 -22
- data/spec/vcr/credit/delete/1287461400.yml +33 -32
- data/spec/vcr/credit/list/1287461400.yml +43 -42
- data/spec/vcr/credit/lookup/1287461400.yml +24 -23
- data/spec/vcr/invoice/create-no-charges/1287167121.yml +23 -22
- data/spec/vcr/invoice/create/1287167121.yml +48 -47
- data/spec/vcr/invoice/list/1287167121.yml +67 -66
- data/spec/vcr/invoice/lookup/1287167121.yml +50 -49
- data/spec/vcr/plan/all.yml +29 -17
- data/spec/vcr/plan/delete/1286677585.yml +21 -21
- data/spec/vcr/plan/find.yml +42 -18
- data/spec/vcr/plan/update.yml +17 -17
- data/spec/vcr/subscription/addons/add/1292420980.yml +479 -0
- data/spec/vcr/subscription/addons/create/1292420980.yml +318 -0
- data/spec/vcr/subscription/addons/remove/1292420980.yml +448 -0
- data/spec/vcr/subscription/cancel-with-code/1287455769.yml +93 -69
- data/spec/vcr/subscription/cancel/1287455769.yml +80 -58
- data/spec/vcr/subscription/change1/1287455769.yml +77 -55
- data/spec/vcr/subscription/change2/1287455769.yml +77 -55
- data/spec/vcr/subscription/create/1287455769.yml +43 -27
- data/spec/vcr/subscription/find/1287455769.yml +54 -36
- data/spec/vcr/subscription/reactivate/1287455769.yml +83 -61
- data/spec/vcr/subscription/refund-full/1287455769.yml +69 -51
- data/spec/vcr/subscription/refund-none/1287455769.yml +70 -52
- data/spec/vcr/subscription/refund-partial/1287455769.yml +70 -52
- data/spec/vcr/transaction/all/1289558212.yml +46 -46
- data/spec/vcr/transaction/create-no-account/1289558212.yml +11 -11
- data/spec/vcr/transaction/create-with-account/1289558212.yml +27 -26
- data/spec/vcr/transaction/list-filled/1289558212.yml +54 -53
- data/spec/vcr/transaction/list-initial/1289558212.yml +27 -26
- data/spec/vcr/transaction/lookup/1289558212.yml +64 -63
- data/spec/vcr/transaction/refund/1289558212.yml +35 -34
- data/spec/vcr/transaction/void/1289558212.yml +71 -70
- metadata +34 -20
metadata
CHANGED
@@ -1,13 +1,13 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: recurly
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
hash:
|
4
|
+
hash: 23
|
5
5
|
prerelease: false
|
6
6
|
segments:
|
7
7
|
- 0
|
8
8
|
- 3
|
9
|
-
-
|
10
|
-
version: 0.3.
|
9
|
+
- 2
|
10
|
+
version: 0.3.2
|
11
11
|
platform: ruby
|
12
12
|
authors:
|
13
13
|
- Isaac Hall
|
@@ -16,7 +16,7 @@ autorequire:
|
|
16
16
|
bindir: bin
|
17
17
|
cert_chain: []
|
18
18
|
|
19
|
-
date:
|
19
|
+
date: 2011-01-10 00:00:00 -08:00
|
20
20
|
default_executable:
|
21
21
|
dependencies:
|
22
22
|
- !ruby/object:Gem::Dependency
|
@@ -127,6 +127,7 @@ files:
|
|
127
127
|
- spec/config/recurly.yml
|
128
128
|
- spec/config/test.yml
|
129
129
|
- spec/integration/account_spec.rb
|
130
|
+
- spec/integration/add_on_spec.rb
|
130
131
|
- spec/integration/billing_info_spec.rb
|
131
132
|
- spec/integration/charge_spec.rb
|
132
133
|
- spec/integration/credit_spec.rb
|
@@ -138,14 +139,17 @@ files:
|
|
138
139
|
- spec/support/factory.rb
|
139
140
|
- spec/support/vcr.rb
|
140
141
|
- spec/unit/config_spec.rb
|
141
|
-
- spec/vcr/account/
|
142
|
-
- spec/vcr/account/
|
143
|
-
- spec/vcr/account/
|
144
|
-
- spec/vcr/account/
|
145
|
-
- spec/vcr/account/create
|
146
|
-
- spec/vcr/account/
|
147
|
-
- spec/vcr/account/
|
148
|
-
- spec/vcr/account/
|
142
|
+
- spec/vcr/account/accept-language/1294473117.yml
|
143
|
+
- spec/vcr/account/accept-language-account/1294473653.yml
|
144
|
+
- spec/vcr/account/accept-language-account/1294473761.yml
|
145
|
+
- spec/vcr/account/close/1294473761.yml
|
146
|
+
- spec/vcr/account/create/1294473761.yml
|
147
|
+
- spec/vcr/account/create-blank/1294473761.yml
|
148
|
+
- spec/vcr/account/create-duplicate/1294473761.yml
|
149
|
+
- spec/vcr/account/create-min/1294473761.yml
|
150
|
+
- spec/vcr/account/find/1294473761.yml
|
151
|
+
- spec/vcr/account/list/1294473761.yml
|
152
|
+
- spec/vcr/account/update/1294473761.yml
|
149
153
|
- spec/vcr/billing/create/1286682213.yml
|
150
154
|
- spec/vcr/billing/destroy/1286682213.yml
|
151
155
|
- spec/vcr/billing/find/1286682213.yml
|
@@ -168,6 +172,9 @@ files:
|
|
168
172
|
- spec/vcr/plan/delete/1286677585.yml
|
169
173
|
- spec/vcr/plan/find.yml
|
170
174
|
- spec/vcr/plan/update.yml
|
175
|
+
- spec/vcr/subscription/addons/add/1292420980.yml
|
176
|
+
- spec/vcr/subscription/addons/create/1292420980.yml
|
177
|
+
- spec/vcr/subscription/addons/remove/1292420980.yml
|
171
178
|
- spec/vcr/subscription/cancel/1287455769.yml
|
172
179
|
- spec/vcr/subscription/cancel-with-code/1287455769.yml
|
173
180
|
- spec/vcr/subscription/change1/1287455769.yml
|
@@ -224,6 +231,7 @@ test_files:
|
|
224
231
|
- spec/config/recurly.yml
|
225
232
|
- spec/config/test.yml
|
226
233
|
- spec/integration/account_spec.rb
|
234
|
+
- spec/integration/add_on_spec.rb
|
227
235
|
- spec/integration/billing_info_spec.rb
|
228
236
|
- spec/integration/charge_spec.rb
|
229
237
|
- spec/integration/credit_spec.rb
|
@@ -235,14 +243,17 @@ test_files:
|
|
235
243
|
- spec/support/factory.rb
|
236
244
|
- spec/support/vcr.rb
|
237
245
|
- spec/unit/config_spec.rb
|
238
|
-
- spec/vcr/account/
|
239
|
-
- spec/vcr/account/
|
240
|
-
- spec/vcr/account/
|
241
|
-
- spec/vcr/account/
|
242
|
-
- spec/vcr/account/create
|
243
|
-
- spec/vcr/account/
|
244
|
-
- spec/vcr/account/
|
245
|
-
- spec/vcr/account/
|
246
|
+
- spec/vcr/account/accept-language/1294473117.yml
|
247
|
+
- spec/vcr/account/accept-language-account/1294473653.yml
|
248
|
+
- spec/vcr/account/accept-language-account/1294473761.yml
|
249
|
+
- spec/vcr/account/close/1294473761.yml
|
250
|
+
- spec/vcr/account/create/1294473761.yml
|
251
|
+
- spec/vcr/account/create-blank/1294473761.yml
|
252
|
+
- spec/vcr/account/create-duplicate/1294473761.yml
|
253
|
+
- spec/vcr/account/create-min/1294473761.yml
|
254
|
+
- spec/vcr/account/find/1294473761.yml
|
255
|
+
- spec/vcr/account/list/1294473761.yml
|
256
|
+
- spec/vcr/account/update/1294473761.yml
|
246
257
|
- spec/vcr/billing/create/1286682213.yml
|
247
258
|
- spec/vcr/billing/destroy/1286682213.yml
|
248
259
|
- spec/vcr/billing/find/1286682213.yml
|
@@ -265,6 +276,9 @@ test_files:
|
|
265
276
|
- spec/vcr/plan/delete/1286677585.yml
|
266
277
|
- spec/vcr/plan/find.yml
|
267
278
|
- spec/vcr/plan/update.yml
|
279
|
+
- spec/vcr/subscription/addons/add/1292420980.yml
|
280
|
+
- spec/vcr/subscription/addons/create/1292420980.yml
|
281
|
+
- spec/vcr/subscription/addons/remove/1292420980.yml
|
268
282
|
- spec/vcr/subscription/cancel/1287455769.yml
|
269
283
|
- spec/vcr/subscription/cancel-with-code/1287455769.yml
|
270
284
|
- spec/vcr/subscription/change1/1287455769.yml
|