Rakefile in test_frame-0.2.2 vs Rakefile in test_frame-0.2.3
- old
+ new
@@ -28,11 +28,11 @@
test.pattern = 'test/**/test_*.rb'
test.verbose = true
end
task :default => :test
-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 = "test_frame #{version}"
rdoc.rdoc_files.include('README*')