Changes
- #14065: Update
Lint/RedundantTypeConversion
to register an offense forto_json.to_s
. (@lovro-bikic)
Bug fixes
- #14041: Fix an error when using ERB templated config YAML with server mode. (@koic)
- #14048: Do not emit a warning for a zero-sized file while checking if it is executable. (@viralpraxis)
- #14053: Fix incorrect autocorrect for
Lint/DeprecatedOpenSSLConstant
cipher constant argument is notcbc
. (@koic) - #14051: Fix incorrect autocorrect for
Style/RedundantCondition
when true is used as the true branch and the condition takes arguments. (@koic) - #14062: Fix false positives for
Lint/ReturnInVoidContext
when returning insidedefine_method
or a nested singleton method. (@earlopain) - #14057: Fix
Style/ConditionalAssignment
cop error on dynamic string node in branch. (@viralpraxis) - #14047: Fix
Style/FrozenStringLiteralComment
cop errors on emacs-styled magic comment. (@viralpraxis)