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