activerecord-hackery--ransack/Gemfile

48 lines
1.1 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'
2016-07-14 11:17:37 +00:00
rails = ENV['RAILS'] || '5-0-stable'
2014-08-01 05:15:58 +00:00
gem 'pry'
# Provide timezone information on Windows
gem 'tzinfo-data', platforms: [:mingw, :mswin, :x64_mingw]
case rails
when /\// # A path
gem 'activesupport', path: "#{rails}/activesupport"
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"
when /^v/ # A tagged version
git 'git://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
2018-06-23 17:00:21 +00:00
if rails == 'v5.2.0'
gem 'mysql2', '~> 0.4.4'
end
else
git 'git://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
2013-12-04 15:09:33 +00:00
if rails == '3-0-stable'
gem 'mysql2', '< 0.3'
end
if rails == '5-2-stable'
gem 'mysql2', '~> 0.4.4'
end
2012-01-19 14:06:10 +00:00
end
2014-08-01 06:42:45 +00:00
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'
2017-10-09 14:23:51 +00:00
gem 'simplecov', :require => false
end