Rakefile in dchelimsky-rspec-rails-1.1.11.3 vs Rakefile in dchelimsky-rspec-rails-1.1.11.4

- old
+ new

@@ -1,9 +1,14 @@ require 'rubygems' require 'hoe' require './lib/spec/rails/version' +require 'cucumber/rake/task' +$:.unshift(File.join(File.dirname(__FILE__), "/../rspec/lib")) + +require 'spec/rake/spectask' + class Hoe def extra_deps @extra_deps.reject! { |x| Array(x).first == 'hoe' } @extra_deps end @@ -13,11 +18,11 @@ p.summary = Spec::Rails::VERSION::SUMMARY p.url = 'http://rspec.info/' p.description = "Behaviour Driven Development for Ruby on Rails." p.rubyforge_name = 'rspec' p.developer('RSpec Development Team', 'rspec-devel@rubyforge.org') - p.extra_deps = [["rspec","1.1.11.3"]] + p.extra_deps = [["rspec","1.1.11.4"]] p.extra_dev_deps = [["cucumber",">= 0.1.13"]] p.remote_rdoc_dir = "rspec-rails/#{Spec::Rails::VERSION::STRING}" end ['audit','test','test_deps','default','post_blog', 'release'].each do |task| @@ -35,6 +40,16 @@ puts "Releasing rspec-rails version #{version} ..." ["#{pkg}.gem", "#{pkg}.tgz"].each do |file| rubyforge.add_file('rspec', 'rspec', Spec::Rails::VERSION::STRING, file) end -end +end + +task :spec do + system "spec spec" +end + +Spec::Rake::SpecTask.new + +Cucumber::Rake::Task.new + +task :default => [:features] \ No newline at end of file