Gemfile in ransack-1.8.10 vs Gemfile in ransack-2.0.0
- old
+ new
@@ -20,11 +20,11 @@
gem 'activesupport'
gem 'activemodel'
gem 'activerecord', require: false
gem 'actionpack'
end
- if rails == 'v5.2.0'
+ if rails >= 'v5.2.0'
gem 'mysql2', '~> 0.4.4'
end
else
git 'git://github.com/rails/rails.git', :branch => rails do
gem 'activesupport'
@@ -36,17 +36,9 @@
gem 'mysql2', '< 0.3'
end
if rails == '5-2-stable'
gem 'mysql2', '~> 0.4.4'
end
-end
-
-if ENV['DB'] =~ /mongoid4/
- gem 'mongoid', '~> 4.0.0', require: false
-end
-
-if ENV['DB'] =~ /mongoid5/
- gem 'mongoid', '~> 5.0.0', require: false
end
group :test do
# TestUnit was removed from Ruby 2.2 but still needed for testing Rails 3.x.
gem 'test-unit', '~> 3.0' if RUBY_VERSION >= '2.2'