mirror of
https://github.com/stripe/stripe-ruby.git
synced 2025-12-05 00:02:14 -05:00
Merge pull request #145 from stripe/fix-gemfiles
Fix gemfiles for use with Ruby < 1.9.3
This commit is contained in:
commit
1d49b4cc41
5
Gemfile
5
Gemfile
@ -1,2 +1,7 @@
|
||||
source "https://rubygems.org"
|
||||
gemspec
|
||||
|
||||
if Gem::Version.new(RUBY_VERSION) < Gem::Version.new('1.9.3')
|
||||
gem 'rest-client', '~> 1.6.8'
|
||||
gem 'activesupport', '~> 3.2'
|
||||
end
|
||||
|
||||
@ -1,3 +1,9 @@
|
||||
source "https://rubygems.org"
|
||||
gemspec :path => File.join(File.dirname(__FILE__), "..")
|
||||
gem "activesupport", "~> 3.0"
|
||||
|
||||
if Gem::Version.new(RUBY_VERSION) < Gem::Version.new('1.9.3')
|
||||
gem 'rest-client', '~> 1.6.8'
|
||||
gem 'activesupport', '~> 3.2'
|
||||
else
|
||||
gem 'activesupport'
|
||||
end
|
||||
|
||||
@ -1,4 +1,11 @@
|
||||
source "https://rubygems.org"
|
||||
gemspec :path => File.join(File.dirname(__FILE__), "..")
|
||||
gem "json"
|
||||
gem "activesupport", "~> 3.0"
|
||||
|
||||
if Gem::Version.new(RUBY_VERSION) < Gem::Version.new('1.9.3')
|
||||
gem 'rest-client', '~> 1.6.8'
|
||||
gem 'activesupport', '~> 3.2'
|
||||
else
|
||||
gem 'activesupport'
|
||||
end
|
||||
|
||||
gem 'json'
|
||||
|
||||
@ -1,4 +1,11 @@
|
||||
source "https://rubygems.org"
|
||||
gemspec :path => File.join(File.dirname(__FILE__), "..")
|
||||
gem "yajl-ruby"
|
||||
gem "activesupport", "~> 3.0"
|
||||
|
||||
if Gem::Version.new(RUBY_VERSION) < Gem::Version.new('1.9.3')
|
||||
gem 'rest-client', '~> 1.6.8'
|
||||
gem 'activesupport', '~> 3.2'
|
||||
else
|
||||
gem 'activesupport'
|
||||
end
|
||||
|
||||
gem 'yajl-ruby'
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user