mirror of
https://github.com/thoughtbot/factory_bot_rails.git
synced 2022-11-09 11:49:18 -05:00
5b099f6773
Rails 3.1.x has code which checks which version of ruby is being run, and based on the result, selects a version of turn. For 1.9.3+, it selects "~> 0.8.3"; for everything else, it selects "0.8.2". If we remove turn from the Appraisals, but have travis install both versions that rails might potentially need, the in-generated-app Gemfile building should work correctly.
35 lines
874 B
Ruby
35 lines
874 B
Ruby
appraise "rails3.0" do
|
|
gem "rails", "3.0.18"
|
|
gem "sqlite3", ">= 1.3.4", platforms: :mri
|
|
gem "activerecord-jdbcsqlite3-adapter", "~> 1.2.5", platforms: :jruby
|
|
gem "minitest-rails"
|
|
gem "therubyrhino"
|
|
gem "jquery-rails"
|
|
gem "rspec-rails"
|
|
end
|
|
|
|
appraise "rails3.1" do
|
|
gem "rails", "3.1.9"
|
|
gem "sass-rails"
|
|
gem "coffee-rails"
|
|
gem "uglifier"
|
|
gem "sqlite3", ">= 1.3.4", platforms: :mri
|
|
gem "activerecord-jdbcsqlite3-adapter", "~> 1.2.5", platforms: :jruby
|
|
gem "minitest-rails"
|
|
gem "therubyrhino"
|
|
gem "jquery-rails"
|
|
gem "rspec-rails"
|
|
end
|
|
|
|
appraise "rails3.2" do
|
|
gem "rails", "3.2.10"
|
|
gem "sass-rails"
|
|
gem "coffee-rails"
|
|
gem "uglifier"
|
|
gem "sqlite3", ">= 1.3.4", platforms: :mri
|
|
gem "activerecord-jdbcsqlite3-adapter", "~> 1.2.5", platforms: :jruby
|
|
gem "minitest-rails"
|
|
gem "therubyrhino"
|
|
gem "jquery-rails"
|
|
gem "rspec-rails"
|
|
end
|