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

55 lines
1.2 KiB
Text
Raw Normal View History

2013-12-06 19:51:55 -05:00
source 'https://rubygems.org'
2011-03-30 20:31:39 -04:00
gemspec
gem 'rake'
2016-07-14 07:17:37 -04:00
rails = ENV['RAILS'] || '5-0-stable'
if rails == 'master'
2015-04-05 06:35:37 -04:00
gem 'polyamorous', github: 'activerecord-hackery/polyamorous'
else
2015-12-09 18:18:31 -05:00
gem 'polyamorous', '~> 1.3'
end
2014-08-01 01:15:58 -04: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 02:42:45 -04:00
gem 'activerecord', path: "#{rails}/activerecord", require: false
2014-06-08 20:59:16 -04: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 02:42:45 -04:00
gem 'activerecord', require: false
gem 'actionpack'
end
else
git 'git://github.com/rails/rails.git', :branch => rails do
gem 'activesupport'
gem 'activemodel'
2014-08-01 02:42:45 -04:00
gem 'activerecord', require: false
gem 'actionpack'
end
2013-12-04 10:09:33 -05:00
if rails == '3-0-stable'
gem 'mysql2', '< 0.3'
end
2012-01-19 09:06:10 -05:00
end
2014-08-01 02:42:45 -04:00
2016-01-06 15:30:08 -05:00
if ENV['DB'] =~ /mongoid4/
2015-12-26 02:10:24 -05:00
gem 'mongoid', '~> 4.0.0', require: false
2014-08-04 01:43:36 -04:00
end
2016-01-06 15:30:08 -05:00
if ENV['DB'] =~ /mongoid5/
gem 'mongoid', '~> 5.0.0', require: false
end
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'
end