From 8ede1097f17750a91443ecde887d19c5bc701d33 Mon Sep 17 00:00:00 2001 From: Dejan Simic Date: Sun, 6 May 2012 00:23:58 +0200 Subject: [PATCH] cleanup Rakefile --- Rakefile | 17 +---------------- 1 file changed, 1 insertion(+), 16 deletions(-) diff --git a/Rakefile b/Rakefile index e09139ff..e0bd447d 100644 --- a/Rakefile +++ b/Rakefile @@ -8,24 +8,9 @@ Rake::TestTask.new(:test) do |t| t.pattern = 'test/**/*_test.rb' end -desc 'Test with recent versions of Rails' -task :test_wit_all_rails_versions do - versions = ['2.1.2', - '2.2.3', -# '2.3.14', - '3.0.11', - '3.1.3', - '3.2.1'] - versions.each do |v| - puts "\n###### TESTING WITH RAILS #{v}" - ENV['RAILS_VERSION'] = v - Rake::Task['test'].execute - end -end - desc 'Test with versions of Rails available on the system' task :test_with_installed do - versions = `gem list rails | grep rails`.gsub("rails (", "").chop.split(', ') + versions = `gem list rails | grep rails`.gsub("rails (", "").chop.chop.split(', ') exclude = [] (versions-exclude).each do |v| puts "\n###### TESTING WITH RAILS #{v}"