Sha256: 1e2ff2b96f2fc8a9a4ea5f0ad50f2ec762f575bd2e02757b0bca40dd0d047f1c
Contents?: true
Size: 368 Bytes
Versions: 1
Compression:
Stored size: 368 Bytes
Contents
require "git_tracker/version" require "git_tracker/prepare_commit_message" module GitTracker def self.execute(hook, *args) hook_name = hook.gsub(/-/, '_') abort("[git_tracker] hook: '#{hook}' does not exist.") unless respond_to?(hook_name) send(hook_name, *args) end def self.prepare_commit_msg(*args) PrepareCommitMessage.run(*args) end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
git_tracker-0.0.1 | lib/git_tracker.rb |