stripe_event 2.8.0 → 2.9.0

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.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: d130333687e4a385de33b920ba32a1227fd5259adfbda7f32bc16a72caf8e509
4
- data.tar.gz: 111eb09df30abb03195d3fd79fda9bb5a10136aceb384e4d0170f21506670f5e
3
+ metadata.gz: 8ccb216941af5e191416caf6d05acc03bfad4b7ba4ed80fbb49a44211650a737
4
+ data.tar.gz: e340d77f96ca22b8b99cf6c93162651032b3f58f61b5ccb4d407fb09a70840f0
5
5
  SHA512:
6
- metadata.gz: 007ccf825e675c4416fdf0ce867c0abe838470d3273f090d9d545a00b2cd06ed18d159697ee342b2de4ddc86230034ce8696bc239b8b3c19a4aace2ded5b3b47
7
- data.tar.gz: 3f4c4aaeb1feb0a924fb413244e1962a4ac55168646ff488da14b4144812b612052ced0e7d9f3af036ca9423f07c613f17f96ec5042b00caae15d4a9331e67ec
6
+ metadata.gz: 2c011157f7a63915912ebc23ae05885a839b4f1741ef07a4c3c0e0b54a05dd2c9c6aa4b0e4fac38b34d5ed08974ea6cd19c2474c48bf436dc4d74b5256da1ac0
7
+ data.tar.gz: '0539367cc4ae4df8dabc1c91292fa2ee787e9f0406a3bbb4afd068318c4d35504ee42cecf9ef32cce17ac37c9be18f61e22a777f3b16dd84f0c4d44e5aaf7274'
@@ -23,6 +23,7 @@ jobs:
23
23
  - stripe8
24
24
  - stripe9
25
25
  - stripe10
26
+ - stripe11
26
27
  include:
27
28
  - { ruby: "2.3", gemfile: "rails3.2", bundler: "1" }
28
29
  - { ruby: "2.5", gemfile: "rails5.1", bundler: "default" }
data/Appraisals CHANGED
@@ -63,6 +63,10 @@ appraise "stripe10" do
63
63
  gem "stripe", "~> 10.0"
64
64
  end
65
65
 
66
+ appraise "stripe11" do
67
+ gem "stripe", "~> 11.0"
68
+ end
69
+
66
70
  appraise "rails_master" do
67
71
  gem "rails", github: "rails"
68
72
  end
data/CHANGELOG.md CHANGED
@@ -1,4 +1,13 @@
1
1
  ### [Unreleased] - TBD
