Skip to content

Commit

Permalink
Updated rake:notes to search app, config, lib, script and test dirs
Browse files Browse the repository at this point in the history
  • Loading branch information
jwarwick committed Jul 7, 2011
1 parent 6c705e3 commit a85caaa
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions railties/lib/rails/source_annotation_extractor.rb
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand All @@ -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

Expand Down

0 comments on commit a85caaa

Please sign in to comment.