diff options
author | Aaron Patterson <aaron.patterson@gmail.com> | 2010-07-23 21:11:29 +0200 |
---|---|---|
committer | Xavier Noria <fxn@hashref.com> | 2010-07-23 21:11:29 +0200 |
commit | b50635a59f7d2fab2cdba348c4169536fbbb77f4 (patch) | |
tree | 9efa442c92693fb18bfae39c5758ac80275b8121 /activemodel | |
parent | 5ebc1d88d3c80f8773d39b155a4e6f66544ec46b (diff) | |
download | rails-b50635a59f7d2fab2cdba348c4169536fbbb77f4.tar.gz rails-b50635a59f7d2fab2cdba348c4169536fbbb77f4.tar.bz2 rails-b50635a59f7d2fab2cdba348c4169536fbbb77f4.zip |
update Rakefiles for RDoc 2.5
Diffstat (limited to 'activemodel')
-rw-r--r-- | activemodel/Rakefile | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/activemodel/Rakefile b/activemodel/Rakefile index ec44e5fb42..3fffc0d021 100644 --- a/activemodel/Rakefile +++ b/activemodel/Rakefile @@ -23,15 +23,15 @@ namespace :test do end -require 'rake/rdoctask' +require 'rdoc/task' # Generate the RDoc documentation -Rake::RDocTask.new do |rdoc| +RDoc::Task.new do |rdoc| rdoc.rdoc_dir = "doc" rdoc.title = "Active Model" - rdoc.options << '--line-numbers' << '--inline-source' << '-A cattr_accessor=object' + rdoc.options << '-f' << 'horo' rdoc.options << '--charset' << 'utf-8' - rdoc.template = ENV['template'] ? "#{ENV['template']}.rb" : '../doc/template/horo' + rdoc.options << '--main' << 'README.rdoc' rdoc.rdoc_files.include("README.rdoc", "CHANGELOG") rdoc.rdoc_files.include("lib/**/*.rb") end |