Skip to content

Commit

Permalink
Fix Stripe API version & version bump
Browse files Browse the repository at this point in the history
  • Loading branch information
excid3 committed Aug 4, 2022
1 parent 831e2ab commit 131df32
Show file tree
Hide file tree
Showing 8 changed files with 17 additions and 7 deletions.
10 changes: 10 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,15 @@
### Unreleased

### 5.0.1

* Fix typo in Stripe API version - @excid3

### 5.0.0

* Upgrade to Stripe API `2022-08-01` and `stripe` rubygem v7 - @excid3

### 4.2.1

* Ensure Customer is created before creating a setup intent - @excid3 @cjilbert504

### 4.2.0
Expand Down
2 changes: 1 addition & 1 deletion Gemfile.lock
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ GIT
PATH
remote: .
specs:
pay (5.0.0)
pay (5.0.1)
rails (>= 6.0.0)

GEM
Expand Down
2 changes: 1 addition & 1 deletion gemfiles/rails_6.gemfile.lock
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ GIT
PATH
remote: ..
specs:
pay (5.0.0)
pay (5.0.1)
rails (>= 6.0.0)

GEM
Expand Down
2 changes: 1 addition & 1 deletion gemfiles/rails_6_1.gemfile.lock
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ GIT
PATH
remote: ..
specs:
pay (5.0.0)
pay (5.0.1)
rails (>= 6.0.0)

GEM
Expand Down
2 changes: 1 addition & 1 deletion gemfiles/rails_7.gemfile.lock
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ GIT
PATH
remote: ..
specs:
pay (5.0.0)
pay (5.0.1)
rails (>= 6.0.0)

GEM
Expand Down
2 changes: 1 addition & 1 deletion gemfiles/rails_master.gemfile.lock
Original file line number Diff line number Diff line change
Expand Up @@ -104,7 +104,7 @@ GIT
PATH
remote: ..
specs:
pay (5.0.0)
pay (5.0.1)
rails (>= 6.0.0)

GEM
Expand Down
2 changes: 1 addition & 1 deletion lib/pay/stripe.rb
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ def self.enabled?

def self.setup
::Stripe.api_key = private_key
::Stripe.api_version = "2022-08-02"
::Stripe.api_version = "2022-08-01"

# Used by Stripe to identify Pay for support
::Stripe.set_app_info("PayRails", partner_id: "pp_partner_IqhY0UExnJYLxg", version: Pay::VERSION, url: "https://github.com/pay-rails/pay")
Expand Down
2 changes: 1 addition & 1 deletion lib/pay/version.rb
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
module Pay
VERSION = "5.0.0"
VERSION = "5.0.1"
end

0 comments on commit 131df32

Please sign in to comment.