{"action":"closed","number":40,"pull_request":{"url":"https://api.github.com/repos/wecodemore/grunt-githooks/pulls/40","id":42204430,"html_url":"https://github.com/wecodemore/grunt-githooks/pull/40","diff_url":"https://github.com/wecodemore/grunt-githooks/pull/40.diff","patch_url":"https://github.com/wecodemore/grunt-githooks/pull/40.patch","issue_url":"https://api.github.com/repos/wecodemore/grunt-githooks/issues/40","number":40,"state":"closed","locked":false,"title":"Add {{ hook }} template variable","user":{"login":"markcarver","id":351902,"avatar_url":"https://avatars.githubusercontent.com/u/351902?v=3","gravatar_id":"","url":"https://api.github.com/users/markcarver","html_url":"https://github.com/markcarver","followers_url":"https://api.github.com/users/markcarver/followers","following_url":"https://api.github.com/users/markcarver/following{/other_user}","gists_url":"https://api.github.com/users/markcarver/gists{/gist_id}","starred_url":"https://api.github.com/users/markcarver/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/markcarver/subscriptions","organizations_url":"https://api.github.com/users/markcarver/orgs","repos_url":"https://api.github.com/users/markcarver/repos","events_url":"https://api.github.com/users/markcarver/events{/privacy}","received_events_url":"https://api.github.com/users/markcarver/received_events","type":"User","site_admin":false},"body":"Pretty simple PR, but would be nice to have the ability to determine what the current hook is if there are multiple hooks sharing the same template.","created_at":"2015-08-12T04:59:05Z","updated_at":"2015-08-12T16:14:06Z","closed_at":"2015-08-12T16:14:06Z","merged_at":"2015-08-12T16:14:06Z","merge_commit_sha":"848b55b372d16ff35b115abb68f9edf8a03a92f3","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/wecodemore/grunt-githooks/pulls/40/commits","review_comments_url":"https://api.github.com/repos/wecodemore/grunt-githooks/pulls/40/comments","review_comment_url":"https://api.github.com/repos/wecodemore/grunt-githooks/pulls/comments{/number}","comments_url":"https://api.github.com/repos/wecodemore/grunt-githooks/issues/40/comments","statuses_url":"https://api.github.com/repos/wecodemore/grunt-githooks/statuses/3066ec16171aab95b3f819aa417debec8be75fc1","head":{"label":"markcarver:hook-variable","ref":"hook-variable","sha":"3066ec16171aab95b3f819aa417debec8be75fc1","user":{"login":"markcarver","id":351902,"avatar_url":"https://avatars.githubusercontent.com/u/351902?v=3","gravatar_id":"","url":"https://api.github.com/users/markcarver","html_url":"https://github.com/markcarver","followers_url":"https://api.github.com/users/markcarver/followers","following_url":"https://api.github.com/users/markcarver/following{/other_user}","gists_url":"https://api.github.com/users/markcarver/gists{/gist_id}","starred_url":"https://api.github.com/users/markcarver/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/markcarver/subscriptions","organizations_url":"https://api.github.com/users/markcarver/orgs","repos_url":"https://api.github.com/users/markcarver/repos","events_url":"https://api.github.com/users/markcarver/events{/privacy}","received_events_url":"https://api.github.com/users/markcarver/received_events","type":"User","site_admin":false},"repo":{"id":40580804,"name":"grunt-githooks","full_name":"markcarver/grunt-githooks","owner":{"login":"markcarver","id":351902,"avatar_url":"https://avatars.githubusercontent.com/u/351902?v=3","gravatar_id":"","url":"https://api.github.com/users/markcarver","html_url":"https://github.com/markcarver","followers_url":"https://api.github.com/users/markcarver/followers","following_url":"https://api.github.com/users/markcarver/following{/other_user}","gists_url":"https://api.github.com/users/markcarver/gists{/gist_id}","starred_url":"https://api.github.com/users/markcarver/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/markcarver/subscriptions","organizations_url":"https://api.github.com/users/markcarver/orgs","repos_url":"https://api.github.com/users/markcarver/repos","events_url":"https://api.github.com/users/markcarver/events{/privacy}","received_events_url":"https://api.github.com/users/markcarver/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/markcarver/grunt-githooks","description":"A Grunt plugin to help bind Grunt tasks to Git hooks","fork":true,"url":"https://api.github.com/repos/markcarver/grunt-githooks","forks_url":"https://api.github.com/repos/markcarver/grunt-githooks/forks","keys_url":"https://api.github.com/repos/markcarver/grunt-githooks/keys{/key_id}","collaborators_url":"https://api.github.com/repos/markcarver/grunt-githooks/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/markcarver/grunt-githooks/teams","hooks_url":"https://api.github.com/repos/markcarver/grunt-githooks/hooks","issue_events_url":"https://api.github.com/repos/markcarver/grunt-githooks/issues/events{/number}","events_url":"https://api.github.com/repos/markcarver/grunt-githooks/events","assignees_url":"https://api.github.com/repos/markcarver/grunt-githooks/assignees{/user}","branches_url":"https://api.github.com/repos/markcarver/grunt-githooks/branches{/branch}","tags_url":"https://api.github.com/repos/markcarver/grunt-githooks/tags","blobs_url":"https://api.github.com/repos/markcarver/grunt-githooks/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/markcarver/grunt-githooks/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/markcarver/grunt-githooks/git/refs{/sha}","trees_url":"https://api.github.com/repos/markcarver/grunt-githooks/git/trees{/sha}","statuses_url":"https://api.github.com/repos/markcarver/grunt-githooks/statuses/{sha}","languages_url":"https://api.github.com/repos/markcarver/grunt-githooks/languages","stargazers_url":"https://api.github.com/repos/markcarver/grunt-githooks/stargazers","contributors_url":"https://api.github.com/repos/markcarver/grunt-githooks/contributors","subscribers_url":"https://api.github.com/repos/markcarver/grunt-githooks/subscribers","subscription_url":"https://api.github.com/repos/markcarver/grunt-githooks/subscription","commits_url":"https://api.github.com/repos/markcarver/grunt-githooks/commits{/sha}","git_commits_url":"https://api.github.com/repos/markcarver/grunt-githooks/git/commits{/sha}","comments_url":"https://api.github.com/repos/markcarver/grunt-githooks/comments{/number}","issue_comment_url":"https://api.github.com/repos/markcarver/grunt-githooks/issues/comments{/number}","contents_url":"https://api.github.com/repos/markcarver/grunt-githooks/contents/{+path}","compare_url":"https://api.github.com/repos/markcarver/grunt-githooks/compare/{base}...{head}","merges_url":"https://api.github.com/repos/markcarver/grunt-githooks/merges","archive_url":"https://api.github.com/repos/markcarver/grunt-githooks/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/markcarver/grunt-githooks/downloads","issues_url":"https://api.github.com/repos/markcarver/grunt-githooks/issues{/number}","pulls_url":"https://api.github.com/repos/markcarver/grunt-githooks/pulls{/number}","milestones_url":"https://api.github.com/repos/markcarver/grunt-githooks/milestones{/number}","notifications_url":"https://api.github.com/repos/markcarver/grunt-githooks/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/markcarver/grunt-githooks/labels{/name}","releases_url":"https://api.github.com/repos/markcarver/grunt-githooks/releases{/id}","created_at":"2015-08-12T04:53:12Z","updated_at":"2015-08-12T04:53:12Z","pushed_at":"2015-08-12T04:57:47Z","git_url":"git://github.com/markcarver/grunt-githooks.git","ssh_url":"git@github.com:markcarver/grunt-githooks.git","clone_url":"https://github.com/markcarver/grunt-githooks.git","svn_url":"https://github.com/markcarver/grunt-githooks","homepage":"https://npmjs.org/package/grunt-githooks","size":211,"stargazers_count":0,"watchers_count":0,"language":"JavaScript","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"wecodemore:master","ref":"master","sha":"8a9537f98a55d8060a349afa12db747b7c157e75","user":{"login":"wecodemore","id":3220751,"avatar_url":"https://avatars.githubusercontent.com/u/3220751?v=3","gravatar_id":"","url":"https://api.github.com/users/wecodemore","html_url":"https://github.com/wecodemore","followers_url":"https://api.github.com/users/wecodemore/followers","following_url":"https://api.github.com/users/wecodemore/following{/other_user}","gists_url":"https://api.github.com/users/wecodemore/gists{/gist_id}","starred_url":"https://api.github.com/users/wecodemore/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/wecodemore/subscriptions","organizations_url":"https://api.github.com/users/wecodemore/orgs","repos_url":"https://api.github.com/users/wecodemore/repos","events_url":"https://api.github.com/users/wecodemore/events{/privacy}","received_events_url":"https://api.github.com/users/wecodemore/received_events","type":"Organization","site_admin":false},"repo":{"id":12528403,"name":"grunt-githooks","full_name":"wecodemore/grunt-githooks","owner":{"login":"wecodemore","id":3220751,"avatar_url":"https://avatars.githubusercontent.com/u/3220751?v=3","gravatar_id":"","url":"https://api.github.com/users/wecodemore","html_url":"https://github.com/wecodemore","followers_url":"https://api.github.com/users/wecodemore/followers","following_url":"https://api.github.com/users/wecodemore/following{/other_user}","gists_url":"https://api.github.com/users/wecodemore/gists{/gist_id}","starred_url":"https://api.github.com/users/wecodemore/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/wecodemore/subscriptions","organizations_url":"https://api.github.com/users/wecodemore/orgs","repos_url":"https://api.github.com/users/wecodemore/repos","events_url":"https://api.github.com/users/wecodemore/events{/privacy}","received_events_url":"https://api.github.com/users/wecodemore/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/wecodemore/grunt-githooks","description":"A Grunt plugin to help bind Grunt tasks to Git hooks","fork":false,"url":"https://api.github.com/repos/wecodemore/grunt-githooks","forks_url":"https://api.github.com/repos/wecodemore/grunt-githooks/forks","keys_url":"https://api.github.com/repos/wecodemore/grunt-githooks/keys{/key_id}","collaborators_url":"https://api.github.com/repos/wecodemore/grunt-githooks/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/wecodemore/grunt-githooks/teams","hooks_url":"https://api.github.com/repos/wecodemore/grunt-githooks/hooks","issue_events_url":"https://api.github.com/repos/wecodemore/grunt-githooks/issues/events{/number}","events_url":"https://api.github.com/repos/wecodemore/grunt-githooks/events","assignees_url":"https://api.github.com/repos/wecodemore/grunt-githooks/assignees{/user}","branches_url":"https://api.github.com/repos/wecodemore/grunt-githooks/branches{/branch}","tags_url":"https://api.github.com/repos/wecodemore/grunt-githooks/tags","blobs_url":"https://api.github.com/repos/wecodemore/grunt-githooks/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/wecodemore/grunt-githooks/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/wecodemore/grunt-githooks/git/refs{/sha}","trees_url":"https://api.github.com/repos/wecodemore/grunt-githooks/git/trees{/sha}","statuses_url":"https://api.github.com/repos/wecodemore/grunt-githooks/statuses/{sha}","languages_url":"https://api.github.com/repos/wecodemore/grunt-githooks/languages","stargazers_url":"https://api.github.com/repos/wecodemore/grunt-githooks/stargazers","contributors_url":"https://api.github.com/repos/wecodemore/grunt-githooks/contributors","subscribers_url":"https://api.github.com/repos/wecodemore/grunt-githooks/subscribers","subscription_url":"https://api.github.com/repos/wecodemore/grunt-githooks/subscription","commits_url":"https://api.github.com/repos/wecodemore/grunt-githooks/commits{/sha}","git_commits_url":"https://api.github.com/repos/wecodemore/grunt-githooks/git/commits{/sha}","comments_url":"https://api.github.com/repos/wecodemore/grunt-githooks/comments{/number}","issue_comment_url":"https://api.github.com/repos/wecodemore/grunt-githooks/issues/comments{/number}","contents_url":"https://api.github.com/repos/wecodemore/grunt-githooks/contents/{+path}","compare_url":"https://api.github.com/repos/wecodemore/grunt-githooks/compare/{base}...{head}","merges_url":"https://api.github.com/repos/wecodemore/grunt-githooks/merges","archive_url":"https://api.github.com/repos/wecodemore/grunt-githooks/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/wecodemore/grunt-githooks/downloads","issues_url":"https://api.github.com/repos/wecodemore/grunt-githooks/issues{/number}","pulls_url":"https://api.github.com/repos/wecodemore/grunt-githooks/pulls{/number}","milestones_url":"https://api.github.com/repos/wecodemore/grunt-githooks/milestones{/number}","notifications_url":"https://api.github.com/repos/wecodemore/grunt-githooks/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/wecodemore/grunt-githooks/labels{/name}","releases_url":"https://api.github.com/repos/wecodemore/grunt-githooks/releases{/id}","created_at":"2013-09-01T23:15:35Z","updated_at":"2015-07-31T06:40:09Z","pushed_at":"2015-08-12T16:14:06Z","git_url":"git://github.com/wecodemore/grunt-githooks.git","ssh_url":"git@github.com:wecodemore/grunt-githooks.git","clone_url":"https://github.com/wecodemore/grunt-githooks.git","svn_url":"https://github.com/wecodemore/grunt-githooks","homepage":"https://npmjs.org/package/grunt-githooks","size":458,"stargazers_count":288,"watchers_count":288,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":21,"mirror_url":null,"open_issues_count":12,"forks":21,"open_issues":12,"watchers":288,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/wecodemore/grunt-githooks/pulls/40"},"html":{"href":"https://github.com/wecodemore/grunt-githooks/pull/40"},"issue":{"href":"https://api.github.com/repos/wecodemore/grunt-githooks/issues/40"},"comments":{"href":"https://api.github.com/repos/wecodemore/grunt-githooks/issues/40/comments"},"review_comments":{"href":"https://api.github.com/repos/wecodemore/grunt-githooks/pulls/40/comments"},"review_comment":{"href":"https://api.github.com/repos/wecodemore/grunt-githooks/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/wecodemore/grunt-githooks/pulls/40/commits"},"statuses":{"href":"https://api.github.com/repos/wecodemore/grunt-githooks/statuses/3066ec16171aab95b3f819aa417debec8be75fc1"}},"merged":true,"mergeable":null,"mergeable_state":"unknown","merged_by":{"login":"franz-josef-kaiser","id":387666,"avatar_url":"https://avatars.githubusercontent.com/u/387666?v=3","gravatar_id":"","url":"https://api.github.com/users/franz-josef-kaiser","html_url":"https://github.com/franz-josef-kaiser","followers_url":"https://api.github.com/users/franz-josef-kaiser/followers","following_url":"https://api.github.com/users/franz-josef-kaiser/following{/other_user}","gists_url":"https://api.github.com/users/franz-josef-kaiser/gists{/gist_id}","starred_url":"https://api.github.com/users/franz-josef-kaiser/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/franz-josef-kaiser/subscriptions","organizations_url":"https://api.github.com/users/franz-josef-kaiser/orgs","repos_url":"https://api.github.com/users/franz-josef-kaiser/repos","events_url":"https://api.github.com/users/franz-josef-kaiser/events{/privacy}","received_events_url":"https://api.github.com/users/franz-josef-kaiser/received_events","type":"User","site_admin":false},"comments":1,"review_comments":0,"commits":2,"additions":2,"deletions":0,"changed_files":2}}