Class: TrackerGitHook::AddStoryIdHook
- Inherits:
-
Object
- Object
- TrackerGitHook::AddStoryIdHook
- Defined in:
- lib/tracker_git_hook/installer.rb
Instance Method Summary collapse
Instance Method Details
#filename ⇒ Object
21 22 23 |
# File 'lib/tracker_git_hook/installer.rb', line 21 def filename 'prepare-commit-msg' end |
#script ⇒ Object
14 15 16 17 18 19 |
# File 'lib/tracker_git_hook/installer.rb', line 14 def script "/usr/bin/env ruby -e \"require 'tracker_git_hook/prepare_commit_msg';\nTrackerGitHook::PrepareCommitMsg.new.prepare message_file_path: ARGV[0]\" $1\n BASH\nend\n" |