Updated rdoc to remove deprecation warnings.

This commit is contained in:
James McCarthy 2012-03-26 00:54:45 +01:00
parent c2f1f054b0
commit ed0d286204
2 changed files with 3 additions and 2 deletions

View file

@ -3,5 +3,6 @@ source 'http://rubygems.org'
group :development do
gem 'jeweler', '>=1.5.2'
gem 'rspec', '~> 2'
gem 'rdoc', '>=2.4.2'
gem 'autotest'
end

View file

@ -40,8 +40,8 @@ end
task :default => :spec
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'