Rakefile in muck-activities-3.0.0 vs Rakefile in muck-activities-3.0.1

- old
+ new

@@ -1,11 +1,16 @@ require 'rake' require 'rake/testtask' require 'rake/rdoctask' +require 'rspec/core/rake_task' -desc 'Default: run tests.' +desc 'Default: run specs.' task :default => :spec +RSpec::Core::RakeTask.new(:spec) do |t| + t.rspec_opts = ["--color", "-c", "-f progress", "-r test/rails_test/spec/spec_helper.rb"] + t.pattern = 'test/rails_test/spec/**/*_spec.rb' +end begin require 'rcov/rcovtask' Rcov::RcovTask.new do |t| #t.libs << 'lib' @@ -19,11 +24,11 @@ task :rcov do abort "RCov is not available. In order to run rcov, you must: sudo gem install spicycode-rcov" end end -desc 'Generate documentation for the muck_activities plugin.' +desc 'Generate documentation for the muck-activities plugin.' Rake::RDocTask.new(:rdoc) do |rdoc| rdoc.rdoc_dir = 'rdoc' rdoc.title = 'MuckActivity' rdoc.options << '--line-numbers' << '--inline-source' rdoc.rdoc_files.include('README*') @@ -40,10 +45,10 @@ require 'jeweler' Jeweler::Tasks.new do |gemspec| gemspec.name = "muck-activities" gemspec.summary = "Activity engine for the muck system" gemspec.email = "justin@tatemae.com" - gemspec.homepage = "http://github.com/tatemae/muck_activities" + gemspec.homepage = "http://github.com/tatemae/muck-activities" gemspec.description = "Activity engine for the muck system." gemspec.authors = ["Justin Ball", "Joel Duffin"] gemspec.rubyforge_project = 'muck-activities' gemspec.add_dependency "muck-engine" gemspec.add_dependency "muck-users"