{"action":"created","issue":{"url":"https://api.github.com/repos/mileszs/wicked_pdf/issues/629","repository_url":"https://api.github.com/repos/mileszs/wicked_pdf","labels_url":"https://api.github.com/repos/mileszs/wicked_pdf/issues/629/labels{/name}","comments_url":"https://api.github.com/repos/mileszs/wicked_pdf/issues/629/comments","events_url":"https://api.github.com/repos/mileszs/wicked_pdf/issues/629/events","html_url":"https://github.com/mileszs/wicked_pdf/pull/629","id":214376965,"number":629,"title":"Fix rubocop error","user":{"login":"ryu39","id":3458295,"avatar_url":"https://avatars0.githubusercontent.com/u/3458295?v=3","gravatar_id":"","url":"https://api.github.com/users/ryu39","html_url":"https://github.com/ryu39","followers_url":"https://api.github.com/users/ryu39/followers","following_url":"https://api.github.com/users/ryu39/following{/other_user}","gists_url":"https://api.github.com/users/ryu39/gists{/gist_id}","starred_url":"https://api.github.com/users/ryu39/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ryu39/subscriptions","organizations_url":"https://api.github.com/users/ryu39/orgs","repos_url":"https://api.github.com/users/ryu39/repos","events_url":"https://api.github.com/users/ryu39/events{/privacy}","received_events_url":"https://api.github.com/users/ryu39/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2017-03-15T12:41:40Z","updated_at":"2017-03-15T13:53:58Z","closed_at":"2017-03-15T13:53:52Z","pull_request":{"url":"https://api.github.com/repos/mileszs/wicked_pdf/pulls/629","html_url":"https://github.com/mileszs/wicked_pdf/pull/629","diff_url":"https://github.com/mileszs/wicked_pdf/pull/629.diff","patch_url":"https://github.com/mileszs/wicked_pdf/pull/629.patch"},"body":"The last Travis CI build is failed due to rubocop errors.\r\n\r\n```\r\nOffenses:\r\n\r\ntest/functional/pdf_helper_test.rb:17:5: C: Put empty method definitions on a single line.\r\n    def render_to_string ...\r\n    ^^^^^^^^^^^^^^^^^^^^\r\ntest/functional/pdf_helper_test.rb:20:5: C: Put empty method definitions on a single line.\r\n    def self.after_action(_) ...\r\n    ^^^^^^^^^^^^^^^^^^^^^^^^\r\n```\r\n\r\nBy default rubocop configuration, empty method definitions must be written in one line like `def empty_method; end`.\r\n\r\nhttp://www.rubydoc.info/gems/rubocop/RuboCop/Cop/Style/EmptyMethod\r\n\r\nSo I fixed those errors to modify empty method definitions written in one line.\r\n\r\nIf you don't like one line method definition, it can be resolved by adding following configuration to [rubocop.yml](https://github.com/mileszs/wicked_pdf/blob/master/.rubocop.yml).\r\n\r\n```\r\nStyle/EmptyMethod:\r\n  EnforcedStyle: expanded\r\n```\r\n\r\nPlease check my PR.\r\n\r\nThanks"},"comment":{"url":"https://api.github.com/repos/mileszs/wicked_pdf/issues/comments/286747733","html_url":"https://github.com/mileszs/wicked_pdf/pull/629#issuecomment-286747733","issue_url":"https://api.github.com/repos/mileszs/wicked_pdf/issues/629","id":286747733,"user":{"login":"unixmonkey","id":8360,"avatar_url":"https://avatars3.githubusercontent.com/u/8360?v=3","gravatar_id":"","url":"https://api.github.com/users/unixmonkey","html_url":"https://github.com/unixmonkey","followers_url":"https://api.github.com/users/unixmonkey/followers","following_url":"https://api.github.com/users/unixmonkey/following{/other_user}","gists_url":"https://api.github.com/users/unixmonkey/gists{/gist_id}","starred_url":"https://api.github.com/users/unixmonkey/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/unixmonkey/subscriptions","organizations_url":"https://api.github.com/users/unixmonkey/orgs","repos_url":"https://api.github.com/users/unixmonkey/repos","events_url":"https://api.github.com/users/unixmonkey/events{/privacy}","received_events_url":"https://api.github.com/users/unixmonkey/received_events","type":"User","site_admin":false},"created_at":"2017-03-15T13:53:58Z","updated_at":"2017-03-15T13:53:58Z","body":"Thanks!"}}
{"actor":{"display_login":"unixmonkey"}}