Skip to content

Commit

Permalink
Rails didn't run on ruby 1.9 until 2.3, so we don't want to test pre-…
Browse files Browse the repository at this point in the history
…2.3 versions of ActiveRecord against ruby 1.9.
  • Loading branch information
myronmarston committed Mar 15, 2010
1 parent 8829406 commit e00a568
Showing 1 changed file with 7 additions and 6 deletions.
13 changes: 7 additions & 6 deletions ginger_scenarios.rb
Original file line number Diff line number Diff line change
Expand Up @@ -11,12 +11,13 @@ def create_scenario(version)
config.aliases["active_record"] = "activerecord"
config.aliases["active_support"] = "activesupport"

%w(
2.3.5 2.3.4 2.3.3 2.3.2
2.2.3 2.2.2
2.1.2 2.1.1 2.1.0
2.0.5 2.0.4 2.0.2 2.0.1 2.0.0
).each do |version|
versions = %w( 2.3.5 2.3.4 2.3.3 2.3.2 )
versions += %w(
2.2.3 2.2.2
2.1.2 2.1.1 2.1.0
2.0.5 2.0.4 2.0.2 2.0.1 2.0.0
) if RUBY_VERSION =~ /^1\.8/
versions.each do |version|
config.scenarios << create_scenario(version)
end
end

0 comments on commit e00a568

Please sign in to comment.