{"action":"created","issue":{"url":"https://api.github.com/repos/bbatsov/rubocop/issues/2007","labels_url":"https://api.github.com/repos/bbatsov/rubocop/issues/2007/labels{/name}","comments_url":"https://api.github.com/repos/bbatsov/rubocop/issues/2007/comments","events_url":"https://api.github.com/repos/bbatsov/rubocop/issues/2007/events","html_url":"https://github.com/bbatsov/rubocop/pull/2007","id":92641854,"number":2007,"title":"Only check for modifier before def","user":{"login":"fphilipe","id":128151,"avatar_url":"https://avatars.githubusercontent.com/u/128151?v=3","gravatar_id":"","url":"https://api.github.com/users/fphilipe","html_url":"https://github.com/fphilipe","followers_url":"https://api.github.com/users/fphilipe/followers","following_url":"https://api.github.com/users/fphilipe/following{/other_user}","gists_url":"https://api.github.com/users/fphilipe/gists{/gist_id}","starred_url":"https://api.github.com/users/fphilipe/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/fphilipe/subscriptions","organizations_url":"https://api.github.com/users/fphilipe/orgs","repos_url":"https://api.github.com/users/fphilipe/repos","events_url":"https://api.github.com/users/fphilipe/events{/privacy}","received_events_url":"https://api.github.com/users/fphilipe/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-07-02T13:45:14Z","updated_at":"2015-07-02T14:22:10Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/bbatsov/rubocop/pulls/2007","html_url":"https://github.com/bbatsov/rubocop/pull/2007","diff_url":"https://github.com/bbatsov/rubocop/pull/2007.diff","patch_url":"https://github.com/bbatsov/rubocop/pull/2007.patch"},"body":"Previously, only certain methods primarily related to method visibility were allowed before a `def`. This changes the behavior such that anything before `def` is allowed.\n\nCloses #1467"},"comment":{"url":"https://api.github.com/repos/bbatsov/rubocop/issues/comments/118048855","html_url":"https://github.com/bbatsov/rubocop/pull/2007#issuecomment-118048855","issue_url":"https://api.github.com/repos/bbatsov/rubocop/issues/2007","id":118048855,"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},"created_at":"2015-07-02T14:22:10Z","updated_at":"2015-07-02T14:22:10Z","body":"Looks good to me. @jonas054 WDYT?"}}