2014-12-30 13:09:18 -05:00
|
|
|
appraise 'rails-4.2' do
|
2014-12-31 13:41:17 -05:00
|
|
|
gem 'rails', '~> 4.2.0'
|
2016-05-05 03:35:00 -04:00
|
|
|
|
|
|
|
# The last version that doesn't need Ruby 2.0 and works with version 4.2 of
|
|
|
|
# Rails. This addresses a build problem with Travis for version 1.9.3 of Ruby
|
|
|
|
gem 'mime-types', '2.6.2', :platforms => :ruby_19
|
2014-12-31 13:41:17 -05:00
|
|
|
end
|
|
|
|
|
2016-05-12 17:47:42 -04:00
|
|
|
appraise 'rails-5.0' do
|
2018-04-11 12:09:00 -04:00
|
|
|
gem 'rails', '>= 5.0.0', '< 5.1'
|
|
|
|
end
|
|
|
|
|
|
|
|
appraise 'rails-5.1' do
|
|
|
|
gem 'rails', '>= 5.1.0', '< 5.2'
|
|
|
|
end
|
|
|
|
|
|
|
|
appraise 'rails-5.2' do
|
|
|
|
gem 'rails', '>= 5.2.0', '< 5.3'
|
2016-05-12 17:47:42 -04:00
|
|
|
end
|
|
|
|
|
2014-12-31 13:41:17 -05:00
|
|
|
appraise 'mongoid-3.0' do
|
|
|
|
gem 'mongoid', '~> 3.0.0'
|
|
|
|
end
|
|
|
|
|
|
|
|
appraise 'mongoid-3.1' do
|
|
|
|
gem 'mongoid', '~> 3.1.0'
|
2016-07-04 04:48:18 -04:00
|
|
|
gem 'json', '~> 1.8', :platforms => :ruby_19 # Json 2.0 requires Ruby >= 2.0
|
2014-12-31 13:41:17 -05:00
|
|
|
end
|
|
|
|
|
|
|
|
appraise 'mongoid-4.0' do
|
2014-12-30 13:09:18 -05:00
|
|
|
gem 'mongoid', '~> 4.0.0'
|
|
|
|
end
|
|
|
|
|
2014-12-31 13:41:17 -05:00
|
|
|
appraise 'mongo_mapper' do
|
|
|
|
gem 'mongo_mapper'
|
|
|
|
end
|
|
|
|
|
|
|
|
appraise 'ripple' do
|
|
|
|
gem 'tzinfo'
|
|
|
|
gem 'ripple'
|
|
|
|
end
|
2014-01-07 02:10:56 -05:00
|
|
|
|
|
|
|
appraise 'nobrainer' do
|
|
|
|
gem 'nobrainer'
|
2016-06-30 22:26:43 -04:00
|
|
|
|
|
|
|
# When activesupport 5 was released, it required ruby 2.2.2 as a minimum.
|
|
|
|
# Locking this down to 4.2.6 allows our Ruby 1.9 tests to keep working.
|
|
|
|
gem 'activesupport', '4.2.6', :platforms => :ruby_19
|
2014-01-07 02:10:56 -05:00
|
|
|
end
|