tasks/rdoc.rake in taskjuggler-3.4.0 vs tasks/rdoc.rake in taskjuggler-3.5.0
- old
+ new
@@ -1,5 +1,9 @@
-require 'rake/rdoctask'
+if RUBY_VERSION < '1.9.3'
+ require 'rake/rdoctask'
+else
+ require 'rdoc/task'
+end
# RDOC TASK
Rake::RDocTask.new(:rdoc) do |t|
t.rdoc_files = %w( README.rdoc COPYING CHANGELOG ) +
`git ls-files -- lib`.split("\n")