Gemfile in ransack-3.2.1 vs Gemfile in ransack-4.0.0
- old
+ new
@@ -12,42 +12,42 @@
rails.gsub(/^v/, '')
else
rails
end
-gem 'faker', '~> 2.0'
-gem 'sqlite3', '~> 1.4.1'
-gem 'pg', '~> 1.0'
-gem 'pry', '~> 0.12.2'
+gem 'faker'
+gem 'sqlite3'
+gem 'pg'
+gem 'pry'
gem 'byebug'
case rails
when /\// # A path
gem 'activesupport', path: "#{rails}/activesupport"
gem 'activemodel', path: "#{rails}/activemodel"
gem 'activerecord', path: "#{rails}/activerecord", require: false
gem 'actionpack', path: "#{rails}/actionpack"
gem 'actionview', path: "#{rails}/actionview"
when /^v/ # A tagged version
- git 'https://github.com/rails/rails.git', :tag => rails do
+ git 'https://github.com/rails/rails.git', tag: rails do
gem 'activesupport'
gem 'activemodel'
gem 'activerecord', require: false
gem 'actionpack'
end
else
- git 'https://github.com/rails/rails.git', :branch => rails do
+ git 'https://github.com/rails/rails.git', branch: rails do
gem 'activesupport'
gem 'activemodel'
gem 'activerecord', require: false
gem 'actionpack'
end
end
-gem 'mysql2', '~> 0.5.2'
+gem 'mysql2'
group :test do
gem 'machinist', '~> 1.0.6'
- gem 'rspec', '~> 3'
- gem 'simplecov', :require => false
+ gem 'rspec'
+ gem 'simplecov', require: false
end
gem 'rubocop', require: false