mirror of
https://github.com/stripe/stripe-ruby.git
synced 2025-10-04 00:00:47 -04:00
Run the test suite once with ActiveSupport loaded, once without
ActiveSupport is the source of many problems for us, so let's try to catch them pre-emptively with testing
This commit is contained in:
parent
f84ee25b03
commit
b905b2164c
@ -3,6 +3,6 @@ rvm:
|
||||
- 1.8.7
|
||||
- 1.9.3
|
||||
gemfile:
|
||||
- Gemfile
|
||||
- gemfiles/default-with-activesupport.gemfile
|
||||
- gemfiles/json.gemfile
|
||||
- gemfiles/yajl.gemfile
|
||||
|
3
gemfiles/default-with-activesupport.gemfile
Normal file
3
gemfiles/default-with-activesupport.gemfile
Normal file
@ -0,0 +1,3 @@
|
||||
source "https://rubygems.org"
|
||||
gemspec :path => File.join(File.dirname(__FILE__), "..")
|
||||
gem "activesupport"
|
39
gemfiles/default-with-activesupport.gemfile.lock
Normal file
39
gemfiles/default-with-activesupport.gemfile.lock
Normal file
@ -0,0 +1,39 @@
|
||||
PATH
|
||||
remote: /home/evan/src/stripe-ruby
|
||||
specs:
|
||||
stripe (1.6.3)
|
||||
multi_json (~> 1.1)
|
||||
rest-client (~> 1.4)
|
||||
|
||||
GEM
|
||||
remote: https://rubygems.org/
|
||||
specs:
|
||||
activesupport (3.2.3)
|
||||
i18n (~> 0.6)
|
||||
multi_json (~> 1.0)
|
||||
i18n (0.6.0)
|
||||
metaclass (0.0.1)
|
||||
mime-types (1.18)
|
||||
mocha (0.11.4)
|
||||
metaclass (~> 0.0.1)
|
||||
multi_json (1.3.4)
|
||||
rake (0.9.2.2)
|
||||
rest-client (1.6.7)
|
||||
mime-types (>= 1.16)
|
||||
shoulda (3.0.1)
|
||||
shoulda-context (~> 1.0.0)
|
||||
shoulda-matchers (~> 1.0.0)
|
||||
shoulda-context (1.0.0)
|
||||
shoulda-matchers (1.0.0)
|
||||
test-unit (2.4.8)
|
||||
|
||||
PLATFORMS
|
||||
ruby
|
||||
|
||||
DEPENDENCIES
|
||||
activesupport
|
||||
mocha
|
||||
rake
|
||||
shoulda
|
||||
stripe!
|
||||
test-unit
|
@ -1,3 +1,4 @@
|
||||
source "https://rubygems.org"
|
||||
gemspec :path => File.join(File.dirname(__FILE__), "..")
|
||||
gem "json"
|
||||
gem "activesupport"
|
||||
|
@ -8,6 +8,10 @@ PATH
|
||||
GEM
|
||||
remote: https://rubygems.org/
|
||||
specs:
|
||||
activesupport (3.2.3)
|
||||
i18n (~> 0.6)
|
||||
multi_json (~> 1.0)
|
||||
i18n (0.6.0)
|
||||
json (1.7.0)
|
||||
metaclass (0.0.1)
|
||||
mime-types (1.18)
|
||||
@ -28,6 +32,7 @@ PLATFORMS
|
||||
ruby
|
||||
|
||||
DEPENDENCIES
|
||||
activesupport
|
||||
json
|
||||
mocha
|
||||
rake
|
||||
|
@ -1,3 +1,4 @@
|
||||
source "https://rubygems.org"
|
||||
gemspec :path => File.join(File.dirname(__FILE__), "..")
|
||||
gem "yajl-ruby"
|
||||
gem "activesupport"
|
||||
|
@ -8,6 +8,10 @@ PATH
|
||||
GEM
|
||||
remote: https://rubygems.org/
|
||||
specs:
|
||||
activesupport (3.2.3)
|
||||
i18n (~> 0.6)
|
||||
multi_json (~> 1.0)
|
||||
i18n (0.6.0)
|
||||
metaclass (0.0.1)
|
||||
mime-types (1.18)
|
||||
mocha (0.11.3)
|
||||
@ -28,6 +32,7 @@ PLATFORMS
|
||||
ruby
|
||||
|
||||
DEPENDENCIES
|
||||
activesupport
|
||||
mocha
|
||||
rake
|
||||
shoulda
|
||||
|
3
test/test_stripe_with_active_support.rb
Normal file
3
test/test_stripe_with_active_support.rb
Normal file
@ -0,0 +1,3 @@
|
||||
require 'active_support'
|
||||
ActiveSupport.autoloads.each_key {|sym| ActiveSupport.const_get(sym)}
|
||||
load File.expand_path(File.join(File.dirname(__FILE__), 'test_stripe.rb'))
|
Loading…
x
Reference in New Issue
Block a user