lib/codeguard/git_message.rb in codeguard-0.1.0 vs lib/codeguard/git_message.rb in codeguard-0.2.0

- old
+ new

@@ -1,5 +1,6 @@ +require 'rainbow' module Codeguard module GitMessage module_function def config_project_path @@ -8,10 +9,11 @@ def config_gem_path Codeguard.config_path.join('.gitmessage') end - def after_install + def setup `git config commit.template .gitmessage` + puts Rainbow('commit.template was added to git config').green end end # module GitMessage end # module Codeguard