Patch to allow "rake notes" to find "# - FIXME ..." in addition to "# FIXME ..." (for rdoc niceness)

1 view
Skip to first unread message

Philip Hallstrom

unread,
Oct 30, 2007, 10:28:39 PM10/30/07
to rubyonra...@googlegroups.com
Howdy everyone -

They say they want votes of confidence (or excitement or something :) for
patches these days. So I've got one... not super exciting, but there it
is...

http://dev.rubyonrails.org/ticket/10037

Description:
--------------------------------------------------------------------------
Currently "rake notes" will search for the following patterns:

# FOO ....

where "FOO" is one of the valid keywords. Without thinking about it
however, I have been using it like this:

# - FOO ....
# - FOO ....

So that when I generate rdocs for my app these lines come through as a
bulleted list, not jumbled together in one long line. But "rake notes"
doesn't find these.

The below patch fixes this and also allows for '# * FOO" as that also is
used by rdoc to make lists.

(see the ticket url for the patch, it's short, but gets line wrapped into
ugliness)
--------------------------------------------------------------------------

So if you like it, give it an endorsement (+1).

Thanks -philip

Reply all
Reply to author
Forward
0 new messages