Rakefile in vidibus-helpers-0.0.4 vs Rakefile in vidibus-helpers-0.0.5
- old
+ new
@@ -1,8 +1,8 @@
require "rubygems"
require "rake"
-require "rake/rdoctask"
+require "rdoc/task"
require "rspec"
require "rspec/core/rake_task"
begin
require "jeweler"
@@ -17,11 +17,11 @@
Jeweler::GemcutterTasks.new
rescue LoadError
puts "Jeweler (or a dependency) not available. Install it with: gem install jeweler"
end
-Rspec::Core::RakeTask.new(:rcov) do |t|
+RSpec::Core::RakeTask.new(:rcov) do |t|
t.pattern = "spec/**/*_spec.rb"
t.rcov = true
t.rcov_opts = ["--exclude", "^spec,/gems/"]
end
@@ -31,5 +31,7 @@
rdoc.title = "vidibus-helpers #{version}"
rdoc.rdoc_files.include("README*")
rdoc.rdoc_files.include("lib/**/*.rb")
rdoc.options << "--charset=utf-8"
end
+
+task :default => :rcov