{"action":"created","comment":{"url":"https://api.github.com/repos/Homebrew/homebrew/pulls/comments/55232127","id":55232127,"diff_hunk":"@@ -0,0 +1,17 @@\n+class Imgkap < Formula\n+  desc \"Tool to create nautical charts in KAP format.\"\n+  homepage \"https://github.com/nohal/imgkap\"\n+  url \"https://github.com/nohal/imgkap/archive/v1.11.tar.gz\"\n+  sha256 \"5edb67582ee4e7f294bbd6cd71d0027a92b8ab1b81b9d2570d08606eaba206e9\"\n+\n+  depends_on \"freeimage\"\n+\n+  def install\n+    system \"make\", \"imgkap\"\n+    bin.install \"imgkap\"\n+  end\n+\n+  test do\n+    system \"imgkap || true\"","path":"Library/Formula/imgkap.rb","position":15,"original_position":15,"commit_id":"95c5769c4feecf7dc1723f86b44fd3a9bd11491e","original_commit_id":"95c5769c4feecf7dc1723f86b44fd3a9bd11491e","user":{"login":"dunn","id":985416,"avatar_url":"https://avatars.githubusercontent.com/u/985416?v=3","gravatar_id":"","url":"https://api.github.com/users/dunn","html_url":"https://github.com/dunn","followers_url":"https://api.github.com/users/dunn/followers","following_url":"https://api.github.com/users/dunn/following{/other_user}","gists_url":"https://api.github.com/users/dunn/gists{/gist_id}","starred_url":"https://api.github.com/users/dunn/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dunn/subscriptions","organizations_url":"https://api.github.com/users/dunn/orgs","repos_url":"https://api.github.com/users/dunn/repos","events_url":"https://api.github.com/users/dunn/events{/privacy}","received_events_url":"https://api.github.com/users/dunn/received_events","type":"User","site_admin":false},"body":"You can test exit code with e.g. `shell_output(\"command\", 1)`, but does this test check the software functionality?","created_at":"2016-03-07T16:47:12Z","updated_at":"2016-03-07T16:47:12Z","html_url":"https://github.com/Homebrew/homebrew/pull/49782#discussion_r55232127","pull_request_url":"https://api.github.com/repos/Homebrew/homebrew/pulls/49782","_links":{"self":{"href":"https://api.github.com/repos/Homebrew/homebrew/pulls/comments/55232127"},"html":{"href":"https://github.com/Homebrew/homebrew/pull/49782#discussion_r55232127"},"pull_request":{"href":"https://api.github.com/repos/Homebrew/homebrew/pulls/49782"}}},"pull_request":{"url":"https://api.github.com/repos/Homebrew/homebrew/pulls/49782","id":61755689,"html_url":"https://github.com/Homebrew/homebrew/pull/49782","diff_url":"https://github.com/Homebrew/homebrew/pull/49782.diff","patch_url":"https://github.com/Homebrew/homebrew/pull/49782.patch","issue_url":"https://api.github.com/repos/Homebrew/homebrew/issues/49782","number":49782,"state":"open","locked":false,"title":"imgkap 1.11 (new formula)","user":{"login":"nohal","id":249856,"avatar_url":"https://avatars.githubusercontent.com/u/249856?v=3","gravatar_id":"","url":"https://api.github.com/users/nohal","html_url":"https://github.com/nohal","followers_url":"https://api.github.com/users/nohal/followers","following_url":"https://api.github.com/users/nohal/following{/other_user}","gists_url":"https://api.github.com/users/nohal/gists{/gist_id}","starred_url":"https://api.github.com/users/nohal/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nohal/subscriptions","organizations_url":"https://api.github.com/users/nohal/orgs","repos_url":"https://api.github.com/users/nohal/repos","events_url":"https://api.github.com/users/nohal/events{/privacy}","received_events_url":"https://api.github.com/users/nohal/received_events","type":"User","site_admin":false},"body":"### All Submissions:\r\n\r\n- [x] Have you followed the guidelines in our [Contributing](https://github.com/Homebrew/homebrew/blob/master/.github/CONTRIBUTING.md) document?\r\n- [x] Have you checked to ensure there aren't other open [Pull Requests](https://github.com/Homebrew/homebrew/pulls) for the same update/change?\r\n\r\n_You can erase any parts of this template not applicable to your Pull Request._\r\n\r\n### New Formulae Submissions:\r\n\r\n- [ ] Does your submission pass\r\n`brew audit --strict --online <formula>` (where `<formula>` is the name of the formula you're submitting)?\r\n- [x] Have you built your formula locally prior to submission with `brew install <formula>`?\r\n\r\n\r\nThis code is considered mature and stable for several years, given the target audience it is pretty unlikely it ever attracts enough Github developer attention to pass \"GitHub repository not notable enough (<20 forks, <20 watchers and <50 stars)\".\r\n","created_at":"2016-03-04T19:03:01Z","updated_at":"2016-03-07T16:47:12Z","closed_at":null,"merged_at":null,"merge_commit_sha":"99021f93b59b065f7189522e7048f4710816e6ce","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/Homebrew/homebrew/pulls/49782/commits","review_comments_url":"https://api.github.com/repos/Homebrew/homebrew/pulls/49782/comments","review_comment_url":"https://api.github.com/repos/Homebrew/homebrew/pulls/comments{/number}","comments_url":"https://api.github.com/repos/Homebrew/homebrew/issues/49782/comments","statuses_url":"https://api.github.com/repos/Homebrew/homebrew/statuses/95c5769c4feecf7dc1723f86b44fd3a9bd11491e","head":{"label":"nohal:imgkap","ref":"imgkap","sha":"95c5769c4feecf7dc1723f86b44fd3a9bd11491e","user":{"login":"nohal","id":249856,"avatar_url":"https://avatars.githubusercontent.com/u/249856?v=3","gravatar_id":"","url":"https://api.github.com/users/nohal","html_url":"https://github.com/nohal","followers_url":"https://api.github.com/users/nohal/followers","following_url":"https://api.github.com/users/nohal/following{/other_user}","gists_url":"https://api.github.com/users/nohal/gists{/gist_id}","starred_url":"https://api.github.com/users/nohal/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nohal/subscriptions","organizations_url":"https://api.github.com/users/nohal/orgs","repos_url":"https://api.github.com/users/nohal/repos","events_url":"https://api.github.com/users/nohal/events{/privacy}","received_events_url":"https://api.github.com/users/nohal/received_events","type":"User","site_admin":false},"repo":{"id":53155901,"name":"homebrew","full_name":"nohal/homebrew","owner":{"login":"nohal","id":249856,"avatar_url":"https://avatars.githubusercontent.com/u/249856?v=3","gravatar_id":"","url":"https://api.github.com/users/nohal","html_url":"https://github.com/nohal","followers_url":"https://api.github.com/users/nohal/followers","following_url":"https://api.github.com/users/nohal/following{/other_user}","gists_url":"https://api.github.com/users/nohal/gists{/gist_id}","starred_url":"https://api.github.com/users/nohal/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nohal/subscriptions","organizations_url":"https://api.github.com/users/nohal/orgs","repos_url":"https://api.github.com/users/nohal/repos","events_url":"https://api.github.com/users/nohal/events{/privacy}","received_events_url":"https://api.github.com/users/nohal/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/nohal/homebrew","description":":beer: The missing package manager for OS X.","fork":true,"url":"https://api.github.com/repos/nohal/homebrew","forks_url":"https://api.github.com/repos/nohal/homebrew/forks","keys_url":"https://api.github.com/repos/nohal/homebrew/keys{/key_id}","collaborators_url":"https://api.github.com/repos/nohal/homebrew/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/nohal/homebrew/teams","hooks_url":"https://api.github.com/repos/nohal/homebrew/hooks","issue_events_url":"https://api.github.com/repos/nohal/homebrew/issues/events{/number}","events_url":"https://api.github.com/repos/nohal/homebrew/events","assignees_url":"https://api.github.com/repos/nohal/homebrew/assignees{/user}","branches_url":"https://api.github.com/repos/nohal/homebrew/branches{/branch}","tags_url":"https://api.github.com/repos/nohal/homebrew/tags","blobs_url":"https://api.github.com/repos/nohal/homebrew/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/nohal/homebrew/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/nohal/homebrew/git/refs{/sha}","trees_url":"https://api.github.com/repos/nohal/homebrew/git/trees{/sha}","statuses_url":"https://api.github.com/repos/nohal/homebrew/statuses/{sha}","languages_url":"https://api.github.com/repos/nohal/homebrew/languages","stargazers_url":"https://api.github.com/repos/nohal/homebrew/stargazers","contributors_url":"https://api.github.com/repos/nohal/homebrew/contributors","subscribers_url":"https://api.github.com/repos/nohal/homebrew/subscribers","subscription_url":"https://api.github.com/repos/nohal/homebrew/subscription","commits_url":"https://api.github.com/repos/nohal/homebrew/commits{/sha}","git_commits_url":"https://api.github.com/repos/nohal/homebrew/git/commits{/sha}","comments_url":"https://api.github.com/repos/nohal/homebrew/comments{/number}","issue_comment_url":"https://api.github.com/repos/nohal/homebrew/issues/comments{/number}","contents_url":"https://api.github.com/repos/nohal/homebrew/contents/{+path}","compare_url":"https://api.github.com/repos/nohal/homebrew/compare/{base}...{head}","merges_url":"https://api.github.com/repos/nohal/homebrew/merges","archive_url":"https://api.github.com/repos/nohal/homebrew/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/nohal/homebrew/downloads","issues_url":"https://api.github.com/repos/nohal/homebrew/issues{/number}","pulls_url":"https://api.github.com/repos/nohal/homebrew/pulls{/number}","milestones_url":"https://api.github.com/repos/nohal/homebrew/milestones{/number}","notifications_url":"https://api.github.com/repos/nohal/homebrew/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/nohal/homebrew/labels{/name}","releases_url":"https://api.github.com/repos/nohal/homebrew/releases{/id}","deployments_url":"https://api.github.com/repos/nohal/homebrew/deployments","created_at":"2016-03-04T18:10:20Z","updated_at":"2016-03-04T18:10:39Z","pushed_at":"2016-03-04T19:26:22Z","git_url":"git://github.com/nohal/homebrew.git","ssh_url":"git@github.com:nohal/homebrew.git","clone_url":"https://github.com/nohal/homebrew.git","svn_url":"https://github.com/nohal/homebrew","homepage":"http://brew.sh","size":79677,"stargazers_count":0,"watchers_count":0,"language":"Ruby","has_issues":false,"has_downloads":false,"has_wiki":false,"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":"Homebrew:master","ref":"master","sha":"823419aa061eab0685a6697ec83f0371905a7279","user":{"login":"Homebrew","id":1503512,"avatar_url":"https://avatars.githubusercontent.com/u/1503512?v=3","gravatar_id":"","url":"https://api.github.com/users/Homebrew","html_url":"https://github.com/Homebrew","followers_url":"https://api.github.com/users/Homebrew/followers","following_url":"https://api.github.com/users/Homebrew/following{/other_user}","gists_url":"https://api.github.com/users/Homebrew/gists{/gist_id}","starred_url":"https://api.github.com/users/Homebrew/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Homebrew/subscriptions","organizations_url":"https://api.github.com/users/Homebrew/orgs","repos_url":"https://api.github.com/users/Homebrew/repos","events_url":"https://api.github.com/users/Homebrew/events{/privacy}","received_events_url":"https://api.github.com/users/Homebrew/received_events","type":"Organization","site_admin":false},"repo":{"id":206084,"name":"homebrew","full_name":"Homebrew/homebrew","owner":{"login":"Homebrew","id":1503512,"avatar_url":"https://avatars.githubusercontent.com/u/1503512?v=3","gravatar_id":"","url":"https://api.github.com/users/Homebrew","html_url":"https://github.com/Homebrew","followers_url":"https://api.github.com/users/Homebrew/followers","following_url":"https://api.github.com/users/Homebrew/following{/other_user}","gists_url":"https://api.github.com/users/Homebrew/gists{/gist_id}","starred_url":"https://api.github.com/users/Homebrew/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Homebrew/subscriptions","organizations_url":"https://api.github.com/users/Homebrew/orgs","repos_url":"https://api.github.com/users/Homebrew/repos","events_url":"https://api.github.com/users/Homebrew/events{/privacy}","received_events_url":"https://api.github.com/users/Homebrew/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/Homebrew/homebrew","description":":beer: The missing package manager for OS X.","fork":false,"url":"https://api.github.com/repos/Homebrew/homebrew","forks_url":"https://api.github.com/repos/Homebrew/homebrew/forks","keys_url":"https://api.github.com/repos/Homebrew/homebrew/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Homebrew/homebrew/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Homebrew/homebrew/teams","hooks_url":"https://api.github.com/repos/Homebrew/homebrew/hooks","issue_events_url":"https://api.github.com/repos/Homebrew/homebrew/issues/events{/number}","events_url":"https://api.github.com/repos/Homebrew/homebrew/events","assignees_url":"https://api.github.com/repos/Homebrew/homebrew/assignees{/user}","branches_url":"https://api.github.com/repos/Homebrew/homebrew/branches{/branch}","tags_url":"https://api.github.com/repos/Homebrew/homebrew/tags","blobs_url":"https://api.github.com/repos/Homebrew/homebrew/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Homebrew/homebrew/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Homebrew/homebrew/git/refs{/sha}","trees_url":"https://api.github.com/repos/Homebrew/homebrew/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Homebrew/homebrew/statuses/{sha}","languages_url":"https://api.github.com/repos/Homebrew/homebrew/languages","stargazers_url":"https://api.github.com/repos/Homebrew/homebrew/stargazers","contributors_url":"https://api.github.com/repos/Homebrew/homebrew/contributors","subscribers_url":"https://api.github.com/repos/Homebrew/homebrew/subscribers","subscription_url":"https://api.github.com/repos/Homebrew/homebrew/subscription","commits_url":"https://api.github.com/repos/Homebrew/homebrew/commits{/sha}","git_commits_url":"https://api.github.com/repos/Homebrew/homebrew/git/commits{/sha}","comments_url":"https://api.github.com/repos/Homebrew/homebrew/comments{/number}","issue_comment_url":"https://api.github.com/repos/Homebrew/homebrew/issues/comments{/number}","contents_url":"https://api.github.com/repos/Homebrew/homebrew/contents/{+path}","compare_url":"https://api.github.com/repos/Homebrew/homebrew/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Homebrew/homebrew/merges","archive_url":"https://api.github.com/repos/Homebrew/homebrew/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Homebrew/homebrew/downloads","issues_url":"https://api.github.com/repos/Homebrew/homebrew/issues{/number}","pulls_url":"https://api.github.com/repos/Homebrew/homebrew/pulls{/number}","milestones_url":"https://api.github.com/repos/Homebrew/homebrew/milestones{/number}","notifications_url":"https://api.github.com/repos/Homebrew/homebrew/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Homebrew/homebrew/labels{/name}","releases_url":"https://api.github.com/repos/Homebrew/homebrew/releases{/id}","deployments_url":"https://api.github.com/repos/Homebrew/homebrew/deployments","created_at":"2009-05-20T19:38:37Z","updated_at":"2016-03-07T14:37:45Z","pushed_at":"2016-03-07T16:45:13Z","git_url":"git://github.com/Homebrew/homebrew.git","ssh_url":"git@github.com:Homebrew/homebrew.git","clone_url":"https://github.com/Homebrew/homebrew.git","svn_url":"https://github.com/Homebrew/homebrew","homepage":"http://brew.sh","size":1429225,"stargazers_count":29528,"watchers_count":29528,"language":"Ruby","has_issues":true,"has_downloads":false,"has_wiki":false,"has_pages":false,"forks_count":14519,"mirror_url":null,"open_issues_count":483,"forks":14519,"open_issues":483,"watchers":29528,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/Homebrew/homebrew/pulls/49782"},"html":{"href":"https://github.com/Homebrew/homebrew/pull/49782"},"issue":{"href":"https://api.github.com/repos/Homebrew/homebrew/issues/49782"},"comments":{"href":"https://api.github.com/repos/Homebrew/homebrew/issues/49782/comments"},"review_comments":{"href":"https://api.github.com/repos/Homebrew/homebrew/pulls/49782/comments"},"review_comment":{"href":"https://api.github.com/repos/Homebrew/homebrew/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/Homebrew/homebrew/pulls/49782/commits"},"statuses":{"href":"https://api.github.com/repos/Homebrew/homebrew/statuses/95c5769c4feecf7dc1723f86b44fd3a9bd11491e"}}}}