Simple Git hook made by Ruby
Add this line to your application's Gemfile:
gem 'rbgithook'
And then execute:
$ bundle install
Or install it yourself as:
$ gem install rbgithook
rbgithook install
rbgithook set <file> <cmd> ex. rbgithook add pre-commit "rspec spec/"
rbgithook add <file> <cmd> ex. rbgithook add pre-commit "rubocop -a"
rbgithook uninstall
Bug reports and pull requests are welcome on GitHub at https://github.com/hyuraku/rbgithook. This project is intended to be a safe, welcoming space for collaboration, and contributors are expected to adhere to the code of conduct.
The gem is available as open source under the terms of the MIT License.
Everyone interacting in the Rbgithook project's codebases, issue trackers, chat rooms and mailing lists is expected to follow the code of conduct.