Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

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.
  • Loading branch information...
commit de757af8b0fc5b66a4c089b1506d498aa504af5e 1 parent e591d14
Xavier Noria fxn authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  Rakefile
2  Rakefile
View
@@ -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')
Please sign in to comment.
Something went wrong with that request. Please try again.