Build(deps): Bump rubocop from 1.22.1 to 1.22.2 (PR #14705)

Bumps rubocop from 1.22.1 to 1.22.2.

Release notes

Sourced from rubocop's releases.

RuboCop 1.22.2

Bug fixes

  • #10165: Fix Layout/DotPosition false positives when the selector and receiver are on the same line. (@​dvandersluis)
  • #10171: Fix Style/HashTransformKeys and Style/HashTransformValues incorrect auto-correction when inside block body. (@​franzliedke)
  • #10180: Fix an error for Style/SelectByRegexp when using match? without a receiver. (@​koic)
  • #10193: Fix an error for Layout/EmptyLinesAroundExceptionHandlingKeywords when begin and rescue are on the same line. (@​koic)
  • #10185: Fix a false positive for Lint/AmbiguousRange when using self in a range literal. (@​koic)
  • #10200: Fix an error when inspecting a directory named *. (@​koic)
  • #10149: Fix Bundler/GemComment where it would not detect an offense in some cases when OnlyFor is set to restrictive_version_specifiers. (@​Drowze)

Changes

Changelog

Sourced from rubocop's changelog.

1.22.2 (2021-10-22)

Bug fixes

  • #10165: Fix Layout/DotPosition false positives when the selector and receiver are on the same line. ([@​dvandersluis][])
  • #10171: Fix Style/HashTransformKeys and Style/HashTransformValues incorrect auto-correction when inside block body. ([@​franzliedke][])
  • #10180: Fix an error for Style/SelectByRegexp when using match? without a receiver. ([@​koic][])
  • #10193: Fix an error for Layout/EmptyLinesAroundExceptionHandlingKeywords when begin and rescue are on the same line. ([@​koic][])
  • #10185: Fix a false positive for Lint/AmbiguousRange when using self in a range literal. ([@​koic][])
  • #10200: Fix an error when inspecting a directory named *. ([@​koic][])
  • #10149: Fix Bundler/GemComment where it would not detect an offense in some cases when OnlyFor is set to restrictive_version_specifiers. ([@​Drowze][])

Changes

  • #10157: Updated Gemspec/RequiredRubyVersion handle being set to blank values. ([@​dvandersluis][])
  • #10176: Unmark AutoCorrect: false from Security/JSONLoad. ([@​koic][])
  • #10186: Explicit block arg is not counted for Metrics/ParameterLists. ([@​koic][])
Commits
  • 60484a7 Cut 1.22.2
  • cc7ac48 Update Changelog
  • 1d5621d Suppress warning: constant Net::HTTPServerException is deprecated
  • a319d09 Updated Gemspec/RequiredRubyVersion register an offense when set to blank v...
  • 34ce2ed [Fix #10200] Fix an error when inspecting a directory named *
  • 5b27789 [Fix #10186] Explicit block arg is not counted for Metrics/ParameterLists
  • 1894717 Merge pull request #10193 from koic/fix_an_error_for_empty_lines_around_excep...
  • 95262d0 Fix an error for Layout/EmptyLinesAroundExceptionHandlingKeywords
  • 41f2632 Merge pull request #10187 from koic/fix_false_positive_for_lint_ambiguous_range
  • 96457ee [Fix #10185] Fix a false positive for Lint/AmbiguousRange
  • 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)

GitHub