Gemfile in ransack-1.7.0 vs Gemfile in ransack-1.8.0
- old
+ new
@@ -1,17 +1,18 @@
source 'https://rubygems.org'
gemspec
gem 'rake'
-rails = ENV['RAILS'] || '4-2-stable'
+rails = ENV['RAILS'] || '5-0-stable'
if rails == 'master'
+ gem 'rack', github: 'rack/rack'
gem 'arel', github: 'rails/arel'
gem 'polyamorous', github: 'activerecord-hackery/polyamorous'
else
- gem 'polyamorous', '~> 1.2'
+ gem 'polyamorous', '~> 1.3'
end
gem 'pry'
# Provide timezone information on Windows
@@ -39,11 +40,15 @@
if rails == '3-0-stable'
gem 'mysql2', '< 0.3'
end
end
-if ENV['DB'] =~ /mongodb/
+if ENV['DB'] =~ /mongoid4/
gem 'mongoid', '~> 4.0.0', require: false
+end
+
+if ENV['DB'] =~ /mongoid5/
+ gem 'mongoid', '~> 5.0.0', require: false
end
# Removed from Ruby 2.2 but needed for testing Rails 3.x.
group :test do
gem 'test-unit', '~> 3.0' if RUBY_VERSION >= '2.2'