recurly 0.2.3 → 0.2.4
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 +1 -0
- data/lib/recurly/charge.rb +6 -0
- data/lib/recurly/subscription.rb +23 -5
- data/lib/recurly/version.rb +1 -1
- data/spec/integration/charge_spec.rb +45 -0
- data/spec/integration/credit_spec.rb +19 -0
- data/spec/integration/subscription_spec.rb +62 -9
- data/spec/vcr/account/close/1287167046.yml +15 -15
- data/spec/vcr/account/create-blank/1287167046.yml +3 -3
- data/spec/vcr/account/create-duplicate/1287167046.yml +8 -8
- data/spec/vcr/account/create-min/1287167046.yml +6 -6
- data/spec/vcr/account/create/1287167046.yml +6 -6
- data/spec/vcr/account/find/1287167046.yml +14 -14
- data/spec/vcr/account/list/1287167046.yml +101 -101
- data/spec/vcr/account/update/1287167046.yml +26 -26
- data/spec/vcr/billing/create/1286682213.yml +15 -15
- data/spec/vcr/billing/destroy/1286682213.yml +23 -23
- data/spec/vcr/billing/find/1286682213.yml +21 -21
- data/spec/vcr/billing/update/1286682213.yml +21 -21
- data/spec/vcr/charge/create/1286681273.yml +24 -24
- data/spec/vcr/charge/delete-uninvoiced/1287460783.yml +246 -0
- data/spec/vcr/charge/list-all/1286681273.yml +37 -37
- data/spec/vcr/charge/list-invoiced/1286681273.yml +62 -62
- data/spec/vcr/charge/list-pending/1286681273.yml +37 -37
- data/spec/vcr/charge/lookup/1286681273.yml +20 -20
- data/spec/vcr/credit/create/1286681343.yml +20 -20
- data/spec/vcr/credit/create/1287460732.yml +171 -0
- data/spec/vcr/credit/create/1287461340.yml +171 -0
- data/spec/vcr/credit/delete-invoiced/1287460732.yml +233 -0
- data/spec/vcr/credit/delete-invoiced/1287461340.yml +283 -0
- data/spec/vcr/credit/delete-uninvoiced/1287459796.yml +246 -0
- data/spec/vcr/credit/delete-uninvoiced/1287460732.yml +246 -0
- data/spec/vcr/credit/delete-uninvoiced/1287461340.yml +221 -0
- data/spec/vcr/credit/list/1286681343.yml +36 -36
- data/spec/vcr/credit/list/1287460732.yml +299 -0
- data/spec/vcr/credit/list/1287461340.yml +299 -0
- data/spec/vcr/credit/lookup/1286681343.yml +20 -20
- data/spec/vcr/credit/lookup/1287460732.yml +171 -0
- data/spec/vcr/credit/lookup/1287461340.yml +171 -0
- data/spec/vcr/invoice/create-no-charges/1287167121.yml +14 -14
- data/spec/vcr/invoice/create/1287167121.yml +36 -36
- data/spec/vcr/invoice/list/1287167121.yml +52 -52
- data/spec/vcr/invoice/lookup/1287167121.yml +38 -38
- data/spec/vcr/plan/all.yml +9 -9
- data/spec/vcr/plan/delete/1286677585.yml +16 -16
- data/spec/vcr/plan/find.yml +9 -9
- data/spec/vcr/plan/update.yml +9 -9
- data/spec/vcr/subscription/{cancel/1287442108.yml → cancel-with-code/1287455769.yml} +124 -65
- data/spec/vcr/subscription/cancel/{1287439446.yml → 1287455769.yml} +59 -59
- data/spec/vcr/subscription/change1/{1287442352.yml → 1287455769.yml} +56 -56
- data/spec/vcr/subscription/change2/{1287442352.yml → 1287455769.yml} +56 -56
- data/spec/vcr/subscription/create/{1287442352.yml → 1287455769.yml} +25 -25
- data/spec/vcr/subscription/find/{1287442108.yml → 1287455769.yml} +36 -36
- data/spec/vcr/subscription/{cancel/1287442352.yml → reactivate/1287455769.yml} +107 -66
- data/spec/vcr/subscription/refund-full/{1287442108.yml → 1287455769.yml} +50 -50
- data/spec/vcr/subscription/{refund-full/1287439446.yml → refund-none/1287455769.yml} +51 -51
- data/spec/vcr/subscription/refund-partial/{1287442108.yml → 1287455769.yml} +50 -50
- data/spec/vcr/transaction/all/1287186411.yml +80 -80
- data/spec/vcr/transaction/create-no-account/1287186411.yml +7 -7
- data/spec/vcr/transaction/create-with-account/1287186411.yml +17 -17
- data/spec/vcr/transaction/list-empty/1287186411.yml +17 -17
- data/spec/vcr/transaction/list-filled/1287186411.yml +41 -41
- data/spec/vcr/transaction/lookup/1287186411.yml +50 -50
- data/spec/vcr/transaction/refund/1287186411.yml +24 -24
- data/spec/vcr/transaction/void/1287186411.yml +60 -60
- metadata +67 -56
- data/spec/vcr/subscription/change1/1287439446.yml +0 -409
- data/spec/vcr/subscription/change1/1287442108.yml +0 -409
- data/spec/vcr/subscription/change2/1287439446.yml +0 -409
- data/spec/vcr/subscription/change2/1287442108.yml +0 -409
- data/spec/vcr/subscription/create/1287439446.yml +0 -224
- data/spec/vcr/subscription/create/1287442108.yml +0 -224
- data/spec/vcr/subscription/find/1287439446.yml +0 -283
- data/spec/vcr/subscription/find/1287442352.yml +0 -283
- data/spec/vcr/subscription/refund-full/1287442352.yml +0 -382
- data/spec/vcr/subscription/refund-none/1287439446.yml +0 -382
- data/spec/vcr/subscription/refund-none/1287442108.yml +0 -382
- data/spec/vcr/subscription/refund-none/1287442352.yml +0 -382
- data/spec/vcr/subscription/refund-partial/1287439446.yml +0 -382
- data/spec/vcr/subscription/refund-partial/1287442352.yml +0 -382
@@ -34,17 +34,17 @@
|
|
34
34
|
content-type:
|
35
35
|
- application/xml; charset=utf-8
|
36
36
|
x-runtime:
|
37
|
-
- "
|
37
|
+
- "601"
|
38
38
|
date:
|
39
|
-
-
|
39
|
+
- Tue, 19 Oct 2010 03:21:22 GMT
|
40
40
|
server:
|
41
41
|
- nginx/0.7.65
|
42
42
|
content-length:
|
43
43
|
- "587"
|
44
44
|
set-cookie:
|
45
|
-
- account_credentials=
|
45
|
+
- account_credentials=77352220638885a6776070ddda22f7c5ba1cab697a7d213354ad9e5be000ff5e2cd57a44c53798af54da359fec3f7b16a5f0088a54cd9f5ec7e8c084e41ea2db%3A%3A; domain=.recurly.com; path=/; secure; HttpOnly
|
46
46
|
- ""
|
47
|
-
- _recurly_session=
|
47
|
+
- _recurly_session=08097550856051aded8d273fb14b11e2; domain=.recurly.com; path=/; Secure; HttpOnly
|
48
48
|
cache-control:
|
49
49
|
- no-cache
|
50
50
|
body: |
|
@@ -59,8 +59,8 @@
|
|
59
59
|
<company_name>Recurly Ruby Gem</company_name>
|
60
60
|
<balance_in_cents type="integer">0</balance_in_cents>
|
61
61
|
<closed type="boolean">false</closed>
|
62
|
-
<hosted_login_token>
|
63
|
-
<created_at type="datetime">2010-10-
|
62
|
+
<hosted_login_token>8f010eb41b3a4eb4bce970b31bb384fc</hosted_login_token>
|
63
|
+
<created_at type="datetime">2010-10-19T03:21:22Z</created_at>
|
64
64
|
<state>active</state>
|
65
65
|
</account>
|
66
66
|
|
@@ -105,21 +105,21 @@
|
|
105
105
|
x-ua-compatible:
|
106
106
|
- IE=Edge
|
107
107
|
etag:
|
108
|
-
- "\"
|
108
|
+
- "\"48278fb89ba0211505e29e8831ab7a9b\""
|
109
109
|
connection:
|
110
110
|
- close
|
111
111
|
content-type:
|
112
112
|
- application/xml; charset=utf-8
|
113
113
|
x-runtime:
|
114
|
-
- "
|
114
|
+
- "83"
|
115
115
|
date:
|
116
|
-
-
|
116
|
+
- Tue, 19 Oct 2010 03:21:23 GMT
|
117
117
|
server:
|
118
118
|
- nginx/0.7.65
|
119
119
|
content-length:
|
120
120
|
- "641"
|
121
121
|
set-cookie:
|
122
|
-
- _recurly_session=
|
122
|
+
- _recurly_session=7c9638595b93e9fe223d80d3fb43f173; domain=.recurly.com; path=/; Secure; HttpOnly
|
123
123
|
cache-control:
|
124
124
|
- private, max-age=0, must-revalidate
|
125
125
|
body: |
|
@@ -143,7 +143,7 @@
|
|
143
143
|
<month type="integer">10</month>
|
144
144
|
<year type="integer">2011</year>
|
145
145
|
</credit_card>
|
146
|
-
<updated_at type="datetime">2010-10-
|
146
|
+
<updated_at type="datetime">2010-10-19T03:21:23Z</updated_at>
|
147
147
|
</billing_info>
|
148
148
|
|
149
149
|
http_version: "1.1"
|
@@ -176,30 +176,30 @@
|
|
176
176
|
message: Created
|
177
177
|
headers:
|
178
178
|
location:
|
179
|
-
- https://recurlytest3-test.recurly.com/transactions/
|
179
|
+
- https://recurlytest3-test.recurly.com/transactions/352c061921d8401da63e1acb944fa535
|
180
180
|
connection:
|
181
181
|
- close
|
182
182
|
content-type:
|
183
183
|
- application/xml; charset=utf-8
|
184
184
|
x-runtime:
|
185
|
-
- "
|
185
|
+
- "508"
|
186
186
|
date:
|
187
|
-
-
|
187
|
+
- Tue, 19 Oct 2010 03:21:24 GMT
|
188
188
|
server:
|
189
189
|
- nginx/0.7.65
|
190
190
|
content-length:
|
191
191
|
- "848"
|
192
192
|
set-cookie:
|
193
|
-
- _recurly_session=
|
193
|
+
- _recurly_session=5dfed8081d05ca9ec9991bd6c81e7980; domain=.recurly.com; path=/; Secure; HttpOnly
|
194
194
|
cache-control:
|
195
195
|
- no-cache
|
196
196
|
body: |
|
197
197
|
<?xml version="1.0" encoding="UTF-8"?>
|
198
198
|
<transaction type="Payment">
|
199
|
-
<id>
|
199
|
+
<id>352c061921d8401da63e1acb944fa535</id>
|
200
200
|
<account_code>transaction-void-1287186411</account_code>
|
201
201
|
<action>purchase</action>
|
202
|
-
<date type="datetime">2010-10-
|
202
|
+
<date type="datetime">2010-10-19T03:21:24Z</date>
|
203
203
|
<amount_in_cents type="integer">100</amount_in_cents>
|
204
204
|
<status>success</status>
|
205
205
|
<message>Test Gateway: Successful test transaction</message>
|
@@ -221,7 +221,7 @@
|
|
221
221
|
- !ruby/struct:VCR::HTTPInteraction
|
222
222
|
request: !ruby/struct:VCR::Request
|
223
223
|
method: :delete
|
224
|
-
uri: https://railsjedi%40sogetthis.com:7PCB2mZC@recurlytest3-test.recurly.com:443/transactions/
|
224
|
+
uri: https://railsjedi%40sogetthis.com:7PCB2mZC@recurlytest3-test.recurly.com:443/transactions/352c061921d8401da63e1acb944fa535.xml?action=void
|
225
225
|
body:
|
226
226
|
headers:
|
227
227
|
accept:
|
@@ -238,30 +238,30 @@
|
|
238
238
|
x-ua-compatible:
|
239
239
|
- IE=Edge
|
240
240
|
etag:
|
241
|
-
- "\"
|
241
|
+
- "\"1ccd3cb6fd65d8cde6b29a14ca8c8dff\""
|
242
242
|
connection:
|
243
243
|
- close
|
244
244
|
content-type:
|
245
245
|
- application/xml; charset=utf-8
|
246
246
|
x-runtime:
|
247
|
-
- "
|
247
|
+
- "36"
|
248
248
|
date:
|
249
|
-
-
|
249
|
+
- Tue, 19 Oct 2010 03:21:25 GMT
|
250
250
|
server:
|
251
251
|
- nginx/0.7.65
|
252
252
|
content-length:
|
253
253
|
- "847"
|
254
254
|
set-cookie:
|
255
|
-
- _recurly_session=
|
255
|
+
- _recurly_session=9ca643810d4b87edd5118075d649d1dc; domain=.recurly.com; path=/; Secure; HttpOnly
|
256
256
|
cache-control:
|
257
257
|
- private, max-age=0, must-revalidate
|
258
258
|
body: |
|
259
259
|
<?xml version="1.0" encoding="UTF-8"?>
|
260
260
|
<transaction type="Payment">
|
261
|
-
<id>
|
261
|
+
<id>352c061921d8401da63e1acb944fa535</id>
|
262
262
|
<account_code>transaction-void-1287186411</account_code>
|
263
263
|
<action>purchase</action>
|
264
|
-
<date type="datetime">2010-10-
|
264
|
+
<date type="datetime">2010-10-19T03:21:24Z</date>
|
265
265
|
<amount_in_cents type="integer">100</amount_in_cents>
|
266
266
|
<status>void</status>
|
267
267
|
<message>Test Gateway: Successful test transaction</message>
|
@@ -300,21 +300,21 @@
|
|
300
300
|
x-ua-compatible:
|
301
301
|
- IE=Edge
|
302
302
|
etag:
|
303
|
-
- "\"
|
303
|
+
- "\"af9bfd4faf0cc15fe72e7f13a6b5c94e\""
|
304
304
|
connection:
|
305
305
|
- close
|
306
306
|
content-type:
|
307
307
|
- application/xml; charset=utf-8
|
308
308
|
x-runtime:
|
309
|
-
- "
|
309
|
+
- "269"
|
310
310
|
date:
|
311
|
-
-
|
311
|
+
- Tue, 19 Oct 2010 03:21:25 GMT
|
312
312
|
server:
|
313
313
|
- nginx/0.7.65
|
314
314
|
content-length:
|
315
315
|
- "12432"
|
316
316
|
set-cookie:
|
317
|
-
- _recurly_session=
|
317
|
+
- _recurly_session=316bd780aa8cb1d4aa57a5e7dbcd7b3d; domain=.recurly.com; path=/; Secure; HttpOnly
|
318
318
|
cache-control:
|
319
319
|
- private, max-age=0, must-revalidate
|
320
320
|
body: |
|
@@ -324,10 +324,10 @@
|
|
324
324
|
<per_page type="integer">20</per_page>
|
325
325
|
<total_entries type="integer">16</total_entries>
|
326
326
|
<transaction type="Payment">
|
327
|
-
<id>
|
327
|
+
<id>352c061921d8401da63e1acb944fa535</id>
|
328
328
|
<account_code>transaction-void-1287186411</account_code>
|
329
329
|
<action>purchase</action>
|
330
|
-
<date type="datetime">2010-10-
|
330
|
+
<date type="datetime">2010-10-19T03:21:24Z</date>
|
331
331
|
<amount_in_cents type="integer">100</amount_in_cents>
|
332
332
|
<status>void</status>
|
333
333
|
<message>Test Gateway: Successful test transaction</message>
|
@@ -341,10 +341,10 @@
|
|
341
341
|
<refundable type="boolean">false</refundable>
|
342
342
|
</transaction>
|
343
343
|
<transaction type="Payment">
|
344
|
-
<id>
|
344
|
+
<id>6da4ff8ef8d94b3eba725bec1c2b282e</id>
|
345
345
|
<account_code>transaction-void-1287186411</account_code>
|
346
346
|
<action>authorization</action>
|
347
|
-
<date type="datetime">2010-10-
|
347
|
+
<date type="datetime">2010-10-19T03:21:23Z</date>
|
348
348
|
<amount_in_cents type="integer">100</amount_in_cents>
|
349
349
|
<status>void</status>
|
350
350
|
<message>Test Gateway: Successful test transaction</message>
|
@@ -358,10 +358,10 @@
|
|
358
358
|
<refundable type="boolean">false</refundable>
|
359
359
|
</transaction>
|
360
360
|
<transaction type="Payment">
|
361
|
-
<id>
|
361
|
+
<id>2128f7b5a41b4fae98228cc9b770a9e7</id>
|
362
362
|
<account_code>transaction-lookup-1287186411</account_code>
|
363
363
|
<action>authorization</action>
|
364
|
-
<date type="datetime">2010-10-
|
364
|
+
<date type="datetime">2010-10-19T03:21:16Z</date>
|
365
365
|
<amount_in_cents type="integer">100</amount_in_cents>
|
366
366
|
<status>void</status>
|
367
367
|
<message>Test Gateway: Successful test transaction</message>
|
@@ -375,10 +375,10 @@
|
|
375
375
|
<refundable type="boolean">false</refundable>
|
376
376
|
</transaction>
|
377
377
|
<transaction type="Payment">
|
378
|
-
<id>
|
378
|
+
<id>be406c45a33040359955517441f1ce4e</id>
|
379
379
|
<account_code>transaction-list-filled-1287186411</account_code>
|
380
380
|
<action>authorization</action>
|
381
|
-
<date type="datetime">2010-10-
|
381
|
+
<date type="datetime">2010-10-19T03:21:10Z</date>
|
382
382
|
<amount_in_cents type="integer">100</amount_in_cents>
|
383
383
|
<status>void</status>
|
384
384
|
<message>Test Gateway: Successful test transaction</message>
|
@@ -392,10 +392,10 @@
|
|
392
392
|
<refundable type="boolean">false</refundable>
|
393
393
|
</transaction>
|
394
394
|
<transaction type="Payment">
|
395
|
-
<id>
|
395
|
+
<id>3c69c301e75c43d4bef5d2467e76a7f8</id>
|
396
396
|
<account_code>transaction-list-empty-1287186411</account_code>
|
397
397
|
<action>authorization</action>
|
398
|
-
<date type="datetime">2010-10-
|
398
|
+
<date type="datetime">2010-10-19T03:21:07Z</date>
|
399
399
|
<amount_in_cents type="integer">100</amount_in_cents>
|
400
400
|
<status>void</status>
|
401
401
|
<message>Test Gateway: Successful test transaction</message>
|
@@ -409,10 +409,10 @@
|
|
409
409
|
<refundable type="boolean">false</refundable>
|
410
410
|
</transaction>
|
411
411
|
<transaction type="Payment">
|
412
|
-
<id>
|
412
|
+
<id>0c0626d20bd142bbac618d2ee16f276e</id>
|
413
413
|
<account_code>transaction-create-with-account-1287186411</account_code>
|
414
414
|
<action>authorization</action>
|
415
|
-
<date type="datetime">2010-10-
|
415
|
+
<date type="datetime">2010-10-19T03:21:03Z</date>
|
416
416
|
<amount_in_cents type="integer">100</amount_in_cents>
|
417
417
|
<status>void</status>
|
418
418
|
<message>Test Gateway: Successful test transaction</message>
|
@@ -426,10 +426,10 @@
|
|
426
426
|
<refundable type="boolean">false</refundable>
|
427
427
|
</transaction>
|
428
428
|
<transaction type="Payment">
|
429
|
-
<id>
|
429
|
+
<id>d70eba608f5249cb99a8e966439d307e</id>
|
430
430
|
<account_code>invoice-lookup-1287167121</account_code>
|
431
431
|
<action>authorization</action>
|
432
|
-
<date type="datetime">2010-10-
|
432
|
+
<date type="datetime">2010-10-19T03:20:00Z</date>
|
433
433
|
<amount_in_cents type="integer">100</amount_in_cents>
|
434
434
|
<status>void</status>
|
435
435
|
<message>Test Gateway: Successful test transaction</message>
|
@@ -443,10 +443,10 @@
|
|
443
443
|
<refundable type="boolean">false</refundable>
|
444
444
|
</transaction>
|
445
445
|
<transaction type="Payment">
|
446
|
-
<id>
|
446
|
+
<id>b6953820c6044604b30a0161437517fa</id>
|
447
447
|
<account_code>invoice-list-1287167121</account_code>
|
448
448
|
<action>authorization</action>
|
449
|
-
<date type="datetime">2010-10-
|
449
|
+
<date type="datetime">2010-10-19T03:19:55Z</date>
|
450
450
|
<amount_in_cents type="integer">100</amount_in_cents>
|
451
451
|
<status>void</status>
|
452
452
|
<message>Test Gateway: Successful test transaction</message>
|
@@ -460,10 +460,10 @@
|
|
460
460
|
<refundable type="boolean">false</refundable>
|
461
461
|
</transaction>
|
462
462
|
<transaction type="Payment">
|
463
|
-
<id>
|
463
|
+
<id>ac857867ba6b44dc9c9b591f41f93c13</id>
|
464
464
|
<account_code>invoice-create-no-charges-1287167121</account_code>
|
465
465
|
<action>authorization</action>
|
466
|
-
<date type="datetime">2010-10-
|
466
|
+
<date type="datetime">2010-10-19T03:19:52Z</date>
|
467
467
|
<amount_in_cents type="integer">100</amount_in_cents>
|
468
468
|
<status>void</status>
|
469
469
|
<message>Test Gateway: Successful test transaction</message>
|
@@ -477,10 +477,10 @@
|
|
477
477
|
<refundable type="boolean">false</refundable>
|
478
478
|
</transaction>
|
479
479
|
<transaction type="Payment">
|
480
|
-
<id>
|
480
|
+
<id>248724dd50e7451eac456a599fc50072</id>
|
481
481
|
<account_code>invoice-create-1287167121</account_code>
|
482
482
|
<action>authorization</action>
|
483
|
-
<date type="datetime">2010-10-
|
483
|
+
<date type="datetime">2010-10-19T03:19:47Z</date>
|
484
484
|
<amount_in_cents type="integer">100</amount_in_cents>
|
485
485
|
<status>void</status>
|
486
486
|
<message>Test Gateway: Successful test transaction</message>
|
@@ -494,10 +494,10 @@
|
|
494
494
|
<refundable type="boolean">false</refundable>
|
495
495
|
</transaction>
|
496
496
|
<transaction type="Payment">
|
497
|
-
<id>
|
497
|
+
<id>28a1c0781ea64f39ad27f90f44564356</id>
|
498
498
|
<account_code>charge-create-1286681273</account_code>
|
499
499
|
<action>authorization</action>
|
500
|
-
<date type="datetime">2010-10-
|
500
|
+
<date type="datetime">2010-10-19T03:19:31Z</date>
|
501
501
|
<amount_in_cents type="integer">100</amount_in_cents>
|
502
502
|
<status>void</status>
|
503
503
|
<message>Test Gateway: Successful test transaction</message>
|
@@ -511,10 +511,10 @@
|
|
511
511
|
<refundable type="boolean">false</refundable>
|
512
512
|
</transaction>
|
513
513
|
<transaction type="Payment">
|
514
|
-
<id>
|
514
|
+
<id>aacebda108f14c62a5bdd2e8078de956</id>
|
515
515
|
<account_code>billing-destroy-1286682213</account_code>
|
516
516
|
<action>authorization</action>
|
517
|
-
<date type="datetime">2010-10-
|
517
|
+
<date type="datetime">2010-10-19T03:19:13Z</date>
|
518
518
|
<amount_in_cents type="integer">100</amount_in_cents>
|
519
519
|
<status>void</status>
|
520
520
|
<message>Test Gateway: Successful test transaction</message>
|
@@ -528,10 +528,10 @@
|
|
528
528
|
<refundable type="boolean">false</refundable>
|
529
529
|
</transaction>
|
530
530
|
<transaction type="Payment">
|
531
|
-
<id>
|
531
|
+
<id>1bb52aef52df4fedbc7616d17b4ed81e</id>
|
532
532
|
<account_code>billing-find-1286682213</account_code>
|
533
533
|
<action>authorization</action>
|
534
|
-
<date type="datetime">2010-10-
|
534
|
+
<date type="datetime">2010-10-19T03:19:10Z</date>
|
535
535
|
<amount_in_cents type="integer">100</amount_in_cents>
|
536
536
|
<status>void</status>
|
537
537
|
<message>Test Gateway: Successful test transaction</message>
|
@@ -545,10 +545,10 @@
|
|
545
545
|
<refundable type="boolean">false</refundable>
|
546
546
|
</transaction>
|
547
547
|
<transaction type="Payment">
|
548
|
-
<id>
|
548
|
+
<id>922beb55dc90476db786b3819bf48115</id>
|
549
549
|
<account_code>billing-update-1286682213</account_code>
|
550
550
|
<action>authorization</action>
|
551
|
-
<date type="datetime">2010-10-
|
551
|
+
<date type="datetime">2010-10-19T03:19:07Z</date>
|
552
552
|
<amount_in_cents type="integer">100</amount_in_cents>
|
553
553
|
<status>void</status>
|
554
554
|
<message>Test Gateway: Successful test transaction</message>
|
@@ -562,10 +562,10 @@
|
|
562
562
|
<refundable type="boolean">false</refundable>
|
563
563
|
</transaction>
|
564
564
|
<transaction type="Payment">
|
565
|
-
<id>
|
565
|
+
<id>735001c7be0243a881bb91f54f658c54</id>
|
566
566
|
<account_code>billing-update-1286682213</account_code>
|
567
567
|
<action>authorization</action>
|
568
|
-
<date type="datetime">2010-10-
|
568
|
+
<date type="datetime">2010-10-19T03:19:07Z</date>
|
569
569
|
<amount_in_cents type="integer">100</amount_in_cents>
|
570
570
|
<status>void</status>
|
571
571
|
<message>Test Gateway: Successful test transaction</message>
|
@@ -579,10 +579,10 @@
|
|
579
579
|
<refundable type="boolean">false</refundable>
|
580
580
|
</transaction>
|
581
581
|
<transaction type="Payment">
|
582
|
-
<id>
|
582
|
+
<id>958cdc8079304e2e8b0aad3df7a39973</id>
|
583
583
|
<account_code>billing-create-1286682213</account_code>
|
584
584
|
<action>authorization</action>
|
585
|
-
<date type="datetime">2010-10-
|
585
|
+
<date type="datetime">2010-10-19T03:19:04Z</date>
|
586
586
|
<amount_in_cents type="integer">100</amount_in_cents>
|
587
587
|
<status>void</status>
|
588
588
|
<message>Test Gateway: Successful test transaction</message>
|
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: 31
|
5
5
|
prerelease: false
|
6
6
|
segments:
|
7
7
|
- 0
|
8
8
|
- 2
|
9
|
-
-
|
10
|
-
version: 0.2.
|
9
|
+
- 4
|
10
|
+
version: 0.2.4
|
11
11
|
platform: ruby
|
12
12
|
authors:
|
13
13
|
- Isaac Hall
|
@@ -36,6 +36,21 @@ dependencies:
|
|
36
36
|
prerelease: false
|
37
37
|
- !ruby/object:Gem::Dependency
|
38
38
|
version_requirements: &id002 !ruby/object:Gem::Requirement
|
39
|
+
none: false
|
40
|
+
requirements:
|
41
|
+
- - ">="
|
42
|
+
- !ruby/object:Gem::Version
|
43
|
+
hash: 5
|
44
|
+
segments:
|
45
|
+
- 2
|
46
|
+
- 3
|
47
|
+
version: "2.3"
|
48
|
+
requirement: *id002
|
49
|
+
type: :runtime
|
50
|
+
name: activesupport
|
51
|
+
prerelease: false
|
52
|
+
- !ruby/object:Gem::Dependency
|
53
|
+
version_requirements: &id003 !ruby/object:Gem::Requirement
|
39
54
|
none: false
|
40
55
|
requirements:
|
41
56
|
- - ">="
|
@@ -48,12 +63,12 @@ dependencies:
|
|
48
63
|
- beta
|
49
64
|
- 22
|
50
65
|
version: 2.0.0.beta.22
|
51
|
-
requirement: *
|
66
|
+
requirement: *id003
|
52
67
|
type: :development
|
53
68
|
name: rspec
|
54
69
|
prerelease: false
|
55
70
|
- !ruby/object:Gem::Dependency
|
56
|
-
version_requirements: &
|
71
|
+
version_requirements: &id004 !ruby/object:Gem::Requirement
|
57
72
|
none: false
|
58
73
|
requirements:
|
59
74
|
- - ">="
|
@@ -62,12 +77,12 @@ dependencies:
|
|
62
77
|
segments:
|
63
78
|
- 0
|
64
79
|
version: "0"
|
65
|
-
requirement: *
|
80
|
+
requirement: *id004
|
66
81
|
type: :development
|
67
82
|
name: webmock
|
68
83
|
prerelease: false
|
69
84
|
- !ruby/object:Gem::Dependency
|
70
|
-
version_requirements: &
|
85
|
+
version_requirements: &id005 !ruby/object:Gem::Requirement
|
71
86
|
none: false
|
72
87
|
requirements:
|
73
88
|
- - ">="
|
@@ -76,7 +91,7 @@ dependencies:
|
|
76
91
|
segments:
|
77
92
|
- 0
|
78
93
|
version: "0"
|
79
|
-
requirement: *
|
94
|
+
requirement: *id005
|
80
95
|
type: :development
|
81
96
|
name: vcr
|
82
97
|
prerelease: false
|
@@ -133,13 +148,25 @@ files:
|
|
133
148
|
- spec/vcr/billing/find/1286682213.yml
|
134
149
|
- spec/vcr/billing/update/1286682213.yml
|
135
150
|
- spec/vcr/charge/create/1286681273.yml
|
151
|
+
- spec/vcr/charge/delete-uninvoiced/1287460783.yml
|
136
152
|
- spec/vcr/charge/list-all/1286681273.yml
|
137
153
|
- spec/vcr/charge/list-invoiced/1286681273.yml
|
138
154
|
- spec/vcr/charge/list-pending/1286681273.yml
|
139
155
|
- spec/vcr/charge/lookup/1286681273.yml
|
140
156
|
- spec/vcr/credit/create/1286681343.yml
|
157
|
+
- spec/vcr/credit/create/1287460732.yml
|
158
|
+
- spec/vcr/credit/create/1287461340.yml
|
159
|
+
- spec/vcr/credit/delete-invoiced/1287460732.yml
|
160
|
+
- spec/vcr/credit/delete-invoiced/1287461340.yml
|
161
|
+
- spec/vcr/credit/delete-uninvoiced/1287459796.yml
|
162
|
+
- spec/vcr/credit/delete-uninvoiced/1287460732.yml
|
163
|
+
- spec/vcr/credit/delete-uninvoiced/1287461340.yml
|
141
164
|
- spec/vcr/credit/list/1286681343.yml
|
165
|
+
- spec/vcr/credit/list/1287460732.yml
|
166
|
+
- spec/vcr/credit/list/1287461340.yml
|
142
167
|
- spec/vcr/credit/lookup/1286681343.yml
|
168
|
+
- spec/vcr/credit/lookup/1287460732.yml
|
169
|
+
- spec/vcr/credit/lookup/1287461340.yml
|
143
170
|
- spec/vcr/invoice/create/1287167121.yml
|
144
171
|
- spec/vcr/invoice/create-no-charges/1287167121.yml
|
145
172
|
- spec/vcr/invoice/list/1287167121.yml
|
@@ -148,30 +175,16 @@ files:
|
|
148
175
|
- spec/vcr/plan/delete/1286677585.yml
|
149
176
|
- spec/vcr/plan/find.yml
|
150
177
|
- spec/vcr/plan/update.yml
|
151
|
-
- spec/vcr/subscription/cancel/
|
152
|
-
- spec/vcr/subscription/cancel/
|
153
|
-
- spec/vcr/subscription/
|
154
|
-
- spec/vcr/subscription/
|
155
|
-
- spec/vcr/subscription/
|
156
|
-
- spec/vcr/subscription/
|
157
|
-
- spec/vcr/subscription/
|
158
|
-
- spec/vcr/subscription/
|
159
|
-
- spec/vcr/subscription/
|
160
|
-
- spec/vcr/subscription/
|
161
|
-
- spec/vcr/subscription/create/1287442108.yml
|
162
|
-
- spec/vcr/subscription/create/1287442352.yml
|
163
|
-
- spec/vcr/subscription/find/1287439446.yml
|
164
|
-
- spec/vcr/subscription/find/1287442108.yml
|
165
|
-
- spec/vcr/subscription/find/1287442352.yml
|
166
|
-
- spec/vcr/subscription/refund-full/1287439446.yml
|
167
|
-
- spec/vcr/subscription/refund-full/1287442108.yml
|
168
|
-
- spec/vcr/subscription/refund-full/1287442352.yml
|
169
|
-
- spec/vcr/subscription/refund-none/1287439446.yml
|
170
|
-
- spec/vcr/subscription/refund-none/1287442108.yml
|
171
|
-
- spec/vcr/subscription/refund-none/1287442352.yml
|
172
|
-
- spec/vcr/subscription/refund-partial/1287439446.yml
|
173
|
-
- spec/vcr/subscription/refund-partial/1287442108.yml
|
174
|
-
- spec/vcr/subscription/refund-partial/1287442352.yml
|
178
|
+
- spec/vcr/subscription/cancel/1287455769.yml
|
179
|
+
- spec/vcr/subscription/cancel-with-code/1287455769.yml
|
180
|
+
- spec/vcr/subscription/change1/1287455769.yml
|
181
|
+
- spec/vcr/subscription/change2/1287455769.yml
|
182
|
+
- spec/vcr/subscription/create/1287455769.yml
|
183
|
+
- spec/vcr/subscription/find/1287455769.yml
|
184
|
+
- spec/vcr/subscription/reactivate/1287455769.yml
|
185
|
+
- spec/vcr/subscription/refund-full/1287455769.yml
|
186
|
+
- spec/vcr/subscription/refund-none/1287455769.yml
|
187
|
+
- spec/vcr/subscription/refund-partial/1287455769.yml
|
175
188
|
- spec/vcr/transaction/all/1287186411.yml
|
176
189
|
- spec/vcr/transaction/create-no-account/1287186411.yml
|
177
190
|
- spec/vcr/transaction/create-with-account/1287186411.yml
|
@@ -240,13 +253,25 @@ test_files:
|
|
240
253
|
- spec/vcr/billing/find/1286682213.yml
|
241
254
|
- spec/vcr/billing/update/1286682213.yml
|
242
255
|
- spec/vcr/charge/create/1286681273.yml
|
256
|
+
- spec/vcr/charge/delete-uninvoiced/1287460783.yml
|
243
257
|
- spec/vcr/charge/list-all/1286681273.yml
|
244
258
|
- spec/vcr/charge/list-invoiced/1286681273.yml
|
245
259
|
- spec/vcr/charge/list-pending/1286681273.yml
|
246
260
|
- spec/vcr/charge/lookup/1286681273.yml
|
247
261
|
- spec/vcr/credit/create/1286681343.yml
|
262
|
+
- spec/vcr/credit/create/1287460732.yml
|
263
|
+
- spec/vcr/credit/create/1287461340.yml
|
264
|
+
- spec/vcr/credit/delete-invoiced/1287460732.yml
|
265
|
+
- spec/vcr/credit/delete-invoiced/1287461340.yml
|
266
|
+
- spec/vcr/credit/delete-uninvoiced/1287459796.yml
|
267
|
+
- spec/vcr/credit/delete-uninvoiced/1287460732.yml
|
268
|
+
- spec/vcr/credit/delete-uninvoiced/1287461340.yml
|
248
269
|
- spec/vcr/credit/list/1286681343.yml
|
270
|
+
- spec/vcr/credit/list/1287460732.yml
|
271
|
+
- spec/vcr/credit/list/1287461340.yml
|
249
272
|
- spec/vcr/credit/lookup/1286681343.yml
|
273
|
+
- spec/vcr/credit/lookup/1287460732.yml
|
274
|
+
- spec/vcr/credit/lookup/1287461340.yml
|
250
275
|
- spec/vcr/invoice/create/1287167121.yml
|
251
276
|
- spec/vcr/invoice/create-no-charges/1287167121.yml
|
252
277
|
- spec/vcr/invoice/list/1287167121.yml
|
@@ -255,30 +280,16 @@ test_files:
|
|
255
280
|
- spec/vcr/plan/delete/1286677585.yml
|
256
281
|
- spec/vcr/plan/find.yml
|
257
282
|
- spec/vcr/plan/update.yml
|
258
|
-
- spec/vcr/subscription/cancel/
|
259
|
-
- spec/vcr/subscription/cancel/
|
260
|
-
- spec/vcr/subscription/
|
261
|
-
- spec/vcr/subscription/
|
262
|
-
- spec/vcr/subscription/
|
263
|
-
- spec/vcr/subscription/
|
264
|
-
- spec/vcr/subscription/
|
265
|
-
- spec/vcr/subscription/
|
266
|
-
- spec/vcr/subscription/
|
267
|
-
- spec/vcr/subscription/
|
268
|
-
- spec/vcr/subscription/create/1287442108.yml
|
269
|
-
- spec/vcr/subscription/create/1287442352.yml
|
270
|
-
- spec/vcr/subscription/find/1287439446.yml
|
271
|
-
- spec/vcr/subscription/find/1287442108.yml
|
272
|
-
- spec/vcr/subscription/find/1287442352.yml
|
273
|
-
- spec/vcr/subscription/refund-full/1287439446.yml
|
274
|
-
- spec/vcr/subscription/refund-full/1287442108.yml
|
275
|
-
- spec/vcr/subscription/refund-full/1287442352.yml
|
276
|
-
- spec/vcr/subscription/refund-none/1287439446.yml
|
277
|
-
- spec/vcr/subscription/refund-none/1287442108.yml
|
278
|
-
- spec/vcr/subscription/refund-none/1287442352.yml
|
279
|
-
- spec/vcr/subscription/refund-partial/1287439446.yml
|
280
|
-
- spec/vcr/subscription/refund-partial/1287442108.yml
|
281
|
-
- spec/vcr/subscription/refund-partial/1287442352.yml
|
283
|
+
- spec/vcr/subscription/cancel/1287455769.yml
|
284
|
+
- spec/vcr/subscription/cancel-with-code/1287455769.yml
|
285
|
+
- spec/vcr/subscription/change1/1287455769.yml
|
286
|
+
- spec/vcr/subscription/change2/1287455769.yml
|
287
|
+
- spec/vcr/subscription/create/1287455769.yml
|
288
|
+
- spec/vcr/subscription/find/1287455769.yml
|
289
|
+
- spec/vcr/subscription/reactivate/1287455769.yml
|
290
|
+
- spec/vcr/subscription/refund-full/1287455769.yml
|
291
|
+
- spec/vcr/subscription/refund-none/1287455769.yml
|
292
|
+
- spec/vcr/subscription/refund-partial/1287455769.yml
|
282
293
|
- spec/vcr/transaction/all/1287186411.yml
|
283
294
|
- spec/vcr/transaction/create-no-account/1287186411.yml
|
284
295
|
- spec/vcr/transaction/create-with-account/1287186411.yml
|