Rakefile in xmlcanonicalizer-0.1.1 vs Rakefile in xmlcanonicalizer-0.1.2

- old
+ new

@@ -23,25 +23,12 @@ test.libs << 'lib' << 'test' test.pattern = 'test/**/test_*.rb' test.verbose = true end -begin - require 'rcov/rcovtask' - Rcov::RcovTask.new do |test| - test.libs << 'test' - test.pattern = 'test/**/test_*.rb' - test.verbose = true - end -rescue LoadError - task :rcov do - abort "RCov is not available. In order to run rcov, you must: sudo gem install spicycode-rcov" - end -end - task :default => :test -require 'rake/rdoctask' +require 'rdoc/task' Rake::RDocTask.new do |rdoc| version = File.exist?('VERSION') ? File.read('VERSION') : "" rdoc.rdoc_dir = 'rdoc' rdoc.title = "xmlcanonicalizer #{version}"