Test against Rails 3-2-stable and Arel latest gem release only
This commit is contained in:
parent
25ba7e3a8f
commit
fc8151ac49
14
Gemfile
14
Gemfile
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue