Sha256: 38fe455666789e9607e8ae1b3f51d9c4dc75e3902e6fec8bdfe8ee5bae418392

Contents?: true

Size: 335 Bytes

Versions: 1

Compression:

Stored size: 335 Bytes

Contents

module Codeguard
  module GitMessage
    module_function

    def config_project_path
      Pathname.new '.gitmessage'
    end

    def config_gem_path
      Codeguard.config_path.join('.gitmessage')
    end

    def after_install
      `git config commit.template .gitmessage`
    end
  end # module GitMessage
end # module Codeguard

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
codeguard-0.1.0 lib/codeguard/git_message.rb