Skip to content

RuboCop 1.11

Compare
Choose a tag to compare
@bbatsov bbatsov released this 01 Mar 10:28
· 3845 commits to master since this release

New features

  • #5388: Add new Style/UnlessLogicalOperators cop. (@caalberts)
  • #9525: Add AllowMethodsWithArguments option to Style/SymbolProc. (@koic)

Bug fixes

  • #9520: Fix an incorrect auto-correct for Style/MultipleComparison when comparing a variable with multiple items in if and elsif conditions. (@koic)
  • #9548: Fix a false positive for Style/TrailingBodyOnMethodDefinition when endless method definition body is after newline in opening parenthesis. (@koic)
  • #9541: Fix Style/HashConversion when the correction needs to be wrapped in parens. (@dvandersluis)
  • #9533: Make metrics length cops aware of multi-line kwargs. (@koic)
  • #9523: Fix an error for Style/TrailingMethodEndStatement when endless method definition signature and body are on different lines. (@koic)
  • #9482: Return minimal known ruby version from gemspecs required_ruby_version. (@HeroProtagonist)
  • #9539: Fix an error for Style/RedundantBegin when using body of begin is empty. (@koic)
  • #9542: Fix Layout/FirstArgumentIndentation for operator methods not called as operators. (@dvandersluis, @TSMMark)

Changes

  • #9526: Add AllowSplatArgument option to Style/HashConversion and the option is true by default. (@koic)