stripe_tester 0.0.3 → 0.0.4

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.
Files changed (43) hide show
  1. data/README.md +49 -1
  2. data/lib/stripe_tester.rb +29 -6
  3. data/lib/stripe_tester/version.rb +1 -1
  4. data/spec/stripe_tester_spec.rb +19 -1
  5. data/stripe_webhooks/2013-08-13/account_updated.yml +21 -0
  6. data/stripe_webhooks/2013-08-13/balance_available.yml +18 -0
  7. data/stripe_webhooks/2013-08-13/charge_dispute_closed.yml +19 -0
  8. data/stripe_webhooks/2013-08-13/charge_dispute_created.yml +19 -0
  9. data/stripe_webhooks/2013-08-13/charge_dispute_updated.yml +21 -0
  10. data/stripe_webhooks/2013-08-13/charge_failed.yml +47 -0
  11. data/stripe_webhooks/2013-08-13/charge_refunded.yml +48 -0
  12. data/stripe_webhooks/2013-08-13/charge_succeeded.yml +47 -0
  13. data/stripe_webhooks/2013-08-13/coupon_created.yml +19 -0
  14. data/stripe_webhooks/2013-08-13/coupon_deleted.yml +19 -0
  15. data/stripe_webhooks/2013-08-13/customer_card_created.yml +29 -0
  16. data/stripe_webhooks/2013-08-13/customer_card_deleted.yml +29 -0
  17. data/stripe_webhooks/2013-08-13/customer_card_updated.yml +31 -0
  18. data/stripe_webhooks/2013-08-13/customer_created.yml +69 -0
  19. data/stripe_webhooks/2013-08-13/customer_deleted.yml +69 -0
  20. data/stripe_webhooks/2013-08-13/customer_discount_created.yml +24 -0
  21. data/stripe_webhooks/2013-08-13/customer_discount_deleted.yml +24 -0
  22. data/stripe_webhooks/2013-08-13/customer_discount_updated.yml +37 -0
  23. data/stripe_webhooks/2013-08-13/customer_subscription_created.yml +32 -0
  24. data/stripe_webhooks/2013-08-13/customer_subscription_deleted.yml +32 -0
  25. data/stripe_webhooks/2013-08-13/customer_subscription_trial_will_end.yml +32 -0
  26. data/stripe_webhooks/2013-08-13/customer_subscription_updated.yml +43 -0
  27. data/stripe_webhooks/2013-08-13/customer_updated.yml +71 -0
  28. data/stripe_webhooks/2013-08-13/invoice_created.yml +57 -0
  29. data/stripe_webhooks/2013-08-13/invoice_payment_failed.yml +57 -0
  30. data/stripe_webhooks/2013-08-13/invoice_payment_succeeded.yml +57 -0
  31. data/stripe_webhooks/2013-08-13/invoice_updated.yml +59 -0
  32. data/stripe_webhooks/2013-08-13/invoiceitem_created.yml +18 -0
  33. data/stripe_webhooks/2013-08-13/invoiceitem_deleted.yml +18 -0
  34. data/stripe_webhooks/2013-08-13/invoiceitem_updated.yml +20 -0
  35. data/stripe_webhooks/2013-08-13/plan_created.yml +17 -0
  36. data/stripe_webhooks/2013-08-13/plan_deleted.yml +17 -0
  37. data/stripe_webhooks/2013-08-13/plan_updated.yml +19 -0
  38. data/stripe_webhooks/2013-08-13/transfer_created.yml +21 -0
  39. data/stripe_webhooks/2013-08-13/transfer_failed.yml +21 -0
  40. data/stripe_webhooks/2013-08-13/transfer_paid.yml +21 -0
  41. data/stripe_webhooks/2013-08-13/transfer_updated.yml +23 -0
  42. data/wercker.yml +22 -0
  43. metadata +41 -3
