Permalink
Browse files

Remove deprecated 'rake/rdoctask', replace with new invocation.

  • Loading branch information...
1 parent 6f33726 commit 34f196d21b8d45cfa3cd644126294a0fed4fe629 @mipearson committed Dec 16, 2012
Showing with 2 additions and 2 deletions.
  1. +2 −2 Rakefile
View
4 Rakefile
@@ -1,5 +1,5 @@
# Rakefile for Rack::Contrib. -*-ruby-*-
-require 'rake/rdoctask'
+require 'rdoc/task'
require 'rake/testtask'
desc "Run all the tests"
@@ -26,7 +26,7 @@ task :fulltest do
end
desc "Generate RDoc documentation"
-Rake::RDocTask.new(:rdoc) do |rdoc|
+RDoc::Task.new(:rdoc) do |rdoc|
rdoc.options << '--line-numbers' << '--inline-source' <<
'--main' << 'README' <<
'--title' << 'Rack Contrib Documentation' <<

0 comments on commit 34f196d

Please sign in to comment.