{"action":"created","issue":{"url":"https://api.github.com/repos/mxenabled/mad_rubocop/issues/8","repository_url":"https://api.github.com/repos/mxenabled/mad_rubocop","labels_url":"https://api.github.com/repos/mxenabled/mad_rubocop/issues/8/labels{/name}","comments_url":"https://api.github.com/repos/mxenabled/mad_rubocop/issues/8/comments","events_url":"https://api.github.com/repos/mxenabled/mad_rubocop/issues/8/events","html_url":"https://github.com/mxenabled/mad_rubocop/issues/8","id":140721418,"number":8,"title":"RuboCop 0.38","user":{"login":"ztoolson","id":4131873,"avatar_url":"https://avatars.githubusercontent.com/u/4131873?v=3","gravatar_id":"","url":"https://api.github.com/users/ztoolson","html_url":"https://github.com/ztoolson","followers_url":"https://api.github.com/users/ztoolson/followers","following_url":"https://api.github.com/users/ztoolson/following{/other_user}","gists_url":"https://api.github.com/users/ztoolson/gists{/gist_id}","starred_url":"https://api.github.com/users/ztoolson/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ztoolson/subscriptions","organizations_url":"https://api.github.com/users/ztoolson/orgs","repos_url":"https://api.github.com/users/ztoolson/repos","events_url":"https://api.github.com/users/ztoolson/events{/privacy}","received_events_url":"https://api.github.com/users/ztoolson/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2016-03-14T16:17:07Z","updated_at":"2016-03-15T15:42:07Z","closed_at":null,"body":"RuboCop has released version 0.38. :tada: :balloon:  It doesn't look like they introduced any new cops but made some improvements on exiting cops.\r\n\r\n**Summary of changes:**\r\n- Style/UnlessElse cop can auto-correct.\r\n- Style/OneLineConditional cop can auto-correct.\r\n- Style/ZeroLengthConditional flags code like `array.length < 1`, `1 > array.length`, and so on.\r\n- Lint/BlockAlignment cop can be configured to be stricter.\r\n- Style/Not is able to autocorrect in cases where parentheses must be added to preserve the meaning of an expression.\r\n- Style/Not auto-corrects comparison expressions by removing not and using the opposite comparison."},"comment":{"url":"https://api.github.com/repos/mxenabled/mad_rubocop/issues/comments/196887038","html_url":"https://github.com/mxenabled/mad_rubocop/issues/8#issuecomment-196887038","issue_url":"https://api.github.com/repos/mxenabled/mad_rubocop/issues/8","id":196887038,"user":{"login":"ztoolson","id":4131873,"avatar_url":"https://avatars.githubusercontent.com/u/4131873?v=3","gravatar_id":"","url":"https://api.github.com/users/ztoolson","html_url":"https://github.com/ztoolson","followers_url":"https://api.github.com/users/ztoolson/followers","following_url":"https://api.github.com/users/ztoolson/following{/other_user}","gists_url":"https://api.github.com/users/ztoolson/gists{/gist_id}","starred_url":"https://api.github.com/users/ztoolson/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ztoolson/subscriptions","organizations_url":"https://api.github.com/users/ztoolson/orgs","repos_url":"https://api.github.com/users/ztoolson/repos","events_url":"https://api.github.com/users/ztoolson/events{/privacy}","received_events_url":"https://api.github.com/users/ztoolson/received_events","type":"User","site_admin":false},"created_at":"2016-03-15T15:42:06Z","updated_at":"2016-03-15T15:42:06Z","body":"@ryanbjones That cop was introduced in RuboCop 0.37. If you think that it is more useful to use size, you can always just disable the cop for that one line. "}}