Rakefile in open311-0.0.1 vs Rakefile in open311-0.1.0
- old
+ new
@@ -2,22 +2,10 @@
Bundler::GemHelper.install_tasks
require 'rspec/core/rake_task'
RSpec::Core::RakeTask.new(:spec)
-namespace :spec do
- desc "Run all examples using rcov"
- RSpec::Core::RakeTask.new(:rcov => :cleanup_rcov_files) do |task|
- task.rcov = true
- task.rcov_opts = %[-Ilib -Ispec --exclude "gems/*,features,specs" --text-report --sort coverage]
- end
-end
-
-task :cleanup_rcov_files do
- rm_rf 'coverage'
-end
-
-task :default => ["spec:rcov"]
+task :default => :spec
namespace :doc do
require 'yard'
YARD::Rake::YardocTask.new do |task|
task.files = ['LICENSE.mkd', 'lib/**/*.rb']