@@ -0,0 +1,19 @@
1
+ ---
2
+ created: 1326853478
3
+ livemode: false
4
+ id: evt_00000000000000
5
+ type: plan.updated
6
+ object: event
7
+ data:
8
+ object:
9
+ interval: month
10
+ name: Gold
11
+ amount: 7900
12
+ currency: usd
13
+ id: gold-v1_00000000000000
14
+ object: plan
15
+ livemode: false
16
+ interval_count: 1
17
+ trial_period_days: 30
18
+ previous_attributes:
19
+ name: Old name
@@ -0,0 +1,21 @@
1
+ ---
2
+ created: 1326853478
3
+ livemode: false
4
+ id: evt_00000000000000
5
+ type: transfer.created
6
+ object: event
7
+ data:
8
+ object:
9
+ id: tr_00000000000000
10
+ object: transfer
11
+ date: 1381536000
12
+ livemode: true
13
+ amount: 1100
14
+ currency: usd
15
+ status: pending
16
+ balance_transaction: txn_00000000000000
17
+ account:
18
+ description: Transfer to test@example.com
19
+ metadata:
20
+ statement_descriptor:
21
+ recipient: rp_00000000000000
@@ -0,0 +1,21 @@
1
+ ---
2
+ created: 1326853478
3
+ livemode: false
4
+ id: evt_00000000000000
5
+ type: transfer.failed
6
+ object: event
7
+ data:
8
+ object:
9
+ id: tr_00000000000000
10
+ object: transfer
11
+ date: 1381536000
12
+ livemode: true
13
+ amount: 1100
14
+ currency: usd
15
+ status: failed
16
+ balance_transaction: txn_00000000000000
17
+ account:
18
+ description: Transfer to test@example.com
19
+ metadata:
20
+ statement_descriptor:
21
+ recipient: rp_00000000000000
@@ -0,0 +1,21 @@
1
+ ---
2
+ created: 1326853478
3
+ livemode: false
4
+ id: evt_00000000000000
5
+ type: transfer.paid
6
+ object: event
7
+ data:
8
+ object:
9
+ id: tr_00000000000000
10
+ object: transfer
11
+ date: 1381536000
12
+ livemode: true
13
+ amount: 1100
14
+ currency: usd
15
+ status: paid
16
+ balance_transaction: txn_00000000000000
17
+ account:
18
+ description: Transfer to test@example.com
19
+ metadata:
20
+ statement_descriptor:
21
+ recipient: rp_00000000000000
@@ -0,0 +1,23 @@
1
+ ---
2
+ created: 1326853478
3
+ livemode: false
4
+ id: evt_00000000000000
5
+ type: transfer.updated
6
+ object: event
7
+ data:
8
+ object:
9
+ id: tr_00000000000000
10
+ object: transfer
11
+ date: 1381536000
12
+ livemode: true
13
+ amount: 1100
14
+ currency: usd
15
+ status: pending
16
+ balance_transaction: txn_00000000000000
17
+ account:
18
+ description: Transfer to test@example.com
19
+ metadata:
20
+ statement_descriptor:
21
+ recipient: rp_00000000000000
22
+ previous_attributes:
23
+ amount: 123
data/wercker.yml ADDED
@@ -0,0 +1,22 @@
1
+ box: wercker/ruby
2
+ # Build definition
3
+ # See the Ruby section on the wercker devcenter:
4
+ # http://devcenter.wercker.com/articles/languages/ruby.html
5
+ build:
6
+ # The steps that will be executed on build
7
+ steps:
8
+ # A step that executes `bundle install` command
9
+ - bundle-install
10
+
11
+ # A custom script step, name value is used in the UI
12
+ # and the code value contains the command that get executed
13
+ - script:
14
+ name: echo ruby information
15
+ code: |
16
+ echo "ruby version $(ruby --version) running"
17
+ echo "from location $(which ruby)"
18
+ echo -p "gem list: $(gem list)"
19
+
20
+ - script:
21
+ name: rspec
22
+ code: bundle exec rspec
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: stripe_tester
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.3
4
+ version: 0.0.4
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2013-07-24 00:00:00.000000000 Z
12
+ date: 2013-10-20 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: bundler
@@ -134,6 +134,44 @@ files:
134
134
  - stripe_webhooks/2013-07-05/invoice_payment_failed.yml
