aboutsummaryrefslogtreecommitdiffstats
path: root/Rakefile
diff options
context:
space:
mode:
authorXavier Noria <fxn@hashref.com>2011-06-12 12:09:08 +0200
committerXavier Noria <fxn@hashref.com>2011-06-12 12:09:08 +0200
commitde757af8b0fc5b66a4c089b1506d498aa504af5e (patch)
tree17c5abfb27dd5dece5eed6ce74d8a9730350eec8 /Rakefile
parente591d14b9c4a1220dc55c93c01a81ad6219c1f2f (diff)
downloadrails-de757af8b0fc5b66a4c089b1506d498aa504af5e.tar.gz
rails-de757af8b0fc5b66a4c089b1506d498aa504af5e.tar.bz2
rails-de757af8b0fc5b66a4c089b1506d498aa504af5e.zip
revises the pattern that excludes generator templates in API generation
With the previous pattern RDoc processed railties/lib/rails/generators/rails/plugin_new/templates/test/%name%_test.rb and that resulted in a spurious "<" class.
Diffstat (limited to 'Rakefile')
-rwxr-xr-xRakefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/Rakefile b/Rakefile
index 92b2e77963..cffa0ae80d 100755
--- a/Rakefile
+++ b/Rakefile
@@ -72,7 +72,7 @@ RDoc::Task.new do |rdoc|
rdoc.rdoc_files.include('railties/MIT-LICENSE')
rdoc.rdoc_files.include('railties/README.rdoc')
rdoc.rdoc_files.include('railties/lib/**/*.rb')
- rdoc.rdoc_files.exclude('railties/lib/rails/generators/**/templates/*')
+ rdoc.rdoc_files.exclude('railties/lib/rails/generators/**/templates/**/*.rb')
rdoc.rdoc_files.include('activerecord/README.rdoc')
rdoc.rdoc_files.include('activerecord/CHANGELOG')