1
0
Fork 0
mirror of https://github.com/haml/haml.git synced 2022-11-09 12:33:31 -05:00

Don't use Rails master gemfile in 1.8.7

Rails 2 is no longer supported, so remove check in gemfiles, but add
check to ignore Rails master when testing in 1.8.7.
This commit is contained in:
Matt Wildig 2012-12-17 16:22:31 +00:00
parent 9cf27ed182
commit df37fa13d9

View file

@ -94,7 +94,7 @@ def gemfiles
@gemfiles ||= begin
Dir[File.dirname(__FILE__) + '/test/gemfiles/Gemfile.*'].
reject {|f| f =~ /\.lock$/}.
reject {|f| RUBY_VERSION >= '1.9' && f =~ /2\.[0-2]/}
reject {|f| RUBY_VERSION <= '1.9' && f =~ /master/}
end
end