Skip to content

Commit 3d3a2f7

Browse files
committed
Fix api_key String spec errors with stripe-ruby-mock 2.3.1
`TypeError: api_key must be a string` errors happen with certain version combinations of stripe-ruby and stripe-ruby-mock. Certain versions of stripe-ruby-mock seem to be the trigger (e.g. 2.1.0) used in combination with more recent stripe-ruby versions (e.g. 1.55.0) that perform the api_key-String check.
1 parent 2cbecc0 commit 3d3a2f7

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,7 @@ All notable changes to Payola will be documented in this file.
3131
- Fix flash message typo 'Successfully'. #228
3232
- Make tax percentage migration reversible. #242
3333
- Call `instrument_quantity_changed` from `ChangeSubscriptionQuantity`. #250
34+
- Fix api_key String spec errors with stripe-ruby-mock 2.3.1. #261
3435

3536
## v1.4.0 - 2016-01-28
3637
[Full Changelog](https://github.com/peterkeen/payola/compare/v1.3.2...v1.4.0)

payola.gemspec

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ Gem::Specification.new do |s|
2424
s.add_development_dependency "sqlite3"
2525
s.add_development_dependency "rspec-rails"
2626
s.add_development_dependency "factory_girl_rails"
27-
s.add_development_dependency "stripe-ruby-mock", ">=2.1.0"
27+
s.add_development_dependency "stripe-ruby-mock", ">= 2.3.1"
2828
s.add_development_dependency "sucker_punch", "~> 1.2.1"
2929
s.add_development_dependency "docverter"
3030
end

0 commit comments

Comments
 (0)