135
135
  - stripe_webhooks/2013-07-05/invoice_payment_succeeded.yml
136
136
  - stripe_webhooks/2013-07-05/invoice_updated.yml
137
+ - stripe_webhooks/2013-08-13/account_updated.yml
138
+ - stripe_webhooks/2013-08-13/balance_available.yml
139
+ - stripe_webhooks/2013-08-13/charge_dispute_closed.yml
140
+ - stripe_webhooks/2013-08-13/charge_dispute_created.yml
141
+ - stripe_webhooks/2013-08-13/charge_dispute_updated.yml
142
+ - stripe_webhooks/2013-08-13/charge_failed.yml
143
+ - stripe_webhooks/2013-08-13/charge_refunded.yml
144
+ - stripe_webhooks/2013-08-13/charge_succeeded.yml
145
+ - stripe_webhooks/2013-08-13/coupon_created.yml
146
+ - stripe_webhooks/2013-08-13/coupon_deleted.yml
147
+ - stripe_webhooks/2013-08-13/customer_card_created.yml
148
+ - stripe_webhooks/2013-08-13/customer_card_deleted.yml
149
+ - stripe_webhooks/2013-08-13/customer_card_updated.yml
150
+ - stripe_webhooks/2013-08-13/customer_created.yml
151
+ - stripe_webhooks/2013-08-13/customer_deleted.yml
152
+ - stripe_webhooks/2013-08-13/customer_discount_created.yml
153
+ - stripe_webhooks/2013-08-13/customer_discount_deleted.yml
154
+ - stripe_webhooks/2013-08-13/customer_discount_updated.yml
155
+ - stripe_webhooks/2013-08-13/customer_subscription_created.yml
156
+ - stripe_webhooks/2013-08-13/customer_subscription_deleted.yml
157
+ - stripe_webhooks/2013-08-13/customer_subscription_trial_will_end.yml
158
+ - stripe_webhooks/2013-08-13/customer_subscription_updated.yml
159
+ - stripe_webhooks/2013-08-13/customer_updated.yml
160
+ - stripe_webhooks/2013-08-13/invoice_created.yml
161
+ - stripe_webhooks/2013-08-13/invoice_payment_failed.yml
162
+ - stripe_webhooks/2013-08-13/invoice_payment_succeeded.yml
163
+ - stripe_webhooks/2013-08-13/invoice_updated.yml
164
+ - stripe_webhooks/2013-08-13/invoiceitem_created.yml
165
+ - stripe_webhooks/2013-08-13/invoiceitem_deleted.yml
166
+ - stripe_webhooks/2013-08-13/invoiceitem_updated.yml
167
+ - stripe_webhooks/2013-08-13/plan_created.yml
168
+ - stripe_webhooks/2013-08-13/plan_deleted.yml
169
+ - stripe_webhooks/2013-08-13/plan_updated.yml
170
+ - stripe_webhooks/2013-08-13/transfer_created.yml
171
+ - stripe_webhooks/2013-08-13/transfer_failed.yml
172
+ - stripe_webhooks/2013-08-13/transfer_paid.yml
173
+ - stripe_webhooks/2013-08-13/transfer_updated.yml
174
+ - wercker.yml
137
175
  homepage: https://github.com/buttercloud/stripe_tester
138
176
  licenses:
139
177
  - MIT
@@ -155,7 +193,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
155
193
  version: '0'
156
194
  segments:
157
195
  - 0
158
- hash: -3266622437105311327
196
+ hash: -1972396516991450312
159
197
  requirements: []
160
198
  rubyforge_project:
161
199
  rubygems_version: 1.8.25