Rakefile in mongoid_nested_set-0.1.2 vs Rakefile in mongoid_nested_set-0.1.3
- old
+ new
@@ -32,11 +32,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 = "mongoid_nested_set #{version}"
rdoc.rdoc_files.include('README*')