From de757af8b0fc5b66a4c089b1506d498aa504af5e Mon Sep 17 00:00:00 2001 From: Xavier Noria Date: Sun, 12 Jun 2011 12:09:08 +0200 Subject: 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. --- Rakefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Rakefile') 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') -- cgit v1.2.3