stripe-rails 1.1.2 → 1.2.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 2cc993299fe82d531d563a6d8f77c06792290c4b
4
- data.tar.gz: 507fc54438accfc9cfa335d092eb4ee668ccdd2c
3
+ metadata.gz: b4472dc93a9a92f24f317a0d1048126780e7bf84
4
+ data.tar.gz: 862d7edf59f3ba3c8e1288a93ef892805b70155a
5
5
  SHA512:
6
- metadata.gz: 6c1b44936c15c60b524b05e133cf16524eb2f2e234548e0ab7bb3393fb99f140c6faaac7ba843cdcf7085758288cf52bd9b727d72c20ba83d7e60cdb4deaac4e
7
- data.tar.gz: '04678d354150020a4af4e56ee4f84e94444867548a442208bffbb943a2274be6215a06ac1e6e7eba6b31d8f1688250ad6081f717712a5af0a95807b5b8ecc485'
6
+ metadata.gz: 829dc5a3512ab65c93d82fdff3b761631d1119c0e48e70d46aa793530e6e2d3914c17ea30986cca4ddf58928572e6a5cea0b89a7af96e2a4171c51930bf15b51
7
+ data.tar.gz: 7f0f08f7bc250f8ee65cbf8c68b13226e1f28505c831af66c247c2d6436865953eb763788eba33db1a8cc8fcbc874de55b94b56a820a4345ccadd2d4e4ec0c95
@@ -1,3 +1,7 @@
1
+ ## 1.2.0 (2018-01-02)
2
+
3
+ * Added additional callbacks (thanks @lloydpick & @dja)
4
+
1
5
  ## 1.1.2 (2017-10-25)
2
6
 
3
7
  * Fixes js partial crash if stripe_js_version is not defined
@@ -13,10 +13,6 @@ module Stripe
13
13
  callback 'application_fee.refunded'
14
14
  callback 'application_fee.refund.updated'
15
15
  callback 'balance.available'
16
- callback 'bitcoin.receiver.created'
17
- callback 'bitcoin.receiver.filled'
18
- callback 'bitcoin.receiver.updated'
19
- callback 'bitcoin.receiver.transaction.created'
20
16
  callback 'charge.captured'
21
17
  callback 'charge.failed'
22
18
  callback 'charge.pending'
@@ -28,6 +24,7 @@ module Stripe
28
24
  callback 'charge.dispute.funds_reinstated'
29
25
  callback 'charge.dispute.funds_withdrawn'
30
26
  callback 'charge.dispute.updated'
27
+ callback 'charge.refund.updated'
31
28
  callback 'coupon.created'
32
29
  callback 'coupon.deleted'
33
30
  callback 'coupon.updated'
@@ -44,9 +41,12 @@ module Stripe
44
41
  callback 'customer.subscription.deleted'
45
42
  callback 'customer.subscription.trial_will_end'
46
43
  callback 'customer.subscription.updated'
44
+ callback 'file.created'
47
45
  callback 'invoice.created'
48
46
  callback 'invoice.payment_failed'
49
47
  callback 'invoice.payment_succeeded'
48
+ callback 'invoice.sent'
49
+ callback 'invoice.upcoming'
50
50
  callback 'invoice.updated'
51
51
  callback 'invoiceitem.created'
52
52
  callback 'invoiceitem.deleted'
@@ -56,6 +56,11 @@ module Stripe
56
56
  callback 'order.payment_succeeded'
57
57
  callback 'order.updated'
58
58
  callback 'order_return.created'
59
+ callback 'payout.canceled'
60
+ callback 'payout.created'
61
+ callback 'payout.failed'
62
+ callback 'payout.paid'
63
+ callback 'payout.updated'
59
64
  callback 'plan.created'
60
65
  callback 'plan.deleted'
61
66
  callback 'plan.updated'
@@ -65,20 +70,26 @@ module Stripe
65
70
  callback 'recipient.created'
66
71
  callback 'recipient.deleted'
67
72
  callback 'recipient.updated'
73
+ callback 'review.closed'
74
+ callback 'review.opened'
75
+ callback 'sigma.scheduled_query_run.created'
68
76
  callback 'sku.created'
69
77
  callback 'sku.deleted'
70
78
  callback 'sku.updated'
71
79
  callback 'source.canceled'
72
80
  callback 'source.chargeable'
73
81
  callback 'source.failed'
82
+ callback 'source.transaction.created'
74
83
  callback 'transfer.created'
75
- callback 'transfer.failed'
76
- callback 'transfer.paid'
77
84
  callback 'transfer.reversed'
78
85
  callback 'transfer.updated'
79
86
  callback 'ping'
80
87
  callback 'stripe.event'
81
88
 
89
+ # Deprecated
90
+ callback 'transfer.failed' # https://stripe.com/docs/upgrades#2017-04-06
91
+ callback 'transfer.paid' # https://stripe.com/docs/upgrades#2017-04-06
92
+
82
93
  class << self
83
94
  def run_callbacks(evt, target)
84
95
  _run_callbacks evt.type, evt, target
@@ -1,5 +1,5 @@
1
1
  module Stripe
2
2
  module Rails
3
- VERSION = '1.1.2'
3
+ VERSION = '1.2.0'
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: stripe-rails
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.1.2
4
+ version: 1.2.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Charles Lowell
@@ -10,7 +10,7 @@ authors:
10
10
  autorequire:
11
11
  bindir: bin
12
12
  cert_chain: []
13
- date: 2017-10-25 00:00:00.000000000 Z
13
+ date: 2018-01-02 00:00:00.000000000 Z
14
14
  dependencies:
15
15
  - !ruby/object:Gem::Dependency
16
16
  name: rails