Releases: Shopify/smart_todo
Add a new GemBump Event
-
Added a new
on: gem_bump
event which will remind you when a gem inside your
Gemfile.lock snapshot gets updated to a specific version.# TODO(on: gem_bump('rails', '6.1'), to: '...')
Multiple dispatchers
[1.1.0] - 2019-09-06
Fixed
- Fixed the SmartTodo cop to add an offense in case a SmartTodo has a wrong event.
# Bad # # TODO(on '2019-08-08')
Added
-
SmartTodo will now use the fallback channel in case a todo has a channel
assignee that doesn't exist. -
Added a new
Output
dispatcher which will just output the expired event.
By default SmartTodo will now output expired todo in the terminal instead
of not running at all.Users should now pass a
--dispatcher
to the CLI to let SmartTodo through
which dispatcher the message should be send.bin/smart_todo --dispatcher 'slack'
For backward compatibility reasons, the dispacher used will be Slack, in
case you have theENABLE_SMART_TODO
environment set. This will be removed
in the next major version.
Enforce assignee on SmartTodo
The SmartTodo cop will now add a violation if a SmartTodo has no assignee:
# Bad
#
# TODO(on: date('2019-08-08'))
Fix `issue_close` event making api call to the wrong endpoint
[1.0.1] - 2019-08-06
Fixed
- Fixed
issue_close
event making a call to thepulls/
GH endpoint instead of theissues/
one
Initial release
Merge pull request #25 from Shopify/ec-opensource Prepare to opensource SmartTodo
Encoding fix
Fix encoding issues
More fixes for ruby 2.3 and 2.4
v0.1.0.beta3 Prepare to cut beta3
Support ruby < 2.5
Fixe couple issues that would break the parser on ruby 2.3 and 2.4
SmartTodo cop to restrict usage of regular todo comment
v0.1.0.beta1 Prepare to cut beta1
New syntax
Modified the SmartTodo syntax