stripe_event 2.7.0 → 2.8.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
  SHA256:
3
- metadata.gz: 64c5f6e4239a90d34cb72407c4b2c0d7ea80c001a31a9143f4d0754c66747f25
4
- data.tar.gz: 902c6aca86d1799848141aef273680af270c56c911b3f7495a3fc1d9b4eb4763
3
+ metadata.gz: d130333687e4a385de33b920ba32a1227fd5259adfbda7f32bc16a72caf8e509
4
+ data.tar.gz: 111eb09df30abb03195d3fd79fda9bb5a10136aceb384e4d0170f21506670f5e
5
5
  SHA512:
6
- metadata.gz: 53604dcdd0958e632262b8abbad9f1329801243e3c7b4690b8c1bab82b8c40f7fceb72276c6536b4f583b78d22a2aa6418820a8b5ecc3472db7c15fbe54c6fd6
7
- data.tar.gz: 6f01ae6b159b4f62c81000375ed10916d4470132a9818f2bd8e95964cd10272a57fa9d5a417713c1bba5e1b43727ae1703da16cd0b7aaca24960123241cefc96
6
+ metadata.gz: 007ccf825e675c4416fdf0ce867c0abe838470d3273f090d9d545a00b2cd06ed18d159697ee342b2de4ddc86230034ce8696bc239b8b3c19a4aace2ded5b3b47
7
+ data.tar.gz: 3f4c4aaeb1feb0a924fb413244e1962a4ac55168646ff488da14b4144812b612052ced0e7d9f3af036ca9423f07c613f17f96ec5042b00caae15d4a9331e67ec
@@ -10,20 +10,21 @@ jobs:
10
10
  runs-on: ubuntu-latest
11
11
  strategy:
12
12
  matrix:
13
- ruby: ["2.7", "3.0", "3.1"]
13
+ ruby: ["3.0", "3.1", "3.2"]
14
14
  bundler: [default]
15
15
  gemfile:
16
16
  - rails6.0
17
17
  - rails6.1
18
18
  - rails7.0
19
+ - rails7.1
19
20
  - stripe5
20
21
  - stripe6
21
22
  - stripe7
22
23
  - stripe8
24
+ - stripe9
25
+ - stripe10
23
26
  include:
24
27
  - { ruby: "2.3", gemfile: "rails3.2", bundler: "1" }
25
- - { ruby: "2.3", gemfile: "rails4.2", bundler: "1" }
26
- - { ruby: "2.4", gemfile: "rails4.2", bundler: "1" }
27
28
  - { ruby: "2.5", gemfile: "rails5.1", bundler: "default" }
28
29
  - { ruby: "2.5", gemfile: "rails5.2", bundler: "default" }
29
30
  - { ruby: "2.6", gemfile: "rails5.2", bundler: "default" }
@@ -40,7 +41,7 @@ jobs:
40
41
  BUNDLE_GEMFILE: gemfiles/${{ matrix.gemfile }}.gemfile
41
42
  steps:
42
43
  # https://github.com/marketplace/actions/checkout
43
- - uses: actions/checkout@v2
44
+ - uses: actions/checkout@v4
44
45
  # https://github.com/marketplace/actions/setup-ruby-jruby-and-truffleruby
45
46
  - name: Set up Ruby
46
47
  uses: ruby/setup-ruby@v1
data/Appraisals CHANGED
@@ -27,6 +27,10 @@ appraise "rails7.0" do
27
27
  gem "rails", "~> 7.0.0"
28
28
  end
29
29
 
30
+ appraise "rails7.1" do
31
+ gem "rails", "~> 7.1.0"
32
+ end
33
+
30
34
  appraise "stripe3" do
31
35
  gem "stripe", "~> 3.0"
32
36
  end
@@ -51,6 +55,14 @@ appraise "stripe8" do
51
55
  gem "stripe", "~> 8.0"
52
56
  end
53
57
 
58
+ appraise "stripe9" do
59
+ gem "stripe", "~> 9.0"
60
+ end
61
+
62
+ appraise "stripe10" do
63
+ gem "stripe", "~> 10.0"
64
+ end
65
+
54
66
  appraise "rails_master" do
