Rakefile in muck-activities-3.0.1 vs Rakefile in muck-activities-3.1.0

- old
+ new

@@ -4,20 +4,20 @@ require 'rspec/core/rake_task' 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' + t.rspec_opts = ["--color", "-c", "-f progress", "-r test/spec/spec_helper.rb"] + t.pattern = 'test/spec/**/*_spec.rb' end begin require 'rcov/rcovtask' Rcov::RcovTask.new do |t| #t.libs << 'lib' - t.libs << 'test/rails_test/lib' - t.pattern = 'test/rails_test/test/**/*_test.rb' + t.libs << 'test/lib' + t.pattern = 'test/test/**/*_spec.rb' t.verbose = true t.output_dir = 'coverage' t.rcov_opts << '--exclude "gems/*"' end rescue LoadError @@ -41,20 +41,21 @@ system("babelphish -o -y #{file}") end begin 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.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" - gemspec.add_dependency "muck-comments" + Jeweler::Tasks.new do |gem| + gem.name = "muck-activities" + gem.summary = "Activity engine for the muck system" + gem.email = "justin@tatemae.com" + gem.homepage = "http://github.com/tatemae/muck-activities" + gem.description = "Activity engine for the muck system." + gem.authors = ["Justin Ball", "Joel Duffin"] + gem.add_dependency "muck-engine" + gem.add_dependency "muck-users" + gem.add_dependency "muck-comments" + gem.files.exclude 'test/**' + gem.test_files.exclude 'test/**' # exclude test directory end Jeweler::GemcutterTasks.new Jeweler::RubyforgeTasks.new do |rubyforge| rubyforge.doc_task = "rdoc" end