stripe_tester 0.3.1 → 0.3.2

Sign up to get free protection for your applications and to get access to all the features.
Files changed (68) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +1 -1
  3. data/lib/stripe_tester.rb +1 -1
  4. data/lib/stripe_tester/version.rb +1 -1
  5. data/spec/stripe_tester_spec.rb +1 -1
  6. data/stripe_webhooks/2015-10-01/account_external_account_created.yml +23 -0
  7. data/stripe_webhooks/2015-10-01/account_external_account_deleted.yml +23 -0
  8. data/stripe_webhooks/2015-10-01/account_external_account_updated.yml +24 -0
  9. data/stripe_webhooks/2015-10-01/account_updated.yml +89 -0
  10. data/stripe_webhooks/2015-10-01/balance_available.yml +19 -0
  11. data/stripe_webhooks/2015-10-01/bitcoin_receiver_created.yml +30 -0
  12. data/stripe_webhooks/2015-10-01/bitcoin_receiver_filled.yml +30 -0
  13. data/stripe_webhooks/2015-10-01/bitcoin_receiver_transaction_created.yml +18 -0
  14. data/stripe_webhooks/2015-10-01/bitcoin_receiver_updated.yml +31 -0
  15. data/stripe_webhooks/2015-10-01/charge_captured.yml +66 -0
  16. data/stripe_webhooks/2015-10-01/charge_dispute_closed.yml +56 -0
  17. data/stripe_webhooks/2015-10-01/charge_dispute_created.yml +56 -0
  18. data/stripe_webhooks/2015-10-01/charge_dispute_funds_reinstated.yml +56 -0
  19. data/stripe_webhooks/2015-10-01/charge_dispute_funds_withdrawn.yml +56 -0
  20. data/stripe_webhooks/2015-10-01/charge_dispute_updated.yml +85 -0
  21. data/stripe_webhooks/2015-10-01/charge_failed.yml +66 -0
  22. data/stripe_webhooks/2015-10-01/charge_refunded.yml +77 -0
  23. data/stripe_webhooks/2015-10-01/charge_succeeded.yml +66 -0
  24. data/stripe_webhooks/2015-10-01/charge_updated.yml +68 -0
  25. data/stripe_webhooks/2015-10-01/coupon_created.yml +25 -0
  26. data/stripe_webhooks/2015-10-01/coupon_deleted.yml +25 -0
  27. data/stripe_webhooks/2015-10-01/coupon_updated.yml +26 -0
  28. data/stripe_webhooks/2015-10-01/customer_bank_account_created.yml +23 -0
  29. data/stripe_webhooks/2015-10-01/customer_bank_account_deleted.yml +23 -0
  30. data/stripe_webhooks/2015-10-01/customer_bank_account_updated.yml +24 -0
  31. data/stripe_webhooks/2015-10-01/customer_card_created.yml +33 -0
  32. data/stripe_webhooks/2015-10-01/customer_card_deleted.yml +33 -0
  33. data/stripe_webhooks/2015-10-01/customer_card_updated.yml +35 -0
  34. data/stripe_webhooks/2015-10-01/customer_created.yml +36 -0
  35. data/stripe_webhooks/2015-10-01/customer_deleted.yml +36 -0
  36. data/stripe_webhooks/2015-10-01/customer_discount_created.yml +31 -0
  37. data/stripe_webhooks/2015-10-01/customer_discount_deleted.yml +31 -0
  38. data/stripe_webhooks/2015-10-01/customer_discount_updated.yml +47 -0
  39. data/stripe_webhooks/2015-10-01/customer_subscription_created.yml +41 -0
  40. data/stripe_webhooks/2015-10-01/customer_subscription_deleted.yml +41 -0
  41. data/stripe_webhooks/2015-10-01/customer_subscription_trial_will_end.yml +41 -0
  42. data/stripe_webhooks/2015-10-01/customer_subscription_updated.yml +55 -0
  43. data/stripe_webhooks/2015-10-01/customer_updated.yml +38 -0
  44. data/stripe_webhooks/2015-10-01/invoice_created.yml +74 -0
  45. data/stripe_webhooks/2015-10-01/invoice_payment_failed.yml +74 -0
  46. data/stripe_webhooks/2015-10-01/invoice_payment_succeeded.yml +74 -0
  47. data/stripe_webhooks/2015-10-01/invoice_updated.yml +76 -0
  48. data/stripe_webhooks/2015-10-01/invoiceitem_created.yml +29 -0
  49. data/stripe_webhooks/2015-10-01/invoiceitem_deleted.yml +29 -0
  50. data/stripe_webhooks/2015-10-01/invoiceitem_updated.yml +31 -0
  51. data/stripe_webhooks/2015-10-01/order_created.yml +44 -0
  52. data/stripe_webhooks/2015-10-01/order_payment_failed.yml +44 -0
  53. data/stripe_webhooks/2015-10-01/order_payment_succeeded.yml +44 -0
  54. data/stripe_webhooks/2015-10-01/order_updated.yml +45 -0
  55. data/stripe_webhooks/2015-10-01/plan_created.yml +23 -0
  56. data/stripe_webhooks/2015-10-01/plan_deleted.yml +23 -0
  57. data/stripe_webhooks/2015-10-01/plan_updated.yml +25 -0
  58. data/stripe_webhooks/2015-10-01/product_created.yml +34 -0
  59. data/stripe_webhooks/2015-10-01/product_updated.yml +35 -0
  60. data/stripe_webhooks/2015-10-01/recipient_created.yml +30 -0
  61. data/stripe_webhooks/2015-10-01/recipient_deleted.yml +30 -0
  62. data/stripe_webhooks/2015-10-01/recipient_updated.yml +31 -0
  63. data/stripe_webhooks/2015-10-01/transfer_canceled.yml +38 -0
  64. data/stripe_webhooks/2015-10-01/transfer_created.yml +38 -0
  65. data/stripe_webhooks/2015-10-01/transfer_failed.yml +38 -0
  66. data/stripe_webhooks/2015-10-01/transfer_paid.yml +38 -0
  67. data/stripe_webhooks/2015-10-01/transfer_updated.yml +40 -0
  68. metadata +64 -2
