Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Replace deprecated rake/rdoctask with rdoc/task

  • Loading branch information...
commit 7d90ca4dfaf5a1eef0c2027518def4133b394382 1 parent a9dbf68
Erik Michaels-Ober sferik authored
Showing with 2 additions and 2 deletions.
  1. +2 −2 Rakefile
4 Rakefile
View
@@ -1,11 +1,11 @@
gem "rdoc"
require 'rdoc/rdoc'
-require 'rake/rdoctask'
+require 'rdoc/task'
require 'fileutils'
$:.unshift "."
-Rake::RDocTask.new(:rdoc_spec) do |rd|
+RDoc::Task.new(:rdoc_spec) do |rd|
spec_file = File.join(ENV["RUBYGEMS_DIR"].to_s, "lib", "rubygems", "specification.rb")
rd.rdoc_files.include(spec_file)
rd.template = "jekdoc"
Please sign in to comment.
Something went wrong with that request. Please try again.