1
0
Fork 0
mirror of https://github.com/activerecord-hackery/ransack.git synced 2022-11-09 13:47:45 -05:00
activerecord-hackery--ransack/Gemfile
2022-05-06 09:30:44 +02:00

53 lines
1.3 KiB
Ruby

source 'https://rubygems.org'
gemspec
gem 'rake'
rails = ENV['RAILS'] || '6-1-stable'
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
gem 'faker', '~> 2.0'
gem 'sqlite3', '~> 1.4.1'
gem 'pg', '~> 1.0'
gem 'pry', '~> 0.12.2'
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
gem 'actionpack'
end
else
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'
group :test do
gem 'machinist', '~> 1.0.6'
gem 'rspec', '~> 3'
gem 'simplecov', :require => false
end
gem 'rubocop', require: false