Rakefile in roadie-2.4.3 vs Rakefile in roadie-3.0.0.pre1

- old
+ new

@@ -1,29 +1,12 @@ # encoding: utf-8 require 'bundler/setup' -require 'appraisal' Bundler::GemHelper.install_tasks -begin - require 'rspec' -rescue Bundler::BundlerError => e - $stderr.puts e.message - $stderr.puts "Run `bundle install` to install missing gems" - exit e.status_code -end - -require 'rspec/core/rake_task' - desc "Run specs" -RSpec::Core::RakeTask.new('spec') do |t| - t.pattern = 'spec/**/*_spec.rb' - t.rspec_opts = ["-c"] +task :spec do + sh "bundle exec rspec -f progress" 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