Skip to content

RuboCop 0.59.1

Compare
Choose a tag to compare
@bbatsov bbatsov released this 15 Sep 07:46
· 6434 commits to master since this release

Bug fixes

  • #6267: Fix undefined method 'method_name' for Rails/FindEach. (@Knack)
  • #6278: Fix false positive for Naming/FileName when investigating gemspecs. (@kddeisz)
  • #6256: Fix false positive for Naming/FileName when investigating dotfiles. (@sinsoku)
  • #6242: Fix Style/EmptyCaseCondition auto-correction removes comment between case and first when. (@koic)
  • #6261: Fix undefined method error for Style/RedundantBegin when calling super with a block. (@eitoball)
  • #6263: Fix an error Layout/EmptyLineAfterGuardClause when guard clause is after heredoc including string interpolation. (@koic)
  • #6281: Fix false negative in Style/MultilineMethodSignature. (@drenmi)
  • #6264: Fix an incorrect autocorrect for Layout/EmptyLineAfterGuardClause cop when if condition is after heredoc. (@koic)

Changes

  • #6272: Make Lint/UnreachableCode detect exit, exit! and abort. (@hoshinotsuyoshi)
  • #6295: Exclude #=== from Naming/BinaryOperatorParameterName. (@zverok)
  • Add + to allowed file names of Naming/FileName. (@yensaki)