Skip to content

Conversation

@dependabot
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Dec 16, 2024

Bumps the rubocop group with 4 updates in the / directory: rubocop, rubocop-performance, rubocop-rspec and rubocop-thread_safety.

Updates rubocop from 1.66.1 to 1.69.2

Release notes

Sourced from rubocop's releases.

RuboCop 1.69.2

Bug fixes

  • #13553: Fix an incorrect autocorrect for Style/MultipleComparison when a variable is compared multiple times after a method call. (@​koic)
  • #13562: Fix Bundler/DuplicatedGem cop error in case of empty branch. (@​viralpraxis)
  • #13573: Fix Lint/UnescapedBracketInRegexp cop failure with invalid multibyte escape. (@​earlopain)
  • #13556: Fix false positives for Style/FileNull when using 'nul' string. (@​koic)
  • #12995: Fix --disable-uncorrectable to not insert directives inside a string. (@​dvandersluis)
  • #13320: Fix incorrect autocorrect when Layout/LineContinuationLeadingSpace and Style/StringLiterals autocorrects in the same pass. (@​dvandersluis)
  • #13299: Fix Style/BlockDelimiters to always accept braces when an operator method argument is chained. (@​dvandersluis)
  • #13565: Fix Style/RedundantLineContinuation false negatives when a redundant continuation follows a required continuation. (@​dvandersluis)
  • #13551: Fix an incorrect autocorrect for Style/IfWithSemicolon when using multi value assignment in if with a semicolon is used. (@​koic)
  • #13534: Fix Layout/LineLength cop failure in case of YARD-comment-like string. (@​viralpraxis)
  • #13558: Fix Lint/NonAtomicFileOperation cop error in case of implicit receiver. (@​viralpraxis)
  • #13564: Fix Metrics/ClassLength cop error in case of chained assignments. (@​viralpraxis)
  • #13570: Fix Naming/RescuedExceptionsVariableName cop error when exception is assigned with writer method. (@​viralpraxis)
  • #13559: Fix a false positive for Style/RedundantLineContinuation when a method definition is used as an argument for a method call. (@​davidrunger)
  • #13574: Fix Style/ExactRegexpMatch cop error on invalid regular expression literal. (@​viralpraxis)
  • #13554: Fix Style/FrozenStringLiteralComment false positive in case of non-downcased value literal. (@​viralpraxis)
  • #13569: Fix Style/MethodCallWithoutArgsParentheses cop error in case of mass hash assignment. (@​viralpraxis)
  • #13542: Fix Style/RedundantCondition cop failure in case of empty arguments. (@​viralpraxis)
  • #13509: Update Layout/ExtraSpacing and Layout/SpaceAroundOperators to handle preceding operators inside strings. (@​dvandersluis)

RuboCop 1.69.1

Bug fixes

  • #13502: Fix an incorrect autocorrect for Style/DigChain when using safe navigation method chain with dig method. (@​koic)
  • #13505: Fix an error for Style/ParallelAssignment when using the anonymous splat operator. (@​earlopain)
  • #13184: Fix some false positives in Lint/UnreachableCode. (@​isuckatcs)
  • #13494: Fix false positives for Style/HashExcept cop when using reject/!include?, reject/!in? or select/!exclude? combinations. (@​lovro-bikic)
  • #13522: Fix Lint/UnescapedBracketInRegexp cop failure with invalid regular expression. (@​viralpraxis)
  • #13523: Fix Style::AccessModifierDeclarations cop failure in case of if node without else. (@​viralpraxis)
  • #13524: Fix Style/RedundantArgument cop failure while inspecting string literal with invalid encoding. (@​viralpraxis)
  • #13528: Fix Style/RedundantParentheses cop failure in case of splatted case node without condition. (@​viralpraxis)
  • #13521: Fix Style/RedundantSelf cop failure with kwnilarg argument node. (@​viralpraxis)
  • #13526: Fix Style/StringConcatenation cop failure when there are mixed implicit and explicit concatenations. (@​viralpraxis)
  • #13511: Fix false positive in Lint/UnescapedBracketInRegexp when using regexp_parser 2.9.2 and earlier. (@​dvandersluis)
  • #13096: Update Style/BlockDelimiters to not change braces when they are required for syntax. (@​dvandersluis)
  • #13512: Update Style/LambdaCall to be aware of safe navigation. (@​dvandersluis)

