Skip to content

Conversation

@dependabot
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Jan 27, 2026

Bumps the ruby-dependencies group with 2 updates in the / directory: rubocop and rubocop-rspec.

Updates rubocop from 1.82.1 to 1.84.0

Release notes

Sourced from rubocop's releases.

RuboCop v1.84.0

New features

  • #14516: Add AllowImplicitArrayLiterals to Layout/FirstArrayElementLineBreak. (@​koic)
  • #14750: Add new Style/ReverseFind cop. (@​koic)
  • #12343: Add new Style/EmptyClassDefinition cop to enforce consistent style for empty class definitions. The cop can enforce either a two-line class definition or Class.new for classes with no body. (@​ydakuka)
  • #14769: Add new Style/HashLookupMethod cop to enforce Hash#[] vs Hash#fetch preference. (@​sferik)
  • #12051: Add new Style/NegativeArrayIndex cop to enforce using negative array indices instead of calculating array length minus a value. The cop handles both simple index patterns and range patterns, and recognizes preserving methods and their combinations. (@​ydakuka)
  • #14633: Make a new system to handle push and pop locally. (@​Magikdidi24)
  • #14722: Support TargetRubyVersion 4.1 (experimental). (@​koic)

Bug fixes

  • #14697: Allow non-method calls in Categories for Layout/ClassStructure. (@​fatkodima)
  • #14784: Fix an error for Style/GuardClause when using heredoc as an argument of raise in else branch and if branch is empty. (@​koic)
  • #14790: Fix an error for Style/HashLookupMethod cop when there's no receiver. (@​viralpraxis)
  • #14779: Fix autocorrect crash with ruby_extractor when using offset: 0 and different source buffers. (@​ydakuka)
  • #14762: Fix false negatives for Style/RedundantCondition when the branches contains constant assignment. (@​koic)
  • #14751: Fix --force-default-config not preventing project config loading when used with options that access configuration. (@​sakuro)
  • #14783: Fix incorrect autocorrect for Style/HashSyntax when shorthand syntax is used in condition of if/unless/while/until. (@​ydakuka)
  • #14747: Fix a regression inLayout/IndentationWidth by adding a new EnforcedStyleAlignWith style parameter. (@​MikeMcQuaid)
  • #14716: Fix an infinite loop error for Layout/LineLength when SplitStrings option is enabled and strings span multiple lines. (@​HariprasanthMSH)
  • #14763: Fix an infinite loop error for Layout/IndentationWidth and Layout/IndentationConsistency when using EnforcedStyle: indented_internal_methods with method chain blocks. (@​ydakuka)
  • #9373: Fix an infinite loop error for Layout/IndentationWidth when autocorrecting mixed tabs and spaces in blocks. Fix an infinite loop error for Layout/DefEndAlignment and Layout/IndentationStyle when autocorrecting mixed tabs and spaces. Autocorrection for tabs is disabled in AlignmentCorrector for indentation offenses, but enabled for align_end. (@​ydakuka)
  • #12295: Fix Layout/FirstArgumentIndentation to correct entire method calls and chains for nested calls. (@​ydakuka)
  • #12527: Fix Offense#highlighted_area to return a valid Parser::Source::Range. (@​ydakuka)
  • #14801: Preserve source tabs in Clang and Tap formatters when displaying offense highlight. (@​lovro-bikic)
  • #14761: Improved the remote configuration file name on the cache location. ([@​Jack12816][])
  • #14778: Fix a false positive for Security/JSONLoad when create_additions option is passed with other options in a hash. ([@​wktk][])
  • #14796: Handle logical and operator assignment nodes in variable branch handling. (@​lovro-bikic)

Changes

  • #14753: Add support for squish and squish! applied to heredoc to Layout/HeredocIndentation. (@​lovro-bikic)
  • #14798: Recognize Forwardable methods in Lint/DuplicateMethods. (@​lovro-bikic)
  • #14793: Make Lint/RedundantSplatExpansion aware of constant assignment. (@​koic)
  • #14770: Make Style/AccessModifierDeclarations aware of self class. (@​koic)
  • #14748: Add support for other Module member existence methods to Style/ModuleMemberExistenceCheck. (@​lovro-bikic)
  • #14795: Add AllowedMethods configuration to Style/ModuleMemberExistenceCheck. (@​lovro-bikic)

