Skip to content

Commit

Permalink
Replace deprecated rake/rdoctask with rdoc/task
Browse files Browse the repository at this point in the history
  • Loading branch information
sferik committed Sep 6, 2011
1 parent a9dbf68 commit 7d90ca4
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Rakefile
Original file line number Original file line Diff line number Diff line change
@@ -1,11 +1,11 @@
gem "rdoc" gem "rdoc"
require 'rdoc/rdoc' require 'rdoc/rdoc'
require 'rake/rdoctask' require 'rdoc/task'
require 'fileutils' require 'fileutils'


$:.unshift "." $:.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") spec_file = File.join(ENV["RUBYGEMS_DIR"].to_s, "lib", "rubygems", "specification.rb")
rd.rdoc_files.include(spec_file) rd.rdoc_files.include(spec_file)
rd.template = "jekdoc" rd.template = "jekdoc"
Expand Down

0 comments on commit 7d90ca4

Please sign in to comment.