My favorites | Sign in
Project Home Downloads Wiki Issues Source
READ-ONLY: This project has been archived. For more information see this post.
Search
for
  Advanced search   Search tips   Subscriptions
Issue 80: PATCH Substruct should have a task to extract and list annotations
1 person starred this issue and may be notified of changes. Back to list
Status:  Fixed
Owner:  ----
Closed:  Jun 2008


 
Reported by edmundo...@gmail.com, Apr 27, 2008
This is not a bug, its a new feature.

At least in the tests, things that I will not fix but I think should be
revisited in the future are being marked with annotations (TODO, FIXME or
OPTIMIZE).

Rails have a task called "notes" to extract it from the code and list it
saying where it is. It doesn't work inside an engine. So I copied the task
and the support lib file, changed them and made a patch.

So, this is what it makes:

edmundo@toshibau305:~/.../substruct_trunk$ rake substruct:notes
(in /home/edmundo/workspace_aptana/substruct_trunk)
vendor/plugins/substruct/app/controllers/substruct_application_controller.rb:
  * [ 15] [TODO] - Clean up this messy navigation generation stuff...

vendor/plugins/substruct/app/models/order.rb:
  * [444] [TODO] - set this country_id as a preference in the admin UI
  * [705] [TODO] - create a custom id for fraud.

vendor/plugins/substruct/test/functional/admin/content_nodes_controller_test.rb:
  * [126] [TODO] Get rid of this method if it will not be used.
...

substruct_extract_annotations.patch
3.2 KB   View   Download
Jun 15, 2008
Project Member #1 subim...@gmail.com
This is sick! Committed in r103
Status: Fixed

Powered by Google Project Hosting