{"action":"created","comment":{"url":"https://api.github.com/repos/Homebrew/homebrew-core/pulls/comments/171466273","pull_request_review_id":100320570,"id":171466273,"diff_hunk":"@@ -0,0 +1,30 @@\n+class GitlabGem < Formula\n+  desc \"Ruby client and CLI for GitLab API\"\n+  homepage \"https://github.com/NARKOZ/gitlab\"\n+  url \"https://github.com/NARKOZ/gitlab/archive/v4.3.0.tar.gz\"\n+  sha256 \"b2679d0696642f67ba84a4f9df21ad4a7bf1bc814d7f86218b72ebe5e56ff2d0\"\n+  head \"https://github.com/NARKOZ/gitlab.git\"\n+\n+  resource \"httparty\" do\n+    url \"https://rubygems.org/gems/httparty-0.16.0.gem\"\n+    sha256 \"c3e08fac9079fdbe175158782c61f6db6a1918446399560d0bfce1e752b5a5d2\"\n+  end\n+\n+  resource \"terminal-table\" do\n+    url \"https://rubygems.org/gems/terminal-table-1.8.0.gem\"\n+    sha256 \"13371f069af18e9baa4e44d404a4ada9301899ce0530c237ac1a96c19f652294\"\n+  end\n+\n+  def install\n+    ENV[\"GEM_HOME\"] = libexec\n+    system \"gem\", \"build\", \"gitlab.gemspec\"\n+    system \"gem\", \"install\", \"gitlab-#{version}.gem\"\n+    bin.install \"exe/gitlab\"\n+    bin.env_script_all_files(libexec/\"exe\", :GEM_HOME => ENV[\"GEM_HOME\"])\n+    libexec.install Dir[\"*\"]\n+  end\n+\n+  test do\n+    assert_equal \"Gitlab Ruby Gem 4.3.0\", shell_output(\"#{bin}/gitlab --version\").strip","path":"Formula/gitlab-gem.rb","position":28,"original_position":28,"commit_id":"0dca20d71bee273c6f418d834f427d1f57a584da","original_commit_id":"0dca20d71bee273c6f418d834f427d1f57a584da","user":{"login":"NARKOZ","id":253398,"avatar_url":"https://avatars2.githubusercontent.com/u/253398?v=4","gravatar_id":"","url":"https://api.github.com/users/NARKOZ","html_url":"https://github.com/NARKOZ","followers_url":"https://api.github.com/users/NARKOZ/followers","following_url":"https://api.github.com/users/NARKOZ/following{/other_user}","gists_url":"https://api.github.com/users/NARKOZ/gists{/gist_id}","starred_url":"https://api.github.com/users/NARKOZ/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/NARKOZ/subscriptions","organizations_url":"https://api.github.com/users/NARKOZ/orgs","repos_url":"https://api.github.com/users/NARKOZ/repos","events_url":"https://api.github.com/users/NARKOZ/events{/privacy}","received_events_url":"https://api.github.com/users/NARKOZ/received_events","type":"User","site_admin":false},"body":"For CLI we can check output of `help`, `info`, and `--version` commands.\r\n\r\n`help` lists all available actions. `info` gives information about environment (ruby version, API token and endpoint).","created_at":"2018-03-01T05:29:22Z","updated_at":"2018-03-01T05:29:23Z","html_url":"https://github.com/Homebrew/homebrew-core/pull/24421#discussion_r171466273","pull_request_url":"https://api.github.com/repos/Homebrew/homebrew-core/pulls/24421","author_association":"CONTRIBUTOR","_links":{"self":{"href":"https://api.github.com/repos/Homebrew/homebrew-core/pulls/comments/171466273"},"html":{"href":"https://github.com/Homebrew/homebrew-core/pull/24421#discussion_r171466273"},"pull_request":{"href":"https://api.github.com/repos/Homebrew/homebrew-core/pulls/24421"}},"in_reply_to_id":171457409},"pull_request":{"url":"https://api.github.com/repos/Homebrew/homebrew-core/pulls/24421","id":170663052,"html_url":"https://github.com/Homebrew/homebrew-core/pull/24421","diff_url":"https://github.com/Homebrew/homebrew-core/pull/24421.diff","patch_url":"https://github.com/Homebrew/homebrew-core/pull/24421.patch","issue_url":"https://api.github.com/repos/Homebrew/homebrew-core/issues/24421","number":24421,"state":"open","locked":false,"title":"gitlab-gem 4.3.0 (new formula)","user":{"login":"NARKOZ","id":253398,"avatar_url":"https://avatars2.githubusercontent.com/u/253398?v=4","gravatar_id":"","url":"https://api.github.com/users/NARKOZ","html_url":"https://github.com/NARKOZ","followers_url":"https://api.github.com/users/NARKOZ/followers","following_url":"https://api.github.com/users/NARKOZ/following{/other_user}","gists_url":"https://api.github.com/users/NARKOZ/gists{/gist_id}","starred_url":"https://api.github.com/users/NARKOZ/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/NARKOZ/subscriptions","organizations_url":"https://api.github.com/users/NARKOZ/orgs","repos_url":"https://api.github.com/users/NARKOZ/repos","events_url":"https://api.github.com/users/NARKOZ/events{/privacy}","received_events_url":"https://api.github.com/users/NARKOZ/received_events","type":"User","site_admin":false},"body":"- [x] Have you followed the [guidelines for contributing](https://github.com/Homebrew/homebrew-core/blob/master/CONTRIBUTING.md)?\r\n- [x] Have you checked that there aren't other open [pull requests](https://github.com/Homebrew/homebrew-core/pulls) for the same formula update/change?\r\n- [x] Have you built your formula locally with `brew install --build-from-source <formula>`, where `<formula>` is the name of the formula you're submitting?\r\n- [x] Does your build pass `brew audit --strict <formula>` (after doing `brew install <formula>`)?\r\n\r\n-----\r\n","created_at":"2018-02-22T05:54:13Z","updated_at":"2018-03-01T05:29:23Z","closed_at":null,"merged_at":null,"merge_commit_sha":"105f5cf9b115e5f0ca3a46d76772d075f99d25fd","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[{"id":351932951,"url":"https://api.github.com/repos/Homebrew/homebrew-core/labels/new%20formula","name":"new formula","color":"5319e7","default":false}],"milestone":null,"commits_url":"https://api.github.com/repos/Homebrew/homebrew-core/pulls/24421/commits","review_comments_url":"https://api.github.com/repos/Homebrew/homebrew-core/pulls/24421/comments","review_comment_url":"https://api.github.com/repos/Homebrew/homebrew-core/pulls/comments{/number}","comments_url":"https://api.github.com/repos/Homebrew/homebrew-core/issues/24421/comments","statuses_url":"https://api.github.com/repos/Homebrew/homebrew-core/statuses/0dca20d71bee273c6f418d834f427d1f57a584da","head":{"label":"NARKOZ:gitlab-gem-4.3.0","ref":"gitlab-gem-4.3.0","sha":"0dca20d71bee273c6f418d834f427d1f57a584da","user":{"login":"NARKOZ","id":253398,"avatar_url":"https://avatars2.githubusercontent.com/u/253398?v=4","gravatar_id":"","url":"https://api.github.com/users/NARKOZ","html_url":"https://github.com/NARKOZ","followers_url":"https://api.github.com/users/NARKOZ/followers","following_url":"https://api.github.com/users/NARKOZ/following{/other_user}","gists_url":"https://api.github.com/users/NARKOZ/gists{/gist_id}","starred_url":"https://api.github.com/users/NARKOZ/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/NARKOZ/subscriptions","organizations_url":"https://api.github.com/users/NARKOZ/orgs","repos_url":"https://api.github.com/users/NARKOZ/repos","events_url":"https://api.github.com/users/NARKOZ/events{/privacy}","received_events_url":"https://api.github.com/users/NARKOZ/received_events","type":"User","site_admin":false},"repo":{"id":122435759,"name":"homebrew-core","full_name":"NARKOZ/homebrew-core","owner":{"login":"NARKOZ","id":253398,"avatar_url":"https://avatars2.githubusercontent.com/u/253398?v=4","gravatar_id":"","url":"https://api.github.com/users/NARKOZ","html_url":"https://github.com/NARKOZ","followers_url":"https://api.github.com/users/NARKOZ/followers","following_url":"https://api.github.com/users/NARKOZ/following{/other_user}","gists_url":"https://api.github.com/users/NARKOZ/gists{/gist_id}","starred_url":"https://api.github.com/users/NARKOZ/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/NARKOZ/subscriptions","organizations_url":"https://api.github.com/users/NARKOZ/orgs","repos_url":"https://api.github.com/users/NARKOZ/repos","events_url":"https://api.github.com/users/NARKOZ/events{/privacy}","received_events_url":"https://api.github.com/users/NARKOZ/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/NARKOZ/homebrew-core","description":"🍻 Default formulae for the missing package manager for macOS","fork":true,"url":"https://api.github.com/repos/NARKOZ/homebrew-core","forks_url":"https://api.github.com/repos/NARKOZ/homebrew-core/forks","keys_url":"https://api.github.com/repos/NARKOZ/homebrew-core/keys{/key_id}","collaborators_url":"https://api.github.com/repos/NARKOZ/homebrew-core/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/NARKOZ/homebrew-core/teams","hooks_url":"https://api.github.com/repos/NARKOZ/homebrew-core/hooks","issue_events_url":"https://api.github.com/repos/NARKOZ/homebrew-core/issues/events{/number}","events_url":"https://api.github.com/repos/NARKOZ/homebrew-core/events","assignees_url":"https://api.github.com/repos/NARKOZ/homebrew-core/assignees{/user}","branches_url":"https://api.github.com/repos/NARKOZ/homebrew-core/branches{/branch}","tags_url":"https://api.github.com/repos/NARKOZ/homebrew-core/tags","blobs_url":"https://api.github.com/repos/NARKOZ/homebrew-core/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/NARKOZ/homebrew-core/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/NARKOZ/homebrew-core/git/refs{/sha}","trees_url":"https://api.github.com/repos/NARKOZ/homebrew-core/git/trees{/sha}","statuses_url":"https://api.github.com/repos/NARKOZ/homebrew-core/statuses/{sha}","languages_url":"https://api.github.com/repos/NARKOZ/homebrew-core/languages","stargazers_url":"https://api.github.com/repos/NARKOZ/homebrew-core/stargazers","contributors_url":"https://api.github.com/repos/NARKOZ/homebrew-core/contributors","subscribers_url":"https://api.github.com/repos/NARKOZ/homebrew-core/subscribers","subscription_url":"https://api.github.com/repos/NARKOZ/homebrew-core/subscription","commits_url":"https://api.github.com/repos/NARKOZ/homebrew-core/commits{/sha}","git_commits_url":"https://api.github.com/repos/NARKOZ/homebrew-core/git/commits{/sha}","comments_url":"https://api.github.com/repos/NARKOZ/homebrew-core/comments{/number}","issue_comment_url":"https://api.github.com/repos/NARKOZ/homebrew-core/issues/comments{/number}","contents_url":"https://api.github.com/repos/NARKOZ/homebrew-core/contents/{+path}","compare_url":"https://api.github.com/repos/NARKOZ/homebrew-core/compare/{base}...{head}","merges_url":"https://api.github.com/repos/NARKOZ/homebrew-core/merges","archive_url":"https://api.github.com/repos/NARKOZ/homebrew-core/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/NARKOZ/homebrew-core/downloads","issues_url":"https://api.github.com/repos/NARKOZ/homebrew-core/issues{/number}","pulls_url":"https://api.github.com/repos/NARKOZ/homebrew-core/pulls{/number}","milestones_url":"https://api.github.com/repos/NARKOZ/homebrew-core/milestones{/number}","notifications_url":"https://api.github.com/repos/NARKOZ/homebrew-core/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/NARKOZ/homebrew-core/labels{/name}","releases_url":"https://api.github.com/repos/NARKOZ/homebrew-core/releases{/id}","deployments_url":"https://api.github.com/repos/NARKOZ/homebrew-core/deployments","created_at":"2018-02-22T05:39:53Z","updated_at":"2018-02-22T05:40:24Z","pushed_at":"2018-02-23T07:38:35Z","git_url":"git://github.com/NARKOZ/homebrew-core.git","ssh_url":"git@github.com:NARKOZ/homebrew-core.git","clone_url":"https://github.com/NARKOZ/homebrew-core.git","svn_url":"https://github.com/NARKOZ/homebrew-core","homepage":"https://brew.sh","size":169701,"stargazers_count":0,"watchers_count":0,"language":"Ruby","has_issues":false,"has_projects":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":0,"license":{"key":"bsd-2-clause","name":"BSD 2-Clause \"Simplified\" License","spdx_id":"BSD-2-Clause","url":"https://api.github.com/licenses/bsd-2-clause"},"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"Homebrew:master","ref":"master","sha":"8bca1a25b0d8f26c814f4502bbc648f7b3e598ad","user":{"login":"Homebrew","id":1503512,"avatar_url":"https://avatars2.githubusercontent.com/u/1503512?v=4","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":52855516,"name":"homebrew-core","full_name":"Homebrew/homebrew-core","owner":{"login":"Homebrew","id":1503512,"avatar_url":"https://avatars2.githubusercontent.com/u/1503512?v=4","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-core","description":"🍻 Default formulae for the missing package manager for macOS","fork":false,"url":"https://api.github.com/repos/Homebrew/homebrew-core","forks_url":"https://api.github.com/repos/Homebrew/homebrew-core/forks","keys_url":"https://api.github.com/repos/Homebrew/homebrew-core/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Homebrew/homebrew-core/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Homebrew/homebrew-core/teams","hooks_url":"https://api.github.com/repos/Homebrew/homebrew-core/hooks","issue_events_url":"https://api.github.com/repos/Homebrew/homebrew-core/issues/events{/number}","events_url":"https://api.github.com/repos/Homebrew/homebrew-core/events","assignees_url":"https://api.github.com/repos/Homebrew/homebrew-core/assignees{/user}","branches_url":"https://api.github.com/repos/Homebrew/homebrew-core/branches{/branch}","tags_url":"https://api.github.com/repos/Homebrew/homebrew-core/tags","blobs_url":"https://api.github.com/repos/Homebrew/homebrew-core/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Homebrew/homebrew-core/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Homebrew/homebrew-core/git/refs{/sha}","trees_url":"https://api.github.com/repos/Homebrew/homebrew-core/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Homebrew/homebrew-core/statuses/{sha}","languages_url":"https://api.github.com/repos/Homebrew/homebrew-core/languages","stargazers_url":"https://api.github.com/repos/Homebrew/homebrew-core/stargazers","contributors_url":"https://api.github.com/repos/Homebrew/homebrew-core/contributors","subscribers_url":"https://api.github.com/repos/Homebrew/homebrew-core/subscribers","subscription_url":"https://api.github.com/repos/Homebrew/homebrew-core/subscription","commits_url":"https://api.github.com/repos/Homebrew/homebrew-core/commits{/sha}","git_commits_url":"https://api.github.com/repos/Homebrew/homebrew-core/git/commits{/sha}","comments_url":"https://api.github.com/repos/Homebrew/homebrew-core/comments{/number}","issue_comment_url":"https://api.github.com/repos/Homebrew/homebrew-core/issues/comments{/number}","contents_url":"https://api.github.com/repos/Homebrew/homebrew-core/contents/{+path}","compare_url":"https://api.github.com/repos/Homebrew/homebrew-core/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Homebrew/homebrew-core/merges","archive_url":"https://api.github.com/repos/Homebrew/homebrew-core/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Homebrew/homebrew-core/downloads","issues_url":"https://api.github.com/repos/Homebrew/homebrew-core/issues{/number}","pulls_url":"https://api.github.com/repos/Homebrew/homebrew-core/pulls{/number}","milestones_url":"https://api.github.com/repos/Homebrew/homebrew-core/milestones{/number}","notifications_url":"https://api.github.com/repos/Homebrew/homebrew-core/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Homebrew/homebrew-core/labels{/name}","releases_url":"https://api.github.com/repos/Homebrew/homebrew-core/releases{/id}","deployments_url":"https://api.github.com/repos/Homebrew/homebrew-core/deployments","created_at":"2016-03-01T06:58:36Z","updated_at":"2018-02-28T18:08:43Z","pushed_at":"2018-03-01T04:31:55Z","git_url":"git://github.com/Homebrew/homebrew-core.git","ssh_url":"git@github.com:Homebrew/homebrew-core.git","clone_url":"https://github.com/Homebrew/homebrew-core.git","svn_url":"https://github.com/Homebrew/homebrew-core","homepage":"https://brew.sh","size":171226,"stargazers_count":3134,"watchers_count":3134,"language":"Ruby","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":3988,"mirror_url":null,"archived":false,"open_issues_count":73,"license":{"key":"bsd-2-clause","name":"BSD 2-Clause \"Simplified\" License","spdx_id":"BSD-2-Clause","url":"https://api.github.com/licenses/bsd-2-clause"},"forks":3988,"open_issues":73,"watchers":3134,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/Homebrew/homebrew-core/pulls/24421"},"html":{"href":"https://github.com/Homebrew/homebrew-core/pull/24421"},"issue":{"href":"https://api.github.com/repos/Homebrew/homebrew-core/issues/24421"},"comments":{"href":"https://api.github.com/repos/Homebrew/homebrew-core/issues/24421/comments"},"review_comments":{"href":"https://api.github.com/repos/Homebrew/homebrew-core/pulls/24421/comments"},"review_comment":{"href":"https://api.github.com/repos/Homebrew/homebrew-core/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/Homebrew/homebrew-core/pulls/24421/commits"},"statuses":{"href":"https://api.github.com/repos/Homebrew/homebrew-core/statuses/0dca20d71bee273c6f418d834f427d1f57a584da"}},"author_association":"CONTRIBUTOR"}}
{"actor":{"display_login":"NARKOZ"}}