NAME
Git::Hooks::RubyNoDebugger - Git::Hooks plugin that checks for calls to a Ruby debugger
DESCRIPTION
Git::Hooks::RubyNoDebugger
adds a pre-commit hook that looks for the invocation of a debugger. If one is detected the commit will be aborted.
Setup
git config --add githooks.plugin RubyNoDebugger
File Extensions
Files with the following extensions are checked: erb, haml, hbs, handlebars, rake, rb, ru, rhtml, slim, thor
Debugger Calls
The following debugger calls are checked: binding.pry
, byebug
, debug
, debugger
.
AUTHOR
Skye Shaw (sshaw [AT] gmail.com)
SEE ALSO
COPYRIGHT
Copyright (c) 2015 Skye Shaw.
This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself.