Rubocop v0.48.1 Release Notes

Release Date: 2017-04-03 // about 7 years ago
  • ๐Ÿ”„ Changes

    • ๐Ÿ’… #4219: Add a link to style guide for Style/IndentationConsistency cop. ([@pocke][])
    • ๐Ÿšš #4168: Removed -n option. ([@sadovnik][])
    • ๐Ÿ’… #4039: Change Style/PercentLiteralDelimiters default configuration to match Style Guide update. ([@drenmi][])
    • ๐Ÿ‘• #4235: Improved copy of offense message in Lint/AmbiguousBlockAssociation cop. ([@smakagon][])

    ๐Ÿ› Bug fixes

    • ๐Ÿš… #4171: Prevent Rails/Blank from breaking when RHS of or is a naked falsiness check. ([@drenmi][])
    • ๐Ÿ‘• #4189: Make Lint/AmbiguousBlockAssociation aware of lambdas passed as arguments. ([@drenmi][])
    • ๐Ÿš… #4179: Prevent Rails/Blank from breaking when LHS of or is a naked falsiness check. ([@rrosenblum][])
    • ๐Ÿ’… #4172: Fix false positives in Style/MixinGrouping cop. ([@drenmi][])
    • ๐Ÿ‘• #4185: Make Lint/NestedMethodDefinition aware of #*_exec class of methods. ([@drenmi][])
    • ๐Ÿ’… #4197: Fix false positive in Style/RedundantSelf cop with parallel assignment. ([@drenmi][])
    • ๐Ÿ’… #4199: Fix incorrect auto correction in Style/SymbolArray and Style/WordArray cop. ([@pocke][])
    • ๐Ÿ‘• #4218: Make Lint/NestedMethodDefinition aware of class shovel scope. ([@drenmi][])
    • ๐Ÿ‘• #4198: Make Lint/AmbguousBlockAssociation aware of operator methods. ([@drenmi][])
    • ๐Ÿ’… #4152: Make Style/MethodCallWithArgsParentheses not require parens on setter methods. ([@drenmi][])
    • #4226: Show in --help output that --stdin takes a file name argument. ([@jonas054][])
    • ๐Ÿš… #4217: Fix false positive in Rails/FilePath cop with non string argument. ([@soutaro][])
    • ๐Ÿ’… #4106: Make Style/TernaryParentheses unsafe auto-correct detector aware of literals and constants. ([@drenmi][])
    • ๐Ÿ‘• #4228: Fix false positive in Lint/AmbiguousBlockAssociation cop. ([@smakagon][])
    • ๐Ÿš… #4234: Fix false positive in Rails/RelativeDate for lambdas and procs. ([@smakagon][])