{"action":"created","issue":{"url":"https://api.github.com/repos/bbatsov/rubocop/issues/1768","labels_url":"https://api.github.com/repos/bbatsov/rubocop/issues/1768/labels{/name}","comments_url":"https://api.github.com/repos/bbatsov/rubocop/issues/1768/comments","events_url":"https://api.github.com/repos/bbatsov/rubocop/issues/1768/events","html_url":"https://github.com/bbatsov/rubocop/pull/1768","id":66834674,"number":1768,"title":"Support class method visibility modifiers in DefEndAlignment","user":{"login":"til","id":11211,"avatar_url":"https://avatars.githubusercontent.com/u/11211?v=3","gravatar_id":"","url":"https://api.github.com/users/til","html_url":"https://github.com/til","followers_url":"https://api.github.com/users/til/followers","following_url":"https://api.github.com/users/til/following{/other_user}","gists_url":"https://api.github.com/users/til/gists{/gist_id}","starred_url":"https://api.github.com/users/til/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/til/subscriptions","organizations_url":"https://api.github.com/users/til/orgs","repos_url":"https://api.github.com/users/til/repos","events_url":"https://api.github.com/users/til/events{/privacy}","received_events_url":"https://api.github.com/users/til/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2015-04-07T09:21:55Z","updated_at":"2015-04-22T08:34:30Z","closed_at":"2015-04-22T08:34:25Z","pull_request":{"url":"https://api.github.com/repos/bbatsov/rubocop/pulls/1768","html_url":"https://github.com/bbatsov/rubocop/pull/1768","diff_url":"https://github.com/bbatsov/rubocop/pull/1768.diff","patch_url":"https://github.com/bbatsov/rubocop/pull/1768.patch"},"body":"Make sure `DefEndAlignment` recognizes def lines preceded with\r\n`private_class_method` or `public_class_method`, and does not complain about\r\nmisaligned `end`, like this:\r\n\r\n```ruby\r\nprivate_class_method def self.foo\r\n  ...\r\nend\r\n```\r\n"},"comment":{"url":"https://api.github.com/repos/bbatsov/rubocop/issues/comments/95076651","html_url":"https://github.com/bbatsov/rubocop/pull/1768#issuecomment-95076651","issue_url":"https://api.github.com/repos/bbatsov/rubocop/issues/1768","id":95076651,"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-04-22T08:34:30Z","updated_at":"2015-04-22T08:34:30Z","body":":+1: "}}