Rakefile in pdfkit-0.5.3 vs Rakefile in pdfkit-0.5.4
- old
+ new
@@ -11,11 +11,11 @@
spec.rcov = true
end
task :default => :spec
-require 'rake/rdoctask'
-Rake::RDocTask.new do |rdoc|
+require 'rdoc/task'
+RDoc::Task.new do |rdoc|
version = File.exist?('VERSION') ? File.read('VERSION') : ""
rdoc.rdoc_dir = 'rdoc'
rdoc.title = "PDFKit #{version}"
rdoc.rdoc_files.include('README*')