Rubocop v0.41.2 Release Notes

Release Date: 2016-07-07 // almost 8 years ago
  • ๐Ÿ› Bug fixes

    • ๐Ÿ’Ž #3248: Support 'ruby-' prefix in .ruby-version. ([@tjwp][])
    • #3250: Make regexp for cop names less restrictive in CommentConfig lines. ([@tjwp][])
    • ๐Ÿ’Ž #3261: Prefer TargetRubyVersion to .ruby-version. ([@tjwp][])
    • ๐Ÿ’… #3249: Account for rescue nil in Style/ShadowedException. ([@rrosenblum][])
    • ๐Ÿ’… Modify the highlighting in Style/ShadowedException to be more useful. Highlight just rescue area. ([@rrosenblum][])
    • ๐Ÿ’… #3129: Fix Style/MethodCallParentheses to work with multiple assignments. ([@tejasbubane][])
    • ๐Ÿ’… #3247: Ensure whitespace after beginning of block in Style/BlockDelimiters. ([@tjwp][])
    • ๐Ÿ‘• #2941: Make sure Lint/UnneededDisable can do auto-correction. ([@jonas054][])
    • ๐Ÿ‘• #3269: Fix Lint/ShadowedException to block arbitrary code execution. ([@pocke][])
    • ๐ŸŽ #3266: Handle empty parentheses in Performance/RedundantBlockCall auto-correct. ([@jonas054][])
    • #3272: Add escape character missing to LITERAL_REGEX. ([@pocke][])
    • ๐Ÿ’… #3255: Fix auto-correct for Style/RaiseArgs when constructing exception without arguments. ([@drenmi][])
    • 0๏ธโƒฃ #3294: Allow to use Time.zone_default. ([@Tei][])
    • #3300: Do not replace %q()s containing escaped non-backslashes. ([@owst][])

    ๐Ÿ”„ Changes

    • ๐Ÿ’… #3230: Improve highlighting for Style/AsciiComments cop. ([@drenmi][])
    • ๐Ÿ‘Œ Improve highlighting for Style/AsciiIdentifiers cop. ([@drenmi][])
    • #3265: Include --no-offense-counts in .rubocop_todo.yml. ([@vergenzt][])