Gemfile in ransack-2.3.0 vs Gemfile in ransack-2.3.1
- old
+ new
@@ -3,20 +3,32 @@
gem 'rake'
rails = ENV['RAILS'] || '6-0-stable'
-gem 'pry'
+rails_version = case rails
+ when /\// # A path
+ File.read(File.join(rails, "RAILS_VERSION"))
+ when /^v/ # A tagged version
+ rails.gsub(/^v/, '')
+ else
+ rails
+ end
-# Provide timezone information on Windows
-gem 'tzinfo-data', platforms: [:mingw, :mswin, :x64_mingw]
+gem 'faker', '~> 0.9.5'
+gem 'sqlite3', ::Gem::Version.new(rails_version) >= ::Gem::Version.new('6-0-stable') ? '~> 1.4.1' : '~> 1.3.3'
+gem 'pg', '~> 1.0'
+gem 'pry', '0.10'
+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
gem 'activesupport'
gem 'activemodel'
gem 'activerecord', require: false
@@ -31,9 +43,9 @@
end
end
gem 'mysql2', '~> 0.5.2'
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'
+ gem 'machinist', '~> 1.0.6'
+ gem 'rspec', '~> 3'
gem 'simplecov', :require => false
end