Replace deprecated rake/rdoctask with rdoc/task

This commit is contained in:
Erik Michaels-Ober 2012-03-06 14:21:13 -08:00
parent d61d00c3f3
commit b992e759bc
2 changed files with 3 additions and 2 deletions

View File

@ -1,9 +1,10 @@
source 'https://rubygems.org' source 'https://rubygems.org'
group :development do group :development do
gem 'shoulda'
gem 'jeweler', '>= 1.5.1' gem 'jeweler', '>= 1.5.1'
gem 'rcov' gem 'rcov'
gem 'rdoc', '>= 2.4.2'
gem 'shoulda'
end end
group :test do group :test do

View File

@ -40,7 +40,7 @@ end
task :default => :test task :default => :test
require 'rake/rdoctask' require 'rdoc/task'
Rake::RDocTask.new do |rdoc| Rake::RDocTask.new do |rdoc|
version = File.exist?('VERSION') ? File.read('VERSION') : "" version = File.exist?('VERSION') ? File.read('VERSION') : ""