Rakefile in stache-1.0.0.rc vs Rakefile in stache-1.0.0
- old
+ new
@@ -8,11 +8,11 @@
# spec.ruby_opts = ['-w']
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.main = 'README.rdoc'
rdoc.rdoc_dir = 'rdoc'
rdoc.title = "stache #{version}"