{"action":"closed","number":1,"pull_request":{"url":"https://api.github.com/repos/crisward/dokku-require/pulls/1","id":67100509,"html_url":"https://github.com/crisward/dokku-require/pull/1","diff_url":"https://github.com/crisward/dokku-require/pull/1.diff","patch_url":"https://github.com/crisward/dokku-require/pull/1.patch","issue_url":"https://api.github.com/repos/crisward/dokku-require/issues/1","number":1,"state":"closed","locked":false,"title":"Code cleanup","user":{"login":"josegonzalez","id":65675,"avatar_url":"https://avatars.githubusercontent.com/u/65675?v=3","gravatar_id":"","url":"https://api.github.com/users/josegonzalez","html_url":"https://github.com/josegonzalez","followers_url":"https://api.github.com/users/josegonzalez/followers","following_url":"https://api.github.com/users/josegonzalez/following{/other_user}","gists_url":"https://api.github.com/users/josegonzalez/gists{/gist_id}","starred_url":"https://api.github.com/users/josegonzalez/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/josegonzalez/subscriptions","organizations_url":"https://api.github.com/users/josegonzalez/orgs","repos_url":"https://api.github.com/users/josegonzalez/repos","events_url":"https://api.github.com/users/josegonzalez/events{/privacy}","received_events_url":"https://api.github.com/users/josegonzalez/received_events","type":"User","site_admin":false},"body":"This now passes shellcheck, and should be slightly easier to read.\r\n\r\nNote: I haven't tried it yet.","created_at":"2016-04-19T22:26:09Z","updated_at":"2016-04-20T07:49:16Z","closed_at":"2016-04-20T07:49:16Z","merged_at":"2016-04-20T07:49:16Z","merge_commit_sha":"b462c57a9628d7d56ba1876d365b0729f3d8b8f9","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/crisward/dokku-require/pulls/1/commits","review_comments_url":"https://api.github.com/repos/crisward/dokku-require/pulls/1/comments","review_comment_url":"https://api.github.com/repos/crisward/dokku-require/pulls/comments{/number}","comments_url":"https://api.github.com/repos/crisward/dokku-require/issues/1/comments","statuses_url":"https://api.github.com/repos/crisward/dokku-require/statuses/4fed2594809f15b5d114849d64dbe279c87be2e7","head":{"label":"josegonzalez:master","ref":"master","sha":"4fed2594809f15b5d114849d64dbe279c87be2e7","user":{"login":"josegonzalez","id":65675,"avatar_url":"https://avatars.githubusercontent.com/u/65675?v=3","gravatar_id":"","url":"https://api.github.com/users/josegonzalez","html_url":"https://github.com/josegonzalez","followers_url":"https://api.github.com/users/josegonzalez/followers","following_url":"https://api.github.com/users/josegonzalez/following{/other_user}","gists_url":"https://api.github.com/users/josegonzalez/gists{/gist_id}","starred_url":"https://api.github.com/users/josegonzalez/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/josegonzalez/subscriptions","organizations_url":"https://api.github.com/users/josegonzalez/orgs","repos_url":"https://api.github.com/users/josegonzalez/repos","events_url":"https://api.github.com/users/josegonzalez/events{/privacy}","received_events_url":"https://api.github.com/users/josegonzalez/received_events","type":"User","site_admin":false},"repo":{"id":56636591,"name":"dokku-require","full_name":"josegonzalez/dokku-require","owner":{"login":"josegonzalez","id":65675,"avatar_url":"https://avatars.githubusercontent.com/u/65675?v=3","gravatar_id":"","url":"https://api.github.com/users/josegonzalez","html_url":"https://github.com/josegonzalez","followers_url":"https://api.github.com/users/josegonzalez/followers","following_url":"https://api.github.com/users/josegonzalez/following{/other_user}","gists_url":"https://api.github.com/users/josegonzalez/gists{/gist_id}","starred_url":"https://api.github.com/users/josegonzalez/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/josegonzalez/subscriptions","organizations_url":"https://api.github.com/users/josegonzalez/orgs","repos_url":"https://api.github.com/users/josegonzalez/repos","events_url":"https://api.github.com/users/josegonzalez/events{/privacy}","received_events_url":"https://api.github.com/users/josegonzalez/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/josegonzalez/dokku-require","description":"setup all the requirement for your app on push","fork":true,"url":"https://api.github.com/repos/josegonzalez/dokku-require","forks_url":"https://api.github.com/repos/josegonzalez/dokku-require/forks","keys_url":"https://api.github.com/repos/josegonzalez/dokku-require/keys{/key_id}","collaborators_url":"https://api.github.com/repos/josegonzalez/dokku-require/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/josegonzalez/dokku-require/teams","hooks_url":"https://api.github.com/repos/josegonzalez/dokku-require/hooks","issue_events_url":"https://api.github.com/repos/josegonzalez/dokku-require/issues/events{/number}","events_url":"https://api.github.com/repos/josegonzalez/dokku-require/events","assignees_url":"https://api.github.com/repos/josegonzalez/dokku-require/assignees{/user}","branches_url":"https://api.github.com/repos/josegonzalez/dokku-require/branches{/branch}","tags_url":"https://api.github.com/repos/josegonzalez/dokku-require/tags","blobs_url":"https://api.github.com/repos/josegonzalez/dokku-require/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/josegonzalez/dokku-require/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/josegonzalez/dokku-require/git/refs{/sha}","trees_url":"https://api.github.com/repos/josegonzalez/dokku-require/git/trees{/sha}","statuses_url":"https://api.github.com/repos/josegonzalez/dokku-require/statuses/{sha}","languages_url":"https://api.github.com/repos/josegonzalez/dokku-require/languages","stargazers_url":"https://api.github.com/repos/josegonzalez/dokku-require/stargazers","contributors_url":"https://api.github.com/repos/josegonzalez/dokku-require/contributors","subscribers_url":"https://api.github.com/repos/josegonzalez/dokku-require/subscribers","subscription_url":"https://api.github.com/repos/josegonzalez/dokku-require/subscription","commits_url":"https://api.github.com/repos/josegonzalez/dokku-require/commits{/sha}","git_commits_url":"https://api.github.com/repos/josegonzalez/dokku-require/git/commits{/sha}","comments_url":"https://api.github.com/repos/josegonzalez/dokku-require/comments{/number}","issue_comment_url":"https://api.github.com/repos/josegonzalez/dokku-require/issues/comments{/number}","contents_url":"https://api.github.com/repos/josegonzalez/dokku-require/contents/{+path}","compare_url":"https://api.github.com/repos/josegonzalez/dokku-require/compare/{base}...{head}","merges_url":"https://api.github.com/repos/josegonzalez/dokku-require/merges","archive_url":"https://api.github.com/repos/josegonzalez/dokku-require/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/josegonzalez/dokku-require/downloads","issues_url":"https://api.github.com/repos/josegonzalez/dokku-require/issues{/number}","pulls_url":"https://api.github.com/repos/josegonzalez/dokku-require/pulls{/number}","milestones_url":"https://api.github.com/repos/josegonzalez/dokku-require/milestones{/number}","notifications_url":"https://api.github.com/repos/josegonzalez/dokku-require/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/josegonzalez/dokku-require/labels{/name}","releases_url":"https://api.github.com/repos/josegonzalez/dokku-require/releases{/id}","deployments_url":"https://api.github.com/repos/josegonzalez/dokku-require/deployments","created_at":"2016-04-19T22:25:20Z","updated_at":"2016-04-19T22:25:21Z","pushed_at":"2016-04-19T22:25:41Z","git_url":"git://github.com/josegonzalez/dokku-require.git","ssh_url":"git@github.com:josegonzalez/dokku-require.git","clone_url":"https://github.com/josegonzalez/dokku-require.git","svn_url":"https://github.com/josegonzalez/dokku-require","homepage":null,"size":16,"stargazers_count":0,"watchers_count":0,"language":"Shell","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":"crisward:master","ref":"master","sha":"34852d4feee0dbc2e0488461d723c49119fcfb22","user":{"login":"crisward","id":3109157,"avatar_url":"https://avatars.githubusercontent.com/u/3109157?v=3","gravatar_id":"","url":"https://api.github.com/users/crisward","html_url":"https://github.com/crisward","followers_url":"https://api.github.com/users/crisward/followers","following_url":"https://api.github.com/users/crisward/following{/other_user}","gists_url":"https://api.github.com/users/crisward/gists{/gist_id}","starred_url":"https://api.github.com/users/crisward/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/crisward/subscriptions","organizations_url":"https://api.github.com/users/crisward/orgs","repos_url":"https://api.github.com/users/crisward/repos","events_url":"https://api.github.com/users/crisward/events{/privacy}","received_events_url":"https://api.github.com/users/crisward/received_events","type":"User","site_admin":false},"repo":{"id":56378700,"name":"dokku-require","full_name":"crisward/dokku-require","owner":{"login":"crisward","id":3109157,"avatar_url":"https://avatars.githubusercontent.com/u/3109157?v=3","gravatar_id":"","url":"https://api.github.com/users/crisward","html_url":"https://github.com/crisward","followers_url":"https://api.github.com/users/crisward/followers","following_url":"https://api.github.com/users/crisward/following{/other_user}","gists_url":"https://api.github.com/users/crisward/gists{/gist_id}","starred_url":"https://api.github.com/users/crisward/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/crisward/subscriptions","organizations_url":"https://api.github.com/users/crisward/orgs","repos_url":"https://api.github.com/users/crisward/repos","events_url":"https://api.github.com/users/crisward/events{/privacy}","received_events_url":"https://api.github.com/users/crisward/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/crisward/dokku-require","description":"setup all the requirement for your app on push","fork":false,"url":"https://api.github.com/repos/crisward/dokku-require","forks_url":"https://api.github.com/repos/crisward/dokku-require/forks","keys_url":"https://api.github.com/repos/crisward/dokku-require/keys{/key_id}","collaborators_url":"https://api.github.com/repos/crisward/dokku-require/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/crisward/dokku-require/teams","hooks_url":"https://api.github.com/repos/crisward/dokku-require/hooks","issue_events_url":"https://api.github.com/repos/crisward/dokku-require/issues/events{/number}","events_url":"https://api.github.com/repos/crisward/dokku-require/events","assignees_url":"https://api.github.com/repos/crisward/dokku-require/assignees{/user}","branches_url":"https://api.github.com/repos/crisward/dokku-require/branches{/branch}","tags_url":"https://api.github.com/repos/crisward/dokku-require/tags","blobs_url":"https://api.github.com/repos/crisward/dokku-require/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/crisward/dokku-require/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/crisward/dokku-require/git/refs{/sha}","trees_url":"https://api.github.com/repos/crisward/dokku-require/git/trees{/sha}","statuses_url":"https://api.github.com/repos/crisward/dokku-require/statuses/{sha}","languages_url":"https://api.github.com/repos/crisward/dokku-require/languages","stargazers_url":"https://api.github.com/repos/crisward/dokku-require/stargazers","contributors_url":"https://api.github.com/repos/crisward/dokku-require/contributors","subscribers_url":"https://api.github.com/repos/crisward/dokku-require/subscribers","subscription_url":"https://api.github.com/repos/crisward/dokku-require/subscription","commits_url":"https://api.github.com/repos/crisward/dokku-require/commits{/sha}","git_commits_url":"https://api.github.com/repos/crisward/dokku-require/git/commits{/sha}","comments_url":"https://api.github.com/repos/crisward/dokku-require/comments{/number}","issue_comment_url":"https://api.github.com/repos/crisward/dokku-require/issues/comments{/number}","contents_url":"https://api.github.com/repos/crisward/dokku-require/contents/{+path}","compare_url":"https://api.github.com/repos/crisward/dokku-require/compare/{base}...{head}","merges_url":"https://api.github.com/repos/crisward/dokku-require/merges","archive_url":"https://api.github.com/repos/crisward/dokku-require/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/crisward/dokku-require/downloads","issues_url":"https://api.github.com/repos/crisward/dokku-require/issues{/number}","pulls_url":"https://api.github.com/repos/crisward/dokku-require/pulls{/number}","milestones_url":"https://api.github.com/repos/crisward/dokku-require/milestones{/number}","notifications_url":"https://api.github.com/repos/crisward/dokku-require/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/crisward/dokku-require/labels{/name}","releases_url":"https://api.github.com/repos/crisward/dokku-require/releases{/id}","deployments_url":"https://api.github.com/repos/crisward/dokku-require/deployments","created_at":"2016-04-16T10:47:21Z","updated_at":"2016-04-18T07:45:38Z","pushed_at":"2016-04-20T07:49:16Z","git_url":"git://github.com/crisward/dokku-require.git","ssh_url":"git@github.com:crisward/dokku-require.git","clone_url":"https://github.com/crisward/dokku-require.git","svn_url":"https://github.com/crisward/dokku-require","homepage":null,"size":18,"stargazers_count":1,"watchers_count":1,"language":"Shell","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":1,"mirror_url":null,"open_issues_count":0,"forks":1,"open_issues":0,"watchers":1,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/crisward/dokku-require/pulls/1"},"html":{"href":"https://github.com/crisward/dokku-require/pull/1"},"issue":{"href":"https://api.github.com/repos/crisward/dokku-require/issues/1"},"comments":{"href":"https://api.github.com/repos/crisward/dokku-require/issues/1/comments"},"review_comments":{"href":"https://api.github.com/repos/crisward/dokku-require/pulls/1/comments"},"review_comment":{"href":"https://api.github.com/repos/crisward/dokku-require/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/crisward/dokku-require/pulls/1/commits"},"statuses":{"href":"https://api.github.com/repos/crisward/dokku-require/statuses/4fed2594809f15b5d114849d64dbe279c87be2e7"}},"merged":true,"mergeable":null,"mergeable_state":"unknown","merged_by":{"login":"crisward","id":3109157,"avatar_url":"https://avatars.githubusercontent.com/u/3109157?v=3","gravatar_id":"","url":"https://api.github.com/users/crisward","html_url":"https://github.com/crisward","followers_url":"https://api.github.com/users/crisward/followers","following_url":"https://api.github.com/users/crisward/following{/other_user}","gists_url":"https://api.github.com/users/crisward/gists{/gist_id}","starred_url":"https://api.github.com/users/crisward/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/crisward/subscriptions","organizations_url":"https://api.github.com/users/crisward/orgs","repos_url":"https://api.github.com/users/crisward/repos","events_url":"https://api.github.com/users/crisward/events{/privacy}","received_events_url":"https://api.github.com/users/crisward/received_events","type":"User","site_admin":false},"comments":1,"review_comments":0,"commits":12,"additions":71,"deletions":64,"changed_files":3}}