Rakefile in parallel-0.3.5 vs Rakefile in parallel-0.3.6

- old
+ new

@@ -1,32 +1,19 @@ -desc "Run all specs in spec directory" -task :default do - options = "--colour --format progress --loadby --reverse" - files = FileList['spec/**/*_spec.rb'] - system("spec #{options} #{files}") -end +task :default => :spec +require 'spec/rake/spectask' +Spec::Rake::SpecTask.new {|t| t.spec_opts = ['--color']} -task :rdoc do -end - begin require 'jeweler' project_name = 'parallel' Jeweler::Tasks.new do |gem| gem.name = project_name gem.summary = "Run any kind of code in parallel processes" gem.email = "grosser.michael@gmail.com" gem.homepage = "http://github.com/grosser/#{project_name}" gem.authors = ["Michael Grosser"] - gem.rubyforge_project = 'parallel' end - # fake task so that rubyforge:release works - task :rdoc do - `mkdir rdoc` - `echo documentation is at http://github.com/grosser/#{project_name} > rdoc/README.rdoc` - end - - Jeweler::RubyforgeTasks.new + Jeweler::GemcutterTasks.new rescue LoadError puts "Jeweler, or one of its dependencies, is not available. Install it with: sudo gem install technicalpickles-jeweler -s http://gems.github.com" end \ No newline at end of file