2
+
3
+ -
4
+
5
+ ### 2.9.0 (Apr 22, 2024)
6
+
7
+ - Add Stripe 11 support (#165)
8
+
9
+ ### 2.8.0 (Mar 18, 2024)
10
+
2
11
  - Add Stripe 9 support (#162)
3
12
  - Add Stripe 10 support (#163)
4
13
 
@@ -61,107 +70,122 @@
61
70
  ### 1.9.1 (December 5, 2017)
62
71
 
63
72
  This release is in preparation for some backward incompatible changes due to
64
- arrive in v2.0.0. It is highly recommended that everyone secure their webhook
73
+ arrive in v2.0.0. It is highly recommended that everyone secure their webhook
65
74
  endpoints by using `StripeEvent.signing_secret`. See the README and [Stripe's
66
75
  documentation](https://stripe.com/docs/webhooks#signatures) for more
67
76
  information.
68
77
 
69
- * Deprecate `StripeEvent.authentication_secret` (#96)
70
- * Deprecate unverified use of Stripe's webhooks (#96)
78
+ - Deprecate `StripeEvent.authentication_secret` (#96)
79
+ - Deprecate unverified use of Stripe's webhooks (#96)
71
80
 
72
81
  ### 1.9.0 (November 30, 2017)
73
82
 
74
- * Support for Rails 5.1 (#94, Thanks @krasnoukhov and @simplepractice!)
83
+ - Support for Rails 5.1 (#94, Thanks @krasnoukhov and @simplepractice!)
75
84
 
76
85
  ### 1.8.0 (August 29, 2017)
77
86
 
78
- * Support for [Stripe's Webhook Signature Verification](https://stripe.com/docs/webhooks#signatures) (#83, #90, Thanks @mikeycgto!)
79
- * Secure compare during basic authentication check (#91, Thanks @mikeycgto!)
87
+ - Support for [Stripe's Webhook Signature Verification](https://stripe.com/docs/webhooks#signatures) (#83, #90, Thanks @mikeycgto!)
88
+ - Secure compare during basic authentication check (#91, Thanks @mikeycgto!)
80
89
 
81
90
  ### 1.7.0 (July 5, 2017)
82
91
 
83
- * Support stripe v3 gem as a dependency (#87)
92
+ - Support stripe v3 gem as a dependency (#87)
84
93
 
85
94
  ### 1.6.0 (February 27, 2017)
86
95
 
87
- * Support stripe v2 gem as a dependency (#82, b3cee03)
96
+ - Support stripe v2 gem as a dependency (#82, b3cee03)
88
97
 
89
98
  ### 1.5.1 (September 20, 2016)
90
99
 
91
- * Better Rails 5 support. Prefer `before_action` over `before_filter`. (#69, Thanks @mcolyer)
100
+ - Better Rails 5 support. Prefer `before_action` over `before_filter`. (#69, Thanks @mcolyer)
92
101
 
93
102
  ### 1.5.0 (February 25, 2015)
94
- * Added [replay attack protection](https://github.com/integrallis/stripe_event#securing-your-webhook-endpoint) on webhooks. See `StripeEvent.authentication_secret`. Thanks @brentdax for both the initial discussion and the implementation! #53, #55
95
- * Dropped official support for Rails 3.1 and Rails 4.0
103
+
104
+ - Added [replay attack protection](https://github.com/integrallis/stripe_event#securing-your-webhook-endpoint) on webhooks. See `StripeEvent.authentication_secret`. Thanks @brentdax for both the initial discussion and the implementation! #53, #55
105
+ - Dropped official support for Rails 3.1 and Rails 4.0
96
106
 
97
107
  ### 1.4.0 (November 1, 2014)
98
- * Add `StripeEvent.listening?` method to easily determine if an event type has any registered handlers. Thank you to [Vladimir Andrijevik](https://github.com/vandrijevik) for the [idea and implementation](https://github.com/integrallis/stripe_event/pull/42).
108
+
109
+ - Add `StripeEvent.listening?` method to easily determine if an event type has any registered handlers. Thank you to [Vladimir Andrijevik](https://github.com/vandrijevik) for the [idea and implementation](https://github.com/integrallis/stripe_event/pull/42).
99
110
 
100
111
  ### 1.3.0 (July 22, 2014)
101
- * Allow for ignoring particular events. Thank you to [anark](https://github.com/anark) for suggesting the change, and [Ryan McGeary](https://github.com/rmm5t) and [Pete Keen](https://github.com/peterkeen) for working on the implementation.
112
+
113
+ - Allow for ignoring particular events. Thank you to [anark](https://github.com/anark) for suggesting the change, and [Ryan McGeary](https://github.com/rmm5t) and [Pete Keen](https://github.com/peterkeen) for working on the implementation.
102
114
 
103
115
  ### 1.2.0 (June 17, 2014)
104
- * Gracefully authenticate `account.application.deauthorized` events. Thank you to [Ryan McGeary](https://github.com/rmm5t) for the pull request and for taking the time to test the change in a live environment.
116
+
117
+ - Gracefully authenticate `account.application.deauthorized` events. Thank you to [Ryan McGeary](https://github.com/rmm5t) for the pull request and for taking the time to test the change in a live environment.
105
118
 
106
119
  ### 1.1.0 (January 8, 2014)
107
- * Deprecate `StripeEvent.setup` in favor of `StripeEvent.configure`. Remove `setup` at next major release.
108
- * `StripeEvent.configure` yields the module to the block for configuration.
109
- * `StripeEvent.configure` will raise `ArgumentError` unless a block is given.
110
- * Track test coverage
120
+
121
+ - Deprecate `StripeEvent.setup` in favor of `StripeEvent.configure`. Remove `setup` at next major release.
122
+ - `StripeEvent.configure` yields the module to the block for configuration.
123
+ - `StripeEvent.configure` will raise `ArgumentError` unless a block is given.
124
+ - Track test coverage
111
125
 
112
126
  ### 1.0.0 (December 19, 2013)
113
- * Internally namespace dispatched events to avoid maintaining a list of all possible event types.
114
- * Subscribe to all event types with `StripeEvent.all` instead of `StripeEvent.subscribe`.
115
- * Remove ability to subscribe to many event types with once call to `StripeEvent.subscribe`.
116
- * Subscribers can be an object that responds to #call.
117
- * Allow subscriber-generated `Stripe::StripeError`'s to bubble up. Thank you to [adamonduty](https://github.com/adamonduty) for the [patch](https://github.com/integrallis/stripe_event/pull/26).
118
- * Only depend on `stripe` and `activesupport` gems.
119
- * Add `rails` as a development dependency.
120
- * Only `require 'stripe_event/engine'` if `Rails` constant exists to allow StripeEvent to be used outside of a Rails application.
127
+
128
+ - Internally namespace dispatched events to avoid maintaining a list of all possible event types.
129
+ - Subscribe to all event types with `StripeEvent.all` instead of `StripeEvent.subscribe`.
130
+ - Remove ability to subscribe to many event types with once call to `StripeEvent.subscribe`.
131
+ - Subscribers can be an object that responds to #call.
132
+ - Allow subscriber-generated `Stripe::StripeError`'s to bubble up. Thank you to [adamonduty](https://github.com/adamonduty) for the [patch](https://github.com/integrallis/stripe_event/pull/26).
133
+ - Only depend on `stripe` and `activesupport` gems.
134
+ - Add `rails` as a development dependency.
135
+ - Only `require 'stripe_event/engine'` if `Rails` constant exists to allow StripeEvent to be used outside of a Rails application.
121
136
 
122
137
  ### 0.6.1 (August 19, 2013)
123
- * Update event type list
124
- * Update test gemfiles
138
+
139
+ - Update event type list
140
+ - Update test gemfiles
125
141
 
126
142
  ### 0.6.0 (March 18, 2013)
127
- * Rails 4 compatibility. Thank you to Ben Ubois for reporting the [issue](https://github.com/integrallis/stripe_event/issues/13) and to Matt Goldman for the [pull request](https://github.com/integrallis/stripe_event/pull/14).
128
- * Run specs against different Rails versions
129
- * Refactor internal usage of AS::Notifications
130
- * Remove jruby-openssl as platform conditional dependency
143
+
144
+ - Rails 4 compatibility. Thank you to Ben Ubois for reporting the [issue](https://github.com/integrallis/stripe_event/issues/13) and to Matt Goldman for the [pull request](https://github.com/integrallis/stripe_event/pull/14).
145
+ - Run specs against different Rails versions
146
+ - Refactor internal usage of AS::Notifications
147
+ - Remove jruby-openssl as platform conditional dependency
131
148
 
132
149
  ### 0.5.0 (December 16, 2012)
133
- * Remove `Gemfile.lock` from version control
134
- * Internal event type list is now a set
135
- * Update event type list
136
- * Various internal refactorings
137
- * More readable tests
150
+
151
+ - Remove `Gemfile.lock` from version control
152
+ - Internal event type list is now a set
153
+ - Update event type list
154
+ - Various internal refactorings
155
+ - More readable tests
138
156
 
139
157
  ### 0.4.0 (September 24, 2012)
140
- * Add configuration for custom event retrieval. Thanks to Dan Hodos for the [pull request](https://github.com/integrallis/stripe_event/pull/6).
141
- * Move module methods only used in tests into a test helper.
142
- * Various internal refactorings and additional tests.
143
- * Error classes will inherit from a base error class now.
158
+
159
+ - Add configuration for custom event retrieval. Thanks to Dan Hodos for the [pull request](https://github.com/integrallis/stripe_event/pull/6).
160
+ - Move module methods only used in tests into a test helper.
161
+ - Various internal refactorings and additional tests.
162
+ - Error classes will inherit from a base error class now.
144
163
 
145
164
  ### 0.3.1 (August 14, 2012)
146
- * Fix controller inheritance issue. Thanks to Christopher Baran for [reporting the bug](https://github.com/integrallis/stripe_event/issues/1), and to Robert Bousquet for [fixing it](https://github.com/integrallis/stripe_event/pull/3).
147
- * Deprecate registration method. Use 'setup' instead.
165
+
166
+ - Fix controller inheritance issue. Thanks to Christopher Baran for [reporting the bug](https://github.com/integrallis/stripe_event/issues/1), and to Robert Bousquet for [fixing it](https://github.com/integrallis/stripe_event/pull/3).
167
+ - Deprecate registration method. Use 'setup' instead.
148
168
 
149
169
  ### 0.3.0 (July 16, 2012)
150
- * Add registration method for conveniently adding many subscribers
151
- * Depend on jruby-openssl when running on jruby
152
- * Remove unneeded rake dependency
153
- * Remove configure method
170
+
171
+ - Add registration method for conveniently adding many subscribers
172
+ - Depend on jruby-openssl when running on jruby
173
+ - Remove unneeded rake dependency
174
+ - Remove configure method
154
175
 
155
176
  ### 0.2.0 (July 12, 2012)
156
- * Register a subscriber to one/many/all events
157
- * Remove sqlite3 development dependency
158
- * Setup travis-ci for repo
159
- * Hard code a placeholder api key in dummy app. Fixes failing tests when env var not defined.
177
+
178
+ - Register a subscriber to one/many/all events
179
+ - Remove sqlite3 development dependency
180
+ - Setup travis-ci for repo
181
+ - Hard code a placeholder api key in dummy app. Fixes failing tests when env var not defined.
160
182
 
161
183
  ### 0.1.1 (July 4, 2012)
162
- * Improve README
163
- * Specify development dependency versions
164
- * Fix controller test which was passing incorrectly
184
+
185
+ - Improve README
186
+ - Specify development dependency versions
187
+ - Fix controller test which was passing incorrectly
165
188
 
166
189
  ### 0.1.0 (June 24, 2012)
167
- * Initial release
190
+
191
+ - Initial release
@@ -0,0 +1,7 @@
1
+ # This file was generated by Appraisal
2
+
3
+ source "https://rubygems.org"
4
+
5
+ gem "stripe", "~> 11.0"
6
+
7
+ gemspec path: "../"
@@ -1,3 +1,3 @@
1
1
  module StripeEvent
2
- VERSION = "2.8.0"
2
+ VERSION = "2.9.0"
3
3
  end
data/stripe_event.gemspec CHANGED
@@ -18,7 +18,7 @@ Gem::Specification.new do |s|
18
18
  s.test_files = `git ls-files -- Appraisals {spec,gemfiles}/*`.split("\n")
19
19
 
20
20
  s.add_dependency "activesupport", ">= 3.1"
21
- s.add_dependency "stripe", [">= 2.8", "< 11"]
21
+ s.add_dependency "stripe", [">= 2.8", "< 12"]
22
22
 
23
23
  s.add_development_dependency "appraisal"
24
24
  s.add_development_dependency "rails", [">= 3.1"]
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: stripe_event
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.8.0
4
+ version: 2.9.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Danny Whalen
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2024-03-18 00:00:00.000000000 Z
11
+ date: 2024-04-22 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: activesupport
@@ -33,7 +33,7 @@ dependencies:
33
33
  version: '2.8'
34
34
  - - "<"
35
35
  - !ruby/object:Gem::Version
36
- version: '11'
36
+ version: '12'
37
37
  type: :runtime
38
38
  prerelease: false
39
39
  version_requirements: !ruby/object:Gem::Requirement
@@ -43,7 +43,7 @@ dependencies:
43
43
  version: '2.8'
44
44
  - - "<"
45
45
  - !ruby/object:Gem::Version
46
- version: '11'
46
+ version: '12'
47
47
  - !ruby/object:Gem::Dependency
48
48
  name: appraisal
49
49
  requirement: !ruby/object:Gem::Requirement
@@ -142,6 +142,7 @@ files:
142
142
  - gemfiles/rails7.1.gemfile
143
143
  - gemfiles/rails_master.gemfile
144
144
  - gemfiles/stripe10.gemfile
145
+ - gemfiles/stripe11.gemfile
145
146
  - gemfiles/stripe3.gemfile
146
147
  - gemfiles/stripe4.gemfile
147
148
  - gemfiles/stripe5.gemfile
@@ -225,6 +226,7 @@ test_files:
225
226
  - gemfiles/rails7.1.gemfile
226
227
  - gemfiles/rails_master.gemfile
227
228
  - gemfiles/stripe10.gemfile
229
+ - gemfiles/stripe11.gemfile
228
230
  - gemfiles/stripe3.gemfile
229
231
  - gemfiles/stripe4.gemfile
230
232
  - gemfiles/stripe5.gemfile