Rakefile in dbf-1.0.11 vs Rakefile in dbf-1.1.0
- old
+ new
@@ -25,9 +25,16 @@
desc "Run specs"
Spec::Rake::SpecTask.new :spec do |t|
t.spec_files = FileList['spec/**/*spec.rb']
end
+desc "Run rcov"
+Spec::Rake::SpecTask.new :rcov do |t|
+ t.spec_files = FileList['spec/**/*spec.rb']
+ t.rcov = true
+ t.rcov_opts = ["--exclude ~\/.gem"]
+end
+
desc "Run spec docs"
Spec::Rake::SpecTask.new :specdoc do |t|
t.spec_opts = ["-f specdoc"]
t.spec_files = FileList['spec/**/*spec.rb']
end