{"action":"created","comment":{"url":"https://api.github.com/repos/Homebrew/homebrew/pulls/comments/28057387","id":28057387,"diff_hunk":"@@ -0,0 +1,22 @@\n+class Gws < Formula\n+  homepage \"https://streakycobra.github.io/gws/\"\n+  url \"https://github.com/StreakyCobra/gws/archive/0.1.7.tar.gz\"\n+  sha256 \"36c25392f5cb93a39441a1973842249a62b605a2a7e369a040c78450683697d0\"\n+\n+  depends_on \"bash\"\n+\n+  def install\n+    bin.install \"src/gws\"\n+\n+    bash_completion.install \"completions/bash\"\n+    zsh_completion.install \"completions/zsh\"\n+  end\n+\n+  test do\n+    system \"git\", \"init\", testpath/\"project\"\n+    system \"gws\", \"init\", testpath\n+    output = `#{bin}/gws status testpath`.strip","path":"Library/Formula/gws.rb","position":18,"original_position":18,"commit_id":"0d90928699b141f95472807d76abca4d43fd0878","original_commit_id":"0d90928699b141f95472807d76abca4d43fd0878","user":{"login":"xu-cheng","id":3105373,"avatar_url":"https://avatars.githubusercontent.com/u/3105373?v=3","gravatar_id":"","url":"https://api.github.com/users/xu-cheng","html_url":"https://github.com/xu-cheng","followers_url":"https://api.github.com/users/xu-cheng/followers","following_url":"https://api.github.com/users/xu-cheng/following{/other_user}","gists_url":"https://api.github.com/users/xu-cheng/gists{/gist_id}","starred_url":"https://api.github.com/users/xu-cheng/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/xu-cheng/subscriptions","organizations_url":"https://api.github.com/users/xu-cheng/orgs","repos_url":"https://api.github.com/users/xu-cheng/repos","events_url":"https://api.github.com/users/xu-cheng/events{/privacy}","received_events_url":"https://api.github.com/users/xu-cheng/received_events","type":"User","site_admin":false},"body":"Please use `shell_ouput`. And shouldn't `testpath` be `#{testpath}`?","created_at":"2015-04-09T12:36:24Z","updated_at":"2015-04-09T12:36:24Z","html_url":"https://github.com/Homebrew/homebrew/pull/38007#discussion_r28057387","pull_request_url":"https://api.github.com/repos/Homebrew/homebrew/pulls/38007","_links":{"self":{"href":"https://api.github.com/repos/Homebrew/homebrew/pulls/comments/28057387"},"html":{"href":"https://github.com/Homebrew/homebrew/pull/38007#discussion_r28057387"},"pull_request":{"href":"https://api.github.com/repos/Homebrew/homebrew/pulls/38007"}}},"pull_request":{"url":"https://api.github.com/repos/Homebrew/homebrew/pulls/38007","id":31781547,"html_url":"https://github.com/Homebrew/homebrew/pull/38007","diff_url":"https://github.com/Homebrew/homebrew/pull/38007.diff","patch_url":"https://github.com/Homebrew/homebrew/pull/38007.patch","issue_url":"https://api.github.com/repos/Homebrew/homebrew/issues/38007","number":38007,"state":"open","locked":false,"title":"gws 0.1.7 (new formula)","user":{"login":"frodeaa","id":45172,"avatar_url":"https://avatars.githubusercontent.com/u/45172?v=3","gravatar_id":"","url":"https://api.github.com/users/frodeaa","html_url":"https://github.com/frodeaa","followers_url":"https://api.github.com/users/frodeaa/followers","following_url":"https://api.github.com/users/frodeaa/following{/other_user}","gists_url":"https://api.github.com/users/frodeaa/gists{/gist_id}","starred_url":"https://api.github.com/users/frodeaa/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/frodeaa/subscriptions","organizations_url":"https://api.github.com/users/frodeaa/orgs","repos_url":"https://api.github.com/users/frodeaa/repos","events_url":"https://api.github.com/users/frodeaa/events{/privacy}","received_events_url":"https://api.github.com/users/frodeaa/received_events","type":"User","site_admin":false},"body":"","created_at":"2015-03-23T22:42:24Z","updated_at":"2015-04-09T12:36:24Z","closed_at":null,"merged_at":null,"merge_commit_sha":"a277797eb9d3cdbcee6ea8065d231ae8a8c5b3b5","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/Homebrew/homebrew/pulls/38007/commits","review_comments_url":"https://api.github.com/repos/Homebrew/homebrew/pulls/38007/comments","review_comment_url":"https://api.github.com/repos/Homebrew/homebrew/pulls/comments{/number}","comments_url":"https://api.github.com/repos/Homebrew/homebrew/issues/38007/comments","statuses_url":"https://api.github.com/repos/Homebrew/homebrew/statuses/0d90928699b141f95472807d76abca4d43fd0878","head":{"label":"frodeaa:gws","ref":"gws","sha":"0d90928699b141f95472807d76abca4d43fd0878","user":{"login":"frodeaa","id":45172,"avatar_url":"https://avatars.githubusercontent.com/u/45172?v=3","gravatar_id":"","url":"https://api.github.com/users/frodeaa","html_url":"https://github.com/frodeaa","followers_url":"https://api.github.com/users/frodeaa/followers","following_url":"https://api.github.com/users/frodeaa/following{/other_user}","gists_url":"https://api.github.com/users/frodeaa/gists{/gist_id}","starred_url":"https://api.github.com/users/frodeaa/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/frodeaa/subscriptions","organizations_url":"https://api.github.com/users/frodeaa/orgs","repos_url":"https://api.github.com/users/frodeaa/repos","events_url":"https://api.github.com/users/frodeaa/events{/privacy}","received_events_url":"https://api.github.com/users/frodeaa/received_events","type":"User","site_admin":false},"repo":{"id":32761062,"name":"homebrew","full_name":"frodeaa/homebrew","owner":{"login":"frodeaa","id":45172,"avatar_url":"https://avatars.githubusercontent.com/u/45172?v=3","gravatar_id":"","url":"https://api.github.com/users/frodeaa","html_url":"https://github.com/frodeaa","followers_url":"https://api.github.com/users/frodeaa/followers","following_url":"https://api.github.com/users/frodeaa/following{/other_user}","gists_url":"https://api.github.com/users/frodeaa/gists{/gist_id}","starred_url":"https://api.github.com/users/frodeaa/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/frodeaa/subscriptions","organizations_url":"https://api.github.com/users/frodeaa/orgs","repos_url":"https://api.github.com/users/frodeaa/repos","events_url":"https://api.github.com/users/frodeaa/events{/privacy}","received_events_url":"https://api.github.com/users/frodeaa/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/frodeaa/homebrew","description":"The missing package manager for OS X.","fork":true,"url":"https://api.github.com/repos/frodeaa/homebrew","forks_url":"https://api.github.com/repos/frodeaa/homebrew/forks","keys_url":"https://api.github.com/repos/frodeaa/homebrew/keys{/key_id}","collaborators_url":"https://api.github.com/repos/frodeaa/homebrew/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/frodeaa/homebrew/teams","hooks_url":"https://api.github.com/repos/frodeaa/homebrew/hooks","issue_events_url":"https://api.github.com/repos/frodeaa/homebrew/issues/events{/number}","events_url":"https://api.github.com/repos/frodeaa/homebrew/events","assignees_url":"https://api.github.com/repos/frodeaa/homebrew/assignees{/user}","branches_url":"https://api.github.com/repos/frodeaa/homebrew/branches{/branch}","tags_url":"https://api.github.com/repos/frodeaa/homebrew/tags","blobs_url":"https://api.github.com/repos/frodeaa/homebrew/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/frodeaa/homebrew/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/frodeaa/homebrew/git/refs{/sha}","trees_url":"https://api.github.com/repos/frodeaa/homebrew/git/trees{/sha}","statuses_url":"https://api.github.com/repos/frodeaa/homebrew/statuses/{sha}","languages_url":"https://api.github.com/repos/frodeaa/homebrew/languages","stargazers_url":"https://api.github.com/repos/frodeaa/homebrew/stargazers","contributors_url":"https://api.github.com/repos/frodeaa/homebrew/contributors","subscribers_url":"https://api.github.com/repos/frodeaa/homebrew/subscribers","subscription_url":"https://api.github.com/repos/frodeaa/homebrew/subscription","commits_url":"https://api.github.com/repos/frodeaa/homebrew/commits{/sha}","git_commits_url":"https://api.github.com/repos/frodeaa/homebrew/git/commits{/sha}","comments_url":"https://api.github.com/repos/frodeaa/homebrew/comments{/number}","issue_comment_url":"https://api.github.com/repos/frodeaa/homebrew/issues/comments{/number}","contents_url":"https://api.github.com/repos/frodeaa/homebrew/contents/{+path}","compare_url":"https://api.github.com/repos/frodeaa/homebrew/compare/{base}...{head}","merges_url":"https://api.github.com/repos/frodeaa/homebrew/merges","archive_url":"https://api.github.com/repos/frodeaa/homebrew/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/frodeaa/homebrew/downloads","issues_url":"https://api.github.com/repos/frodeaa/homebrew/issues{/number}","pulls_url":"https://api.github.com/repos/frodeaa/homebrew/pulls{/number}","milestones_url":"https://api.github.com/repos/frodeaa/homebrew/milestones{/number}","notifications_url":"https://api.github.com/repos/frodeaa/homebrew/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/frodeaa/homebrew/labels{/name}","releases_url":"https://api.github.com/repos/frodeaa/homebrew/releases{/id}","created_at":"2015-03-23T21:54:41Z","updated_at":"2015-04-05T18:13:01Z","pushed_at":"2015-04-07T22:27:15Z","git_url":"git://github.com/frodeaa/homebrew.git","ssh_url":"git@github.com:frodeaa/homebrew.git","clone_url":"https://github.com/frodeaa/homebrew.git","svn_url":"https://github.com/frodeaa/homebrew","homepage":"http://brew.sh","size":35142,"stargazers_count":0,"watchers_count":0,"language":"Ruby","has_issues":false,"has_downloads":false,"has_wiki":true,"has_pages":true,"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":"f053cc086d31b7e19c2bf60a4d30d0fe8cb7885e","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":"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-04-09T12:30:21Z","pushed_at":"2015-04-09T12:35:28Z","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":1487716,"stargazers_count":22355,"watchers_count":22355,"language":"Ruby","has_issues":true,"has_downloads":false,"has_wiki":true,"has_pages":true,"forks_count":11188,"mirror_url":null,"open_issues_count":383,"forks":11188,"open_issues":383,"watchers":22355,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/Homebrew/homebrew/pulls/38007"},"html":{"href":"https://github.com/Homebrew/homebrew/pull/38007"},"issue":{"href":"https://api.github.com/repos/Homebrew/homebrew/issues/38007"},"comments":{"href":"https://api.github.com/repos/Homebrew/homebrew/issues/38007/comments"},"review_comments":{"href":"https://api.github.com/repos/Homebrew/homebrew/pulls/38007/comments"},"review_comment":{"href":"https://api.github.com/repos/Homebrew/homebrew/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/Homebrew/homebrew/pulls/38007/commits"},"statuses":{"href":"https://api.github.com/repos/Homebrew/homebrew/statuses/0d90928699b141f95472807d76abca4d43fd0878"}}}}