... (truncated)

Changelog

Sourced from rubocop's changelog.

1.84.0 (2026-01-27)

New features

  • #14516: Add AllowImplicitArrayLiterals to Layout/FirstArrayElementLineBreak. ([@​koic][])
  • #14750: Add new Style/ReverseFind cop. ([@​koic][])
  • #12343: Add new Style/EmptyClassDefinition cop to enforce consistent style for empty class definitions. The cop can enforce either a two-line class definition or Class.new for classes with no body. ([@​ydakuka][])
  • #14769: Add new Style/HashLookupMethod cop to enforce Hash#[] vs Hash#fetch preference. ([@​sferik][])
  • #12051: Add new Style/NegativeArrayIndex cop to enforce using negative array indices instead of calculating array length minus a value. The cop handles both simple index patterns and range patterns, and recognizes preserving methods and their combinations. ([@​ydakuka][])
  • #14633: Make a new system to handle push and pop locally. ([@​Magikdidi24][])
  • #14722: Support TargetRubyVersion 4.1 (experimental). ([@​koic][])

Bug fixes

  • #14697: Allow non-method calls in Categories for Layout/ClassStructure. ([@​fatkodima][])
  • #14784: Fix an error for Style/GuardClause when using heredoc as an argument of raise in else branch and if branch is empty. ([@​koic][])
  • #14790: Fix an error for Style/HashLookupMethod cop when there's no receiver. ([@​viralpraxis][])
  • #14779: Fix autocorrect crash with ruby_extractor when using offset: 0 and different source buffers. ([@​ydakuka][])
  • #14762: Fix false negatives for Style/RedundantCondition when the branches contains constant assignment. ([@​koic][])
  • #14751: Fix --force-default-config not preventing project config loading when used with options that access configuration. ([@​sakuro][])
  • #14783: Fix incorrect autocorrect for Style/HashSyntax when shorthand syntax is used in condition of if/unless/while/until. ([@​ydakuka][])
  • #14747: Fix a regression inLayout/IndentationWidth by adding a new EnforcedStyleAlignWith style parameter. ([@​MikeMcQuaid][])
  • #14716: Fix an infinite loop error for Layout/LineLength when SplitStrings option is enabled and strings span multiple lines. ([@​HariprasanthMSH][])
  • #14763: Fix an infinite loop error for Layout/IndentationWidth and Layout/IndentationConsistency when using EnforcedStyle: indented_internal_methods with method chain blocks. ([@​ydakuka][])
  • #9373: Fix an infinite loop error for Layout/IndentationWidth when autocorrecting mixed tabs and spaces in blocks. Fix an infinite loop error for Layout/DefEndAlignment and Layout/IndentationStyle when autocorrecting mixed tabs and spaces. Autocorrection for tabs is disabled in AlignmentCorrector for indentation offenses, but enabled for align_end. ([@​ydakuka][])
  • #12295: Fix Layout/FirstArgumentIndentation to correct entire method calls and chains for nested calls. ([@​ydakuka][])
  • #12527: Fix Offense#highlighted_area to return a valid Parser::Source::Range. ([@​ydakuka][])
  • #14801: Preserve source tabs in Clang and Tap formatters when displaying offense highlight. ([@​lovro-bikic][])
  • #14761: Improved the remote configuration file name on the cache location. ([@​Jack12816][])
  • #14778: Fix a false positive for Security/JSONLoad when create_additions option is passed with other options in a hash. ([@​wktk][])
  • #14796: Handle logical and operator assignment nodes in variable branch handling. ([@​lovro-bikic][])

Changes

  • #14753: Add support for squish and squish! applied to heredoc to Layout/HeredocIndentation. ([@​lovro-bikic][])
  • #14798: Recognize Forwardable methods in Lint/DuplicateMethods. ([@​lovro-bikic][])
  • #14793: Make Lint/RedundantSplatExpansion aware of constant assignment. ([@​koic][])
  • #14770: Make Style/AccessModifierDeclarations aware of self class. ([@​koic][])
  • #14748: Add support for other Module member existence methods to Style/ModuleMemberExistenceCheck. ([@​lovro-bikic][])
  • #14795: Add AllowedMethods configuration to Style/ModuleMemberExistenceCheck. ([@​lovro-bikic][])
