{"action":"created","comment":{"url":"https://api.github.com/repos/jebie/sample/pulls/comments/81530521","pull_request_review_id":2503317,"id":81530521,"diff_hunk":"@@ -0,0 +1,139 @@\n+# see: https://github.com/bbatsov/ruby-style-guide\n+\n+class RubocopCustomOutput\n+\n+  # extra line should be omitted above\n+\n+  # bad\n+  BAD_HASH = {\n+    test: \"test\",\n+    test1: \"test1\",\n+    test100: \"test100\"\n+  }\n+\n+  # good\n+  GOOD_HASH = {\n+    test:    \"test\",\n+    test1:   \"test1\",\n+    test100: \"test100\"\n+  }.map!(&:freeze).freeze\n+\n+  def call_method\n+    # bad\n+    enforce_last_argument({\n+      a: 1, b: 2, c: 4, d: 5\n+    })\n+\n+    # good\n+    enforce_last_argument(\n+      a: 1, b: 2, c: 4, d: 5\n+    )\n+\n+    # bad\n+    get_important(12, \"Tokyo\",\n+      \"en\")\n+\n+    # good\n+    get_important(12, \"Tokyo\",\n+                  \"en\")\n+\n+    # better\n+    get_important(12, \"Tokyo\", \"en\")\n+    get_important(\n+      12, \"Tokyo\", \"en\"\n+    )\n+  end\n+\n+  def full_name\n+    # bad\n+    x = \"#{self.first_name} #{self.last_name}\"\n+\n+    # good\n+    y = \"#{first_name} #{last_name}\"\n+\n+    [x, y]\n+  end\n+\n+  def hash_rocket\n+    # bad\n+    x = { :jebie => \"gwapo\" }\n+\n+    # good\n+    y = { jebie: \"gwapo\" }","path":"rubocop_custom_output.rb","position":62,"original_position":62,"commit_id":"b56d67beffc8a46e8b3e6027f33306a8da3ea6be","original_commit_id":"b56d67beffc8a46e8b3e6027f33306a8da3ea6be","user":{"login":"houndci-bot","id":6697940,"avatar_url":"https://avatars.githubusercontent.com/u/6697940?v=3","gravatar_id":"","url":"https://api.github.com/users/houndci-bot","html_url":"https://github.com/houndci-bot","followers_url":"https://api.github.com/users/houndci-bot/followers","following_url":"https://api.github.com/users/houndci-bot/following{/other_user}","gists_url":"https://api.github.com/users/houndci-bot/gists{/gist_id}","starred_url":"https://api.github.com/users/houndci-bot/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/houndci-bot/subscriptions","organizations_url":"https://api.github.com/users/houndci-bot/orgs","repos_url":"https://api.github.com/users/houndci-bot/repos","events_url":"https://api.github.com/users/houndci-bot/events{/privacy}","received_events_url":"https://api.github.com/users/houndci-bot/received_events","type":"User","site_admin":false},"body":"Prefer single-quoted strings when you don't need string interpolation or special symbols.","created_at":"2016-10-03T11:11:27Z","updated_at":"2016-10-03T11:11:27Z","html_url":"https://github.com/jebie/sample/pull/15#discussion_r81530521","pull_request_url":"https://api.github.com/repos/jebie/sample/pulls/15","_links":{"self":{"href":"https://api.github.com/repos/jebie/sample/pulls/comments/81530521"},"html":{"href":"https://github.com/jebie/sample/pull/15#discussion_r81530521"},"pull_request":{"href":"https://api.github.com/repos/jebie/sample/pulls/15"}}},"pull_request":{"url":"https://api.github.com/repos/jebie/sample/pulls/15","id":87698763,"html_url":"https://github.com/jebie/sample/pull/15","diff_url":"https://github.com/jebie/sample/pull/15.diff","patch_url":"https://github.com/jebie/sample/pull/15.patch","issue_url":"https://api.github.com/repos/jebie/sample/issues/15","number":15,"state":"open","locked":false,"title":"custom output","user":{"login":"jebie","id":5265946,"avatar_url":"https://avatars.githubusercontent.com/u/5265946?v=3","gravatar_id":"","url":"https://api.github.com/users/jebie","html_url":"https://github.com/jebie","followers_url":"https://api.github.com/users/jebie/followers","following_url":"https://api.github.com/users/jebie/following{/other_user}","gists_url":"https://api.github.com/users/jebie/gists{/gist_id}","starred_url":"https://api.github.com/users/jebie/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jebie/subscriptions","organizations_url":"https://api.github.com/users/jebie/orgs","repos_url":"https://api.github.com/users/jebie/repos","events_url":"https://api.github.com/users/jebie/events{/privacy}","received_events_url":"https://api.github.com/users/jebie/received_events","type":"User","site_admin":false},"body":"","created_at":"2016-10-03T11:11:16Z","updated_at":"2016-10-03T11:11:27Z","closed_at":null,"merged_at":null,"merge_commit_sha":"208ccefb22852e0aba59ce2c84426008bde381e7","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/jebie/sample/pulls/15/commits","review_comments_url":"https://api.github.com/repos/jebie/sample/pulls/15/comments","review_comment_url":"https://api.github.com/repos/jebie/sample/pulls/comments{/number}","comments_url":"https://api.github.com/repos/jebie/sample/issues/15/comments","statuses_url":"https://api.github.com/repos/jebie/sample/statuses/b56d67beffc8a46e8b3e6027f33306a8da3ea6be","head":{"label":"jebie:custom_sample_output","ref":"custom_sample_output","sha":"b56d67beffc8a46e8b3e6027f33306a8da3ea6be","user":{"login":"jebie","id":5265946,"avatar_url":"https://avatars.githubusercontent.com/u/5265946?v=3","gravatar_id":"","url":"https://api.github.com/users/jebie","html_url":"https://github.com/jebie","followers_url":"https://api.github.com/users/jebie/followers","following_url":"https://api.github.com/users/jebie/following{/other_user}","gists_url":"https://api.github.com/users/jebie/gists{/gist_id}","starred_url":"https://api.github.com/users/jebie/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jebie/subscriptions","organizations_url":"https://api.github.com/users/jebie/orgs","repos_url":"https://api.github.com/users/jebie/repos","events_url":"https://api.github.com/users/jebie/events{/privacy}","received_events_url":"https://api.github.com/users/jebie/received_events","type":"User","site_admin":false},"repo":{"id":31700475,"name":"sample","full_name":"jebie/sample","owner":{"login":"jebie","id":5265946,"avatar_url":"https://avatars.githubusercontent.com/u/5265946?v=3","gravatar_id":"","url":"https://api.github.com/users/jebie","html_url":"https://github.com/jebie","followers_url":"https://api.github.com/users/jebie/followers","following_url":"https://api.github.com/users/jebie/following{/other_user}","gists_url":"https://api.github.com/users/jebie/gists{/gist_id}","starred_url":"https://api.github.com/users/jebie/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jebie/subscriptions","organizations_url":"https://api.github.com/users/jebie/orgs","repos_url":"https://api.github.com/users/jebie/repos","events_url":"https://api.github.com/users/jebie/events{/privacy}","received_events_url":"https://api.github.com/users/jebie/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/jebie/sample","description":"git yow","fork":false,"url":"https://api.github.com/repos/jebie/sample","forks_url":"https://api.github.com/repos/jebie/sample/forks","keys_url":"https://api.github.com/repos/jebie/sample/keys{/key_id}","collaborators_url":"https://api.github.com/repos/jebie/sample/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/jebie/sample/teams","hooks_url":"https://api.github.com/repos/jebie/sample/hooks","issue_events_url":"https://api.github.com/repos/jebie/sample/issues/events{/number}","events_url":"https://api.github.com/repos/jebie/sample/events","assignees_url":"https://api.github.com/repos/jebie/sample/assignees{/user}","branches_url":"https://api.github.com/repos/jebie/sample/branches{/branch}","tags_url":"https://api.github.com/repos/jebie/sample/tags","blobs_url":"https://api.github.com/repos/jebie/sample/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/jebie/sample/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/jebie/sample/git/refs{/sha}","trees_url":"https://api.github.com/repos/jebie/sample/git/trees{/sha}","statuses_url":"https://api.github.com/repos/jebie/sample/statuses/{sha}","languages_url":"https://api.github.com/repos/jebie/sample/languages","stargazers_url":"https://api.github.com/repos/jebie/sample/stargazers","contributors_url":"https://api.github.com/repos/jebie/sample/contributors","subscribers_url":"https://api.github.com/repos/jebie/sample/subscribers","subscription_url":"https://api.github.com/repos/jebie/sample/subscription","commits_url":"https://api.github.com/repos/jebie/sample/commits{/sha}","git_commits_url":"https://api.github.com/repos/jebie/sample/git/commits{/sha}","comments_url":"https://api.github.com/repos/jebie/sample/comments{/number}","issue_comment_url":"https://api.github.com/repos/jebie/sample/issues/comments{/number}","contents_url":"https://api.github.com/repos/jebie/sample/contents/{+path}","compare_url":"https://api.github.com/repos/jebie/sample/compare/{base}...{head}","merges_url":"https://api.github.com/repos/jebie/sample/merges","archive_url":"https://api.github.com/repos/jebie/sample/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/jebie/sample/downloads","issues_url":"https://api.github.com/repos/jebie/sample/issues{/number}","pulls_url":"https://api.github.com/repos/jebie/sample/pulls{/number}","milestones_url":"https://api.github.com/repos/jebie/sample/milestones{/number}","notifications_url":"https://api.github.com/repos/jebie/sample/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/jebie/sample/labels{/name}","releases_url":"https://api.github.com/repos/jebie/sample/releases{/id}","deployments_url":"https://api.github.com/repos/jebie/sample/deployments","created_at":"2015-03-05T07:03:28Z","updated_at":"2016-10-03T11:10:26Z","pushed_at":"2016-10-03T11:11:16Z","git_url":"git://github.com/jebie/sample.git","ssh_url":"git@github.com:jebie/sample.git","clone_url":"https://github.com/jebie/sample.git","svn_url":"https://github.com/jebie/sample","homepage":null,"size":77,"stargazers_count":0,"watchers_count":0,"language":"Ruby","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":3,"forks":0,"open_issues":3,"watchers":0,"default_branch":"master"}},"base":{"label":"jebie:master","ref":"master","sha":"fffeed960149d81111980e25c5453ad6e86967ae","user":{"login":"jebie","id":5265946,"avatar_url":"https://avatars.githubusercontent.com/u/5265946?v=3","gravatar_id":"","url":"https://api.github.com/users/jebie","html_url":"https://github.com/jebie","followers_url":"https://api.github.com/users/jebie/followers","following_url":"https://api.github.com/users/jebie/following{/other_user}","gists_url":"https://api.github.com/users/jebie/gists{/gist_id}","starred_url":"https://api.github.com/users/jebie/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jebie/subscriptions","organizations_url":"https://api.github.com/users/jebie/orgs","repos_url":"https://api.github.com/users/jebie/repos","events_url":"https://api.github.com/users/jebie/events{/privacy}","received_events_url":"https://api.github.com/users/jebie/received_events","type":"User","site_admin":false},"repo":{"id":31700475,"name":"sample","full_name":"jebie/sample","owner":{"login":"jebie","id":5265946,"avatar_url":"https://avatars.githubusercontent.com/u/5265946?v=3","gravatar_id":"","url":"https://api.github.com/users/jebie","html_url":"https://github.com/jebie","followers_url":"https://api.github.com/users/jebie/followers","following_url":"https://api.github.com/users/jebie/following{/other_user}","gists_url":"https://api.github.com/users/jebie/gists{/gist_id}","starred_url":"https://api.github.com/users/jebie/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jebie/subscriptions","organizations_url":"https://api.github.com/users/jebie/orgs","repos_url":"https://api.github.com/users/jebie/repos","events_url":"https://api.github.com/users/jebie/events{/privacy}","received_events_url":"https://api.github.com/users/jebie/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/jebie/sample","description":"git yow","fork":false,"url":"https://api.github.com/repos/jebie/sample","forks_url":"https://api.github.com/repos/jebie/sample/forks","keys_url":"https://api.github.com/repos/jebie/sample/keys{/key_id}","collaborators_url":"https://api.github.com/repos/jebie/sample/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/jebie/sample/teams","hooks_url":"https://api.github.com/repos/jebie/sample/hooks","issue_events_url":"https://api.github.com/repos/jebie/sample/issues/events{/number}","events_url":"https://api.github.com/repos/jebie/sample/events","assignees_url":"https://api.github.com/repos/jebie/sample/assignees{/user}","branches_url":"https://api.github.com/repos/jebie/sample/branches{/branch}","tags_url":"https://api.github.com/repos/jebie/sample/tags","blobs_url":"https://api.github.com/repos/jebie/sample/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/jebie/sample/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/jebie/sample/git/refs{/sha}","trees_url":"https://api.github.com/repos/jebie/sample/git/trees{/sha}","statuses_url":"https://api.github.com/repos/jebie/sample/statuses/{sha}","languages_url":"https://api.github.com/repos/jebie/sample/languages","stargazers_url":"https://api.github.com/repos/jebie/sample/stargazers","contributors_url":"https://api.github.com/repos/jebie/sample/contributors","subscribers_url":"https://api.github.com/repos/jebie/sample/subscribers","subscription_url":"https://api.github.com/repos/jebie/sample/subscription","commits_url":"https://api.github.com/repos/jebie/sample/commits{/sha}","git_commits_url":"https://api.github.com/repos/jebie/sample/git/commits{/sha}","comments_url":"https://api.github.com/repos/jebie/sample/comments{/number}","issue_comment_url":"https://api.github.com/repos/jebie/sample/issues/comments{/number}","contents_url":"https://api.github.com/repos/jebie/sample/contents/{+path}","compare_url":"https://api.github.com/repos/jebie/sample/compare/{base}...{head}","merges_url":"https://api.github.com/repos/jebie/sample/merges","archive_url":"https://api.github.com/repos/jebie/sample/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/jebie/sample/downloads","issues_url":"https://api.github.com/repos/jebie/sample/issues{/number}","pulls_url":"https://api.github.com/repos/jebie/sample/pulls{/number}","milestones_url":"https://api.github.com/repos/jebie/sample/milestones{/number}","notifications_url":"https://api.github.com/repos/jebie/sample/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/jebie/sample/labels{/name}","releases_url":"https://api.github.com/repos/jebie/sample/releases{/id}","deployments_url":"https://api.github.com/repos/jebie/sample/deployments","created_at":"2015-03-05T07:03:28Z","updated_at":"2016-10-03T11:10:26Z","pushed_at":"2016-10-03T11:11:16Z","git_url":"git://github.com/jebie/sample.git","ssh_url":"git@github.com:jebie/sample.git","clone_url":"https://github.com/jebie/sample.git","svn_url":"https://github.com/jebie/sample","homepage":null,"size":77,"stargazers_count":0,"watchers_count":0,"language":"Ruby","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":3,"forks":0,"open_issues":3,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/jebie/sample/pulls/15"},"html":{"href":"https://github.com/jebie/sample/pull/15"},"issue":{"href":"https://api.github.com/repos/jebie/sample/issues/15"},"comments":{"href":"https://api.github.com/repos/jebie/sample/issues/15/comments"},"review_comments":{"href":"https://api.github.com/repos/jebie/sample/pulls/15/comments"},"review_comment":{"href":"https://api.github.com/repos/jebie/sample/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/jebie/sample/pulls/15/commits"},"statuses":{"href":"https://api.github.com/repos/jebie/sample/statuses/b56d67beffc8a46e8b3e6027f33306a8da3ea6be"}}}}
{"actor":{"display_login":"houndci-bot"}}