... (truncated)

Changelog

Sourced from rubocop's changelog.

1.69.2 (2024-12-12)

Bug fixes

  • #13553: Fix an incorrect autocorrect for Style/MultipleComparison when a variable is compared multiple times after a method call. ([@​koic][])
  • #13562: Fix Bundler/DuplicatedGem cop error in case of empty branch. ([@​viralpraxis][])
  • #13573: Fix Lint/UnescapedBracketInRegexp cop failure with invalid multibyte escape. ([@​earlopain][])
  • #13556: Fix false positives for Style/FileNull when using 'nul' string. ([@​koic][])
  • #12995: Fix --disable-uncorrectable to not insert directives inside a string. ([@​dvandersluis][])
  • #13320: Fix incorrect autocorrect when Layout/LineContinuationLeadingSpace and Style/StringLiterals autocorrects in the same pass. ([@​dvandersluis][])
  • #13299: Fix Style/BlockDelimiters to always accept braces when an operator method argument is chained. ([@​dvandersluis][])
  • #13565: Fix Style/RedundantLineContinuation false negatives when a redundant continuation follows a required continuation. ([@​dvandersluis][])
  • #13551: Fix an incorrect autocorrect for Style/IfWithSemicolon when using multi value assignment in if with a semicolon is used. ([@​koic][])
  • #13534: Fix Layout/LineLength cop failure in case of YARD-comment-like string. ([@​viralpraxis][])
  • #13558: Fix Lint/NonAtomicFileOperation cop error in case of implicit receiver. ([@​viralpraxis][])
  • #13564: Fix Metrics/ClassLength cop error in case of chained assignments. ([@​viralpraxis][])
  • #13570: Fix Naming/RescuedExceptionsVariableName cop error when exception is assigned with writer method. ([@​viralpraxis][])
  • #13559: Fix a false positive for Style/RedundantLineContinuation when a method definition is used as an argument for a method call. ([@​davidrunger][])
  • #13574: Fix Style/ExactRegexpMatch cop error on invalid regular expression literal. ([@​viralpraxis][])
  • #13554: Fix Style/FrozenStringLiteralComment false positive in case of non-downcased value literal. ([@​viralpraxis][])
  • #13569: Fix Style/MethodCallWithoutArgsParentheses cop error in case of mass hash assignment. ([@​viralpraxis][])
  • #13542: Fix Style/RedundantCondition cop failure in case of empty arguments. ([@​viralpraxis][])
  • #13509: Update Layout/ExtraSpacing and Layout/SpaceAroundOperators to handle preceding operators inside strings. ([@​dvandersluis][])

1.69.1 (2024-12-03)

