Permalink
Browse files

Updated rake:notes to search app, config, lib, script and test dirs

  • Loading branch information...
1 parent 6c705e3 commit a85caaa185d856f3450ea3cfbc703cd7c727d23d @jwarwick jwarwick committed with jwarwick Jun 19, 2011
Showing with 4 additions and 4 deletions.
  1. +4 −4 railties/lib/rails/source_annotation_extractor.rb
@@ -28,9 +28,9 @@ def to_s(options={})
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 @@ def initialize(tag)
# 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

0 comments on commit a85caaa

Please sign in to comment.