{"action":"created","comment":{"url":"https://api.github.com/repos/Homebrew/homebrew/pulls/comments/36042413","id":36042413,"diff_hunk":"@@ -0,0 +1,20 @@\n+class Cgterm < Formula\n+  desc \"CGTerm is a C/G telnet client that lets you connect to C64 telnet BBS:s\"\n+  homepage \"http://paradroid.automac.se/cgterm/\"\n+  url \"http://paradroid.automac.se/cgterm/cgterm-1.6.tar.gz\"\n+  sha256 \"21b17a1f5178517c935b996d6f492dba9fca6a88bb7964f85cce8913f379a2a1\"\n+\n+  devel do\n+    url \"http://paradroid.automac.se/cgterm/cgterm-1.7b2.tar.gz\"\n+    sha256 \"152bfa86d5eef0f18536968619e17ab196e624962f0d54bd255a456d7fc38cac\"\n+  end\n+\n+  depends_on \"sdl\"\n+\n+  def install\n+    system \"make\", \"install\", \"PREFIX=#{prefix}\"\n+\n+    # Default to US keyboard layout\n+    ln_sf \"#{share}/cgterm/us.kbd\", \"#{share}/cgterm/keyboard.kbd\"\n+  end\n+end","path":"Library/Formula/cgterm.rb","position":20,"original_position":20,"commit_id":"ac53c19f23c69185df17768091f5006d90038ac2","original_commit_id":"ac53c19f23c69185df17768091f5006d90038ac2","user":{"login":"mikemcquaid","id":125011,"avatar_url":"https://avatars.githubusercontent.com/u/125011?v=3","gravatar_id":"","url":"https://api.github.com/users/mikemcquaid","html_url":"https://github.com/mikemcquaid","followers_url":"https://api.github.com/users/mikemcquaid/followers","following_url":"https://api.github.com/users/mikemcquaid/following{/other_user}","gists_url":"https://api.github.com/users/mikemcquaid/gists{/gist_id}","starred_url":"https://api.github.com/users/mikemcquaid/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mikemcquaid/subscriptions","organizations_url":"https://api.github.com/users/mikemcquaid/orgs","repos_url":"https://api.github.com/users/mikemcquaid/repos","events_url":"https://api.github.com/users/mikemcquaid/events{/privacy}","received_events_url":"https://api.github.com/users/mikemcquaid/received_events","type":"User","site_admin":true},"body":"Can a test be added to do something more substantial than e.g. `--version` or `--help`? See `cmake.rb` for an example of an application formula with a good test and `tinyxml2.rb` for an example of a library formula with a good test. Thanks!","created_at":"2015-08-02T12:05:19Z","updated_at":"2015-08-02T12:05:19Z","html_url":"https://github.com/Homebrew/homebrew/pull/42353#discussion_r36042413","pull_request_url":"https://api.github.com/repos/Homebrew/homebrew/pulls/42353","_links":{"self":{"href":"https://api.github.com/repos/Homebrew/homebrew/pulls/comments/36042413"},"html":{"href":"https://github.com/Homebrew/homebrew/pull/42353#discussion_r36042413"},"pull_request":{"href":"https://api.github.com/repos/Homebrew/homebrew/pulls/42353"}}},"pull_request":{"url":"https://api.github.com/repos/Homebrew/homebrew/pulls/42353","id":41415476,"html_url":"https://github.com/Homebrew/homebrew/pull/42353","diff_url":"https://github.com/Homebrew/homebrew/pull/42353.diff","patch_url":"https://github.com/Homebrew/homebrew/pull/42353.patch","issue_url":"https://api.github.com/repos/Homebrew/homebrew/issues/42353","number":42353,"state":"open","locked":false,"title":"Add cgterm 1.6","user":{"login":"adammw","id":153219,"avatar_url":"https://avatars.githubusercontent.com/u/153219?v=3","gravatar_id":"","url":"https://api.github.com/users/adammw","html_url":"https://github.com/adammw","followers_url":"https://api.github.com/users/adammw/followers","following_url":"https://api.github.com/users/adammw/following{/other_user}","gists_url":"https://api.github.com/users/adammw/gists{/gist_id}","starred_url":"https://api.github.com/users/adammw/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/adammw/subscriptions","organizations_url":"https://api.github.com/users/adammw/orgs","repos_url":"https://api.github.com/users/adammw/repos","events_url":"https://api.github.com/users/adammw/events{/privacy}","received_events_url":"https://api.github.com/users/adammw/received_events","type":"User","site_admin":false},"body":"","created_at":"2015-08-02T10:08:13Z","updated_at":"2015-08-02T12:05:19Z","closed_at":null,"merged_at":null,"merge_commit_sha":"a0b5707c6ed427c3e4463388e1dd5667d2b86cea","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/Homebrew/homebrew/pulls/42353/commits","review_comments_url":"https://api.github.com/repos/Homebrew/homebrew/pulls/42353/comments","review_comment_url":"https://api.github.com/repos/Homebrew/homebrew/pulls/comments{/number}","comments_url":"https://api.github.com/repos/Homebrew/homebrew/issues/42353/comments","statuses_url":"https://api.github.com/repos/Homebrew/homebrew/statuses/ac53c19f23c69185df17768091f5006d90038ac2","head":{"label":"adammw:cgterm","ref":"cgterm","sha":"ac53c19f23c69185df17768091f5006d90038ac2","user":{"login":"adammw","id":153219,"avatar_url":"https://avatars.githubusercontent.com/u/153219?v=3","gravatar_id":"","url":"https://api.github.com/users/adammw","html_url":"https://github.com/adammw","followers_url":"https://api.github.com/users/adammw/followers","following_url":"https://api.github.com/users/adammw/following{/other_user}","gists_url":"https://api.github.com/users/adammw/gists{/gist_id}","starred_url":"https://api.github.com/users/adammw/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/adammw/subscriptions","organizations_url":"https://api.github.com/users/adammw/orgs","repos_url":"https://api.github.com/users/adammw/repos","events_url":"https://api.github.com/users/adammw/events{/privacy}","received_events_url":"https://api.github.com/users/adammw/received_events","type":"User","site_admin":false},"repo":{"id":3033448,"name":"homebrew","full_name":"adammw/homebrew","owner":{"login":"adammw","id":153219,"avatar_url":"https://avatars.githubusercontent.com/u/153219?v=3","gravatar_id":"","url":"https://api.github.com/users/adammw","html_url":"https://github.com/adammw","followers_url":"https://api.github.com/users/adammw/followers","following_url":"https://api.github.com/users/adammw/following{/other_user}","gists_url":"https://api.github.com/users/adammw/gists{/gist_id}","starred_url":"https://api.github.com/users/adammw/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/adammw/subscriptions","organizations_url":"https://api.github.com/users/adammw/orgs","repos_url":"https://api.github.com/users/adammw/repos","events_url":"https://api.github.com/users/adammw/events{/privacy}","received_events_url":"https://api.github.com/users/adammw/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/adammw/homebrew","description":"The missing package manager for OS X.","fork":true,"url":"https://api.github.com/repos/adammw/homebrew","forks_url":"https://api.github.com/repos/adammw/homebrew/forks","keys_url":"https://api.github.com/repos/adammw/homebrew/keys{/key_id}","collaborators_url":"https://api.github.com/repos/adammw/homebrew/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/adammw/homebrew/teams","hooks_url":"https://api.github.com/repos/adammw/homebrew/hooks","issue_events_url":"https://api.github.com/repos/adammw/homebrew/issues/events{/number}","events_url":"https://api.github.com/repos/adammw/homebrew/events","assignees_url":"https://api.github.com/repos/adammw/homebrew/assignees{/user}","branches_url":"https://api.github.com/repos/adammw/homebrew/branches{/branch}","tags_url":"https://api.github.com/repos/adammw/homebrew/tags","blobs_url":"https://api.github.com/repos/adammw/homebrew/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/adammw/homebrew/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/adammw/homebrew/git/refs{/sha}","trees_url":"https://api.github.com/repos/adammw/homebrew/git/trees{/sha}","statuses_url":"https://api.github.com/repos/adammw/homebrew/statuses/{sha}","languages_url":"https://api.github.com/repos/adammw/homebrew/languages","stargazers_url":"https://api.github.com/repos/adammw/homebrew/stargazers","contributors_url":"https://api.github.com/repos/adammw/homebrew/contributors","subscribers_url":"https://api.github.com/repos/adammw/homebrew/subscribers","subscription_url":"https://api.github.com/repos/adammw/homebrew/subscription","commits_url":"https://api.github.com/repos/adammw/homebrew/commits{/sha}","git_commits_url":"https://api.github.com/repos/adammw/homebrew/git/commits{/sha}","comments_url":"https://api.github.com/repos/adammw/homebrew/comments{/number}","issue_comment_url":"https://api.github.com/repos/adammw/homebrew/issues/comments{/number}","contents_url":"https://api.github.com/repos/adammw/homebrew/contents/{+path}","compare_url":"https://api.github.com/repos/adammw/homebrew/compare/{base}...{head}","merges_url":"https://api.github.com/repos/adammw/homebrew/merges","archive_url":"https://api.github.com/repos/adammw/homebrew/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/adammw/homebrew/downloads","issues_url":"https://api.github.com/repos/adammw/homebrew/issues{/number}","pulls_url":"https://api.github.com/repos/adammw/homebrew/pulls{/number}","milestones_url":"https://api.github.com/repos/adammw/homebrew/milestones{/number}","notifications_url":"https://api.github.com/repos/adammw/homebrew/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/adammw/homebrew/labels{/name}","releases_url":"https://api.github.com/repos/adammw/homebrew/releases{/id}","created_at":"2011-12-22T11:28:24Z","updated_at":"2014-05-12T16:13:23Z","pushed_at":"2015-08-02T10:07:28Z","git_url":"git://github.com/adammw/homebrew.git","ssh_url":"git@github.com:adammw/homebrew.git","clone_url":"https://github.com/adammw/homebrew.git","svn_url":"https://github.com/adammw/homebrew","homepage":"http://mxcl.github.com/homebrew","size":49958,"stargazers_count":2,"watchers_count":2,"language":"Ruby","has_issues":false,"has_downloads":false,"has_wiki":true,"has_pages":true,"forks_count":3,"mirror_url":null,"open_issues_count":0,"forks":3,"open_issues":0,"watchers":2,"default_branch":"master"}},"base":{"label":"Homebrew:master","ref":"master","sha":"1b97612e3386c170d10ad8e446a319aec7c8132c","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}","created_at":"2009-05-20T19:38:37Z","updated_at":"2015-08-02T11:59:53Z","pushed_at":"2015-08-02T12:03:20Z","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":1572478,"stargazers_count":24426,"watchers_count":24426,"language":"Ruby","has_issues":true,"has_downloads":false,"has_wiki":true,"has_pages":true,"forks_count":12258,"mirror_url":null,"open_issues_count":352,"forks":12258,"open_issues":352,"watchers":24426,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/Homebrew/homebrew/pulls/42353"},"html":{"href":"https://github.com/Homebrew/homebrew/pull/42353"},"issue":{"href":"https://api.github.com/repos/Homebrew/homebrew/issues/42353"},"comments":{"href":"https://api.github.com/repos/Homebrew/homebrew/issues/42353/comments"},"review_comments":{"href":"https://api.github.com/repos/Homebrew/homebrew/pulls/42353/comments"},"review_comment":{"href":"https://api.github.com/repos/Homebrew/homebrew/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/Homebrew/homebrew/pulls/42353/commits"},"statuses":{"href":"https://api.github.com/repos/Homebrew/homebrew/statuses/ac53c19f23c69185df17768091f5006d90038ac2"}}}}