danger-todoist
A description of danger-todoist.
Installation
$ gem install danger-todoist
Usage
Methods and attributes from this plugin are available in
your `Dangerfile` under the `todoist` namespace.
todoist
Ensure there are no TODOS left in the modified codetodoist.warn_for_todos
Set custom warning messagetodois. = "Please fix all TODOS" todoist.warn_for_todos
List every todo itemtodoist.warn_for_todos todoist.print_todos_table
Attributes
message
- Message to be shown
Methods
warn_for_todos
- Adds a warning if there are todos found in the modified code
print_todos_table
- Adds a list of offending files to the danger comment
Development
- Clone this repo
- Run
bundle install
to setup dependencies. - Run
bundle exec rake spec
to run the tests. - Use
bundle exec guard
to automatically have tests run as you make changes. - Make your changes.