{"action":"closed","number":8,"pull_request":{"url":"https://api.github.com/repos/atmos/hubot-deploy-heroku/pulls/8","id":49623364,"html_url":"https://github.com/atmos/hubot-deploy-heroku/pull/8","diff_url":"https://github.com/atmos/hubot-deploy-heroku/pull/8.diff","patch_url":"https://github.com/atmos/hubot-deploy-heroku/pull/8.patch","issue_url":"https://api.github.com/repos/atmos/hubot-deploy-heroku/issues/8","number":8,"state":"closed","locked":false,"title":"Extract more calls from working deploy handlers","user":{"login":"atmos","id":38,"avatar_url":"https://avatars.githubusercontent.com/u/38?v=3","gravatar_id":"","url":"https://api.github.com/users/atmos","html_url":"https://github.com/atmos","followers_url":"https://api.github.com/users/atmos/followers","following_url":"https://api.github.com/users/atmos/following{/other_user}","gists_url":"https://api.github.com/users/atmos/gists{/gist_id}","starred_url":"https://api.github.com/users/atmos/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/atmos/subscriptions","organizations_url":"https://api.github.com/users/atmos/orgs","repos_url":"https://api.github.com/users/atmos/repos","events_url":"https://api.github.com/users/atmos/events{/privacy}","received_events_url":"https://api.github.com/users/atmos/received_events","type":"User","site_admin":false},"body":"I'm trying to share this between multiple installs of hubot, this code needs to move in.","created_at":"2015-11-03T22:41:20Z","updated_at":"2015-11-04T06:58:03Z","closed_at":"2015-11-04T06:58:03Z","merged_at":"2015-11-04T06:58:03Z","merge_commit_sha":"39a32ad1b7e1b7b5170e600e86adfbe38ee83c62","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/atmos/hubot-deploy-heroku/pulls/8/commits","review_comments_url":"https://api.github.com/repos/atmos/hubot-deploy-heroku/pulls/8/comments","review_comment_url":"https://api.github.com/repos/atmos/hubot-deploy-heroku/pulls/comments{/number}","comments_url":"https://api.github.com/repos/atmos/hubot-deploy-heroku/issues/8/comments","statuses_url":"https://api.github.com/repos/atmos/hubot-deploy-heroku/statuses/b8b7324a752d630d783217921a5aef58c6517f4f","head":{"label":"atmos:extract-more-calls","ref":"extract-more-calls","sha":"b8b7324a752d630d783217921a5aef58c6517f4f","user":{"login":"atmos","id":38,"avatar_url":"https://avatars.githubusercontent.com/u/38?v=3","gravatar_id":"","url":"https://api.github.com/users/atmos","html_url":"https://github.com/atmos","followers_url":"https://api.github.com/users/atmos/followers","following_url":"https://api.github.com/users/atmos/following{/other_user}","gists_url":"https://api.github.com/users/atmos/gists{/gist_id}","starred_url":"https://api.github.com/users/atmos/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/atmos/subscriptions","organizations_url":"https://api.github.com/users/atmos/orgs","repos_url":"https://api.github.com/users/atmos/repos","events_url":"https://api.github.com/users/atmos/events{/privacy}","received_events_url":"https://api.github.com/users/atmos/received_events","type":"User","site_admin":false},"repo":{"id":44847529,"name":"hubot-deploy-heroku","full_name":"atmos/hubot-deploy-heroku","owner":{"login":"atmos","id":38,"avatar_url":"https://avatars.githubusercontent.com/u/38?v=3","gravatar_id":"","url":"https://api.github.com/users/atmos","html_url":"https://github.com/atmos","followers_url":"https://api.github.com/users/atmos/followers","following_url":"https://api.github.com/users/atmos/following{/other_user}","gists_url":"https://api.github.com/users/atmos/gists{/gist_id}","starred_url":"https://api.github.com/users/atmos/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/atmos/subscriptions","organizations_url":"https://api.github.com/users/atmos/orgs","repos_url":"https://api.github.com/users/atmos/repos","events_url":"https://api.github.com/users/atmos/events{/privacy}","received_events_url":"https://api.github.com/users/atmos/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/atmos/hubot-deploy-heroku","description":"Deploy apps to heroku from directly inside hubot","fork":false,"url":"https://api.github.com/repos/atmos/hubot-deploy-heroku","forks_url":"https://api.github.com/repos/atmos/hubot-deploy-heroku/forks","keys_url":"https://api.github.com/repos/atmos/hubot-deploy-heroku/keys{/key_id}","collaborators_url":"https://api.github.com/repos/atmos/hubot-deploy-heroku/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/atmos/hubot-deploy-heroku/teams","hooks_url":"https://api.github.com/repos/atmos/hubot-deploy-heroku/hooks","issue_events_url":"https://api.github.com/repos/atmos/hubot-deploy-heroku/issues/events{/number}","events_url":"https://api.github.com/repos/atmos/hubot-deploy-heroku/events","assignees_url":"https://api.github.com/repos/atmos/hubot-deploy-heroku/assignees{/user}","branches_url":"https://api.github.com/repos/atmos/hubot-deploy-heroku/branches{/branch}","tags_url":"https://api.github.com/repos/atmos/hubot-deploy-heroku/tags","blobs_url":"https://api.github.com/repos/atmos/hubot-deploy-heroku/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/atmos/hubot-deploy-heroku/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/atmos/hubot-deploy-heroku/git/refs{/sha}","trees_url":"https://api.github.com/repos/atmos/hubot-deploy-heroku/git/trees{/sha}","statuses_url":"https://api.github.com/repos/atmos/hubot-deploy-heroku/statuses/{sha}","languages_url":"https://api.github.com/repos/atmos/hubot-deploy-heroku/languages","stargazers_url":"https://api.github.com/repos/atmos/hubot-deploy-heroku/stargazers","contributors_url":"https://api.github.com/repos/atmos/hubot-deploy-heroku/contributors","subscribers_url":"https://api.github.com/repos/atmos/hubot-deploy-heroku/subscribers","subscription_url":"https://api.github.com/repos/atmos/hubot-deploy-heroku/subscription","commits_url":"https://api.github.com/repos/atmos/hubot-deploy-heroku/commits{/sha}","git_commits_url":"https://api.github.com/repos/atmos/hubot-deploy-heroku/git/commits{/sha}","comments_url":"https://api.github.com/repos/atmos/hubot-deploy-heroku/comments{/number}","issue_comment_url":"https://api.github.com/repos/atmos/hubot-deploy-heroku/issues/comments{/number}","contents_url":"https://api.github.com/repos/atmos/hubot-deploy-heroku/contents/{+path}","compare_url":"https://api.github.com/repos/atmos/hubot-deploy-heroku/compare/{base}...{head}","merges_url":"https://api.github.com/repos/atmos/hubot-deploy-heroku/merges","archive_url":"https://api.github.com/repos/atmos/hubot-deploy-heroku/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/atmos/hubot-deploy-heroku/downloads","issues_url":"https://api.github.com/repos/atmos/hubot-deploy-heroku/issues{/number}","pulls_url":"https://api.github.com/repos/atmos/hubot-deploy-heroku/pulls{/number}","milestones_url":"https://api.github.com/repos/atmos/hubot-deploy-heroku/milestones{/number}","notifications_url":"https://api.github.com/repos/atmos/hubot-deploy-heroku/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/atmos/hubot-deploy-heroku/labels{/name}","releases_url":"https://api.github.com/repos/atmos/hubot-deploy-heroku/releases{/id}","created_at":"2015-10-24T01:40:14Z","updated_at":"2015-10-29T12:24:28Z","pushed_at":"2015-11-04T06:58:03Z","git_url":"git://github.com/atmos/hubot-deploy-heroku.git","ssh_url":"git@github.com:atmos/hubot-deploy-heroku.git","clone_url":"https://github.com/atmos/hubot-deploy-heroku.git","svn_url":"https://github.com/atmos/hubot-deploy-heroku","homepage":null,"size":280,"stargazers_count":3,"watchers_count":3,"language":"CoffeeScript","has_issues":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":2,"mirror_url":null,"open_issues_count":1,"forks":2,"open_issues":1,"watchers":3,"default_branch":"master"}},"base":{"label":"atmos:master","ref":"master","sha":"c855590626373469f6545a65bb71aaecd910df93","user":{"login":"atmos","id":38,"avatar_url":"https://avatars.githubusercontent.com/u/38?v=3","gravatar_id":"","url":"https://api.github.com/users/atmos","html_url":"https://github.com/atmos","followers_url":"https://api.github.com/users/atmos/followers","following_url":"https://api.github.com/users/atmos/following{/other_user}","gists_url":"https://api.github.com/users/atmos/gists{/gist_id}","starred_url":"https://api.github.com/users/atmos/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/atmos/subscriptions","organizations_url":"https://api.github.com/users/atmos/orgs","repos_url":"https://api.github.com/users/atmos/repos","events_url":"https://api.github.com/users/atmos/events{/privacy}","received_events_url":"https://api.github.com/users/atmos/received_events","type":"User","site_admin":false},"repo":{"id":44847529,"name":"hubot-deploy-heroku","full_name":"atmos/hubot-deploy-heroku","owner":{"login":"atmos","id":38,"avatar_url":"https://avatars.githubusercontent.com/u/38?v=3","gravatar_id":"","url":"https://api.github.com/users/atmos","html_url":"https://github.com/atmos","followers_url":"https://api.github.com/users/atmos/followers","following_url":"https://api.github.com/users/atmos/following{/other_user}","gists_url":"https://api.github.com/users/atmos/gists{/gist_id}","starred_url":"https://api.github.com/users/atmos/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/atmos/subscriptions","organizations_url":"https://api.github.com/users/atmos/orgs","repos_url":"https://api.github.com/users/atmos/repos","events_url":"https://api.github.com/users/atmos/events{/privacy}","received_events_url":"https://api.github.com/users/atmos/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/atmos/hubot-deploy-heroku","description":"Deploy apps to heroku from directly inside hubot","fork":false,"url":"https://api.github.com/repos/atmos/hubot-deploy-heroku","forks_url":"https://api.github.com/repos/atmos/hubot-deploy-heroku/forks","keys_url":"https://api.github.com/repos/atmos/hubot-deploy-heroku/keys{/key_id}","collaborators_url":"https://api.github.com/repos/atmos/hubot-deploy-heroku/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/atmos/hubot-deploy-heroku/teams","hooks_url":"https://api.github.com/repos/atmos/hubot-deploy-heroku/hooks","issue_events_url":"https://api.github.com/repos/atmos/hubot-deploy-heroku/issues/events{/number}","events_url":"https://api.github.com/repos/atmos/hubot-deploy-heroku/events","assignees_url":"https://api.github.com/repos/atmos/hubot-deploy-heroku/assignees{/user}","branches_url":"https://api.github.com/repos/atmos/hubot-deploy-heroku/branches{/branch}","tags_url":"https://api.github.com/repos/atmos/hubot-deploy-heroku/tags","blobs_url":"https://api.github.com/repos/atmos/hubot-deploy-heroku/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/atmos/hubot-deploy-heroku/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/atmos/hubot-deploy-heroku/git/refs{/sha}","trees_url":"https://api.github.com/repos/atmos/hubot-deploy-heroku/git/trees{/sha}","statuses_url":"https://api.github.com/repos/atmos/hubot-deploy-heroku/statuses/{sha}","languages_url":"https://api.github.com/repos/atmos/hubot-deploy-heroku/languages","stargazers_url":"https://api.github.com/repos/atmos/hubot-deploy-heroku/stargazers","contributors_url":"https://api.github.com/repos/atmos/hubot-deploy-heroku/contributors","subscribers_url":"https://api.github.com/repos/atmos/hubot-deploy-heroku/subscribers","subscription_url":"https://api.github.com/repos/atmos/hubot-deploy-heroku/subscription","commits_url":"https://api.github.com/repos/atmos/hubot-deploy-heroku/commits{/sha}","git_commits_url":"https://api.github.com/repos/atmos/hubot-deploy-heroku/git/commits{/sha}","comments_url":"https://api.github.com/repos/atmos/hubot-deploy-heroku/comments{/number}","issue_comment_url":"https://api.github.com/repos/atmos/hubot-deploy-heroku/issues/comments{/number}","contents_url":"https://api.github.com/repos/atmos/hubot-deploy-heroku/contents/{+path}","compare_url":"https://api.github.com/repos/atmos/hubot-deploy-heroku/compare/{base}...{head}","merges_url":"https://api.github.com/repos/atmos/hubot-deploy-heroku/merges","archive_url":"https://api.github.com/repos/atmos/hubot-deploy-heroku/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/atmos/hubot-deploy-heroku/downloads","issues_url":"https://api.github.com/repos/atmos/hubot-deploy-heroku/issues{/number}","pulls_url":"https://api.github.com/repos/atmos/hubot-deploy-heroku/pulls{/number}","milestones_url":"https://api.github.com/repos/atmos/hubot-deploy-heroku/milestones{/number}","notifications_url":"https://api.github.com/repos/atmos/hubot-deploy-heroku/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/atmos/hubot-deploy-heroku/labels{/name}","releases_url":"https://api.github.com/repos/atmos/hubot-deploy-heroku/releases{/id}","created_at":"2015-10-24T01:40:14Z","updated_at":"2015-10-29T12:24:28Z","pushed_at":"2015-11-04T06:58:03Z","git_url":"git://github.com/atmos/hubot-deploy-heroku.git","ssh_url":"git@github.com:atmos/hubot-deploy-heroku.git","clone_url":"https://github.com/atmos/hubot-deploy-heroku.git","svn_url":"https://github.com/atmos/hubot-deploy-heroku","homepage":null,"size":280,"stargazers_count":3,"watchers_count":3,"language":"CoffeeScript","has_issues":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":2,"mirror_url":null,"open_issues_count":1,"forks":2,"open_issues":1,"watchers":3,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/atmos/hubot-deploy-heroku/pulls/8"},"html":{"href":"https://github.com/atmos/hubot-deploy-heroku/pull/8"},"issue":{"href":"https://api.github.com/repos/atmos/hubot-deploy-heroku/issues/8"},"comments":{"href":"https://api.github.com/repos/atmos/hubot-deploy-heroku/issues/8/comments"},"review_comments":{"href":"https://api.github.com/repos/atmos/hubot-deploy-heroku/pulls/8/comments"},"review_comment":{"href":"https://api.github.com/repos/atmos/hubot-deploy-heroku/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/atmos/hubot-deploy-heroku/pulls/8/commits"},"statuses":{"href":"https://api.github.com/repos/atmos/hubot-deploy-heroku/statuses/b8b7324a752d630d783217921a5aef58c6517f4f"}},"merged":true,"mergeable":null,"mergeable_state":"unknown","merged_by":{"login":"atmos","id":38,"avatar_url":"https://avatars.githubusercontent.com/u/38?v=3","gravatar_id":"","url":"https://api.github.com/users/atmos","html_url":"https://github.com/atmos","followers_url":"https://api.github.com/users/atmos/followers","following_url":"https://api.github.com/users/atmos/following{/other_user}","gists_url":"https://api.github.com/users/atmos/gists{/gist_id}","starred_url":"https://api.github.com/users/atmos/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/atmos/subscriptions","organizations_url":"https://api.github.com/users/atmos/orgs","repos_url":"https://api.github.com/users/atmos/repos","events_url":"https://api.github.com/users/atmos/events{/privacy}","received_events_url":"https://api.github.com/users/atmos/received_events","type":"User","site_admin":false},"comments":0,"review_comments":0,"commits":4,"additions":108,"deletions":75,"changed_files":8}}