stripe_event 2.8.0 → 2.9.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.github/workflows/ci.yml +1 -0
- data/Appraisals +4 -0
- data/CHANGELOG.md +79 -55
- data/gemfiles/stripe11.gemfile +7 -0
- data/lib/stripe_event/version.rb +1 -1
- data/stripe_event.gemspec +1 -1
- metadata +6 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 8ccb216941af5e191416caf6d05acc03bfad4b7ba4ed80fbb49a44211650a737
|
4
|
+
data.tar.gz: e340d77f96ca22b8b99cf6c93162651032b3f58f61b5ccb4d407fb09a70840f0
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 2c011157f7a63915912ebc23ae05885a839b4f1741ef07a4c3c0e0b54a05dd2c9c6aa4b0e4fac38b34d5ed08974ea6cd19c2474c48bf436dc4d74b5256da1ac0
|
7
|
+
data.tar.gz: '0539367cc4ae4df8dabc1c91292fa2ee787e9f0406a3bbb4afd068318c4d35504ee42cecf9ef32cce17ac37c9be18f61e22a777f3b16dd84f0c4d44e5aaf7274'
|
data/.github/workflows/ci.yml
CHANGED
data/Appraisals
CHANGED
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.
|
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
|
-
|
70
|
-
|
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
|
-
|
83
|
+
- Support for Rails 5.1 (#94, Thanks @krasnoukhov and @simplepractice!)
|
75
84
|
|
76
85
|
### 1.8.0 (August 29, 2017)
|
77
86
|
|
78
|
-
|
79
|
-
|
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
|
-
|
92
|
+
- Support stripe v3 gem as a dependency (#87)
|
84
93
|
|
85
94
|
### 1.6.0 (February 27, 2017)
|
86
95
|
|
87
|
-
|
96
|
+
- Support stripe v2 gem as a dependency (#82, b3cee03)
|
88
97
|
|
89
98
|
### 1.5.1 (September 20, 2016)
|
90
99
|
|
91
|
-
|
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
|
-
|
95
|
-
|
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
|
-
|
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
|
-
|
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
|
-
|
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
|
-
|
108
|
-
|
109
|
-
|
110
|
-
|
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
|
-
|
114
|
-
|
115
|
-
|
116
|
-
|
117
|
-
|
118
|
-
|
119
|
-
|
120
|
-
|
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
|
-
|
124
|
-
|
138
|
+
|
139
|
+
- Update event type list
|
140
|
+
- Update test gemfiles
|
125
141
|
|
126
142
|
### 0.6.0 (March 18, 2013)
|
127
|
-
|
128
|
-
|
129
|
-
|
130
|
-
|
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
|
-
|
134
|
-
|
135
|
-
|
136
|
-
|
137
|
-
|
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
|
-
|
141
|
-
|
142
|
-
|
143
|
-
|
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
|
-
|
147
|
-
|
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
|
-
|
151
|
-
|
152
|
-
|
153
|
-
|
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
|
-
|
157
|
-
|
158
|
-
|
159
|
-
|
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
|
-
|
163
|
-
|
164
|
-
|
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
|
-
|
190
|
+
|
191
|
+
- Initial release
|
data/lib/stripe_event/version.rb
CHANGED
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", "<
|
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.
|
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-
|
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: '
|
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: '
|
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
|