Bug fixes

  • #13502: Fix an incorrect autocorrect for Style/DigChain when using safe navigation method chain with dig method. ([@​koic][])
  • #13505: Fix an error for Style/ParallelAssignment when using the anonymous splat operator. ([@​earlopain][])
  • #13184: Fix some false positives in Lint/UnreachableCode. ([@​isuckatcs][])
  • #13494: Fix false positives for Style/HashExcept cop when using reject/!include?, reject/!in? or select/!exclude? combinations. ([@​lovro-bikic][])
  • #13522: Fix Lint/UnescapedBracketInRegexp cop failure with invalid regular expression. ([@​viralpraxis][])
  • #13523: Fix Style::AccessModifierDeclarations cop failure in case of if node without else. ([@​viralpraxis][])
  • #13524: Fix Style/RedundantArgument cop failure while inspecting string literal with invalid encoding. ([@​viralpraxis][])
  • #13528: Fix Style/RedundantParentheses cop failure in case of splatted case node without condition. ([@​viralpraxis][])
  • #13521: Fix Style/RedundantSelf cop failure with kwnilarg argument node. ([@​viralpraxis][])
  • #13526: Fix Style/StringConcatenation cop failure when there are mixed implicit and explicit concatenations. ([@​viralpraxis][])
  • #13511: Fix false positive in Lint/UnescapedBracketInRegexp when using regexp_parser 2.9.2 and earlier. ([@​dvandersluis][])
  • #13096: Update Style/BlockDelimiters to not change braces when they are required for syntax. ([@​dvandersluis][])
  • #13512: Update Style/LambdaCall to be aware of safe navigation. ([@​dvandersluis][])

1.69.0 (2024-11-26)

New features

... (truncated)

