summaryrefslogtreecommitdiff
path: root/Rakefile
diff options
context:
space:
mode:
authorAndre Arko <andre@arko.net>2013-01-22 13:49:09 -0800
committerAndre Arko <andre@arko.net>2013-01-22 13:49:12 -0800
commitef47173f4a51e908907c28d7ea5743100911f9b6 (patch)
treed151232d58aa4927bcb513688fb7bb682875442f /Rakefile
parent2bba8ea6d03898056470da98274b9577b1964d9a (diff)
downloadbundler-ef47173f4a51e908907c28d7ea5743100911f9b6.tar.gz
create task to test against rubygems 2 rc1
Diffstat (limited to 'Rakefile')
-rw-r--r--Rakefile20
1 files changed, 10 insertions, 10 deletions
diff --git a/Rakefile b/Rakefile
index 1bd7be1e94..1d37c2f94d 100644
--- a/Rakefile
+++ b/Rakefile
@@ -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)