@@ -0,0 +1,35 @@
1
+ ---
2
+ created: 1326853478
3
+ livemode: false
4
+ id: evt_00000000000000
5
+ type: product.updated
6
+ object: event
7
+ request:
8
+ pending_webhooks: 1
9
+ api_version: '2015-10-01'
10
+ data:
11
+ object:
12
+ id: prod_00000000000000
13
+ created: 1444032239
14
+ updated: 1444032239
15
+ object: product
16
+ livemode: false
17
+ name: T-shirt
18
+ caption:
19
+ description: Comfortable gray cotton t-shirts
20
+ active: true
21
+ attributes:
22
+ - size
23
+ - gender
24
+ shippable: true
25
+ metadata: {}
26
+ url:
27
+ package_dimensions:
28
+ images: []
29
+ skus:
30
+ object: list
31
+ total_count: 0
32
+ has_more: false
33
+ url: "/v1/skus?product=prod_76hL7nJnaotQqW&active=true"
34
+ data: []
35
+ previous_attributes:
@@ -0,0 +1,30 @@
1
+ ---
2
+ created: 1326853478
3
+ livemode: false
4
+ id: evt_00000000000000
5
+ type: recipient.created
6
+ object: event
7
+ request:
8
+ pending_webhooks: 1
9
+ api_version: '2015-10-01'
10
+ data:
11
+ object:
12
+ id: rp_00000000000000
13
+ object: recipient
14
+ created: 1444032243
15
+ livemode: false
16
+ type: individual
17
+ description: Recipient for John Doe
18
+ email: test@example.com
19
+ name: John Doe
20
+ verified: false
21
+ metadata: {}
22
+ active_account:
23
+ cards:
24
+ object: list
25
+ total_count: 0
26
+ has_more: false
27
+ url: "/v1/recipients/rp_76hLS9X8AHZWEG/cards"
28
+ data: []
29
+ default_card:
30
+ migrated_to:
@@ -0,0 +1,30 @@
1
+ ---
2
+ created: 1326853478
3
+ livemode: false
4
+ id: evt_00000000000000
5
+ type: recipient.deleted
6
+ object: event
7
+ request:
8
+ pending_webhooks: 1
9
+ api_version: '2015-10-01'
10
+ data:
11
+ object:
12
+ id: rp_00000000000000
13
+ object: recipient
14
+ created: 1444032245
15
+ livemode: false
16
+ type: individual
17
+ description: Recipient for John Doe
18
+ email: test@example.com
19
+ name: John Doe
20
+ verified: false
21
+ metadata: {}
22
+ active_account:
23
+ cards:
24
+ object: list
25
+ total_count: 0
26
+ has_more: false
27
+ url: "/v1/recipients/rp_76hLqtHxAYUEcD/cards"
28
+ data: []
29
+ default_card:
30
+ migrated_to:
@@ -0,0 +1,31 @@
1
+ ---
2
+ created: 1326853478
3
+ livemode: false
4
+ id: evt_00000000000000
5
+ type: recipient.updated
6
+ object: event
7
+ request:
8
+ pending_webhooks: 1
9
+ api_version: '2015-10-01'
10
+ data:
11
+ object:
12
+ id: rp_00000000000000
13
+ object: recipient
14
+ created: 1444032248
15
+ livemode: false
16
+ type: individual
17
+ description: Recipient for John Doe
18
+ email: test@example.com
19
+ name: John Doe
20
+ verified: false
21
+ metadata: {}
22
+ active_account:
23
+ cards:
24
+ object: list
25
+ total_count: 0
26
+ has_more: false
27
+ url: "/v1/recipients/rp_76hLu5hTbkjPZk/cards"
28
+ data: []
29
+ default_card:
30
+ migrated_to:
31
+ previous_attributes:
@@ -0,0 +1,38 @@
1
+ ---
2
+ created: 1326853478
3
+ livemode: false
4
+ id: evt_00000000000000
5
+ type: transfer.canceled
6
+ object: event
7
+ request:
8
+ pending_webhooks: 1
9
+ api_version: '2015-10-01'
10
+ data:
11
+ object:
12
+ id: tr_00000000000000
13
+ object: transfer
14
+ created: 1419558754
15
+ date: 1419724800
16
+ livemode: false
17
+ amount: 176
18
+ currency: usd
19
+ reversed: false
20
+ status: paid
21
+ type: bank_account
22
+ reversals:
23
+ object: list
24
+ total_count: 0
25
+ has_more: false
26
+ url: "/v1/transfers/tr_5OaSQEul366zPx/reversals"
27
+ data: []
28
+ balance_transaction: txn_00000000000000
29
+ destination:
30
+ description: STRIPE TRANSFER
31
+ failure_message:
32
+ failure_code:
33
+ amount_reversed: 0
34
+ metadata: {}
35
+ statement_descriptor:
36
+ recipient:
37
+ source_transaction:
38
+ application_fee:
@@ -0,0 +1,38 @@
1
+ ---
2
+ created: 1326853478
3
+ livemode: false
4
+ id: evt_00000000000000
5
+ type: transfer.created
6
+ object: event
7
+ request:
8
+ pending_webhooks: 1
9
+ api_version: '2015-10-01'
10
+ data:
11
+ object:
12
+ id: tr_00000000000000
13
+ object: transfer
14
+ created: 1419558754
15
+ date: 1419724800
16
+ livemode: false
17
+ amount: 176
18
+ currency: usd
19
+ reversed: false
20
+ status: pending
21
+ type: bank_account
22
+ reversals:
23
+ object: list
24
+ total_count: 0
25
+ has_more: false
26
+ url: "/v1/transfers/tr_5OaSQEul366zPx/reversals"
27
+ data: []
28
+ balance_transaction: txn_00000000000000
29
+ destination:
30
+ description: STRIPE TRANSFER
31
+ failure_message:
32
+ failure_code:
33
+ amount_reversed: 0
34
+ metadata: {}
35
+ statement_descriptor:
36
+ recipient:
37
+ source_transaction:
38
+ application_fee:
@@ -0,0 +1,38 @@
1
+ ---
2
+ created: 1326853478
3
+ livemode: false
4
+ id: evt_00000000000000
5
+ type: transfer.failed
6
+ object: event
7
+ request:
8
+ pending_webhooks: 1
9
+ api_version: '2015-10-01'
10
+ data:
11
+ object:
12
+ id: tr_00000000000000
13
+ object: transfer
14
+ created: 1419558754
15
+ date: 1419724800
16
+ livemode: false
17
+ amount: 176
18
+ currency: usd
19
+ reversed: false
20
+ status: failed
21
+ type: bank_account
22
+ reversals:
23
+ object: list
24
+ total_count: 0
25
+ has_more: false
26
+ url: "/v1/transfers/tr_5OaSQEul366zPx/reversals"
27
+ data: []
28
+ balance_transaction: txn_00000000000000
29
+ destination:
30
+ description: STRIPE TRANSFER
31
+ failure_message:
32
+ failure_code:
33
+ amount_reversed: 0
34
+ metadata: {}
35
+ statement_descriptor:
36
+ recipient:
37
+ source_transaction:
38
+ application_fee:
@@ -0,0 +1,38 @@
1
+ ---
2
+ created: 1326853478
3
+ livemode: false
4
+ id: evt_00000000000000
5
+ type: transfer.paid
6
+ object: event
7
+ request:
8
+ pending_webhooks: 1
9
+ api_version: '2015-10-01'
10
+ data:
11
+ object:
12
+ id: tr_00000000000000
13
+ object: transfer
14
+ created: 1419558754
15
+ date: 1419724800
16
+ livemode: false
17
+ amount: 176
18
+ currency: usd
19
+ reversed: false
20
+ status: paid
21
+ type: bank_account
22
+ reversals:
23
+ object: list
24
+ total_count: 0
25
+ has_more: false
26
+ url: "/v1/transfers/tr_5OaSQEul366zPx/reversals"
27
+ data: []
28
+ balance_transaction: txn_00000000000000
29
+ destination:
30
+ description: STRIPE TRANSFER
31
+ failure_message:
32
+ failure_code:
33
+ amount_reversed: 0
34
+ metadata: {}
35
+ statement_descriptor:
36
+ recipient:
37
+ source_transaction:
38
+ application_fee:
@@ -0,0 +1,40 @@
1
+ ---
2
+ created: 1326853478
3
+ livemode: false
4
+ id: evt_00000000000000
5
+ type: transfer.updated
6
+ object: event
7
+ request:
8
+ pending_webhooks: 1
9
+ api_version: '2015-10-01'
10
+ data:
11
+ object:
12
+ id: tr_00000000000000
13
+ object: transfer
14
+ created: 1419558754
15
+ date: 1419724800
16
+ livemode: false
17
+ amount: 176
18
+ currency: usd
19
+ reversed: false
20
+ status: pending
21
+ type: bank_account
22
+ reversals:
23
+ object: list
24
+ total_count: 0
25
+ has_more: false
26
+ url: "/v1/transfers/tr_5OaSQEul366zPx/reversals"
27
+ data: []
28
+ balance_transaction: txn_00000000000000
29
+ destination:
30
+ description: STRIPE TRANSFER
31
+ failure_message:
32
+ failure_code:
33
+ amount_reversed: 0
34
+ metadata: {}
35
+ statement_descriptor:
36
+ recipient:
37
+ source_transaction:
38
+ application_fee:
39
+ previous_attributes:
40
+ description: Old description
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: stripe_tester
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.3.1
4
+ version: 0.3.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Buttercloud
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2015-06-24 00:00:00.000000000 Z
11
+ date: 2015-10-05 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler
@@ -277,6 +277,68 @@ files:
277
277
  - stripe_webhooks/2015-04-07/transfer_failed.yml
