activerecord-hackery--ransack/Gemfile

54 lines
1.4 KiB
Ruby
Raw Normal View History

2013-12-07 00:51:55 +00:00
source 'https://rubygems.org'
2011-03-31 00:31:39 +00:00
gemspec
gem 'rake'
2019-05-28 08:56:26 +00:00
rails = ENV['RAILS'] || '6-0-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', ::Gem::Version.new(rails_version == 'main' ? '6.2.0.alpha' : rails_version) >= ::Gem::Version.new('6-0-stable') ? '~> 1.4.1' : '~> 1.3.3'
2019-08-18 18:56:58 +00:00
gem 'pg', '~> 1.0'
gem 'pry', '~> 0.12.2'
gem 'byebug'
2014-08-01 05:15:58 +00:00
case rails
when /\// # A path
gem 'activesupport', path: "#{rails}/activesupport"
gem 'activemodel', path: "#{rails}/activemodel"
2014-08-01 06:42:45 +00:00
gem 'activerecord', path: "#{rails}/activerecord", require: false
2014-06-09 00:59:16 +00:00
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'
2014-08-01 06:42:45 +00:00
gem 'activerecord', require: false
gem 'actionpack'
end
else
git 'https://github.com/rails/rails.git', :branch => rails do
gem 'activesupport'
gem 'activemodel'
2014-08-01 06:42:45 +00:00
gem 'activerecord', require: false
gem 'actionpack'
end
2012-01-19 14:06:10 +00:00
end
2019-05-28 08:56:48 +00:00
gem 'mysql2', '~> 0.5.2'
2014-08-01 06:42:45 +00:00
group :test do
gem 'machinist', '~> 1.0.6'
gem 'rspec', '~> 3'
2017-10-09 14:23:51 +00:00
gem 'simplecov', :require => false
end
gem 'rubocop', require: false