gems rubocop 1.8.1

latest releases: 1.68.0, 1.67.0, 1.66.1...
3 years ago

Bug fixes

  • #9342: Fix an error for Lint/RedundantDirGlobSort when using collection.sort. (@koic)
  • #9304: Do not register an offense for Style/ExplicitBlockArgument when the yield arguments are not an exact match with the block arguments. (@dvandersluis)
  • #8281: Fix Style/WhileUntilModifier handling comments and assignment when correcting to modifier form. (@Darhazer)
  • #8229: Fix faulty calculation in UncommunicativeName. (@ohbarye)
  • #9350: Wrap in parens before replacing unless with if and !. (@magneland)
  • #9356: Fix duplicate extension cop versions when using rubocop -V. (@koic)
  • #9355: Fix Style/SingleLineMethods autocorrection to endless method when the original code had parens. (@dvandersluis)
  • #9346: Fix an incorrect auto-correct for Style/StringConcatenation when concat string include double quotes and interpolation. (@k-karen)

Don't miss a new rubocop release

NewReleases is sending notifications on new releases.