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 /activerecord | |
parent | 5ebc1d88d3c80f8773d39b155a4e6f66544ec46b (diff) | |
download | rails-b50635a59f7d2fab2cdba348c4169536fbbb77f4.tar.gz rails-b50635a59f7d2fab2cdba348c4169536fbbb77f4.tar.bz2 rails-b50635a59f7d2fab2cdba348c4169536fbbb77f4.zip |
update Rakefiles for RDoc 2.5
Diffstat (limited to 'activerecord')
-rw-r--r-- | activerecord/Rakefile | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/activerecord/Rakefile b/activerecord/Rakefile index 8d81622760..66ebb6344c 100644 --- a/activerecord/Rakefile +++ b/activerecord/Rakefile @@ -2,7 +2,7 @@ gem 'rdoc', '>= 2.5.9' require 'rdoc' require 'rake' require 'rake/testtask' -require 'rake/rdoctask' +require 'rdoc/task' require 'rake/packagetask' require 'rake/gempackagetask' @@ -166,12 +166,12 @@ task :rebuild_frontbase_databases => 'frontbase:rebuild_databases' # Generate the RDoc documentation -Rake::RDocTask.new { |rdoc| +RDoc::Task.new { |rdoc| rdoc.rdoc_dir = 'doc' rdoc.title = "Active Record -- Object-relation mapping put on rails" - rdoc.options << '--line-numbers' << '--inline-source' << '-A cattr_accessor=object' + rdoc.options << '-f' << 'horo' + rdoc.options << '--main' << 'README.rdoc' rdoc.options << '--charset' << 'utf-8' - rdoc.template = ENV['template'] ? "#{ENV['template']}.rb" : '../doc/template/horo' rdoc.rdoc_files.include('README.rdoc', 'RUNNING_UNIT_TESTS', 'CHANGELOG') rdoc.rdoc_files.include('lib/**/*.rb') rdoc.rdoc_files.exclude('lib/active_record/vendor/*') |