Rakefile in popularity-0.1.1 vs Rakefile in popularity-0.2.1

- old
+ new

@@ -23,23 +23,20 @@ gem.authors = ["Jeff Keen"] # dependencies defined in Gemfile end Jeweler::RubygemsDotOrgTasks.new -require 'rake/testtask' -Rake::TestTask.new(:test) do |test| - test.libs << 'lib' << 'test' - test.pattern = 'test/**/test_*.rb' - test.verbose = true -end - desc "Code coverage detail" task :simplecov do ENV['COVERAGE'] = "true" - Rake::Task['test'].execute + Rake::Task['spec'].execute end -task :default => :test +task :default => [:spec] +desc 'run Rspec specs' +task :spec do + sh 'rspec spec' +end require 'rdoc/task' Rake::RDocTask.new do |rdoc| version = File.exist?('VERSION') ? File.read('VERSION') : ""