diff options
author | jwarwick <jwarwick@gmail.com> | 2011-06-18 23:15:51 -0400 |
---|---|---|
committer | John Warwick <jwarwick@gmail.com> | 2011-07-06 21:41:13 -0400 |
commit | a85caaa185d856f3450ea3cfbc703cd7c727d23d (patch) | |
tree | c7eac227de74519d0909845d0a8cb3c33922b315 /railties | |
parent | 6c705e33ef78d28d5d964a03edc627f31d7f8c25 (diff) | |
download | rails-a85caaa185d856f3450ea3cfbc703cd7c727d23d.tar.gz rails-a85caaa185d856f3450ea3cfbc703cd7c727d23d.tar.bz2 rails-a85caaa185d856f3450ea3cfbc703cd7c727d23d.zip |
Updated rake:notes to search app, config, lib, script and test dirs
Diffstat (limited to 'railties')
-rw-r--r-- | railties/lib/rails/source_annotation_extractor.rb | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/railties/lib/rails/source_annotation_extractor.rb b/railties/lib/rails/source_annotation_extractor.rb index 6d6e7f8b59..1eed763aa3 100644 --- a/railties/lib/rails/source_annotation_extractor.rb +++ b/railties/lib/rails/source_annotation_extractor.rb @@ -28,9 +28,9 @@ class SourceAnnotationExtractor end end - # Prints all annotations with tag +tag+ under the root directories +app+, +lib+, - # and +test+ (recursively). Only filenames with extension +.builder+, +.rb+, - # +.rxml+, +.rhtml+, or +.erb+ are taken into account. The +options+ + # Prints all annotations with tag +tag+ under the root directories +app+, +config+, +lib+, + # +script+, and +test+ (recursively). Only filenames with extension + # +.builder+, +.rb+, +.rxml+, +.rhtml+, or +.erb+ are taken into account. The +options+ # hash is passed to each annotation's +to_s+. # # This class method is the single entry point for the rake tasks. @@ -49,7 +49,7 @@ class SourceAnnotationExtractor # with their annotations. Only files with annotations are included, and only # those with extension +.builder+, +.rb+, +.rxml+, +.rhtml+, and +.erb+ # are taken into account. - def find(dirs=%w(app lib test)) + def find(dirs=%w(app config lib script test)) dirs.inject({}) { |h, dir| h.update(find_in(dir)) } end |