Skip to content
Browse files

Use RDoc::Task instead of the now deprecated Rake::RDoc::Task

  • Loading branch information...
1 parent e2e5ce6 commit f043447cc21d58d4be0cdb3b96752139154406d3 James Martin committed Mar 6, 2012
Showing with 3 additions and 2 deletions.
  1. +2 −2 Rakefile
  2. +1 −0 cukesalad.gemspec
View
4 Rakefile
@@ -26,8 +26,8 @@ end
task :default => [:spec, :cucumber]
-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'
View
1 cukesalad.gemspec
@@ -32,4 +32,5 @@ Gem::Specification.new do |s|
s.add_development_dependency "bundler", "~> 1.0.0"
s.add_development_dependency "rake", "~> 0.9.2"
s.add_development_dependency "relish", "= 0.3.0"
+ s.add_development_dependency "rdoc", ">= 2.4.0"
end

0 comments on commit f043447

Please sign in to comment.
Something went wrong with that request. Please try again.