Releases
v0.48.1
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 autocorrect 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 )
You can’t perform that action at this time.