{"action":"created","comment":{"url":"https://api.github.com/repos/bbatsov/rubocop/pulls/comments/73461625","id":73461625,"diff_hunk":"@@ -391,6 +391,7 @@\n require 'rubocop/cop/rails/time_zone'\n require 'rubocop/cop/rails/uniq_before_pluck'\n require 'rubocop/cop/rails/validation'\n+require 'rubocop/cop/rails/process_method'","path":"lib/rubocop.rb","position":4,"original_position":4,"commit_id":"a193d3aed9ad8614167ab8ad556f96d7b0b9ab77","original_commit_id":"a193d3aed9ad8614167ab8ad556f96d7b0b9ab77","user":{"login":"Drenmi","id":5259935,"avatar_url":"https://avatars.githubusercontent.com/u/5259935?v=3","gravatar_id":"","url":"https://api.github.com/users/Drenmi","html_url":"https://github.com/Drenmi","followers_url":"https://api.github.com/users/Drenmi/followers","following_url":"https://api.github.com/users/Drenmi/following{/other_user}","gists_url":"https://api.github.com/users/Drenmi/gists{/gist_id}","starred_url":"https://api.github.com/users/Drenmi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Drenmi/subscriptions","organizations_url":"https://api.github.com/users/Drenmi/orgs","repos_url":"https://api.github.com/users/Drenmi/repos","events_url":"https://api.github.com/users/Drenmi/events{/privacy}","received_events_url":"https://api.github.com/users/Drenmi/received_events","type":"User","site_admin":false},"body":"Please order the cops alphabetically. 😀 ","created_at":"2016-08-04T04:45:16Z","updated_at":"2016-08-04T04:45:16Z","html_url":"https://github.com/bbatsov/rubocop/pull/3365#discussion_r73461625","pull_request_url":"https://api.github.com/repos/bbatsov/rubocop/pulls/3365","_links":{"self":{"href":"https://api.github.com/repos/bbatsov/rubocop/pulls/comments/73461625"},"html":{"href":"https://github.com/bbatsov/rubocop/pull/3365#discussion_r73461625"},"pull_request":{"href":"https://api.github.com/repos/bbatsov/rubocop/pulls/3365"}}},"pull_request":{"url":"https://api.github.com/repos/bbatsov/rubocop/pulls/3365","id":80014660,"html_url":"https://github.com/bbatsov/rubocop/pull/3365","diff_url":"https://github.com/bbatsov/rubocop/pull/3365.diff","patch_url":"https://github.com/bbatsov/rubocop/pull/3365.patch","issue_url":"https://api.github.com/repos/bbatsov/rubocop/issues/3365","number":3365,"state":"open","locked":false,"title":"WIP: Adds ability to inspect rails 5 test process method","user":{"login":"logicminds","id":563900,"avatar_url":"https://avatars.githubusercontent.com/u/563900?v=3","gravatar_id":"","url":"https://api.github.com/users/logicminds","html_url":"https://github.com/logicminds","followers_url":"https://api.github.com/users/logicminds/followers","following_url":"https://api.github.com/users/logicminds/following{/other_user}","gists_url":"https://api.github.com/users/logicminds/gists{/gist_id}","starred_url":"https://api.github.com/users/logicminds/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/logicminds/subscriptions","organizations_url":"https://api.github.com/users/logicminds/orgs","repos_url":"https://api.github.com/users/logicminds/repos","events_url":"https://api.github.com/users/logicminds/events{/privacy}","received_events_url":"https://api.github.com/users/logicminds/received_events","type":"User","site_admin":false},"body":"Rails 5 deprecates the use of http methods when testing controllers and adds the ability to use keyword arguments instead.\r\n\r\n\r\n```\r\nDEPRECATION WARNING: ActionDispatch::IntegrationTest HTTP request methods will accept\r\nonly the following keyword arguments in future Rails versions:\r\nparams, headers, env, xhr\r\n```\r\n\r\nThis adds a new Rails cop to fix these notices because there is going to be a ton for everyone using rails5. \r\n\r\n\r\nSo this will test a rails 5 test method to ensure the use of the `process` method is used instead.\r\n\r\n","created_at":"2016-08-04T03:50:24Z","updated_at":"2016-08-04T04:45:16Z","closed_at":null,"merged_at":null,"merge_commit_sha":"a9af7194bcd38a8c07bdafd5312ac03e2eb81f72","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/bbatsov/rubocop/pulls/3365/commits","review_comments_url":"https://api.github.com/repos/bbatsov/rubocop/pulls/3365/comments","review_comment_url":"https://api.github.com/repos/bbatsov/rubocop/pulls/comments{/number}","comments_url":"https://api.github.com/repos/bbatsov/rubocop/issues/3365/comments","statuses_url":"https://api.github.com/repos/bbatsov/rubocop/statuses/a193d3aed9ad8614167ab8ad556f96d7b0b9ab77","head":{"label":"nwops:rails5_process","ref":"rails5_process","sha":"a193d3aed9ad8614167ab8ad556f96d7b0b9ab77","user":{"login":"nwops","id":12753144,"avatar_url":"https://avatars.githubusercontent.com/u/12753144?v=3","gravatar_id":"","url":"https://api.github.com/users/nwops","html_url":"https://github.com/nwops","followers_url":"https://api.github.com/users/nwops/followers","following_url":"https://api.github.com/users/nwops/following{/other_user}","gists_url":"https://api.github.com/users/nwops/gists{/gist_id}","starred_url":"https://api.github.com/users/nwops/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nwops/subscriptions","organizations_url":"https://api.github.com/users/nwops/orgs","repos_url":"https://api.github.com/users/nwops/repos","events_url":"https://api.github.com/users/nwops/events{/privacy}","received_events_url":"https://api.github.com/users/nwops/received_events","type":"Organization","site_admin":false},"repo":{"id":64892356,"name":"rubocop","full_name":"nwops/rubocop","owner":{"login":"nwops","id":12753144,"avatar_url":"https://avatars.githubusercontent.com/u/12753144?v=3","gravatar_id":"","url":"https://api.github.com/users/nwops","html_url":"https://github.com/nwops","followers_url":"https://api.github.com/users/nwops/followers","following_url":"https://api.github.com/users/nwops/following{/other_user}","gists_url":"https://api.github.com/users/nwops/gists{/gist_id}","starred_url":"https://api.github.com/users/nwops/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nwops/subscriptions","organizations_url":"https://api.github.com/users/nwops/orgs","repos_url":"https://api.github.com/users/nwops/repos","events_url":"https://api.github.com/users/nwops/events{/privacy}","received_events_url":"https://api.github.com/users/nwops/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/nwops/rubocop","description":"A Ruby static code analyzer, based on the community Ruby style guide.","fork":true,"url":"https://api.github.com/repos/nwops/rubocop","forks_url":"https://api.github.com/repos/nwops/rubocop/forks","keys_url":"https://api.github.com/repos/nwops/rubocop/keys{/key_id}","collaborators_url":"https://api.github.com/repos/nwops/rubocop/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/nwops/rubocop/teams","hooks_url":"https://api.github.com/repos/nwops/rubocop/hooks","issue_events_url":"https://api.github.com/repos/nwops/rubocop/issues/events{/number}","events_url":"https://api.github.com/repos/nwops/rubocop/events","assignees_url":"https://api.github.com/repos/nwops/rubocop/assignees{/user}","branches_url":"https://api.github.com/repos/nwops/rubocop/branches{/branch}","tags_url":"https://api.github.com/repos/nwops/rubocop/tags","blobs_url":"https://api.github.com/repos/nwops/rubocop/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/nwops/rubocop/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/nwops/rubocop/git/refs{/sha}","trees_url":"https://api.github.com/repos/nwops/rubocop/git/trees{/sha}","statuses_url":"https://api.github.com/repos/nwops/rubocop/statuses/{sha}","languages_url":"https://api.github.com/repos/nwops/rubocop/languages","stargazers_url":"https://api.github.com/repos/nwops/rubocop/stargazers","contributors_url":"https://api.github.com/repos/nwops/rubocop/contributors","subscribers_url":"https://api.github.com/repos/nwops/rubocop/subscribers","subscription_url":"https://api.github.com/repos/nwops/rubocop/subscription","commits_url":"https://api.github.com/repos/nwops/rubocop/commits{/sha}","git_commits_url":"https://api.github.com/repos/nwops/rubocop/git/commits{/sha}","comments_url":"https://api.github.com/repos/nwops/rubocop/comments{/number}","issue_comment_url":"https://api.github.com/repos/nwops/rubocop/issues/comments{/number}","contents_url":"https://api.github.com/repos/nwops/rubocop/contents/{+path}","compare_url":"https://api.github.com/repos/nwops/rubocop/compare/{base}...{head}","merges_url":"https://api.github.com/repos/nwops/rubocop/merges","archive_url":"https://api.github.com/repos/nwops/rubocop/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/nwops/rubocop/downloads","issues_url":"https://api.github.com/repos/nwops/rubocop/issues{/number}","pulls_url":"https://api.github.com/repos/nwops/rubocop/pulls{/number}","milestones_url":"https://api.github.com/repos/nwops/rubocop/milestones{/number}","notifications_url":"https://api.github.com/repos/nwops/rubocop/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/nwops/rubocop/labels{/name}","releases_url":"https://api.github.com/repos/nwops/rubocop/releases{/id}","deployments_url":"https://api.github.com/repos/nwops/rubocop/deployments","created_at":"2016-08-04T01:42:26Z","updated_at":"2016-08-04T01:42:29Z","pushed_at":"2016-08-04T04:40:04Z","git_url":"git://github.com/nwops/rubocop.git","ssh_url":"git@github.com:nwops/rubocop.git","clone_url":"https://github.com/nwops/rubocop.git","svn_url":"https://github.com/nwops/rubocop","homepage":"http://rubocop.readthedocs.io","size":12527,"stargazers_count":0,"watchers_count":0,"language":"Ruby","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"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":"0f1c2e383ba9ed321e79f018ed0e01cd3b65d451","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}","deployments_url":"https://api.github.com/repos/bbatsov/rubocop/deployments","created_at":"2012-04-21T10:09:58Z","updated_at":"2016-08-04T02:35:07Z","pushed_at":"2016-08-04T04:40:05Z","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":"http://rubocop.readthedocs.io","size":16050,"stargazers_count":6612,"watchers_count":6612,"language":"Ruby","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":935,"mirror_url":null,"open_issues_count":107,"forks":935,"open_issues":107,"watchers":6612,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/bbatsov/rubocop/pulls/3365"},"html":{"href":"https://github.com/bbatsov/rubocop/pull/3365"},"issue":{"href":"https://api.github.com/repos/bbatsov/rubocop/issues/3365"},"comments":{"href":"https://api.github.com/repos/bbatsov/rubocop/issues/3365/comments"},"review_comments":{"href":"https://api.github.com/repos/bbatsov/rubocop/pulls/3365/comments"},"review_comment":{"href":"https://api.github.com/repos/bbatsov/rubocop/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/bbatsov/rubocop/pulls/3365/commits"},"statuses":{"href":"https://api.github.com/repos/bbatsov/rubocop/statuses/a193d3aed9ad8614167ab8ad556f96d7b0b9ab77"}}}}
{"actor":{"display_login":"Drenmi"}}