Skip to content

deps-dev: bump rubocop from 1.38.0 to 1.39.0

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

Created by: dependabot[bot]

Bumps rubocop from 1.38.0 to 1.39.0.

Release notes

Sourced from rubocop's releases.

RuboCop 1.39

New features

Bug fixes

  • #11150: Improve Style/RedundantRegexpEscape to catch unnecessarily escaped hyphens within a character class. (@​si-lens)
  • #11168: Fix an incorrect autocorrect for Style/ClassEqualityComparison when using instance variable comparison in module. (@​koic)
  • #11176: Fix a false positive cases for Lint/DuplicateMethods when using duplicate nested method. (@​koic)
  • #11164: Suppress "RuboCop server starting..." message with --server --format json. (@​koic)
  • #11156: Fix Style/OperatorMethodCall autocorrection when operators are chained. (@​gsamokovarov)
  • #11139: Fix a false negative for Style/HashEachMethods when using each with a symbol proc argument. (@​ydah)
  • #11161: Fix a false positive for Style/HashAsLastArrayItem when using double splat operator. (@​koic)
  • #11151: Fix a false positive for Lint/SuppressedException. (@​akihikodaki)
  • #11123: Fix autocorrection bug for Style/StringLiterals when using multiple escape characters. (@​si-lens)
  • #11165: Fix a false positive for Style/RedundantEach when any method is used between methods containing each in the method name. (@​koic)
  • #11177: Fix a false positive for Style/ObjectThen cop with TargetRubyVersion < 2.6. (@​epaew)
  • #11173: Fix an incorrect autocorrect for Style/CollectionCompact when using reject with block pass arg and no parentheses. (@​koic)
  • #11137: Fix a false positive for Style/RedundantEach when using a symbol proc argument. (@​ydah)
  • #11142: Fix Style/RedundantEach for non-chained each_ calls. (@​fatkodima)

Changes

Changelog

Sourced from rubocop's changelog.

1.39.0 (2022-11-14)

New features

Bug fixes

  • #11150: Improve Style/RedundantRegexpEscape to catch unnecessarily escaped hyphens within a character class. ([@​si-lens][])
  • #11168: Fix an incorrect autocorrect for Style/ClassEqualityComparison when using instance variable comparison in module. ([@​koic][])
  • #11176: Fix a false positive cases for Lint/DuplicateMethods when using duplicate nested method. ([@​koic][])
  • #11164: Suppress "RuboCop server starting..." message with --server --format json. ([@​koic][])
  • #11156: Fix Style/OperatorMethodCall autocorrection when operators are chained. ([@​gsamokovarov][])
  • #11139: Fix a false negative for Style/HashEachMethods when using each with a symbol proc argument. ([@​ydah][])
  • #11161: Fix a false positive for Style/HashAsLastArrayItem when using double splat operator. ([@​koic][])
  • #11151: Fix a false positive for Lint/SuppressedException. ([@​akihikodaki][])
  • #11123: Fix autocorrection bug for Style/StringLiterals when using multiple escape characters. ([@​si-lens][])
  • #11165: Fix a false positive for Style/RedundantEach when any method is used between methods containing each in the method name. ([@​koic][])
  • #11177: Fix a false positive for Style/ObjectThen cop with TargetRubyVersion < 2.6. ([@​epaew][])
  • #11173: Fix an incorrect autocorrect for Style/CollectionCompact when using reject with block pass arg and no parentheses. ([@​koic][])
  • #11137: Fix a false positive for Style/RedundantEach when using a symbol proc argument. ([@​ydah][])
  • #11142: Fix Style/RedundantEach for non-chained each_ calls. ([@​fatkodima][])

Changes

Commits
  • 6bdf42b Cut 1.39
  • a0ecf1b Update Changelog
  • d6345ac Merge pull request #11177 from epaew/bugfix/style/object_then
  • b13c21a Fix a false positive for Style/ObjectThen cop with TargetRubyVersion < 2.6
  • 3f3c829 Fix a false positive for Lint/DuplicateMethods
  • 31720ce [Fix #11150] Improve redundant_regex_escape.rb
  • 57e7c45 Merge pull request #11144 from si-lens/fix_auto_correction_bug_for_Style/Stri...
  • 45da59a [Fix #11123 ] Fix auto correction bug for Style/StringLiterals
  • 7b265aa [Fix #11173] Fix an incorrect autocorrect for Style/CollectionCompact
  • dfb1ca5 Add autocorrect for Layout/LineContinuationLeadingSpace
  • 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

Loading