GitHub PullRequestEvent at 2014-07-30 16:57:12
Repository: pd-cap-recipes
Actor: alperkokmen
Payload: {"action":"closed","number":26,"pull_request":{"url":"https://api.github.com/repos/PagerDuty/pd-cap-recipes/pulls/26","id":19062589,"html_url":"https://github.com/PagerDuty/pd-cap-recipes/pull/26","diff_url":"https://github.com/PagerDuty/pd-cap-recipes/pull/26.diff","patch_url":"https://github.com/PagerDuty/pd-cap-recipes/pull/26.patch","issue_url":"https://api.github.com/repos/PagerDuty/pd-cap-recipes/issues/26","number":26,"state":"closed","title":"fix hipchat integration to properly fetch \"human\" that's performing the deployment","user":{"login":"alperkokmen","id":1657578,"avatar_url":"https://avatars.githubusercontent.com/u/1657578?v=1","gravatar_id":"3d5e018f139da377b92aa3a79d64622d","url":"https://api.github.com/users/alperkokmen","html_url":"https://github.com/alperkokmen","followers_url":"https://api.github.com/users/alperkokmen/followers","following_url":"https://api.github.com/users/alperkokmen/following{/other_user}","gists_url":"https://api.github.com/users/alperkokmen/gists{/gist_id}","starred_url":"https://api.github.com/users/alperkokmen/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/alperkokmen/subscriptions","organizations_url":"https://api.github.com/users/alperkokmen/orgs","repos_url":"https://api.github.com/users/alperkokmen/repos","events_url":"https://api.github.com/users/alperkokmen/events{/privacy}","received_events_url":"https://api.github.com/users/alperkokmen/received_events","type":"User","site_admin":false},"body":"`ENV['USER']` will return `nil` if `USER` variable isn't set. calling `to_s` prior to comparison so it can fall back to `else` condition.\r\n\r\n(cc @esigler @steverice)","created_at":"2014-07-29T23:54:23Z","updated_at":"2014-07-30T16:57:12Z","closed_at":"2014-07-30T16:57:12Z","merged_at":"2014-07-30T16:57:12Z","merge_commit_sha":"4c8b5b27a5d673f9e5b48901ca64484d52dab359","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/PagerDuty/pd-cap-recipes/pulls/26/commits","review_comments_url":"https://api.github.com/repos/PagerDuty/pd-cap-recipes/pulls/26/comments","review_comment_url":"https://api.github.com/repos/PagerDuty/pd-cap-recipes/pulls/comments/{number}","comments_url":"https://api.github.com/repos/PagerDuty/pd-cap-recipes/issues/26/comments","statuses_url":"https://api.github.com/repos/PagerDuty/pd-cap-recipes/statuses/84a698759e1b2d1817bf706244beb504f355efd9","head":{"label":"PagerDuty:fix-hipchat-human-method","ref":"fix-hipchat-human-method","sha":"84a698759e1b2d1817bf706244beb504f355efd9","user":{"login":"PagerDuty","id":766800,"avatar_url":"https://avatars.githubusercontent.com/u/766800?v=1","gravatar_id":"6112410edab1b95911c1adf96cc1f84b","url":"https://api.github.com/users/PagerDuty","html_url":"https://github.com/PagerDuty","followers_url":"https://api.github.com/users/PagerDuty/followers","following_url":"https://api.github.com/users/PagerDuty/following{/other_user}","gists_url":"https://api.github.com/users/PagerDuty/gists{/gist_id}","starred_url":"https://api.github.com/users/PagerDuty/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/PagerDuty/subscriptions","organizations_url":"https://api.github.com/users/PagerDuty/orgs","repos_url":"https://api.github.com/users/PagerDuty/repos","events_url":"https://api.github.com/users/PagerDuty/events{/privacy}","received_events_url":"https://api.github.com/users/PagerDuty/received_events","type":"Organization","site_admin":false},"repo":{"id":3371681,"name":"pd-cap-recipes","full_name":"PagerDuty/pd-cap-recipes","owner":{"login":"PagerDuty","id":766800,"avatar_url":"https://avatars.githubusercontent.com/u/766800?v=1","gravatar_id":"6112410edab1b95911c1adf96cc1f84b","url":"https://api.github.com/users/PagerDuty","html_url":"https://github.com/PagerDuty","followers_url":"https://api.github.com/users/PagerDuty/followers","following_url":"https://api.github.com/users/PagerDuty/following{/other_user}","gists_url":"https://api.github.com/users/PagerDuty/gists{/gist_id}","starred_url":"https://api.github.com/users/PagerDuty/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/PagerDuty/subscriptions","organizations_url":"https://api.github.com/users/PagerDuty/orgs","repos_url":"https://api.github.com/users/PagerDuty/repos","events_url":"https://api.github.com/users/PagerDuty/events{/privacy}","received_events_url":"https://api.github.com/users/PagerDuty/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/PagerDuty/pd-cap-recipes","description":"A collection of Capistrano recipes used by PagerDuty to deploy rails projects.","fork":false,"url":"https://api.github.com/repos/PagerDuty/pd-cap-recipes","forks_url":"https://api.github.com/repos/PagerDuty/pd-cap-recipes/forks","keys_url":"https://api.github.com/repos/PagerDuty/pd-cap-recipes/keys{/key_id}","collaborators_url":"https://api.github.com/repos/PagerDuty/pd-cap-recipes/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/PagerDuty/pd-cap-recipes/teams","hooks_url":"https://api.github.com/repos/PagerDuty/pd-cap-recipes/hooks","issue_events_url":"https://api.github.com/repos/PagerDuty/pd-cap-recipes/issues/events{/number}","events_url":"https://api.github.com/repos/PagerDuty/pd-cap-recipes/events","assignees_url":"https://api.github.com/repos/PagerDuty/pd-cap-recipes/assignees{/user}","branches_url":"https://api.github.com/repos/PagerDuty/pd-cap-recipes/branches{/branch}","tags_url":"https://api.github.com/repos/PagerDuty/pd-cap-recipes/tags","blobs_url":"https://api.github.com/repos/PagerDuty/pd-cap-recipes/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/PagerDuty/pd-cap-recipes/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/PagerDuty/pd-cap-recipes/git/refs{/sha}","trees_url":"https://api.github.com/repos/PagerDuty/pd-cap-recipes/git/trees{/sha}","statuses_url":"https://api.github.com/repos/PagerDuty/pd-cap-recipes/statuses/{sha}","languages_url":"https://api.github.com/repos/PagerDuty/pd-cap-recipes/languages","stargazers_url":"https://api.github.com/repos/PagerDuty/pd-cap-recipes/stargazers","contributors_url":"https://api.github.com/repos/PagerDuty/pd-cap-recipes/contributors","subscribers_url":"https://api.github.com/repos/PagerDuty/pd-cap-recipes/subscribers","subscription_url":"https://api.github.com/repos/PagerDuty/pd-cap-recipes/subscription","commits_url":"https://api.github.com/repos/PagerDuty/pd-cap-recipes/commits{/sha}","git_commits_url":"https://api.github.com/repos/PagerDuty/pd-cap-recipes/git/commits{/sha}","comments_url":"https://api.github.com/repos/PagerDuty/pd-cap-recipes/comments{/number}","issue_comment_url":"https://api.github.com/repos/PagerDuty/pd-cap-recipes/issues/comments/{number}","contents_url":"https://api.github.com/repos/PagerDuty/pd-cap-recipes/contents/{+path}","compare_url":"https://api.github.com/repos/PagerDuty/pd-cap-recipes/compare/{base}...{head}","merges_url":"https://api.github.com/repos/PagerDuty/pd-cap-recipes/merges","archive_url":"https://api.github.com/repos/PagerDuty/pd-cap-recipes/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/PagerDuty/pd-cap-recipes/downloads","issues_url":"https://api.github.com/repos/PagerDuty/pd-cap-recipes/issues{/number}","pulls_url":"https://api.github.com/repos/PagerDuty/pd-cap-recipes/pulls{/number}","milestones_url":"https://api.github.com/repos/PagerDuty/pd-cap-recipes/milestones{/number}","notifications_url":"https://api.github.com/repos/PagerDuty/pd-cap-recipes/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/PagerDuty/pd-cap-recipes/labels{/name}","releases_url":"https://api.github.com/repos/PagerDuty/pd-cap-recipes/releases{/id}","created_at":"2012-02-06T22:17:50Z","updated_at":"2014-07-18T05:40:30Z","pushed_at":"2014-07-30T16:57:12Z","git_url":"git://github.com/PagerDuty/pd-cap-recipes.git","ssh_url":"git@github.com:PagerDuty/pd-cap-recipes.git","clone_url":"https://github.com/PagerDuty/pd-cap-recipes.git","svn_url":"https://github.com/PagerDuty/pd-cap-recipes","homepage":"","size":690,"stargazers_count":98,"watchers_count":98,"language":"Ruby","has_issues":true,"has_downloads":true,"has_wiki":true,"forks_count":11,"mirror_url":null,"open_issues_count":4,"forks":11,"open_issues":4,"watchers":98,"default_branch":"master"}},"base":{"label":"PagerDuty:master","ref":"master","sha":"256fac46272ff35e530d6188ec7d0290573e6184","user":{"login":"PagerDuty","id":766800,"avatar_url":"https://avatars.githubusercontent.com/u/766800?v=1","gravatar_id":"6112410edab1b95911c1adf96cc1f84b","url":"https://api.github.com/users/PagerDuty","html_url":"https://github.com/PagerDuty","followers_url":"https://api.github.com/users/PagerDuty/followers","following_url":"https://api.github.com/users/PagerDuty/following{/other_user}","gists_url":"https://api.github.com/users/PagerDuty/gists{/gist_id}","starred_url":"https://api.github.com/users/PagerDuty/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/PagerDuty/subscriptions","organizations_url":"https://api.github.com/users/PagerDuty/orgs","repos_url":"https://api.github.com/users/PagerDuty/repos","events_url":"https://api.github.com/users/PagerDuty/events{/privacy}","received_events_url":"https://api.github.com/users/PagerDuty/received_events","type":"Organization","site_admin":false},"repo":{"id":3371681,"name":"pd-cap-recipes","full_name":"PagerDuty/pd-cap-recipes","owner":{"login":"PagerDuty","id":766800,"avatar_url":"https://avatars.githubusercontent.com/u/766800?v=1","gravatar_id":"6112410edab1b95911c1adf96cc1f84b","url":"https://api.github.com/users/PagerDuty","html_url":"https://github.com/PagerDuty","followers_url":"https://api.github.com/users/PagerDuty/followers","following_url":"https://api.github.com/users/PagerDuty/following{/other_user}","gists_url":"https://api.github.com/users/PagerDuty/gists{/gist_id}","starred_url":"https://api.github.com/users/PagerDuty/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/PagerDuty/subscriptions","organizations_url":"https://api.github.com/users/PagerDuty/orgs","repos_url":"https://api.github.com/users/PagerDuty/repos","events_url":"https://api.github.com/users/PagerDuty/events{/privacy}","received_events_url":"https://api.github.com/users/PagerDuty/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/PagerDuty/pd-cap-recipes","description":"A collection of Capistrano recipes used by PagerDuty to deploy rails projects.","fork":false,"url":"https://api.github.com/repos/PagerDuty/pd-cap-recipes","forks_url":"https://api.github.com/repos/PagerDuty/pd-cap-recipes/forks","keys_url":"https://api.github.com/repos/PagerDuty/pd-cap-recipes/keys{/key_id}","collaborators_url":"https://api.github.com/repos/PagerDuty/pd-cap-recipes/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/PagerDuty/pd-cap-recipes/teams","hooks_url":"https://api.github.com/repos/PagerDuty/pd-cap-recipes/hooks","issue_events_url":"https://api.github.com/repos/PagerDuty/pd-cap-recipes/issues/events{/number}","events_url":"https://api.github.com/repos/PagerDuty/pd-cap-recipes/events","assignees_url":"https://api.github.com/repos/PagerDuty/pd-cap-recipes/assignees{/user}","branches_url":"https://api.github.com/repos/PagerDuty/pd-cap-recipes/branches{/branch}","tags_url":"https://api.github.com/repos/PagerDuty/pd-cap-recipes/tags","blobs_url":"https://api.github.com/repos/PagerDuty/pd-cap-recipes/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/PagerDuty/pd-cap-recipes/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/PagerDuty/pd-cap-recipes/git/refs{/sha}","trees_url":"https://api.github.com/repos/PagerDuty/pd-cap-recipes/git/trees{/sha}","statuses_url":"https://api.github.com/repos/PagerDuty/pd-cap-recipes/statuses/{sha}","languages_url":"https://api.github.com/repos/PagerDuty/pd-cap-recipes/languages","stargazers_url":"https://api.github.com/repos/PagerDuty/pd-cap-recipes/stargazers","contributors_url":"https://api.github.com/repos/PagerDuty/pd-cap-recipes/contributors","subscribers_url":"https://api.github.com/repos/PagerDuty/pd-cap-recipes/subscribers","subscription_url":"https://api.github.com/repos/PagerDuty/pd-cap-recipes/subscription","commits_url":"https://api.github.com/repos/PagerDuty/pd-cap-recipes/commits{/sha}","git_commits_url":"https://api.github.com/repos/PagerDuty/pd-cap-recipes/git/commits{/sha}","comments_url":"https://api.github.com/repos/PagerDuty/pd-cap-recipes/comments{/number}","issue_comment_url":"https://api.github.com/repos/PagerDuty/pd-cap-recipes/issues/comments/{number}","contents_url":"https://api.github.com/repos/PagerDuty/pd-cap-recipes/contents/{+path}","compare_url":"https://api.github.com/repos/PagerDuty/pd-cap-recipes/compare/{base}...{head}","merges_url":"https://api.github.com/repos/PagerDuty/pd-cap-recipes/merges","archive_url":"https://api.github.com/repos/PagerDuty/pd-cap-recipes/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/PagerDuty/pd-cap-recipes/downloads","issues_url":"https://api.github.com/repos/PagerDuty/pd-cap-recipes/issues{/number}","pulls_url":"https://api.github.com/repos/PagerDuty/pd-cap-recipes/pulls{/number}","milestones_url":"https://api.github.com/repos/PagerDuty/pd-cap-recipes/milestones{/number}","notifications_url":"https://api.github.com/repos/PagerDuty/pd-cap-recipes/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/PagerDuty/pd-cap-recipes/labels{/name}","releases_url":"https://api.github.com/repos/PagerDuty/pd-cap-recipes/releases{/id}","created_at":"2012-02-06T22:17:50Z","updated_at":"2014-07-18T05:40:30Z","pushed_at":"2014-07-30T16:57:12Z","git_url":"git://github.com/PagerDuty/pd-cap-recipes.git","ssh_url":"git@github.com:PagerDuty/pd-cap-recipes.git","clone_url":"https://github.com/PagerDuty/pd-cap-recipes.git","svn_url":"https://github.com/PagerDuty/pd-cap-recipes","homepage":"","size":690,"stargazers_count":98,"watchers_count":98,"language":"Ruby","has_issues":true,"has_downloads":true,"has_wiki":true,"forks_count":11,"mirror_url":null,"open_issues_count":4,"forks":11,"open_issues":4,"watchers":98,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/PagerDuty/pd-cap-recipes/pulls/26"},"html":{"href":"https://github.com/PagerDuty/pd-cap-recipes/pull/26"},"issue":{"href":"https://api.github.com/repos/PagerDuty/pd-cap-recipes/issues/26"},"comments":{"href":"https://api.github.com/repos/PagerDuty/pd-cap-recipes/issues/26/comments"},"review_comments":{"href":"https://api.github.com/repos/PagerDuty/pd-cap-recipes/pulls/26/comments"},"review_comment":{"href":"https://api.github.com/repos/PagerDuty/pd-cap-recipes/pulls/comments/{number}"},"commits":{"href":"https://api.github.com/repos/PagerDuty/pd-cap-recipes/pulls/26/commits"},"statuses":{"href":"https://api.github.com/repos/PagerDuty/pd-cap-recipes/statuses/84a698759e1b2d1817bf706244beb504f355efd9"}},"merged":true,"mergeable":null,"mergeable_state":"unknown","merged_by":{"login":"alperkokmen","id":1657578,"avatar_url":"https://avatars.githubusercontent.com/u/1657578?v=1","gravatar_id":"3d5e018f139da377b92aa3a79d64622d","url":"https://api.github.com/users/alperkokmen","html_url":"https://github.com/alperkokmen","followers_url":"https://api.github.com/users/alperkokmen/followers","following_url":"https://api.github.com/users/alperkokmen/following{/other_user}","gists_url":"https://api.github.com/users/alperkokmen/gists{/gist_id}","starred_url":"https://api.github.com/users/alperkokmen/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/alperkokmen/subscriptions","organizations_url":"https://api.github.com/users/alperkokmen/orgs","repos_url":"https://api.github.com/users/alperkokmen/repos","events_url":"https://api.github.com/users/alperkokmen/events{/privacy}","received_events_url":"https://api.github.com/users/alperkokmen/received_events","type":"User","site_admin":false},"comments":1,"review_comments":0,"commits":2,"additions":2,"deletions":2,"changed_files":2}}