mirror of
https://github.com/thoughtbot/factory_bot_rails.git
synced 2022-11-09 11:49:18 -05:00
c9fc696325
- Add Rails 5.1 and 5.2 to Appraisal - Avoid running combinations we know are going to fail by moving to "exclude" instead of "allow_failures" - Use updated migration class for Rails 5.1+
30 lines
544 B
Ruby
30 lines
544 B
Ruby
# These are the versions of Rails we want to test against.
|
|
appraise 'rails3.2' do
|
|
gem 'rails', '~> 3.2.21'
|
|
gem 'sass-rails'
|
|
end
|
|
|
|
appraise 'rails4.1' do
|
|
gem 'rails', '~> 4.1.9'
|
|
gem 'sass-rails'
|
|
gem 'spring'
|
|
end
|
|
|
|
appraise 'rails4.2' do
|
|
gem 'rails', '~> 4.2.0'
|
|
end
|
|
|
|
appraise 'rails5.0' do
|
|
gem 'activerecord', '~> 5.0.0'
|
|
gem 'railties', '~> 5.0.0'
|
|
end
|
|
|
|
appraise 'rails5.1' do
|
|
gem 'activerecord', '~> 5.1.0'
|
|
gem 'railties', '~> 5.1.0'
|
|
end
|
|
|
|
appraise 'rails5.2' do
|
|
gem 'activerecord', '~> 5.2.0'
|
|
gem 'railties', '~> 5.2.0'
|
|
end
|