Merge pull request #145 from stripe/fix-gemfiles

Fix gemfiles for use with Ruby  < 1.9.3
This commit is contained in:
Russell Davis 2014-07-14 10:58:16 -07:00
commit 1d49b4cc41
4 changed files with 30 additions and 5 deletions

View File

@ -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

View File

@ -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

View File

@ -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'

View File

@ -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'