{"action":"created","comment":{"url":"https://api.github.com/repos/codeclimate/codeclimate-rubocop/pulls/comments/205508489","pull_request_review_id":140792086,"id":205508489,"node_id":"MDI0OlB1bGxSZXF1ZXN0UmV2aWV3Q29tbWVudDIwNTUwODQ4OQ==","diff_hunk":"@@ -0,0 +1,38 @@\n+#!/bin/sh\n+set -eu\n+\n+if [ $# -eq 0 ]; then\n+  >&2 echo \"Usage: 'bin/newver X.Y.Z', where X.Y.Z is the Rubocop version to add.\"\n+  exit 1\n+fi\n+NEWVER=\"$1\"\n+\n+git checkout Gemfile*\n+git checkout -b \"newver/${NEWVER}\"\n+\n+ed Gemfile <<-EDITS\n+/gem \"parser\",/c\n+gem \"parser\"\n+.\n+/gem \"rubocop\",/c\n+gem \"rubocop\", \"~> ${NEWVER}\", require: false\n+.\n+wq\n+EDITS\n+\n+bundle update","path":"bin/newver","position":23,"original_position":23,"commit_id":"52b277f38e98b77ab9c6ab2d53aaac2900782fab","original_commit_id":"52b277f38e98b77ab9c6ab2d53aaac2900782fab","user":{"login":"wilson","id":174,"node_id":"MDQ6VXNlcjE3NA==","avatar_url":"https://avatars0.githubusercontent.com/u/174?v=4","gravatar_id":"","url":"https://api.github.com/users/wilson","html_url":"https://github.com/wilson","followers_url":"https://api.github.com/users/wilson/followers","following_url":"https://api.github.com/users/wilson/following{/other_user}","gists_url":"https://api.github.com/users/wilson/gists{/gist_id}","starred_url":"https://api.github.com/users/wilson/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/wilson/subscriptions","organizations_url":"https://api.github.com/users/wilson/orgs","repos_url":"https://api.github.com/users/wilson/repos","events_url":"https://api.github.com/users/wilson/events{/privacy}","received_events_url":"https://api.github.com/users/wilson/received_events","type":"User","site_admin":false},"body":"That seems like a nice improvement; I will change it to invoke docker like your example.","created_at":"2018-07-26T15:48:17Z","updated_at":"2018-07-26T15:48:17Z","html_url":"https://github.com/codeclimate/codeclimate-rubocop/pull/129#discussion_r205508489","pull_request_url":"https://api.github.com/repos/codeclimate/codeclimate-rubocop/pulls/129","author_association":"CONTRIBUTOR","_links":{"self":{"href":"https://api.github.com/repos/codeclimate/codeclimate-rubocop/pulls/comments/205508489"},"html":{"href":"https://github.com/codeclimate/codeclimate-rubocop/pull/129#discussion_r205508489"},"pull_request":{"href":"https://api.github.com/repos/codeclimate/codeclimate-rubocop/pulls/129"}},"in_reply_to_id":205506399},"pull_request":{"url":"https://api.github.com/repos/codeclimate/codeclimate-rubocop/pulls/129","id":204158929,"node_id":"MDExOlB1bGxSZXF1ZXN0MjA0MTU4OTI5","html_url":"https://github.com/codeclimate/codeclimate-rubocop/pull/129","diff_url":"https://github.com/codeclimate/codeclimate-rubocop/pull/129.diff","patch_url":"https://github.com/codeclimate/codeclimate-rubocop/pull/129.patch","issue_url":"https://api.github.com/repos/codeclimate/codeclimate-rubocop/issues/129","number":129,"state":"open","locked":false,"title":"Add `bin/newver` script for creating new Rubocop channels.","user":{"login":"wilson","id":174,"node_id":"MDQ6VXNlcjE3NA==","avatar_url":"https://avatars0.githubusercontent.com/u/174?v=4","gravatar_id":"","url":"https://api.github.com/users/wilson","html_url":"https://github.com/wilson","followers_url":"https://api.github.com/users/wilson/followers","following_url":"https://api.github.com/users/wilson/following{/other_user}","gists_url":"https://api.github.com/users/wilson/gists{/gist_id}","starred_url":"https://api.github.com/users/wilson/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/wilson/subscriptions","organizations_url":"https://api.github.com/users/wilson/orgs","repos_url":"https://api.github.com/users/wilson/repos","events_url":"https://api.github.com/users/wilson/events{/privacy}","received_events_url":"https://api.github.com/users/wilson/received_events","type":"User","site_admin":false},"body":"","created_at":"2018-07-26T14:21:22Z","updated_at":"2018-07-26T15:48:17Z","closed_at":null,"merged_at":null,"merge_commit_sha":"9cd1be828d1e2e705904f41ca9d30352c69c7514","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/codeclimate/codeclimate-rubocop/pulls/129/commits","review_comments_url":"https://api.github.com/repos/codeclimate/codeclimate-rubocop/pulls/129/comments","review_comment_url":"https://api.github.com/repos/codeclimate/codeclimate-rubocop/pulls/comments{/number}","comments_url":"https://api.github.com/repos/codeclimate/codeclimate-rubocop/issues/129/comments","statuses_url":"https://api.github.com/repos/codeclimate/codeclimate-rubocop/statuses/52b277f38e98b77ab9c6ab2d53aaac2900782fab","head":{"label":"codeclimate:wlb/new_version_script","ref":"wlb/new_version_script","sha":"52b277f38e98b77ab9c6ab2d53aaac2900782fab","user":{"login":"codeclimate","id":789641,"node_id":"MDEyOk9yZ2FuaXphdGlvbjc4OTY0MQ==","avatar_url":"https://avatars1.githubusercontent.com/u/789641?v=4","gravatar_id":"","url":"https://api.github.com/users/codeclimate","html_url":"https://github.com/codeclimate","followers_url":"https://api.github.com/users/codeclimate/followers","following_url":"https://api.github.com/users/codeclimate/following{/other_user}","gists_url":"https://api.github.com/users/codeclimate/gists{/gist_id}","starred_url":"https://api.github.com/users/codeclimate/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/codeclimate/subscriptions","organizations_url":"https://api.github.com/users/codeclimate/orgs","repos_url":"https://api.github.com/users/codeclimate/repos","events_url":"https://api.github.com/users/codeclimate/events{/privacy}","received_events_url":"https://api.github.com/users/codeclimate/received_events","type":"Organization","site_admin":false},"repo":{"id":37722820,"node_id":"MDEwOlJlcG9zaXRvcnkzNzcyMjgyMA==","name":"codeclimate-rubocop","full_name":"codeclimate/codeclimate-rubocop","owner":{"login":"codeclimate","id":789641,"node_id":"MDEyOk9yZ2FuaXphdGlvbjc4OTY0MQ==","avatar_url":"https://avatars1.githubusercontent.com/u/789641?v=4","gravatar_id":"","url":"https://api.github.com/users/codeclimate","html_url":"https://github.com/codeclimate","followers_url":"https://api.github.com/users/codeclimate/followers","following_url":"https://api.github.com/users/codeclimate/following{/other_user}","gists_url":"https://api.github.com/users/codeclimate/gists{/gist_id}","starred_url":"https://api.github.com/users/codeclimate/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/codeclimate/subscriptions","organizations_url":"https://api.github.com/users/codeclimate/orgs","repos_url":"https://api.github.com/users/codeclimate/repos","events_url":"https://api.github.com/users/codeclimate/events{/privacy}","received_events_url":"https://api.github.com/users/codeclimate/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/codeclimate/codeclimate-rubocop","description":"Code Climate Engine for Rubocop ","fork":false,"url":"https://api.github.com/repos/codeclimate/codeclimate-rubocop","forks_url":"https://api.github.com/repos/codeclimate/codeclimate-rubocop/forks","keys_url":"https://api.github.com/repos/codeclimate/codeclimate-rubocop/keys{/key_id}","collaborators_url":"https://api.github.com/repos/codeclimate/codeclimate-rubocop/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/codeclimate/codeclimate-rubocop/teams","hooks_url":"https://api.github.com/repos/codeclimate/codeclimate-rubocop/hooks","issue_events_url":"https://api.github.com/repos/codeclimate/codeclimate-rubocop/issues/events{/number}","events_url":"https://api.github.com/repos/codeclimate/codeclimate-rubocop/events","assignees_url":"https://api.github.com/repos/codeclimate/codeclimate-rubocop/assignees{/user}","branches_url":"https://api.github.com/repos/codeclimate/codeclimate-rubocop/branches{/branch}","tags_url":"https://api.github.com/repos/codeclimate/codeclimate-rubocop/tags","blobs_url":"https://api.github.com/repos/codeclimate/codeclimate-rubocop/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/codeclimate/codeclimate-rubocop/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/codeclimate/codeclimate-rubocop/git/refs{/sha}","trees_url":"https://api.github.com/repos/codeclimate/codeclimate-rubocop/git/trees{/sha}","statuses_url":"https://api.github.com/repos/codeclimate/codeclimate-rubocop/statuses/{sha}","languages_url":"https://api.github.com/repos/codeclimate/codeclimate-rubocop/languages","stargazers_url":"https://api.github.com/repos/codeclimate/codeclimate-rubocop/stargazers","contributors_url":"https://api.github.com/repos/codeclimate/codeclimate-rubocop/contributors","subscribers_url":"https://api.github.com/repos/codeclimate/codeclimate-rubocop/subscribers","subscription_url":"https://api.github.com/repos/codeclimate/codeclimate-rubocop/subscription","commits_url":"https://api.github.com/repos/codeclimate/codeclimate-rubocop/commits{/sha}","git_commits_url":"https://api.github.com/repos/codeclimate/codeclimate-rubocop/git/commits{/sha}","comments_url":"https://api.github.com/repos/codeclimate/codeclimate-rubocop/comments{/number}","issue_comment_url":"https://api.github.com/repos/codeclimate/codeclimate-rubocop/issues/comments{/number}","contents_url":"https://api.github.com/repos/codeclimate/codeclimate-rubocop/contents/{+path}","compare_url":"https://api.github.com/repos/codeclimate/codeclimate-rubocop/compare/{base}...{head}","merges_url":"https://api.github.com/repos/codeclimate/codeclimate-rubocop/merges","archive_url":"https://api.github.com/repos/codeclimate/codeclimate-rubocop/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/codeclimate/codeclimate-rubocop/downloads","issues_url":"https://api.github.com/repos/codeclimate/codeclimate-rubocop/issues{/number}","pulls_url":"https://api.github.com/repos/codeclimate/codeclimate-rubocop/pulls{/number}","milestones_url":"https://api.github.com/repos/codeclimate/codeclimate-rubocop/milestones{/number}","notifications_url":"https://api.github.com/repos/codeclimate/codeclimate-rubocop/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/codeclimate/codeclimate-rubocop/labels{/name}","releases_url":"https://api.github.com/repos/codeclimate/codeclimate-rubocop/releases{/id}","deployments_url":"https://api.github.com/repos/codeclimate/codeclimate-rubocop/deployments","created_at":"2015-06-19T13:19:23Z","updated_at":"2018-07-09T14:29:16Z","pushed_at":"2018-07-26T14:29:08Z","git_url":"git://github.com/codeclimate/codeclimate-rubocop.git","ssh_url":"git@github.com:codeclimate/codeclimate-rubocop.git","clone_url":"https://github.com/codeclimate/codeclimate-rubocop.git","svn_url":"https://github.com/codeclimate/codeclimate-rubocop","homepage":null,"size":2214,"stargazers_count":31,"watchers_count":31,"language":"Ruby","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":19,"mirror_url":null,"archived":false,"open_issues_count":8,"license":{"key":"other","name":"Other","spdx_id":null,"url":null,"node_id":"MDc6TGljZW5zZTA="},"forks":19,"open_issues":8,"watchers":31,"default_branch":"master"}},"base":{"label":"codeclimate:master","ref":"master","sha":"7bdc8e4bc26e013cf8be98cbc88659d10144cdae","user":{"login":"codeclimate","id":789641,"node_id":"MDEyOk9yZ2FuaXphdGlvbjc4OTY0MQ==","avatar_url":"https://avatars1.githubusercontent.com/u/789641?v=4","gravatar_id":"","url":"https://api.github.com/users/codeclimate","html_url":"https://github.com/codeclimate","followers_url":"https://api.github.com/users/codeclimate/followers","following_url":"https://api.github.com/users/codeclimate/following{/other_user}","gists_url":"https://api.github.com/users/codeclimate/gists{/gist_id}","starred_url":"https://api.github.com/users/codeclimate/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/codeclimate/subscriptions","organizations_url":"https://api.github.com/users/codeclimate/orgs","repos_url":"https://api.github.com/users/codeclimate/repos","events_url":"https://api.github.com/users/codeclimate/events{/privacy}","received_events_url":"https://api.github.com/users/codeclimate/received_events","type":"Organization","site_admin":false},"repo":{"id":37722820,"node_id":"MDEwOlJlcG9zaXRvcnkzNzcyMjgyMA==","name":"codeclimate-rubocop","full_name":"codeclimate/codeclimate-rubocop","owner":{"login":"codeclimate","id":789641,"node_id":"MDEyOk9yZ2FuaXphdGlvbjc4OTY0MQ==","avatar_url":"https://avatars1.githubusercontent.com/u/789641?v=4","gravatar_id":"","url":"https://api.github.com/users/codeclimate","html_url":"https://github.com/codeclimate","followers_url":"https://api.github.com/users/codeclimate/followers","following_url":"https://api.github.com/users/codeclimate/following{/other_user}","gists_url":"https://api.github.com/users/codeclimate/gists{/gist_id}","starred_url":"https://api.github.com/users/codeclimate/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/codeclimate/subscriptions","organizations_url":"https://api.github.com/users/codeclimate/orgs","repos_url":"https://api.github.com/users/codeclimate/repos","events_url":"https://api.github.com/users/codeclimate/events{/privacy}","received_events_url":"https://api.github.com/users/codeclimate/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/codeclimate/codeclimate-rubocop","description":"Code Climate Engine for Rubocop ","fork":false,"url":"https://api.github.com/repos/codeclimate/codeclimate-rubocop","forks_url":"https://api.github.com/repos/codeclimate/codeclimate-rubocop/forks","keys_url":"https://api.github.com/repos/codeclimate/codeclimate-rubocop/keys{/key_id}","collaborators_url":"https://api.github.com/repos/codeclimate/codeclimate-rubocop/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/codeclimate/codeclimate-rubocop/teams","hooks_url":"https://api.github.com/repos/codeclimate/codeclimate-rubocop/hooks","issue_events_url":"https://api.github.com/repos/codeclimate/codeclimate-rubocop/issues/events{/number}","events_url":"https://api.github.com/repos/codeclimate/codeclimate-rubocop/events","assignees_url":"https://api.github.com/repos/codeclimate/codeclimate-rubocop/assignees{/user}","branches_url":"https://api.github.com/repos/codeclimate/codeclimate-rubocop/branches{/branch}","tags_url":"https://api.github.com/repos/codeclimate/codeclimate-rubocop/tags","blobs_url":"https://api.github.com/repos/codeclimate/codeclimate-rubocop/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/codeclimate/codeclimate-rubocop/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/codeclimate/codeclimate-rubocop/git/refs{/sha}","trees_url":"https://api.github.com/repos/codeclimate/codeclimate-rubocop/git/trees{/sha}","statuses_url":"https://api.github.com/repos/codeclimate/codeclimate-rubocop/statuses/{sha}","languages_url":"https://api.github.com/repos/codeclimate/codeclimate-rubocop/languages","stargazers_url":"https://api.github.com/repos/codeclimate/codeclimate-rubocop/stargazers","contributors_url":"https://api.github.com/repos/codeclimate/codeclimate-rubocop/contributors","subscribers_url":"https://api.github.com/repos/codeclimate/codeclimate-rubocop/subscribers","subscription_url":"https://api.github.com/repos/codeclimate/codeclimate-rubocop/subscription","commits_url":"https://api.github.com/repos/codeclimate/codeclimate-rubocop/commits{/sha}","git_commits_url":"https://api.github.com/repos/codeclimate/codeclimate-rubocop/git/commits{/sha}","comments_url":"https://api.github.com/repos/codeclimate/codeclimate-rubocop/comments{/number}","issue_comment_url":"https://api.github.com/repos/codeclimate/codeclimate-rubocop/issues/comments{/number}","contents_url":"https://api.github.com/repos/codeclimate/codeclimate-rubocop/contents/{+path}","compare_url":"https://api.github.com/repos/codeclimate/codeclimate-rubocop/compare/{base}...{head}","merges_url":"https://api.github.com/repos/codeclimate/codeclimate-rubocop/merges","archive_url":"https://api.github.com/repos/codeclimate/codeclimate-rubocop/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/codeclimate/codeclimate-rubocop/downloads","issues_url":"https://api.github.com/repos/codeclimate/codeclimate-rubocop/issues{/number}","pulls_url":"https://api.github.com/repos/codeclimate/codeclimate-rubocop/pulls{/number}","milestones_url":"https://api.github.com/repos/codeclimate/codeclimate-rubocop/milestones{/number}","notifications_url":"https://api.github.com/repos/codeclimate/codeclimate-rubocop/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/codeclimate/codeclimate-rubocop/labels{/name}","releases_url":"https://api.github.com/repos/codeclimate/codeclimate-rubocop/releases{/id}","deployments_url":"https://api.github.com/repos/codeclimate/codeclimate-rubocop/deployments","created_at":"2015-06-19T13:19:23Z","updated_at":"2018-07-09T14:29:16Z","pushed_at":"2018-07-26T14:29:08Z","git_url":"git://github.com/codeclimate/codeclimate-rubocop.git","ssh_url":"git@github.com:codeclimate/codeclimate-rubocop.git","clone_url":"https://github.com/codeclimate/codeclimate-rubocop.git","svn_url":"https://github.com/codeclimate/codeclimate-rubocop","homepage":null,"size":2214,"stargazers_count":31,"watchers_count":31,"language":"Ruby","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":19,"mirror_url":null,"archived":false,"open_issues_count":8,"license":{"key":"other","name":"Other","spdx_id":null,"url":null,"node_id":"MDc6TGljZW5zZTA="},"forks":19,"open_issues":8,"watchers":31,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/codeclimate/codeclimate-rubocop/pulls/129"},"html":{"href":"https://github.com/codeclimate/codeclimate-rubocop/pull/129"},"issue":{"href":"https://api.github.com/repos/codeclimate/codeclimate-rubocop/issues/129"},"comments":{"href":"https://api.github.com/repos/codeclimate/codeclimate-rubocop/issues/129/comments"},"review_comments":{"href":"https://api.github.com/repos/codeclimate/codeclimate-rubocop/pulls/129/comments"},"review_comment":{"href":"https://api.github.com/repos/codeclimate/codeclimate-rubocop/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/codeclimate/codeclimate-rubocop/pulls/129/commits"},"statuses":{"href":"https://api.github.com/repos/codeclimate/codeclimate-rubocop/statuses/52b277f38e98b77ab9c6ab2d53aaac2900782fab"}},"author_association":"CONTRIBUTOR"}}
{"actor":{"display_login":"wilson"}}