{"action":"created","comment":{"url":"https://api.github.com/repos/moul/gotty-client/pulls/comments/40508828","id":40508828,"diff_hunk":"@@ -0,0 +1,34 @@\n+require \"language/go\"\n+\n+class GottyClient < Formula\n+  desc \"gotty-client: GoTTY client for your terminal\"\n+  homepage \"https://github.com/moul/gotty-client\"\n+  url \"https://github.com/moul/gotty-client/archive/v1.0.1.tar.gz\"\n+  sha256 \"b74a2501218863b3853dc871f53dab1893357dfcd395be853c0f36b3d427928c\"\n+\n+  head \"https://github.com/moul/gotty-client.git\"\n+\n+  depends_on \"go\" => :build\n+\n+  def install\n+    ENV[\"GOPATH\"] = buildpath\n+    ENV[\"CGO_ENABLED\"] = \"0\"\n+    ENV.prepend_create_path \"PATH\", buildpath/\"bin\"\n+\n+    mkdir_p buildpath/\"src/github.com/moul\"\n+    ln_s buildpath, buildpath/\"src/github.com/moul/gotty-client\"\n+    Language::Go.stage_deps resources, buildpath/\"src\"","path":"contrib/homebrew/gotty-client.rb","position":20,"original_position":20,"commit_id":"22e487af46eadf2961ea54e4b2173bcc12cb19db","original_commit_id":"22e487af46eadf2961ea54e4b2173bcc12cb19db","user":{"login":"houndci","id":6697940,"avatar_url":"https://avatars.githubusercontent.com/u/6697940?v=3","gravatar_id":"","url":"https://api.github.com/users/houndci","html_url":"https://github.com/houndci","followers_url":"https://api.github.com/users/houndci/followers","following_url":"https://api.github.com/users/houndci/following{/other_user}","gists_url":"https://api.github.com/users/houndci/gists{/gist_id}","starred_url":"https://api.github.com/users/houndci/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/houndci/subscriptions","organizations_url":"https://api.github.com/users/houndci/orgs","repos_url":"https://api.github.com/users/houndci/repos","events_url":"https://api.github.com/users/houndci/events{/privacy}","received_events_url":"https://api.github.com/users/houndci/received_events","type":"User","site_admin":false},"body":"Surrounding space missing for operator '/'.","created_at":"2015-09-27T19:52:15Z","updated_at":"2015-09-27T19:52:15Z","html_url":"https://github.com/moul/gotty-client/pull/4#discussion_r40508828","pull_request_url":"https://api.github.com/repos/moul/gotty-client/pulls/4","_links":{"self":{"href":"https://api.github.com/repos/moul/gotty-client/pulls/comments/40508828"},"html":{"href":"https://github.com/moul/gotty-client/pull/4#discussion_r40508828"},"pull_request":{"href":"https://api.github.com/repos/moul/gotty-client/pulls/4"}}},"pull_request":{"url":"https://api.github.com/repos/moul/gotty-client/pulls/4","id":46107390,"html_url":"https://github.com/moul/gotty-client/pull/4","diff_url":"https://github.com/moul/gotty-client/pull/4.diff","patch_url":"https://github.com/moul/gotty-client/pull/4.patch","issue_url":"https://api.github.com/repos/moul/gotty-client/issues/4","number":4,"state":"open","locked":false,"title":"Add 'homebrew support' (fix #1)","user":{"login":"moul","id":94029,"avatar_url":"https://avatars.githubusercontent.com/u/94029?v=3","gravatar_id":"","url":"https://api.github.com/users/moul","html_url":"https://github.com/moul","followers_url":"https://api.github.com/users/moul/followers","following_url":"https://api.github.com/users/moul/following{/other_user}","gists_url":"https://api.github.com/users/moul/gists{/gist_id}","starred_url":"https://api.github.com/users/moul/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/moul/subscriptions","organizations_url":"https://api.github.com/users/moul/orgs","repos_url":"https://api.github.com/users/moul/repos","events_url":"https://api.github.com/users/moul/events{/privacy}","received_events_url":"https://api.github.com/users/moul/received_events","type":"User","site_admin":false},"body":"","created_at":"2015-09-27T19:52:11Z","updated_at":"2015-09-27T19:52:15Z","closed_at":null,"merged_at":null,"merge_commit_sha":"f08b940893e164bd38a7b8859945cc7a769e3a22","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/moul/gotty-client/pulls/4/commits","review_comments_url":"https://api.github.com/repos/moul/gotty-client/pulls/4/comments","review_comment_url":"https://api.github.com/repos/moul/gotty-client/pulls/comments{/number}","comments_url":"https://api.github.com/repos/moul/gotty-client/issues/4/comments","statuses_url":"https://api.github.com/repos/moul/gotty-client/statuses/22e487af46eadf2961ea54e4b2173bcc12cb19db","head":{"label":"moul:fix-1","ref":"fix-1","sha":"22e487af46eadf2961ea54e4b2173bcc12cb19db","user":{"login":"moul","id":94029,"avatar_url":"https://avatars.githubusercontent.com/u/94029?v=3","gravatar_id":"","url":"https://api.github.com/users/moul","html_url":"https://github.com/moul","followers_url":"https://api.github.com/users/moul/followers","following_url":"https://api.github.com/users/moul/following{/other_user}","gists_url":"https://api.github.com/users/moul/gists{/gist_id}","starred_url":"https://api.github.com/users/moul/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/moul/subscriptions","organizations_url":"https://api.github.com/users/moul/orgs","repos_url":"https://api.github.com/users/moul/repos","events_url":"https://api.github.com/users/moul/events{/privacy}","received_events_url":"https://api.github.com/users/moul/received_events","type":"User","site_admin":false},"repo":{"id":41314939,"name":"gotty-client","full_name":"moul/gotty-client","owner":{"login":"moul","id":94029,"avatar_url":"https://avatars.githubusercontent.com/u/94029?v=3","gravatar_id":"","url":"https://api.github.com/users/moul","html_url":"https://github.com/moul","followers_url":"https://api.github.com/users/moul/followers","following_url":"https://api.github.com/users/moul/following{/other_user}","gists_url":"https://api.github.com/users/moul/gists{/gist_id}","starred_url":"https://api.github.com/users/moul/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/moul/subscriptions","organizations_url":"https://api.github.com/users/moul/orgs","repos_url":"https://api.github.com/users/moul/repos","events_url":"https://api.github.com/users/moul/events{/privacy}","received_events_url":"https://api.github.com/users/moul/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/moul/gotty-client","description":":wrench: GoTTY client for your terminal","fork":false,"url":"https://api.github.com/repos/moul/gotty-client","forks_url":"https://api.github.com/repos/moul/gotty-client/forks","keys_url":"https://api.github.com/repos/moul/gotty-client/keys{/key_id}","collaborators_url":"https://api.github.com/repos/moul/gotty-client/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/moul/gotty-client/teams","hooks_url":"https://api.github.com/repos/moul/gotty-client/hooks","issue_events_url":"https://api.github.com/repos/moul/gotty-client/issues/events{/number}","events_url":"https://api.github.com/repos/moul/gotty-client/events","assignees_url":"https://api.github.com/repos/moul/gotty-client/assignees{/user}","branches_url":"https://api.github.com/repos/moul/gotty-client/branches{/branch}","tags_url":"https://api.github.com/repos/moul/gotty-client/tags","blobs_url":"https://api.github.com/repos/moul/gotty-client/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/moul/gotty-client/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/moul/gotty-client/git/refs{/sha}","trees_url":"https://api.github.com/repos/moul/gotty-client/git/trees{/sha}","statuses_url":"https://api.github.com/repos/moul/gotty-client/statuses/{sha}","languages_url":"https://api.github.com/repos/moul/gotty-client/languages","stargazers_url":"https://api.github.com/repos/moul/gotty-client/stargazers","contributors_url":"https://api.github.com/repos/moul/gotty-client/contributors","subscribers_url":"https://api.github.com/repos/moul/gotty-client/subscribers","subscription_url":"https://api.github.com/repos/moul/gotty-client/subscription","commits_url":"https://api.github.com/repos/moul/gotty-client/commits{/sha}","git_commits_url":"https://api.github.com/repos/moul/gotty-client/git/commits{/sha}","comments_url":"https://api.github.com/repos/moul/gotty-client/comments{/number}","issue_comment_url":"https://api.github.com/repos/moul/gotty-client/issues/comments{/number}","contents_url":"https://api.github.com/repos/moul/gotty-client/contents/{+path}","compare_url":"https://api.github.com/repos/moul/gotty-client/compare/{base}...{head}","merges_url":"https://api.github.com/repos/moul/gotty-client/merges","archive_url":"https://api.github.com/repos/moul/gotty-client/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/moul/gotty-client/downloads","issues_url":"https://api.github.com/repos/moul/gotty-client/issues{/number}","pulls_url":"https://api.github.com/repos/moul/gotty-client/pulls{/number}","milestones_url":"https://api.github.com/repos/moul/gotty-client/milestones{/number}","notifications_url":"https://api.github.com/repos/moul/gotty-client/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/moul/gotty-client/labels{/name}","releases_url":"https://api.github.com/repos/moul/gotty-client/releases{/id}","created_at":"2015-08-24T16:37:56Z","updated_at":"2015-09-27T00:16:31Z","pushed_at":"2015-09-27T19:52:11Z","git_url":"git://github.com/moul/gotty-client.git","ssh_url":"git@github.com:moul/gotty-client.git","clone_url":"https://github.com/moul/gotty-client.git","svn_url":"https://github.com/moul/gotty-client","homepage":null,"size":137,"stargazers_count":14,"watchers_count":14,"language":"Go","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":2,"mirror_url":null,"open_issues_count":4,"forks":2,"open_issues":4,"watchers":14,"default_branch":"master"}},"base":{"label":"moul:master","ref":"master","sha":"001d1f353b3a9e919f0d0ce20bd2511db6df2394","user":{"login":"moul","id":94029,"avatar_url":"https://avatars.githubusercontent.com/u/94029?v=3","gravatar_id":"","url":"https://api.github.com/users/moul","html_url":"https://github.com/moul","followers_url":"https://api.github.com/users/moul/followers","following_url":"https://api.github.com/users/moul/following{/other_user}","gists_url":"https://api.github.com/users/moul/gists{/gist_id}","starred_url":"https://api.github.com/users/moul/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/moul/subscriptions","organizations_url":"https://api.github.com/users/moul/orgs","repos_url":"https://api.github.com/users/moul/repos","events_url":"https://api.github.com/users/moul/events{/privacy}","received_events_url":"https://api.github.com/users/moul/received_events","type":"User","site_admin":false},"repo":{"id":41314939,"name":"gotty-client","full_name":"moul/gotty-client","owner":{"login":"moul","id":94029,"avatar_url":"https://avatars.githubusercontent.com/u/94029?v=3","gravatar_id":"","url":"https://api.github.com/users/moul","html_url":"https://github.com/moul","followers_url":"https://api.github.com/users/moul/followers","following_url":"https://api.github.com/users/moul/following{/other_user}","gists_url":"https://api.github.com/users/moul/gists{/gist_id}","starred_url":"https://api.github.com/users/moul/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/moul/subscriptions","organizations_url":"https://api.github.com/users/moul/orgs","repos_url":"https://api.github.com/users/moul/repos","events_url":"https://api.github.com/users/moul/events{/privacy}","received_events_url":"https://api.github.com/users/moul/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/moul/gotty-client","description":":wrench: GoTTY client for your terminal","fork":false,"url":"https://api.github.com/repos/moul/gotty-client","forks_url":"https://api.github.com/repos/moul/gotty-client/forks","keys_url":"https://api.github.com/repos/moul/gotty-client/keys{/key_id}","collaborators_url":"https://api.github.com/repos/moul/gotty-client/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/moul/gotty-client/teams","hooks_url":"https://api.github.com/repos/moul/gotty-client/hooks","issue_events_url":"https://api.github.com/repos/moul/gotty-client/issues/events{/number}","events_url":"https://api.github.com/repos/moul/gotty-client/events","assignees_url":"https://api.github.com/repos/moul/gotty-client/assignees{/user}","branches_url":"https://api.github.com/repos/moul/gotty-client/branches{/branch}","tags_url":"https://api.github.com/repos/moul/gotty-client/tags","blobs_url":"https://api.github.com/repos/moul/gotty-client/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/moul/gotty-client/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/moul/gotty-client/git/refs{/sha}","trees_url":"https://api.github.com/repos/moul/gotty-client/git/trees{/sha}","statuses_url":"https://api.github.com/repos/moul/gotty-client/statuses/{sha}","languages_url":"https://api.github.com/repos/moul/gotty-client/languages","stargazers_url":"https://api.github.com/repos/moul/gotty-client/stargazers","contributors_url":"https://api.github.com/repos/moul/gotty-client/contributors","subscribers_url":"https://api.github.com/repos/moul/gotty-client/subscribers","subscription_url":"https://api.github.com/repos/moul/gotty-client/subscription","commits_url":"https://api.github.com/repos/moul/gotty-client/commits{/sha}","git_commits_url":"https://api.github.com/repos/moul/gotty-client/git/commits{/sha}","comments_url":"https://api.github.com/repos/moul/gotty-client/comments{/number}","issue_comment_url":"https://api.github.com/repos/moul/gotty-client/issues/comments{/number}","contents_url":"https://api.github.com/repos/moul/gotty-client/contents/{+path}","compare_url":"https://api.github.com/repos/moul/gotty-client/compare/{base}...{head}","merges_url":"https://api.github.com/repos/moul/gotty-client/merges","archive_url":"https://api.github.com/repos/moul/gotty-client/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/moul/gotty-client/downloads","issues_url":"https://api.github.com/repos/moul/gotty-client/issues{/number}","pulls_url":"https://api.github.com/repos/moul/gotty-client/pulls{/number}","milestones_url":"https://api.github.com/repos/moul/gotty-client/milestones{/number}","notifications_url":"https://api.github.com/repos/moul/gotty-client/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/moul/gotty-client/labels{/name}","releases_url":"https://api.github.com/repos/moul/gotty-client/releases{/id}","created_at":"2015-08-24T16:37:56Z","updated_at":"2015-09-27T00:16:31Z","pushed_at":"2015-09-27T19:52:11Z","git_url":"git://github.com/moul/gotty-client.git","ssh_url":"git@github.com:moul/gotty-client.git","clone_url":"https://github.com/moul/gotty-client.git","svn_url":"https://github.com/moul/gotty-client","homepage":null,"size":137,"stargazers_count":14,"watchers_count":14,"language":"Go","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":2,"mirror_url":null,"open_issues_count":4,"forks":2,"open_issues":4,"watchers":14,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/moul/gotty-client/pulls/4"},"html":{"href":"https://github.com/moul/gotty-client/pull/4"},"issue":{"href":"https://api.github.com/repos/moul/gotty-client/issues/4"},"comments":{"href":"https://api.github.com/repos/moul/gotty-client/issues/4/comments"},"review_comments":{"href":"https://api.github.com/repos/moul/gotty-client/pulls/4/comments"},"review_comment":{"href":"https://api.github.com/repos/moul/gotty-client/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/moul/gotty-client/pulls/4/commits"},"statuses":{"href":"https://api.github.com/repos/moul/gotty-client/statuses/22e487af46eadf2961ea54e4b2173bcc12cb19db"}}}}