stripe_event 2.8.0 → 2.10.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 +2 -0
- data/Appraisals +8 -0
- data/CHANGELOG.md +83 -55
- data/gemfiles/stripe11.gemfile +7 -0
- data/gemfiles/stripe12.gemfile +7 -0
- data/lib/stripe_event/version.rb +1 -1
- data/stripe_event.gemspec +1 -1
- metadata +8 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 3834fed1eb48aaa0be2ff5842e8d503ff102df171b066da45309a514fe36962c
|
4
|
+
data.tar.gz: 813289016145f99172f13739d6f9bf02a3fb0f0b2f6059d22b7f609af431b2e9
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: e8bfada56f5171cb0de05c2a5f9581fa9897a9ded05991c33ca5a8b800e50a26af7ab8e5f21029c4ba96cd93055614a8d784bc94b89786b050e870a4757b3cff
|
7
|
+
data.tar.gz: aa50e70d07d1beed3a8c12bef06b355e6cc2491afe96804a125dd3fa4ccbfc84d248f8a14fc5b5406d781b8683e02ee81e2e26ebe9d55138220ba76256efa876
|
data/.github/workflows/ci.yml
CHANGED
data/Appraisals
CHANGED
@@ -63,6 +63,14 @@ 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
|
+
|
70
|
+
appraise "stripe12" do
|
71
|
+
gem "stripe", "~> 12.0"
|
72
|
+
end
|
73
|
+
|
66
74
|
appraise "rails_master" do
|
67
75
|
gem "rails", github: "rails"
|
68
76
|
end
|
data/CHANGELOG.md
CHANGED
@@ -1,4 +1,17 @@
|
|
1
1
|
### [Unreleased] - TBD
|
2
|
+
|
3
|
+
-
|
4
|
+
|
5
|
+
### 2.10.0 (Jun 28, 2024)
|
6
|
+
|
7
|
+
- Add Stripe 12 support (#167)
|
8
|
+
|
9
|
+
### 2.9.0 (Apr 22, 2024)
|
10
|
+
|
11
|
+
- Add Stripe 11 support (#165)
|
12
|
+
|
13
|
+
### 2.8.0 (Mar 18, 2024)
|
14
|
+
|
2
15
|
- Add Stripe 9 support (#162)
|
3
16
|
- Add Stripe 10 support (#163)
|
4
17
|
|
@@ -61,107 +74,122 @@
|
|
61
74
|
### 1.9.1 (December 5, 2017)
|
62
75
|
|
63
76
|
This release is in preparation for some backward incompatible changes due to
|
64
|
-
arrive in v2.0.0.
|
77
|
+
arrive in v2.0.0. It is highly recommended that everyone secure their webhook
|
65
78
|
endpoints by using `StripeEvent.signing_secret`. See the README and [Stripe's
|
66
79
|
documentation](https://stripe.com/docs/webhooks#signatures) for more
|
67
80
|
information.
|
68
81
|
|
69
|
-
|
70
|
-
|
82
|
+
- Deprecate `StripeEvent.authentication_secret` (#96)
|
83
|
+
- Deprecate unverified use of Stripe's webhooks (#96)
|
71
84
|
|
72
85
|
### 1.9.0 (November 30, 2017)
|
73
86
|
|
74
|
-
|
87
|
+
- Support for Rails 5.1 (#94, Thanks @krasnoukhov and @simplepractice!)
|
75
88
|
|
76
89
|
### 1.8.0 (August 29, 2017)
|
77
90
|
|
78
|
-
|
79
|
-
|
91
|
+
- Support for [Stripe's Webhook Signature Verification](https://stripe.com/docs/webhooks#signatures) (#83, #90, Thanks @mikeycgto!)
|
92
|
+
- Secure compare during basic authentication check (#91, Thanks @mikeycgto!)
|
80
93
|
|
81
94
|
### 1.7.0 (July 5, 2017)
|
82
95
|
|
83
|
-
|
96
|
+
- Support stripe v3 gem as a dependency (#87)
|
84
97
|
|
85
98
|
### 1.6.0 (February 27, 2017)
|
86
99
|
|
87
|
-
|
100
|
+
- Support stripe v2 gem as a dependency (#82, b3cee03)
|
88
101
|
|
89
102
|
### 1.5.1 (September 20, 2016)
|
90
103
|
|
91
|
-
|
104
|
+
- Better Rails 5 support. Prefer `before_action` over `before_filter`. (#69, Thanks @mcolyer)
|
92
105
|
|
93
106
|
### 1.5.0 (February 25, 2015)
|
94
|
-
|
95
|
-
|
107
|
+
|
108
|
+
- 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
|
109
|
+
- Dropped official support for Rails 3.1 and Rails 4.0
|
96
110
|
|
97
111
|
### 1.4.0 (November 1, 2014)
|
98
|
-
|
112
|
+
|
113
|
+
- 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
114
|
|
100
115
|
### 1.3.0 (July 22, 2014)
|
101
|
-
|
116
|
+
|
117
|
+
- 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
118
|
|
103
119
|
### 1.2.0 (June 17, 2014)
|
104
|
-
|
120
|
+
|
121
|
+
- 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
122
|
|
106
123
|
### 1.1.0 (January 8, 2014)
|
107
|
-
|
108
|
-
|
109
|
-
|
110
|
-
|
124
|
+
|
125
|
+
- Deprecate `StripeEvent.setup` in favor of `StripeEvent.configure`. Remove `setup` at next major release.
|
126
|
+
- `StripeEvent.configure` yields the module to the block for configuration.
|
127
|
+
- `StripeEvent.configure` will raise `ArgumentError` unless a block is given.
|
128
|
+
- Track test coverage
|
111
129
|
|
112
130
|
### 1.0.0 (December 19, 2013)
|
113
|
-
|
114
|
-
|
115
|
-
|
116
|
-
|
117
|
-
|
118
|
-
|
119
|
-
|
120
|
-
|
131
|
+
|
132
|
+
- Internally namespace dispatched events to avoid maintaining a list of all possible event types.
|
133
|
+
- Subscribe to all event types with `StripeEvent.all` instead of `StripeEvent.subscribe`.
|
134
|
+
- Remove ability to subscribe to many event types with once call to `StripeEvent.subscribe`.
|
135
|
+
- Subscribers can be an object that responds to #call.
|
136
|
+
- 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).
|
137
|
+
- Only depend on `stripe` and `activesupport` gems.
|
138
|
+
- Add `rails` as a development dependency.
|
139
|
+
- Only `require 'stripe_event/engine'` if `Rails` constant exists to allow StripeEvent to be used outside of a Rails application.
|
121
140
|
|
122
141
|
### 0.6.1 (August 19, 2013)
|
123
|
-
|
124
|
-
|
142
|
+
|
143
|
+
- Update event type list
|
144
|
+
- Update test gemfiles
|
125
145
|
|
126
146
|
### 0.6.0 (March 18, 2013)
|
127
|
-
|
128
|
-
|
129
|
-
|
130
|
-
|
147
|
+
|
148
|
+
- 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).
|
149
|
+
- Run specs against different Rails versions
|
150
|
+
- Refactor internal usage of AS::Notifications
|
151
|
+
- Remove jruby-openssl as platform conditional dependency
|
131
152
|
|
132
153
|
### 0.5.0 (December 16, 2012)
|
133
|
-
|
134
|
-
|
135
|
-
|
136
|
-
|
137
|
-
|
154
|
+
|
155
|
+
- Remove `Gemfile.lock` from version control
|
156
|
+
- Internal event type list is now a set
|
157
|
+
- Update event type list
|
158
|
+
- Various internal refactorings
|
159
|
+
- More readable tests
|
138
160
|
|
139
161
|
### 0.4.0 (September 24, 2012)
|
140
|
-
|
141
|
-
|
142
|
-
|
143
|
-
|
162
|
+
|
163
|
+
- Add configuration for custom event retrieval. Thanks to Dan Hodos for the [pull request](https://github.com/integrallis/stripe_event/pull/6).
|
164
|
+
- Move module methods only used in tests into a test helper.
|
165
|
+
- Various internal refactorings and additional tests.
|
166
|
+
- Error classes will inherit from a base error class now.
|
144
167
|
|
145
168
|
### 0.3.1 (August 14, 2012)
|
146
|
-
|
147
|
-
|
169
|
+
|
170
|
+
- 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).
|
171
|
+
- Deprecate registration method. Use 'setup' instead.
|
148
172
|
|
149
173
|
### 0.3.0 (July 16, 2012)
|
150
|
-
|
151
|
-
|
152
|
-
|
153
|
-
|
174
|
+
|
175
|
+
- Add registration method for conveniently adding many subscribers
|
176
|
+
- Depend on jruby-openssl when running on jruby
|
177
|
+
- Remove unneeded rake dependency
|
178
|
+
- Remove configure method
|
154
179
|
|
155
180
|
### 0.2.0 (July 12, 2012)
|
156
|
-
|
157
|
-
|
158
|
-
|
159
|
-
|
181
|
+
|
182
|
+
- Register a subscriber to one/many/all events
|
183
|
+
- Remove sqlite3 development dependency
|
184
|
+
- Setup travis-ci for repo
|
185
|
+
- Hard code a placeholder api key in dummy app. Fixes failing tests when env var not defined.
|
160
186
|
|
161
187
|
### 0.1.1 (July 4, 2012)
|
162
|
-
|
163
|
-
|
164
|
-
|
188
|
+
|
189
|
+
- Improve README
|
190
|
+
- Specify development dependency versions
|
191
|
+
- Fix controller test which was passing incorrectly
|
165
192
|
|
166
193
|
### 0.1.0 (June 24, 2012)
|
167
|
-
|
194
|
+
|
195
|
+
- 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", "< 13"]
|
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.10.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-06-28 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: '13'
|
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: '13'
|
47
47
|
- !ruby/object:Gem::Dependency
|
48
48
|
name: appraisal
|
49
49
|
requirement: !ruby/object:Gem::Requirement
|
@@ -142,6 +142,8 @@ files:
|
|
142
142
|
- gemfiles/rails7.1.gemfile
|
143
143
|
- gemfiles/rails_master.gemfile
|
144
144
|
- gemfiles/stripe10.gemfile
|
145
|
+
- gemfiles/stripe11.gemfile
|
146
|
+
- gemfiles/stripe12.gemfile
|
145
147
|
- gemfiles/stripe3.gemfile
|
146
148
|
- gemfiles/stripe4.gemfile
|
147
149
|
- gemfiles/stripe5.gemfile
|
@@ -225,6 +227,8 @@ test_files:
|
|
225
227
|
- gemfiles/rails7.1.gemfile
|
226
228
|
- gemfiles/rails_master.gemfile
|
227
229
|
- gemfiles/stripe10.gemfile
|
230
|
+
- gemfiles/stripe11.gemfile
|
231
|
+
- gemfiles/stripe12.gemfile
|
228
232
|
- gemfiles/stripe3.gemfile
|
229
233
|
- gemfiles/stripe4.gemfile
|
230
234
|
- gemfiles/stripe5.gemfile
|