mirror of
https://github.com/activerecord-hackery/ransack.git
synced 2022-11-09 13:47:45 -05:00
Update Gemfile: Rails 4-0-stable default, new hash syntax,
and remove the polyamorous gem (which is already specified in the gemspec).
This commit is contained in:
parent
9872951129
commit
62da375f0c
1 changed files with 7 additions and 8 deletions
15
Gemfile
15
Gemfile
|
@ -3,26 +3,25 @@ gemspec
|
|||
|
||||
gem 'rake'
|
||||
|
||||
rails = ENV['RAILS'] || '3-2-stable'
|
||||
rails = ENV['RAILS'] || '4-0-stable'
|
||||
|
||||
gem 'arel'
|
||||
gem 'polyamorous', '0.6.2'
|
||||
|
||||
case rails
|
||||
when /\// # A path
|
||||
gem 'activesupport', :path => "#{rails}/activesupport"
|
||||
gem 'activemodel', :path => "#{rails}/activemodel"
|
||||
gem 'activerecord', :path => "#{rails}/activerecord"
|
||||
gem 'actionpack', :path => "#{rails}/activerecord"
|
||||
gem 'activesupport', path: "#{rails}/activesupport"
|
||||
gem 'activemodel', path: "#{rails}/activemodel"
|
||||
gem 'activerecord', path: "#{rails}/activerecord"
|
||||
gem 'actionpack', path: "#{rails}/activerecord"
|
||||
when /^v/ # A tagged version
|
||||
git 'git://github.com/rails/rails.git', :tag => rails do
|
||||
git 'git://github.com/rails/rails.git', tag: rails do
|
||||
gem 'activesupport'
|
||||
gem 'activemodel'
|
||||
gem 'activerecord'
|
||||
gem 'actionpack'
|
||||
end
|
||||
else
|
||||
git 'git://github.com/rails/rails.git', :branch => rails do
|
||||
git 'git://github.com/rails/rails.git', branch: rails do
|
||||
gem 'activesupport'
|
||||
gem 'activemodel'
|
||||
gem 'activerecord'
|
||||
|
|
Loading…
Reference in a new issue