mirror of
https://github.com/activerecord-hackery/ransack.git
synced 2022-11-09 13:47:45 -05:00
b4973315e9
Conflicts: .travis.yml Gemfile README.md lib/ransack/adapters/active_record/3.0/context.rb lib/ransack/adapters/active_record/3.1/context.rb lib/ransack/adapters/active_record/3.2/context.rb lib/ransack/adapters/active_record/base.rb lib/ransack/adapters/active_record/context.rb lib/ransack/constants.rb lib/ransack/context.rb lib/ransack/helpers/form_builder.rb lib/ransack/helpers/form_helper.rb lib/ransack/nodes/attribute.rb lib/ransack/nodes/condition.rb lib/ransack/nodes/grouping.rb lib/ransack/nodes/sort.rb lib/ransack/predicate.rb lib/ransack/translate.rb ransack.gemspec spec/blueprints/people.rb spec/ransack/adapters/active_record/base_spec.rb spec/ransack/adapters/active_record/context_spec.rb spec/ransack/configuration_spec.rb spec/ransack/dependencies_spec.rb spec/ransack/helpers/form_builder_spec.rb spec/ransack/helpers/form_helper_spec.rb spec/ransack/predicate_spec.rb spec/ransack/search_spec.rb spec/ransack/translate_spec.rb spec/support/schema.rb
33 lines
788 B
Ruby
33 lines
788 B
Ruby
source 'https://rubygems.org'
|
|
gemspec
|
|
|
|
gem 'rake'
|
|
|
|
rails = ENV['RAILS'] || 'master'
|
|
|
|
gem 'polyamorous', github: 'activerecord-hackery/polyamorous'
|
|
|
|
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"
|
|
when /^v/ # A tagged version
|
|
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
|
|
gem 'activesupport'
|
|
gem 'activemodel'
|
|
gem 'activerecord'
|
|
gem 'actionpack'
|
|
end
|
|
if rails == '3-0-stable'
|
|
gem 'mysql2', '< 0.3'
|
|
end
|
|
end
|