This is quick https://github.com/m4i/rubocop-git port to Reek.
Reek::Git
Reek for git diff.
Installation
Add this line to your application's Gemfile:
gem 'reek-git', github: 'necolt/reek-git'
And then execute:
$ bundle
Usage
Usage: reek-git [options] [[commit] commit]
-r, --require FILE Require Ruby file
--cached git diff --cached
--staged synonym of --cached
Contributing
- Fork it ( https://github.com/necolt/reek-git/fork )
- Create your feature branch (
git checkout -b my-new-feature
) - Commit your changes (
git commit -am 'Add some feature'
) - Push to the branch (
git push origin my-new-feature
) - Create a new Pull Request