mirror of
https://github.com/Fishwaldo/role_model.git
synced 2025-03-15 11:32:04 +00:00
Updated rdoc to remove deprecation warnings.
This commit is contained in:
parent
c2f1f054b0
commit
ed0d286204
2 changed files with 3 additions and 2 deletions
1
Gemfile
1
Gemfile
|
@ -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
|
||||
|
|
4
Rakefile
4
Rakefile
|
@ -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'
|
||||
|
|
Loading…
Add table
Reference in a new issue