Commits
  • 11df34a Cut 1.84
  • af56871 Fix broken example
  • 4481685 Allow references to be redirects
  • 5cb3b0f Update Changelog
  • 2dc96ce [Fix #10956] Preserve source tabs in Clang and Tap formatters when displaying...
  • 5334618 Merge pull request #14798 from lovro-bikic/fix-14691
  • 38fd70c Add AllowedMethods configuration to Style/ModuleMemberExistenceCheck
  • cf1bdcf Merge pull request #14799 from HariprasanthMS/bug_14716
  • 882519b [Fix #14716] Fix infinite loop for Layout/LineLength with SplitStrings
  • 7f972a8 Fix #14691 Recognize Forwardable methods in Lint/DuplicateMethods
  • Additional commits viewable in compare view

Updates rubocop-rspec from 3.8.0 to 3.9.0

Release notes

Sourced from rubocop-rspec's releases.

RuboCop RSpec v3.9.0

  • Fix a false positive for RSpec/LeakyLocalVariable when variables are used only in example metadata (e.g., skip messages). (@​ydah)
  • Fix a false positive for RSpec/ScatteredSetup when the hook is defined inside a class method. (@​d4rky-pl)
  • Fix a false positive for RSpec/DescribedClass inside dynamically evaluated blocks (class_eval, module_eval, instance_eval, class_exec, module_exec, instance_exec). (@​sucicfilip)
  • Add new cop RSpec/Output. (@​kevinrobell-st)
Changelog

Sourced from rubocop-rspec's changelog.

3.9.0 (2026-01-07)

  • Fix a false positive for RSpec/LeakyLocalVariable when variables are used only in example metadata (e.g., skip messages). ([@​ydah])
  • Fix a false positive for RSpec/ScatteredSetup when the hook is defined inside a class method. ([@​d4rky-pl])
  • Fix a false positive for RSpec/DescribedClass inside dynamically evaluated blocks (class_eval, module_eval, instance_eval, class_exec, module_exec, instance_exec). ([@​sucicfilip])
  • Add new cop RSpec/Output. ([@​kevinrobell-st])
Commits
  • f7aecf0 Merge pull request #2151 from rubocop/release
  • 893a25b Bump version to 3.9.0
  • 91ad43d Merge pull request #2150 from kevinrobell-st/patch-1
  • 802b386 Fix CHANGELOG
  • a03e0c7 Merge pull request #2149 from rubocop/ci-test-ruby-4.0
  • 68f25d9 Temporarily add irb to Gemfile
  • b9e50b8 CI: Test with Ruby 4.0
  • b63bcd8 Merge pull request #2148 from sucicfilip/fix-described-class-inside-eval
  • 278245a Fix RSpec/DescribedClass to ignore *_eval and *_exec blocks
  • ca18f5e Merge pull request #2144 from rubocop/dont-use-ruby-version
  • Additional commits viewable in compare view

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 ruby-dependencies group with 2 updates in the / directory: [rubocop](https://github.com/rubocop/rubocop) and [rubocop-rspec](https://github.com/rubocop/rubocop-rspec).


Updates `rubocop` from 1.82.1 to 1.84.0
- [Release notes](https://github.com/rubocop/rubocop/releases)
- [Changelog](https://github.com/rubocop/rubocop/blob/master/CHANGELOG.md)
- [Commits](rubocop/rubocop@v1.82.1...v1.84.0)

Updates `rubocop-rspec` from 3.8.0 to 3.9.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.8.0...v3.9.0)

---
updated-dependencies:
- dependency-name: rubocop
  dependency-version: 1.84.0
  dependency-type: direct:development
  update-type: version-update:semver-minor
  dependency-group: ruby-dependencies
- dependency-name: rubocop-rspec
  dependency-version: 3.9.0
  dependency-type: direct:development
  update-type: version-update:semver-minor
  dependency-group: ruby-dependencies
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot bot added dependencies Pull requests that update a dependency file ruby Pull requests that update Ruby code labels Jan 27, 2026
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.

0 participants