Skip to content

deps-dev: bump rubocop from 1.37.1 to 1.38.0

George Koltsov requested to merge dependabot/bundler/rubocop-1.38.0 into main

Created by: dependabot[bot]

Bumps rubocop from 1.37.1 to 1.38.0.

Release notes

Sourced from rubocop's releases.

RuboCop 1.38

New features

Bug fixes

  • #11125: Fix an error for Layout/SpaceInsideHashLiteralBraces when using method argument that both key and value are hash literals. (@​koic)
  • #11132: Fix clobbering error on Lint/EmptyConditionalBody. (@​r7kamura)
  • #11117: Fix a false positive for Style/BlockDelimiters when specifying EnforcedStyle: semantic and using a single line block with {} followed by a safe navigation method call. (@​koic)
  • #11120: Fix an incorrect autocorrect for Lint/RedundantRequireStatement when using redundant require with modifier form. (@​koic)

Changes

  • #11131: Check newline in empty reference bracket on Layout/SpaceInsideReferenceBrackets. (@​r7kamura)
  • #11045: Update the Style/ModuleFunction documentation to suggest class << self as an alternative. (@​rdeckard)
  • #11006: Allow multiple elsif for Style/IfWithBooleanLiteralBranches. (@​koic)
  • #11113: Report the count of files in the Worst and the Offense Count formatters. (@​hosamaly)
Changelog

Sourced from rubocop's changelog.

1.38.0 (2022-11-01)

New features

Bug fixes

  • #11125: Fix an error for Layout/SpaceInsideHashLiteralBraces when using method argument that both key and value are hash literals. ([@​koic][])
  • #11132: Fix clobbering error on Lint/EmptyConditionalBody. ([@​r7kamura][])
  • #11117: Fix a false positive for Style/BlockDelimiters when specifying EnforcedStyle: semantic and using a single line block with {} followed by a safe navigation method call. ([@​koic][])
  • #11120: Fix an incorrect autocorrect for Lint/RedundantRequireStatement when using redundant require with modifier form. ([@​koic][])

Changes

  • #11131: Check newline in empty reference bracket on Layout/SpaceInsideReferenceBrackets. ([@​r7kamura][])
  • #11045: Update the Style/ModuleFunction documentation to suggest class << self as an alternative. ([@​rdeckard][])
  • #11006: Allow multiple elsif for Style/IfWithBooleanLiteralBranches. ([@​koic][])
  • #11113: Report the count of files in the Worst and the Offense Count formatters. ([@​hosamaly][])
Commits
  • 52a56f0 Cut 1.38
  • c87ed48 Update Changelog
  • d984482 Set whitespace-line-column to 100 in .dir-locals.el
  • e423552 Fix the CI build
  • 360f043 Improve Style/IfWithBooleanLiteralBranches's documentation
  • 6e910eb [Fix #11006] Allow multiple elsif for Style/IfWithBooleanLiteralBranches
  • c4b2bb1 Use broken vertical bar as adoc table separator
  • 41a8249 Tweak wording
  • 72f8c69 Update the Style/ModuleFunction documentation to suggest class << self as...
  • 06cacae [Fix #11120] Fix an incorrect autocorrect for Lint/RedundantRequireStatement
  • Additional commits viewable in compare view

Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot merge will merge this PR after your CI passes on it
  • @dependabot squash and merge will squash and merge this PR after your CI passes on it
  • @dependabot cancel merge will cancel a previously requested merge and block automerging
  • @dependabot reopen will reopen this PR if it is closed
  • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

Merge request reports