aboutsummaryrefslogtreecommitdiffstats
path: root/Rakefile
diff options
context:
space:
mode:
authorCarl Lerche <me@carllerche.com>2010-09-15 13:24:00 -0700
committerCarl Lerche <me@carllerche.com>2010-09-15 13:24:00 -0700
commite4adbf76f6be58c8eb12070049aa164c00bf259e (patch)
treef83fa7a8d64fbda474fd36ca87bf887ff56c4bb9 /Rakefile
parentee90eec5054eebca05c5472848a023a2ba15b996 (diff)
downloadbundler-e4adbf76f6be58c8eb12070049aa164c00bf259e.tar.gz
Update Rakefile for rspec 2 beta22
Diffstat (limited to 'Rakefile')
-rw-r--r--Rakefile16
1 files changed, 9 insertions, 7 deletions
diff --git a/Rakefile b/Rakefile
index 1c51ec74..7030ba7a 100644
--- a/Rakefile
+++ b/Rakefile
@@ -25,9 +25,10 @@ begin
desc "Run specs"
RSpec::Core::RakeTask.new do |t|
- t.spec_opts = %w(-fs --color)
- t.warning = true
+ t.rspec_opts = %w(-fs --color)
+ t.ruby_opts = %w(-w)
end
+
task :spec => :build
namespace :spec do
@@ -52,8 +53,8 @@ begin
%w(master REL_1_3_5 REL_1_3_6).each do |rg|
desc "Run specs with Rubygems #{rg}"
RSpec::Core::RakeTask.new("spec_gems_#{rg}") do |t|
- t.spec_opts = %w(-fs --color)
- t.warning = true
+ t.rspec_opts = %w(-fs --color)
+ t.ruby_opts = %w(-w)
end
task "rubygems_#{rg}" do
@@ -77,9 +78,8 @@ begin
desc "Run specs on Ruby #{ruby}"
RSpec::Core::RakeTask.new("spec_ruby_#{ruby}") do |t|
- t.spec_opts = %w(-fs --color)
- t.warning = true
- #t.ruby_cmd = ruby_cmd
+ t.rspec_opts = %w(-fs --color)
+ t.ruby_opts = %w(-w)
end
task "ensure_ruby_#{ruby}" do
@@ -170,3 +170,5 @@ desc "Install bundler"
task :install => :gem do
sh "gem install pkg/#{gemspec.full_name}.gem"
end
+
+task :default => :spec