Commits
  • 3ba4aef Cut 1.69.2
  • e74cea2 Update Changelog
  • 19ee909 [Fix #13556] Fix false positives for Style/FileNull
  • fd13dab [Fix #13299] Fix Style/BlockDelimiters to always accept braces when an oper...
  • 522950a Fix Style/ExactRegexpMatch cop error on invalid regular expression literal
  • e0777ff Merge pull request #13539 from dvandersluis/issue/13320
  • 7fbd78a Net::HTTPSession is deprecated now
  • bd31b8a Update RSpec 4 CI to the monorepo
  • 4618790 Fix Lint/UnescapedBracketInRegexp cop failure with invalid multibyte escape
  • b00b5f1 Merge pull request #13570 from viralpraxis/fix-naming-rescue-exceptions-varia...
  • Additional commits viewable in compare view

Updates rubocop-performance from 1.22.1 to 1.23.0

Release notes

Sourced from rubocop-performance's releases.

RuboCop Performance 1.23.0

New features

Changelog

Sourced from rubocop-performance's changelog.

1.23.0 (2024-11-14)

New features

Commits

Updates rubocop-rspec from 3.0.5 to 3.3.0

Release notes

Sourced from rubocop-rspec's releases.

RuboCop RSpec v3.3.0

  • Deprecate top_level_group? method from TopLevelGroup mixin as all of its callers were intentionally removed from Rubocop/RSpec. (@​corsonknowles)
  • Fix false positive for RSpec/EmptyMetadata for splat kwargs. (@​pirj)

RuboCop RSpec v3.2.0

  • Fix RSpec/VoidExpect to only operate inside an example block. (@​corsonknowles)
  • Change RSpec/ContextWording cop to always report an offense when both Prefixes and AllowedPatterns are empty. (@​ydah)
  • Add support for and and or compound matchers to RSpec/ChangeByZero cop. (@​ydah)

RuboCop RSpec v3.1.0

  • Add RSpec/StringAsInstanceDoubleConstant to check for and correct strings used as instance_doubles. (@​corsonknowles)
  • Fix false-positive for RSpec/UnspecifiedException when a method is literally named raise_exception. (@​aarestad)
  • Fix false-positive for RSpec/UnspecifiedException when not_to raise_error is used within a block. (@​aarestad, @​G-Rath)
Changelog

Sourced from rubocop-rspec's changelog.

3.3.0 (2024-12-12)

  • Deprecate top_level_group? method from TopLevelGroup mixin as all of its callers were intentionally removed from Rubocop/RSpec. ([@​corsonknowles])
  • Fix false positive for RSpec/EmptyMetadata for splat kwargs. ([@​pirj])

3.2.0 (2024-10-26)

  • Fix RSpec/VoidExpect to only operate inside an example block. ([@​corsonknowles])
  • Change RSpec/ContextWording cop to always report an offense when both Prefixes and AllowedPatterns are empty. ([@​ydah])
  • Add support for and and or compound matchers to RSpec/ChangeByZero cop. ([@​ydah])

3.1.0 (2024-10-01)

  • Add RSpec/StringAsInstanceDoubleConstant to check for and correct strings used as instance_doubles. ([@​corsonknowles])
  • Fix false-positive for RSpec/UnspecifiedException when a method is literally named raise_exception. ([@​aarestad])
  • Fix false-positive for RSpec/UnspecifiedException when not_to raise_error is used within a block. ([@​aarestad], [@​G-Rath])
Commits
  • 4272587 Merge pull request #2007 from rubocop/release
  • f659b41 Merge pull request #2006 from Earlopain/rspec-monorepo
  • 47365dc Release v3.3.0
  • 737f2d0 CI: Add actions:write to gem-publish workflow
  • 3c4c64e Update RSpec 4 CI to the monorepo
  • b8a0eb1 Merge pull request #2005 from rubocop/fix-empty-metadata-for-kwargs-splat
  • 4832625 Fix EmptyMetadata for splat kwargs
  • 274c7d9 Merge pull request #1998 from rubocop/use-node-extensions-instead-of-splat
  • a115a93 Use Node extensions instead of *splat
  • 5e7b947 Merge pull request #2003 from rubocop/fix-markdown
  • Additional commits viewable in compare view

Updates rubocop-thread_safety from 0.5.1 to 0.6.0

Changelog

Sourced from rubocop-thread_safety's changelog.

0.6.0

  • #59: Rename ThreadSafety::InstanceVariableInClassMethod cop to ThreadSafety::ClassInstanceVariable to better reflect its purpose. (@​viralpraxis)
  • #55: Enhance ThreadSafety::InstanceVariableInClassMethod cop to detect offenses within class_eval/exec blocks. (@​viralpraxis)
  • #54: Drop support for RuboCop older than 1.48. (@​viralpraxis)
  • #52: Add new RackMiddlewareInstanceVariable cop to detect instance variables in Rack middleware. (@​viralpraxis)
  • #48: Do not report instance variables in ActionDispatch callbacks in singleton methods. (@​viralpraxis)
  • #43: Make detection of ActiveSupport's class_attribute configurable. (@​viralpraxis)
  • #42: Fix some InstanceVariableInClassMethod cop false positive offenses. (@​viralpraxis)
  • #41: Drop support for MRI older than 2.7. (@​viralpraxis)
  • #38: Fix NewThread cop detection is case of Thread.start, Thread.fork, or Thread.new with arguments. (@​viralpraxis)
  • #36: Add new DirChdir cop to detect Dir.chdir calls. (@​viralpraxis)
Commits
  • 7907aec Merge pull request #64 from viralpraxis/release-0-6-0
  • 2dcd647 Release 0.6.0
  • 33608a5 Merge pull request #62 from viralpraxis/update-development-dependencies
  • 2b5cf47 Update development dependencies
  • 3965383 Merge pull request #61 from viralpraxis/increase-coverage
  • 9d8d81e Handle legacy `LambdaNode
  • 3c7acba Increase coverage
  • 696e9c0 Merge pull request #59 from viralpraxis/rename-instance-variable-in-class-method
  • 77c65ac Add config obsoletion
  • ea413bd Add CHANGELOG.md entry
  • Additional commits viewable in compare view

Updates rubocop-ast from 1.32.3 to 1.37.0

Changelog

Sourced from rubocop-ast's changelog.

1.37.0 (2024-12-13)

New features

  • #341: Make RuboCop::AST::IfNode support then?. ([@​koic][])

Changes

  • #343: Add StrNode#single_quoted?, StrNode#double_quoted? and StrNode#percent_literal? to simplify checking for string delimiters. ([@​dvandersluis][])

1.36.2 (2024-11-27)

Bug fixes

1.36.1 (2024-11-13)

Bug fixes

  • #339: Do not emit a deprecation warning for EnsureNode#body to give RuboCop a chance to update its usage. EnsureNode#body will still be changed in the next major version of rubocop-ast. ([@​earlopain][])

1.36.0 (2024-11-13)

Changes

  • #337: Deprecate EnsureNode#body in favour of EnsureNode#branch. EnsureNode#body will be redefined in the next major version of rubocop-ast. ([@​dvandersluis][])

1.35.0 (2024-11-11)

New features

Changes

1.34.1 (2024-11-07)

New features

Bug fixes

... (truncated)

Commits

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 show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @dependabot ignore <dependency name> major version will close this group update PR and stop Dependabot creating any more for the specific dependency's major version (unless you unignore this specific dependency's major version or upgrade to it yourself)
  • @dependabot ignore <dependency name> minor version will close this group update PR and stop Dependabot creating any more for the specific dependency's minor version (unless you unignore this specific dependency's minor version or upgrade to it yourself)
  • @dependabot ignore <dependency name> will close this group update PR and stop Dependabot creating any more for the specific dependency (unless you unignore this specific dependency or upgrade to it yourself)
  • @dependabot unignore <dependency name> will remove all of the ignore conditions of the specified dependency
  • @dependabot unignore <dependency name> <ignore condition> will remove the ignore condition of the specified dependency and ignore conditions

Bumps the rubocop group with 4 updates in the / directory: [rubocop](https://github.com/rubocop/rubocop), [rubocop-performance](https://github.com/rubocop/rubocop-performance), [rubocop-rspec](https://github.com/rubocop/rubocop-rspec) and [rubocop-thread_safety](https://github.com/rubocop/rubocop-thread_safety).


Updates `rubocop` from 1.66.1 to 1.69.2
- [Release notes](https://github.com/rubocop/rubocop/releases)
- [Changelog](https://github.com/rubocop/rubocop/blob/master/CHANGELOG.md)
- [Commits](rubocop/rubocop@v1.66.1...v1.69.2)

Updates `rubocop-performance` from 1.22.1 to 1.23.0
- [Release notes](https://github.com/rubocop/rubocop-performance/releases)
- [Changelog](https://github.com/rubocop/rubocop-performance/blob/master/CHANGELOG.md)
- [Commits](rubocop/rubocop-performance@v1.22.1...v1.23.0)

Updates `rubocop-rspec` from 3.0.5 to 3.3.0
- [Release notes](https://github.com/rubocop/rubocop-rspec/releases)
- [Changelog](https://github.com/rubocop/rubocop-rspec/blob/master/CHANGELOG.md)
- [Commits](rubocop/rubocop-rspec@v3.0.5...v3.3.0)

Updates `rubocop-thread_safety` from 0.5.1 to 0.6.0
- [Changelog](https://github.com/rubocop/rubocop-thread_safety/blob/master/CHANGELOG.md)
- [Commits](rubocop/rubocop-thread_safety@v0.5.1...v0.6.0)

Updates `rubocop-ast` from 1.32.3 to 1.37.0
- [Release notes](https://github.com/rubocop/rubocop-ast/releases)
- [Changelog](https://github.com/rubocop/rubocop-ast/blob/master/CHANGELOG.md)
- [Commits](rubocop/rubocop-ast@v1.32.3...v1.37.0)

---
updated-dependencies:
- dependency-name: rubocop
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: rubocop
- dependency-name: rubocop-performance
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: rubocop
- dependency-name: rubocop-rspec
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: rubocop
- dependency-name: rubocop-thread_safety
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: rubocop
- dependency-name: rubocop-ast
  dependency-type: indirect
  update-type: version-update:semver-minor
  dependency-group: rubocop
...

Signed-off-by: dependabot[bot] <[email protected]>
@dependabot dependabot bot added dependencies Pull requests that update a dependency file ruby Pull requests that update Ruby code labels Dec 16, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file ruby Pull requests that update Ruby code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant