Skip to content

deps-dev: bump rubocop from 1.34.1 to 1.35.0

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

Created by: dependabot[bot]

Bumps rubocop from 1.34.1 to 1.35.0.

Release notes

Sourced from rubocop's releases.

RuboCop 1.35

New features

Bug fixes

  • #10899: Fix an error for Lint/ShadowingOuterLocalVariable when the same variable name as a block variable is used in return value assignment of if. (@​koic)
  • #10916: Fix an error when .rubocop.yml is empty. (@​koic)
  • #10915: Fix numblock support to Layout/BlockAlignment, Layout/BlockEndNewline, Layout/EmptyLinesAroundAccessModifier, Layout/EmptyLinesAroundBlockBody, Layout/IndentationWidth, Layout/LineLength, Layout/MultilineBlockLayout, Layout/SpaceBeforeBlockBraces, Lint/NextWithoutAccumulator, Lint/NonDeterministicRequireOrder, Lint/RedundantWithIndex, Lint/RedundantWithObject, Lint/UnreachableLoop, Lint/UselessAccessModifier, Lint/Void, Metrics/AbcSize, Metrics/CyclomaticComplexity, Style/CollectionMethods, Style/CombinableLoops, Style/EachWithObject, Style/For, Style/HashEachMethods, Style/InverseMethods, Style/MethodCalledOnDoEndBlock, Style/MultilineBlockChain, Style/Next, Style/ObjectThen, Style/Proc, Style/RedundantBegin, Style/RedundantSelf, Style/RedundantSortBy and Style/TopLevelMethodDefinition. (@​gsamokovarov)
  • #10895: Fix incorrect autocomplete in Style/RedundantParentheses when a heredoc is used in an array. (@​dvandersluis)
  • #10909: Fix loading behavior on running without bundle exec. (@​r7kamura)
  • #10913: Make Style/ArgumentsForwarding aware of anonymous block argument. (@​koic)
  • #10911: Fix Style/ClassMethodsDefinitions for non-self receivers. (@​sambostock)

Changes

Changelog

Sourced from rubocop's changelog.

1.35.0 (2022-08-12)

New features

Bug fixes

  • #10899: Fix an error for Lint/ShadowingOuterLocalVariable when the same variable name as a block variable is used in return value assignment of if. ([@​koic][])
  • #10916: Fix an error when .rubocop.yml is empty. ([@​koic][])
  • #10915: Fix numblock support to Layout/BlockAlignment, Layout/BlockEndNewline, Layout/EmptyLinesAroundAccessModifier, Layout/EmptyLinesAroundBlockBody, Layout/IndentationWidth, Layout/LineLength, Layout/MultilineBlockLayout, Layout/SpaceBeforeBlockBraces, Lint/NextWithoutAccumulator, Lint/NonDeterministicRequireOrder, Lint/RedundantWithIndex, Lint/RedundantWithObject, Lint/UnreachableLoop, Lint/UselessAccessModifier, Lint/Void, Metrics/AbcSize, Metrics/CyclomaticComplexity, Style/CollectionMethods, Style/CombinableLoops, Style/EachWithObject, Style/For, Style/HashEachMethods, Style/InverseMethods, Style/MethodCalledOnDoEndBlock, Style/MultilineBlockChain, Style/Next, Style/ObjectThen, Style/Proc, Style/RedundantBegin, Style/RedundantSelf, Style/RedundantSortBy and Style/TopLevelMethodDefinition. ([@​gsamokovarov][])
  • #10895: Fix incorrect autocomplete in Style/RedundantParentheses when a heredoc is used in an array. ([@​dvandersluis][])
  • #10909: Fix loading behavior on running without bundle exec. ([@​r7kamura][])
  • #10913: Make Style/ArgumentsForwarding aware of anonymous block argument. ([@​koic][])
  • #10911: Fix Style/ClassMethodsDefinitions for non-self receivers. ([@​sambostock][])

Changes

Commits
  • 4c16de9 Cut 1.35
  • 4f3d100 Update Changelog
  • 4a59941 Single changelog entry for the block cops without numblock fixes
  • 1c006d1 Fix Style/HashEachMethods with numblock
  • 460d20f Fix Style/EachWithObject with numblocks
  • 06c2402 Fix Style/CollectionMethods with numblocks
  • 73916ed Fix Style/InverseMethods with numblocks
  • 4293be4 Fix Style/RedundantSortBy with numblocks
  • 9853374 Fix Style/RedundantBegin with numblocks
  • 0a34e26 Fix Style/RedundantSelf with numblocks
  • 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