{"action":"created","comment":{"url":"https://api.github.com/repos/bbatsov/rubocop/pulls/comments/42586008","id":42586008,"diff_hunk":"@@ -138,10 +138,12 @@ def correction\n             _node, rescue_clause = *node.parent\n             _, _, rescue_result = *rescue_clause\n \n-            \"begin\\n\" <<\n-              indentation(node) << assignment.join(\"\\n#{indentation(node)}\") <<\n-              \"\\n#{offset(node)}rescue\\n\" <<\n-              indentation(node) << rescue_result.loc.expression.source <<\n+            \"begin\\n\".dup <<","path":"lib/rubocop/cop/style/parallel_assignment.rb","position":null,"original_position":8,"commit_id":"5d9cc8d2310b0c3733d65d75e7b3ac5d69b96ac1","original_commit_id":"ad4353f64186a47ea834fb3858ef02df97bb6121","user":{"login":"sachin21","id":3052342,"avatar_url":"https://avatars.githubusercontent.com/u/3052342?v=3","gravatar_id":"","url":"https://api.github.com/users/sachin21","html_url":"https://github.com/sachin21","followers_url":"https://api.github.com/users/sachin21/followers","following_url":"https://api.github.com/users/sachin21/following{/other_user}","gists_url":"https://api.github.com/users/sachin21/gists{/gist_id}","starred_url":"https://api.github.com/users/sachin21/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sachin21/subscriptions","organizations_url":"https://api.github.com/users/sachin21/orgs","repos_url":"https://api.github.com/users/sachin21/repos","events_url":"https://api.github.com/users/sachin21/events{/privacy}","received_events_url":"https://api.github.com/users/sachin21/received_events","type":"User","site_admin":false},"body":"You're right...I thought a little, too lol\r\nI fixed that and squashed","created_at":"2015-10-21T05:58:03Z","updated_at":"2015-10-21T05:58:03Z","html_url":"https://github.com/bbatsov/rubocop/pull/2328#discussion_r42586008","pull_request_url":"https://api.github.com/repos/bbatsov/rubocop/pulls/2328","_links":{"self":{"href":"https://api.github.com/repos/bbatsov/rubocop/pulls/comments/42586008"},"html":{"href":"https://github.com/bbatsov/rubocop/pull/2328#discussion_r42586008"},"pull_request":{"href":"https://api.github.com/repos/bbatsov/rubocop/pulls/2328"}}},"pull_request":{"url":"https://api.github.com/repos/bbatsov/rubocop/pulls/2328","id":48116615,"html_url":"https://github.com/bbatsov/rubocop/pull/2328","diff_url":"https://github.com/bbatsov/rubocop/pull/2328.diff","patch_url":"https://github.com/bbatsov/rubocop/pull/2328.patch","issue_url":"https://api.github.com/repos/bbatsov/rubocop/issues/2328","number":2328,"state":"open","locked":false,"title":"Support ruby3","user":{"login":"sachin21","id":3052342,"avatar_url":"https://avatars.githubusercontent.com/u/3052342?v=3","gravatar_id":"","url":"https://api.github.com/users/sachin21","html_url":"https://github.com/sachin21","followers_url":"https://api.github.com/users/sachin21/followers","following_url":"https://api.github.com/users/sachin21/following{/other_user}","gists_url":"https://api.github.com/users/sachin21/gists{/gist_id}","starred_url":"https://api.github.com/users/sachin21/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sachin21/subscriptions","organizations_url":"https://api.github.com/users/sachin21/orgs","repos_url":"https://api.github.com/users/sachin21/repos","events_url":"https://api.github.com/users/sachin21/events{/privacy}","received_events_url":"https://api.github.com/users/sachin21/received_events","type":"User","site_admin":false},"body":"# WHAT\r\nSupported ruby3.\r\nRuby3 will not be able to use `<<` with String, so I added dup.\r\n\r\n# REF\r\n- https://bugs.ruby-lang.org/issues/11473 (English)\r\n- http://d.hatena.ne.jp/ku-ma-me/20151004/p1 (Japanese)","created_at":"2015-10-19T19:43:27Z","updated_at":"2015-10-21T05:58:03Z","closed_at":null,"merged_at":null,"merge_commit_sha":"c88611e2ec5ce8358784d1b669f635efccf87848","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/bbatsov/rubocop/pulls/2328/commits","review_comments_url":"https://api.github.com/repos/bbatsov/rubocop/pulls/2328/comments","review_comment_url":"https://api.github.com/repos/bbatsov/rubocop/pulls/comments{/number}","comments_url":"https://api.github.com/repos/bbatsov/rubocop/issues/2328/comments","statuses_url":"https://api.github.com/repos/bbatsov/rubocop/statuses/5d9cc8d2310b0c3733d65d75e7b3ac5d69b96ac1","head":{"label":"sachin21:support_ruby3","ref":"support_ruby3","sha":"5d9cc8d2310b0c3733d65d75e7b3ac5d69b96ac1","user":{"login":"sachin21","id":3052342,"avatar_url":"https://avatars.githubusercontent.com/u/3052342?v=3","gravatar_id":"","url":"https://api.github.com/users/sachin21","html_url":"https://github.com/sachin21","followers_url":"https://api.github.com/users/sachin21/followers","following_url":"https://api.github.com/users/sachin21/following{/other_user}","gists_url":"https://api.github.com/users/sachin21/gists{/gist_id}","starred_url":"https://api.github.com/users/sachin21/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sachin21/subscriptions","organizations_url":"https://api.github.com/users/sachin21/orgs","repos_url":"https://api.github.com/users/sachin21/repos","events_url":"https://api.github.com/users/sachin21/events{/privacy}","received_events_url":"https://api.github.com/users/sachin21/received_events","type":"User","site_admin":false},"repo":{"id":41630690,"name":"rubocop","full_name":"sachin21/rubocop","owner":{"login":"sachin21","id":3052342,"avatar_url":"https://avatars.githubusercontent.com/u/3052342?v=3","gravatar_id":"","url":"https://api.github.com/users/sachin21","html_url":"https://github.com/sachin21","followers_url":"https://api.github.com/users/sachin21/followers","following_url":"https://api.github.com/users/sachin21/following{/other_user}","gists_url":"https://api.github.com/users/sachin21/gists{/gist_id}","starred_url":"https://api.github.com/users/sachin21/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sachin21/subscriptions","organizations_url":"https://api.github.com/users/sachin21/orgs","repos_url":"https://api.github.com/users/sachin21/repos","events_url":"https://api.github.com/users/sachin21/events{/privacy}","received_events_url":"https://api.github.com/users/sachin21/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/sachin21/rubocop","description":"A Ruby static code analyzer, based on the community Ruby style guide.","fork":true,"url":"https://api.github.com/repos/sachin21/rubocop","forks_url":"https://api.github.com/repos/sachin21/rubocop/forks","keys_url":"https://api.github.com/repos/sachin21/rubocop/keys{/key_id}","collaborators_url":"https://api.github.com/repos/sachin21/rubocop/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/sachin21/rubocop/teams","hooks_url":"https://api.github.com/repos/sachin21/rubocop/hooks","issue_events_url":"https://api.github.com/repos/sachin21/rubocop/issues/events{/number}","events_url":"https://api.github.com/repos/sachin21/rubocop/events","assignees_url":"https://api.github.com/repos/sachin21/rubocop/assignees{/user}","branches_url":"https://api.github.com/repos/sachin21/rubocop/branches{/branch}","tags_url":"https://api.github.com/repos/sachin21/rubocop/tags","blobs_url":"https://api.github.com/repos/sachin21/rubocop/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/sachin21/rubocop/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/sachin21/rubocop/git/refs{/sha}","trees_url":"https://api.github.com/repos/sachin21/rubocop/git/trees{/sha}","statuses_url":"https://api.github.com/repos/sachin21/rubocop/statuses/{sha}","languages_url":"https://api.github.com/repos/sachin21/rubocop/languages","stargazers_url":"https://api.github.com/repos/sachin21/rubocop/stargazers","contributors_url":"https://api.github.com/repos/sachin21/rubocop/contributors","subscribers_url":"https://api.github.com/repos/sachin21/rubocop/subscribers","subscription_url":"https://api.github.com/repos/sachin21/rubocop/subscription","commits_url":"https://api.github.com/repos/sachin21/rubocop/commits{/sha}","git_commits_url":"https://api.github.com/repos/sachin21/rubocop/git/commits{/sha}","comments_url":"https://api.github.com/repos/sachin21/rubocop/comments{/number}","issue_comment_url":"https://api.github.com/repos/sachin21/rubocop/issues/comments{/number}","contents_url":"https://api.github.com/repos/sachin21/rubocop/contents/{+path}","compare_url":"https://api.github.com/repos/sachin21/rubocop/compare/{base}...{head}","merges_url":"https://api.github.com/repos/sachin21/rubocop/merges","archive_url":"https://api.github.com/repos/sachin21/rubocop/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/sachin21/rubocop/downloads","issues_url":"https://api.github.com/repos/sachin21/rubocop/issues{/number}","pulls_url":"https://api.github.com/repos/sachin21/rubocop/pulls{/number}","milestones_url":"https://api.github.com/repos/sachin21/rubocop/milestones{/number}","notifications_url":"https://api.github.com/repos/sachin21/rubocop/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/sachin21/rubocop/labels{/name}","releases_url":"https://api.github.com/repos/sachin21/rubocop/releases{/id}","created_at":"2015-08-30T14:02:58Z","updated_at":"2015-08-30T14:03:00Z","pushed_at":"2015-10-21T05:45:15Z","git_url":"git://github.com/sachin21/rubocop.git","ssh_url":"git@github.com:sachin21/rubocop.git","clone_url":"https://github.com/sachin21/rubocop.git","svn_url":"https://github.com/sachin21/rubocop","homepage":"","size":10002,"stargazers_count":0,"watchers_count":0,"language":"Ruby","has_issues":false,"has_downloads":true,"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":"bbatsov:master","ref":"master","sha":"55975a87116f0558ac82c0b6221bca0f334623ef","user":{"login":"bbatsov","id":103882,"avatar_url":"https://avatars.githubusercontent.com/u/103882?v=3","gravatar_id":"","url":"https://api.github.com/users/bbatsov","html_url":"https://github.com/bbatsov","followers_url":"https://api.github.com/users/bbatsov/followers","following_url":"https://api.github.com/users/bbatsov/following{/other_user}","gists_url":"https://api.github.com/users/bbatsov/gists{/gist_id}","starred_url":"https://api.github.com/users/bbatsov/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bbatsov/subscriptions","organizations_url":"https://api.github.com/users/bbatsov/orgs","repos_url":"https://api.github.com/users/bbatsov/repos","events_url":"https://api.github.com/users/bbatsov/events{/privacy}","received_events_url":"https://api.github.com/users/bbatsov/received_events","type":"User","site_admin":false},"repo":{"id":4095287,"name":"rubocop","full_name":"bbatsov/rubocop","owner":{"login":"bbatsov","id":103882,"avatar_url":"https://avatars.githubusercontent.com/u/103882?v=3","gravatar_id":"","url":"https://api.github.com/users/bbatsov","html_url":"https://github.com/bbatsov","followers_url":"https://api.github.com/users/bbatsov/followers","following_url":"https://api.github.com/users/bbatsov/following{/other_user}","gists_url":"https://api.github.com/users/bbatsov/gists{/gist_id}","starred_url":"https://api.github.com/users/bbatsov/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bbatsov/subscriptions","organizations_url":"https://api.github.com/users/bbatsov/orgs","repos_url":"https://api.github.com/users/bbatsov/repos","events_url":"https://api.github.com/users/bbatsov/events{/privacy}","received_events_url":"https://api.github.com/users/bbatsov/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/bbatsov/rubocop","description":"A Ruby static code analyzer, based on the community Ruby style guide.","fork":false,"url":"https://api.github.com/repos/bbatsov/rubocop","forks_url":"https://api.github.com/repos/bbatsov/rubocop/forks","keys_url":"https://api.github.com/repos/bbatsov/rubocop/keys{/key_id}","collaborators_url":"https://api.github.com/repos/bbatsov/rubocop/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/bbatsov/rubocop/teams","hooks_url":"https://api.github.com/repos/bbatsov/rubocop/hooks","issue_events_url":"https://api.github.com/repos/bbatsov/rubocop/issues/events{/number}","events_url":"https://api.github.com/repos/bbatsov/rubocop/events","assignees_url":"https://api.github.com/repos/bbatsov/rubocop/assignees{/user}","branches_url":"https://api.github.com/repos/bbatsov/rubocop/branches{/branch}","tags_url":"https://api.github.com/repos/bbatsov/rubocop/tags","blobs_url":"https://api.github.com/repos/bbatsov/rubocop/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/bbatsov/rubocop/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/bbatsov/rubocop/git/refs{/sha}","trees_url":"https://api.github.com/repos/bbatsov/rubocop/git/trees{/sha}","statuses_url":"https://api.github.com/repos/bbatsov/rubocop/statuses/{sha}","languages_url":"https://api.github.com/repos/bbatsov/rubocop/languages","stargazers_url":"https://api.github.com/repos/bbatsov/rubocop/stargazers","contributors_url":"https://api.github.com/repos/bbatsov/rubocop/contributors","subscribers_url":"https://api.github.com/repos/bbatsov/rubocop/subscribers","subscription_url":"https://api.github.com/repos/bbatsov/rubocop/subscription","commits_url":"https://api.github.com/repos/bbatsov/rubocop/commits{/sha}","git_commits_url":"https://api.github.com/repos/bbatsov/rubocop/git/commits{/sha}","comments_url":"https://api.github.com/repos/bbatsov/rubocop/comments{/number}","issue_comment_url":"https://api.github.com/repos/bbatsov/rubocop/issues/comments{/number}","contents_url":"https://api.github.com/repos/bbatsov/rubocop/contents/{+path}","compare_url":"https://api.github.com/repos/bbatsov/rubocop/compare/{base}...{head}","merges_url":"https://api.github.com/repos/bbatsov/rubocop/merges","archive_url":"https://api.github.com/repos/bbatsov/rubocop/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/bbatsov/rubocop/downloads","issues_url":"https://api.github.com/repos/bbatsov/rubocop/issues{/number}","pulls_url":"https://api.github.com/repos/bbatsov/rubocop/pulls{/number}","milestones_url":"https://api.github.com/repos/bbatsov/rubocop/milestones{/number}","notifications_url":"https://api.github.com/repos/bbatsov/rubocop/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/bbatsov/rubocop/labels{/name}","releases_url":"https://api.github.com/repos/bbatsov/rubocop/releases{/id}","created_at":"2012-04-21T10:09:58Z","updated_at":"2015-10-20T22:46:33Z","pushed_at":"2015-10-21T05:45:15Z","git_url":"git://github.com/bbatsov/rubocop.git","ssh_url":"git@github.com:bbatsov/rubocop.git","clone_url":"https://github.com/bbatsov/rubocop.git","svn_url":"https://github.com/bbatsov/rubocop","homepage":"","size":21703,"stargazers_count":5295,"watchers_count":5295,"language":"Ruby","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":636,"mirror_url":null,"open_issues_count":113,"forks":636,"open_issues":113,"watchers":5295,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/bbatsov/rubocop/pulls/2328"},"html":{"href":"https://github.com/bbatsov/rubocop/pull/2328"},"issue":{"href":"https://api.github.com/repos/bbatsov/rubocop/issues/2328"},"comments":{"href":"https://api.github.com/repos/bbatsov/rubocop/issues/2328/comments"},"review_comments":{"href":"https://api.github.com/repos/bbatsov/rubocop/pulls/2328/comments"},"review_comment":{"href":"https://api.github.com/repos/bbatsov/rubocop/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/bbatsov/rubocop/pulls/2328/commits"},"statuses":{"href":"https://api.github.com/repos/bbatsov/rubocop/statuses/5d9cc8d2310b0c3733d65d75e7b3ac5d69b96ac1"}}}}