{"action":"created","issue":{"url":"https://api.github.com/repos/bbatsov/rubocop/issues/2192","labels_url":"https://api.github.com/repos/bbatsov/rubocop/issues/2192/labels{/name}","comments_url":"https://api.github.com/repos/bbatsov/rubocop/issues/2192/comments","events_url":"https://api.github.com/repos/bbatsov/rubocop/issues/2192/events","html_url":"https://github.com/bbatsov/rubocop/pull/2192","id":103383367,"number":2192,"title":"Allow using multi-line lambdas for Rails' Scopes","user":{"login":"wk8","id":2536231,"avatar_url":"https://avatars.githubusercontent.com/u/2536231?v=3","gravatar_id":"","url":"https://api.github.com/users/wk8","html_url":"https://github.com/wk8","followers_url":"https://api.github.com/users/wk8/followers","following_url":"https://api.github.com/users/wk8/following{/other_user}","gists_url":"https://api.github.com/users/wk8/gists{/gist_id}","starred_url":"https://api.github.com/users/wk8/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/wk8/subscriptions","organizations_url":"https://api.github.com/users/wk8/orgs","repos_url":"https://api.github.com/users/wk8/repos","events_url":"https://api.github.com/users/wk8/events{/privacy}","received_events_url":"https://api.github.com/users/wk8/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-08-26T22:58:38Z","updated_at":"2015-08-26T23:05:27Z","closed_at":"2015-08-26T23:05:27Z","pull_request":{"url":"https://api.github.com/repos/bbatsov/rubocop/pulls/2192","html_url":"https://github.com/bbatsov/rubocop/pull/2192","diff_url":"https://github.com/bbatsov/rubocop/pull/2192.diff","patch_url":"https://github.com/bbatsov/rubocop/pull/2192.patch"},"body":"Rails' scopes can, and should, be multi-line lambdas when they spawn\r\nmore than one line.\r\n\r\nThis patch makes the `Rubocop::Cop::Rails::ScopeArgs` allow this.\r\n\r\nAdded a unit test."},"comment":{"url":"https://api.github.com/repos/bbatsov/rubocop/issues/comments/135201249","html_url":"https://github.com/bbatsov/rubocop/pull/2192#issuecomment-135201249","issue_url":"https://api.github.com/repos/bbatsov/rubocop/issues/2192","id":135201249,"user":{"login":"wk8","id":2536231,"avatar_url":"https://avatars.githubusercontent.com/u/2536231?v=3","gravatar_id":"","url":"https://api.github.com/users/wk8","html_url":"https://github.com/wk8","followers_url":"https://api.github.com/users/wk8/followers","following_url":"https://api.github.com/users/wk8/following{/other_user}","gists_url":"https://api.github.com/users/wk8/gists{/gist_id}","starred_url":"https://api.github.com/users/wk8/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/wk8/subscriptions","organizations_url":"https://api.github.com/users/wk8/orgs","repos_url":"https://api.github.com/users/wk8/repos","events_url":"https://api.github.com/users/wk8/events{/privacy}","received_events_url":"https://api.github.com/users/wk8/received_events","type":"User","site_admin":false},"created_at":"2015-08-26T23:05:27Z","updated_at":"2015-08-26T23:05:27Z","body":"My bad, my example is not correct. Closing."}}