diff options
author | Andre Arko <andre@arko.net> | 2013-01-22 13:49:09 -0800 |
---|---|---|
committer | Andre Arko <andre@arko.net> | 2013-01-22 13:49:12 -0800 |
commit | ef47173f4a51e908907c28d7ea5743100911f9b6 (patch) | |
tree | d151232d58aa4927bcb513688fb7bb682875442f /Rakefile | |
parent | 2bba8ea6d03898056470da98274b9577b1964d9a (diff) | |
download | bundler-ef47173f4a51e908907c28d7ea5743100911f9b6.tar.gz |
create task to test against rubygems 2 rc1
Diffstat (limited to 'Rakefile')
-rw-r--r-- | Rakefile | 20 |
1 files changed, 10 insertions, 10 deletions
@@ -5,6 +5,15 @@ require 'rubygems' require 'shellwords' require 'benchmark' +task :release => ["man:clean", "man:build"] + +def safe_task(&block) + yield + true +rescue + false +end + # Benchmark task execution module Rake class Task @@ -19,15 +28,6 @@ module Rake end end -task :release => ["man:clean", "man:build"] - -def safe_task(&block) - yield - true -rescue - false -end - namespace :spec do desc "Ensure spec dependencies are installed" task :deps do @@ -88,7 +88,7 @@ begin namespace :rubygems do # Rubygems specs by version rubyopt = ENV["RUBYOPT"] - %w(master v1.3.6 v1.3.7 v1.4.2 v1.5.3 v1.6.2 v1.7.2 v1.8.24 v2.0.0.preview2.2).each do |rg| + %w(master v1.3.6 v1.3.7 v1.4.2 v1.5.3 v1.6.2 v1.7.2 v1.8.24 v2.0.0.rc.1).each do |rg| desc "Run specs with Rubygems #{rg}" RSpec::Core::RakeTask.new(rg) do |t| t.rspec_opts = %w(-fs --color) |