Rakefile in roadie-2.2.0 vs Rakefile in roadie-2.3.0.pre1
- old
+ new
@@ -1,8 +1,8 @@
# encoding: utf-8
-require 'rubygems'
-require 'bundler'
+require 'bundler/setup'
+require 'appraisal'
Bundler::GemHelper.install_tasks
begin
require 'rspec'
@@ -20,5 +20,10 @@
t.rspec_opts = ["-c"]
end
desc "Default: Run specs"
task :default => :spec
+
+namespace :spec do
+ desc 'Run specs against all supported versions of Rails'
+ task :all => ["appraisal:install", "appraisal", "spec"]
+end