278
278
  - stripe_webhooks/2015-04-07/transfer_paid.yml
279
279
  - stripe_webhooks/2015-04-07/transfer_updated.yml
280
+ - stripe_webhooks/2015-10-01/account_external_account_created.yml
281
+ - stripe_webhooks/2015-10-01/account_external_account_deleted.yml
282
+ - stripe_webhooks/2015-10-01/account_external_account_updated.yml
283
+ - stripe_webhooks/2015-10-01/account_updated.yml
284
+ - stripe_webhooks/2015-10-01/balance_available.yml
285
+ - stripe_webhooks/2015-10-01/bitcoin_receiver_created.yml
286
+ - stripe_webhooks/2015-10-01/bitcoin_receiver_filled.yml
287
+ - stripe_webhooks/2015-10-01/bitcoin_receiver_transaction_created.yml
288
+ - stripe_webhooks/2015-10-01/bitcoin_receiver_updated.yml
289
+ - stripe_webhooks/2015-10-01/charge_captured.yml
290
+ - stripe_webhooks/2015-10-01/charge_dispute_closed.yml
291
+ - stripe_webhooks/2015-10-01/charge_dispute_created.yml
292
+ - stripe_webhooks/2015-10-01/charge_dispute_funds_reinstated.yml
293
+ - stripe_webhooks/2015-10-01/charge_dispute_funds_withdrawn.yml
294
+ - stripe_webhooks/2015-10-01/charge_dispute_updated.yml
295
+ - stripe_webhooks/2015-10-01/charge_failed.yml
296
+ - stripe_webhooks/2015-10-01/charge_refunded.yml
297
+ - stripe_webhooks/2015-10-01/charge_succeeded.yml
298
+ - stripe_webhooks/2015-10-01/charge_updated.yml
299
+ - stripe_webhooks/2015-10-01/coupon_created.yml
300
+ - stripe_webhooks/2015-10-01/coupon_deleted.yml
301
+ - stripe_webhooks/2015-10-01/coupon_updated.yml
302
+ - stripe_webhooks/2015-10-01/customer_bank_account_created.yml
303
+ - stripe_webhooks/2015-10-01/customer_bank_account_deleted.yml
304
+ - stripe_webhooks/2015-10-01/customer_bank_account_updated.yml
305
+ - stripe_webhooks/2015-10-01/customer_card_created.yml
306
+ - stripe_webhooks/2015-10-01/customer_card_deleted.yml
307
+ - stripe_webhooks/2015-10-01/customer_card_updated.yml
308
+ - stripe_webhooks/2015-10-01/customer_created.yml
309
+ - stripe_webhooks/2015-10-01/customer_deleted.yml
310
+ - stripe_webhooks/2015-10-01/customer_discount_created.yml
311
+ - stripe_webhooks/2015-10-01/customer_discount_deleted.yml
312
+ - stripe_webhooks/2015-10-01/customer_discount_updated.yml
313
+ - stripe_webhooks/2015-10-01/customer_subscription_created.yml
314
+ - stripe_webhooks/2015-10-01/customer_subscription_deleted.yml
315
+ - stripe_webhooks/2015-10-01/customer_subscription_trial_will_end.yml
316
+ - stripe_webhooks/2015-10-01/customer_subscription_updated.yml
317
+ - stripe_webhooks/2015-10-01/customer_updated.yml
318
+ - stripe_webhooks/2015-10-01/invoice_created.yml
319
+ - stripe_webhooks/2015-10-01/invoice_payment_failed.yml
320
+ - stripe_webhooks/2015-10-01/invoice_payment_succeeded.yml
321
+ - stripe_webhooks/2015-10-01/invoice_updated.yml
322
+ - stripe_webhooks/2015-10-01/invoiceitem_created.yml
323
+ - stripe_webhooks/2015-10-01/invoiceitem_deleted.yml
324
+ - stripe_webhooks/2015-10-01/invoiceitem_updated.yml
325
+ - stripe_webhooks/2015-10-01/order_created.yml
326
+ - stripe_webhooks/2015-10-01/order_payment_failed.yml
327
+ - stripe_webhooks/2015-10-01/order_payment_succeeded.yml
328
+ - stripe_webhooks/2015-10-01/order_updated.yml
329
+ - stripe_webhooks/2015-10-01/plan_created.yml
330
+ - stripe_webhooks/2015-10-01/plan_deleted.yml
331
+ - stripe_webhooks/2015-10-01/plan_updated.yml
332
+ - stripe_webhooks/2015-10-01/product_created.yml
333
+ - stripe_webhooks/2015-10-01/product_updated.yml
334
+ - stripe_webhooks/2015-10-01/recipient_created.yml
335
+ - stripe_webhooks/2015-10-01/recipient_deleted.yml
336
+ - stripe_webhooks/2015-10-01/recipient_updated.yml
337
+ - stripe_webhooks/2015-10-01/transfer_canceled.yml
338
+ - stripe_webhooks/2015-10-01/transfer_created.yml
339
+ - stripe_webhooks/2015-10-01/transfer_failed.yml
340
+ - stripe_webhooks/2015-10-01/transfer_paid.yml
341
+ - stripe_webhooks/2015-10-01/transfer_updated.yml
280
342
  - supported_webhook_versions.md
281
343
  - wercker.yml
282
344
  homepage: https://github.com/buttercloud/stripe_tester