55
67
  gem "rails", github: "rails"
56
68
  end
data/CHANGELOG.md CHANGED
@@ -1,4 +1,6 @@
1
1
  ### [Unreleased] - TBD
2
+ - Add Stripe 9 support (#162)
3
+ - Add Stripe 10 support (#163)
2
4
 
3
5
  ### 2.7.0 (Nov 27, 2022)
4
6
 
data/README.md CHANGED
@@ -3,7 +3,6 @@
3
3
  [![Build Status](https://github.com/integrallis/stripe_event/workflows/CI/badge.svg)](https://github.com/integrallis/stripe_event/actions?query=workflow%3ACI)
4
4
  [![Gem Version](https://badge.fury.io/rb/stripe_event.svg)](http://badge.fury.io/rb/stripe_event)
5
5
  [![Code Climate](https://codeclimate.com/github/integrallis/stripe_event.svg)](https://codeclimate.com/github/integrallis/stripe_event)
6
- [![Coverage Status](https://coveralls.io/repos/integrallis/stripe_event/badge.svg)](https://coveralls.io/r/integrallis/stripe_event)
7
6
  [![Gem Downloads](https://img.shields.io/gem/dt/stripe_event.svg)](https://rubygems.org/gems/stripe_event)
8
7
 
9
8
  StripeEvent is built on the [ActiveSupport::Notifications API](http://api.rubyonrails.org/classes/ActiveSupport/Notifications.html). Incoming webhook requests are [authenticated with the webhook signature](#authenticating-webhooks-with-signatures). Define subscribers to handle specific event types. Subscribers can be a block or an object that responds to `#call`.
@@ -0,0 +1,7 @@
1
+ # This file was generated by Appraisal
2
+
3
+ source "https://rubygems.org"
4
+
5
+ gem "rails", "~> 7.1.0"
6
+
7
+ gemspec path: "../"
@@ -0,0 +1,7 @@
1
+ # This file was generated by Appraisal
2
+
3
+ source "https://rubygems.org"
4
+
5
+ gem "stripe", "~> 10.0"
6
+
7
+ gemspec path: "../"
@@ -0,0 +1,7 @@
1
+ # This file was generated by Appraisal
2
+
3
+ source "https://rubygems.org"
4
+
5
+ gem "stripe", "~> 9.0"
6
+
7
+ gemspec path: "../"
@@ -1,3 +1,3 @@
1
1
  module StripeEvent
2
- VERSION = "2.7.0"
2
+ VERSION = "2.8.0"
3
3
  end
data/spec/spec_helper.rb CHANGED
@@ -1,6 +1,3 @@
1
- require 'coveralls'
2
- Coveralls.wear!
3
-
4
1
  require 'webmock/rspec'
5
2
  require File.expand_path('../../lib/stripe_event', __FILE__)
6
3
  Dir[File.expand_path('../spec/support/**/*.rb', __FILE__)].each { |f| require f }
data/stripe_event.gemspec CHANGED
@@ -18,12 +18,11 @@ 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", "< 9"]
21
+ s.add_dependency "stripe", [">= 2.8", "< 11"]
22
22
 
23
23
  s.add_development_dependency "appraisal"
24
- s.add_development_dependency "coveralls"
25
24
  s.add_development_dependency "rails", [">= 3.1"]
26
25
  s.add_development_dependency "rake"
27
- s.add_development_dependency "rspec-rails", "~> 3.7"
28
- s.add_development_dependency "webmock", "~> 1.9"
26
+ s.add_development_dependency "rspec-rails"
27
+ s.add_development_dependency "webmock"
29
28
  end
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.7.0
4
+ version: 2.8.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: 2022-11-28 00:00:00.000000000 Z
11
+ date: 2024-03-18 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: '9'
36
+ version: '11'
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: '9'
46
+ version: '11'
47
47
  - !ruby/object:Gem::Dependency
48
48
  name: appraisal
49
49
  requirement: !ruby/object:Gem::Requirement
@@ -58,20 +58,6 @@ dependencies:
58
58
  - - ">="
59
59
  - !ruby/object:Gem::Version
60
60
  version: '0'
61
- - !ruby/object:Gem::Dependency
62
- name: coveralls
63
- requirement: !ruby/object:Gem::Requirement
64
- requirements:
65
- - - ">="
66
- - !ruby/object:Gem::Version
67
- version: '0'
68
- type: :development
69
- prerelease: false
70
- version_requirements: !ruby/object:Gem::Requirement
71
- requirements:
72
- - - ">="
73
- - !ruby/object:Gem::Version
74
- version: '0'
75
61
  - !ruby/object:Gem::Dependency
76
62
  name: rails
77
63
  requirement: !ruby/object:Gem::Requirement
@@ -104,30 +90,30 @@ dependencies:
104
90
  name: rspec-rails
105
91
  requirement: !ruby/object:Gem::Requirement
106
92
  requirements:
107
- - - "~>"
93
+ - - ">="
108
94
  - !ruby/object:Gem::Version
109
- version: '3.7'
95
+ version: '0'
110
96
  type: :development
111
97
  prerelease: false
112
98
  version_requirements: !ruby/object:Gem::Requirement
113
99
  requirements:
114
- - - "~>"
100
+ - - ">="
115
101
  - !ruby/object:Gem::Version
116
- version: '3.7'
102
+ version: '0'
117
103
  - !ruby/object:Gem::Dependency
118
104
  name: webmock
119
105
  requirement: !ruby/object:Gem::Requirement
120
106
  requirements:
121
- - - "~>"
107
+ - - ">="
122
108
  - !ruby/object:Gem::Version
123
- version: '1.9'
109
+ version: '0'
124
110
  type: :development
125
111
  prerelease: false
126
112
  version_requirements: !ruby/object:Gem::Requirement
127
113
  requirements:
128
- - - "~>"
114
+ - - ">="
129
115
  - !ruby/object:Gem::Version
130
- version: '1.9'
116
+ version: '0'
131
117
  description: Stripe webhook integration for Rails applications.
132
118
  email: daniel.r.whalen@gmail.com
133
119
  executables: []
@@ -153,13 +139,16 @@ files:
153
139
  - gemfiles/rails6.0.gemfile
154
140
  - gemfiles/rails6.1.gemfile
155
141
  - gemfiles/rails7.0.gemfile
142
+ - gemfiles/rails7.1.gemfile
156
143
  - gemfiles/rails_master.gemfile
144
+ - gemfiles/stripe10.gemfile
157
145
  - gemfiles/stripe3.gemfile
158
146
  - gemfiles/stripe4.gemfile
159
147
  - gemfiles/stripe5.gemfile
160
148
  - gemfiles/stripe6.gemfile
161
149
  - gemfiles/stripe7.gemfile
162
150
  - gemfiles/stripe8.gemfile
151
+ - gemfiles/stripe9.gemfile
163
152
  - lib/stripe_event.rb
164
153
  - lib/stripe_event/engine.rb
165
154
  - lib/stripe_event/version.rb
@@ -220,7 +209,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
220
209
  - !ruby/object:Gem::Version
221
210
  version: '0'
222
211
  requirements: []
223
- rubygems_version: 3.3.17
212
+ rubygems_version: 3.4.15
224
213
  signing_key:
225
214
  specification_version: 4
226
215
  summary: Stripe webhook integration for Rails applications.
@@ -233,13 +222,16 @@ test_files:
233
222
  - gemfiles/rails6.0.gemfile
234
223
  - gemfiles/rails6.1.gemfile
235
224
  - gemfiles/rails7.0.gemfile
225
+ - gemfiles/rails7.1.gemfile
236
226
  - gemfiles/rails_master.gemfile
227
+ - gemfiles/stripe10.gemfile
237
228
  - gemfiles/stripe3.gemfile
238
229
  - gemfiles/stripe4.gemfile
239
230
  - gemfiles/stripe5.gemfile
240
231
  - gemfiles/stripe6.gemfile
241
232
  - gemfiles/stripe7.gemfile
242
233
  - gemfiles/stripe8.gemfile
234
+ - gemfiles/stripe9.gemfile
243
235
  - spec/controllers/webhook_controller_spec.rb
244
236
  - spec/dummy/README.rdoc
245
237
  - spec/dummy/Rakefile