Test against Rails 3-2-stable and Arel latest gem release only

This commit is contained in:
Ryan Bigg 2012-03-29 08:18:55 -05:00
parent 25ba7e3a8f
commit fc8151ac49
1 changed files with 2 additions and 12 deletions

14
Gemfile
View File

@ -3,19 +3,9 @@ gemspec
gem 'rake'
rails = ENV['RAILS'] || 'master'
arel = ENV['AREL'] || 'master'
rails = ENV['RAILS'] || '3-2-stable'
arel_opts = case arel
when /\// # A path
{:path => arel}
when /^v/ # A tagged version
{:git => 'git://github.com/rails/arel.git', :tag => arel}
else
{:git => 'git://github.com/rails/arel.git', :branch => arel}
end
gem 'arel', arel_opts
gem 'arel', '3.0.2'
case rails
when /\// # A path