Skip to content

Update rubocop requirement from ~> 1.88.2 to ~> 1.90.0 - #295

Merged
slonopotamus merged 1 commit into
masterfrom
dependabot/bundler/rubocop-tw-1.90.0
Aug 27, 2026
Merged

Update rubocop requirement from ~> 1.88.2 to ~> 1.90.0#295
slonopotamus merged 1 commit into
masterfrom
dependabot/bundler/rubocop-tw-1.90.0

Conversation

@dependabot

@dependabot dependabot Bot commented on behalf of github Aug 27, 2026

Copy link
Copy Markdown
Contributor

Updates the requirements on rubocop to permit the latest version.

Release notes

Sourced from rubocop's releases.

RuboCop v1.90.0

New features

  • #15073: Add AllowTrailingComment option to Style/DisableCopsWithinSourceCodeDirective. ([@鈥媌batsov][])
  • #9505: Add disable-next directives scoped to the following statement. ([@鈥媌batsov][])
  • #15550: Add --display-suppressed option to also report offenses suppressed by directive comments, including their -- justification in the JSON formatter. ([@鈥媌batsov][])
  • #15523: Add new Lint/ArgumentMismatch cop. ([@鈥媌batsov][])
  • #15594: Add new Lint/SuperArgumentMismatch cop. ([@鈥媌batsov][])
  • #15581: Add new Style/TimeNow cop. ([@鈥婼tarlexxx][])
  • #15111: Add NumberOfEmptyLines option to Layout/EmptyLineAfterMagicComment to configure the minimum number of empty lines required after magic comments. ([@鈥媋lejofraga][])
  • #13037: Add --report-unused-todo-entries to catch rotting todo files. ([@鈥媌batsov][])
  • #15559: Add new Style/DirectiveScope cop to flag disable/enable pairs and disable-only push/pop scopes that wrap a single statement and can use disable-next instead. ([@鈥媌batsov][])
  • #15547: Make Lint/RedundantCopEnableDirective flag # rubocop:pop directives without a matching # rubocop:push. ([@鈥媌batsov][])

Bug fixes

  • #15584: Fix a crash in Lint/NameTypo and Lint/UnusedPrivateMethod on string literals with invalid encoding. ([@鈥媌batsov][])
  • #15541: Fix a false negative for Lint/OutOfRangeRegexpRef when a preceding element access with a non-string literal argument (e.g. hash[:key]) discarded the tracked capture count. ([@鈥媖oic][])
  • #7958: Add todo comments for skipped unsafe corrections with --disable-uncorrectable. ([@鈥媌batsov][])
  • #15569: Fix an error for the built-in language server when a workspace/executeCommand request has no document URI in its arguments. ([@鈥媖oic][])
  • #15410: Fix an incorrect autocorrect for Naming/BinaryOperatorParameterName. ([@鈥媌batsov][])
  • #15576: Fix an incorrect autocorrect for Style/Sample when shuffle is given a random: argument; the offense is still reported but no longer autocorrected, since shuffle and sample consume a seeded generator differently and would select different elements. ([@鈥媖oic][])
  • #15590: Fix an infinite loop error for Layout/FirstArgumentIndentation when EnforcedStyle: with_fixed_indentation is specified for Layout/ArgumentAlignment and Layout/FirstMethodArgumentLineBreak is enabled with AllowMultilineFinalElement: true. ([@鈥婼tarlexxx][])
  • #15588: Fix RuboCop::Cop::IgnoredMethods and RuboCop::Cop::IgnoredPattern being unreachable after require 'rubocop'. ([@鈥婼eanLF][])
  • #8349: Don't autocorrect away directives for unknown cops. ([@鈥媌batsov][])
  • #7894: Don't flag disables of pending cops as redundant. ([@鈥媌batsov][])
  • #9963: Fix false negatives for Layout/ExtraSpacing. ([@鈥婼tarlexxx][])
  • #15525: Fix false negatives in Layout/LineLength when a constant path like Http::UploadedFile matches URISchemes case-insensitively. ([@鈥媖oic][])
  • #13941: Fix false positives for Lint/UselessConstantScoping when assigning with Class.new, Module.new, Struct.new, or Data.define after private. ([@鈥媝dobb][])
  • #15526: Fix false positives in Layout/MultilineMethodCallIndentation when a line has multiple single-line blocks before a multiline block. ([@鈥媖oic][])
  • #15538: Fix false positives in Lint/ConstantReassignment when a constant is assigned in compact-style namespaces (e.g. module A::B). ([@鈥媋lex-tan][])
  • #15517: Fix false positives in Lint/RedundantSafeNavigation when InferNonNilReceiver is enabled and the receiver name is rebound by a nested block (it or a shadowed block parameter). ([@鈥媖oic][])
  • #15572: Fix RuboCop::Cop::Registry#freeze to freeze its internal collections, so that registering a lazily loaded cop after the freeze fails fast at the registration site instead of corrupting the registry. ([@鈥媖oic][])
  • #15585: Make Lint/DuplicateMethods honor silence_redefinition_of_method and redefine_method as intentional redefinitions. ([@鈥媌batsov][])
  • #15558: Fix --display-suppressed reporting a nil justification when the offense is loaded from the result cache. ([@鈥媍orsonknowles][])
  • #10449: Fix Layout/ClassStructure autocorrection producing a wrong order when an element cannot be moved, and make offenses report the category that actually blocks the expected order. ([@鈥媖oic][])
  • #15568: Fix Lint/NameTypo registering false positives for names provided by a gem whose namespace the project reopens, and for constants read from a namespace with an unresolved ancestor. ([@鈥婬oneyryderChuck][])
  • #15556: Fix Lint/UnusedPrivateMethod retaining every past project_index object it has seen (and the index graph reachable from each), rather than only the most recent one. This caused unbounded memory growth in long-lived processes such as rubocop --server. ([@鈥媌quorning][])
  • #10046: Fix Lint/UselessMethodDefinition false positive for methods with **kwargs. ([@鈥媌batsov][])
  • #15589: Fix --lsp and --mcp being silently ignored when the RuboCop server is running: they now start the protocol server in the current process instead of being forwarded to the server as a lint request. ([@鈥媖oic][])
  • #11148: Merge department and cop-level Exclude settings. ([@鈥媌batsov][])
  • #15531: Fix a regression in RuboCop 1.89 where the modifier cops could produce lines longer than Layout/LineLength Max when exemptions like AllowedPatterns matched the result. ([@鈥媌batsov][])
  • #15574: Fix an incorrect warning such as AllCops does not support TargetRailsVersion parameter when a plugin declares a custom AllCops key with a nil value and another plugin is loaded after it. ([@鈥媖oic][])
  • #9543: Preserve escape notation in Style/StringConcatenation autocorrect. ([@鈥媌batsov][])
  • #11119: Preserve persistent cop instances across files. ([@鈥婨ljees][])
  • #13022: Fix rubocop . (and other relative directory arguments) needlessly traversing directories excluded by the configuration, which made it much slower than rubocop in projects with large ignored trees. ([@鈥媌batsov][])
  • #15561: Fix Lint/RedundantCopDisableDirective and Lint/RedundantCopEnableDirective leaving a directive's -- reason behind when removing the directive. ([@鈥媍orsonknowles][])
  • #15593: Fix false positives for Lint/UnusedPrivateMethod for private definitions of Ruby runtime hooks like inherited and const_missing. ([@鈥媌batsov][])
  • #15547: Make Lint/MissingCopEnableDirective suggest # rubocop:pop instead of # rubocop:enable for an unclosed # rubocop:push. ([@鈥媌batsov][])
  • #14379: Suppress multi-line offenses with a directive on any of their lines. ([@鈥媌batsov][])

... (truncated)

Changelog

Sourced from rubocop's changelog.

1.90.0 (2026-08-24)

New features

  • #15073: Add AllowTrailingComment option to Style/DisableCopsWithinSourceCodeDirective. ([@鈥媌batsov][])
  • #9505: Add disable-next directives scoped to the following statement. ([@鈥媌batsov][])
  • #15550: Add --display-suppressed option to also report offenses suppressed by directive comments, including their -- justification in the JSON formatter. ([@鈥媌batsov][])
  • #15523: Add new Lint/ArgumentMismatch cop. ([@鈥媌batsov][])
  • #15594: Add new Lint/SuperArgumentMismatch cop. ([@鈥媌batsov][])
  • #15581: Add new Style/TimeNow cop. ([@鈥婼tarlexxx][])
  • #15111: Add NumberOfEmptyLines option to Layout/EmptyLineAfterMagicComment to configure the minimum number of empty lines required after magic comments. ([@鈥媋lejofraga][])
  • #13037: Add --report-unused-todo-entries to catch rotting todo files. ([@鈥媌batsov][])
  • #15559: Add new Style/DirectiveScope cop to flag disable/enable pairs and disable-only push/pop scopes that wrap a single statement and can use disable-next instead. ([@鈥媌batsov][])
  • #15547: Make Lint/RedundantCopEnableDirective flag # rubocop:pop directives without a matching # rubocop:push. ([@鈥媌batsov][])

Bug fixes

  • #15584: Fix a crash in Lint/NameTypo and Lint/UnusedPrivateMethod on string literals with invalid encoding. ([@鈥媌batsov][])
  • #15541: Fix a false negative for Lint/OutOfRangeRegexpRef when a preceding element access with a non-string literal argument (e.g. hash[:key]) discarded the tracked capture count. ([@鈥媖oic][])
  • #7958: Add todo comments for skipped unsafe corrections with --disable-uncorrectable. ([@鈥媌batsov][])
  • #15569: Fix an error for the built-in language server when a workspace/executeCommand request has no document URI in its arguments. ([@鈥媖oic][])
  • #15410: Fix an incorrect autocorrect for Naming/BinaryOperatorParameterName. ([@鈥媌batsov][])
  • #15576: Fix an incorrect autocorrect for Style/Sample when shuffle is given a random: argument; the offense is still reported but no longer autocorrected, since shuffle and sample consume a seeded generator differently and would select different elements. ([@鈥媖oic][])
  • #15590: Fix an infinite loop error for Layout/FirstArgumentIndentation when EnforcedStyle: with_fixed_indentation is specified for Layout/ArgumentAlignment and Layout/FirstMethodArgumentLineBreak is enabled with AllowMultilineFinalElement: true. ([@鈥婼tarlexxx][])
  • #15588: Fix RuboCop::Cop::IgnoredMethods and RuboCop::Cop::IgnoredPattern being unreachable after require 'rubocop'. ([@鈥婼eanLF][])
  • #8349: Don't autocorrect away directives for unknown cops. ([@鈥媌batsov][])
  • #7894: Don't flag disables of pending cops as redundant. ([@鈥媌batsov][])
  • #9963: Fix false negatives for Layout/ExtraSpacing. ([@鈥婼tarlexxx][])
  • #15525: Fix false negatives in Layout/LineLength when a constant path like Http::UploadedFile matches URISchemes case-insensitively. ([@鈥媖oic][])
  • #13941: Fix false positives for Lint/UselessConstantScoping when assigning with Class.new, Module.new, Struct.new, or Data.define after private. ([@鈥媝dobb][])
  • #15526: Fix false positives in Layout/MultilineMethodCallIndentation when a line has multiple single-line blocks before a multiline block. ([@鈥媖oic][])
  • #15538: Fix false positives in Lint/ConstantReassignment when a constant is assigned in compact-style namespaces (e.g. module A::B). ([@鈥媋lex-tan][])
  • #15517: Fix false positives in Lint/RedundantSafeNavigation when InferNonNilReceiver is enabled and the receiver name is rebound by a nested block (it or a shadowed block parameter). ([@鈥媖oic][])
  • #15572: Fix RuboCop::Cop::Registry#freeze to freeze its internal collections, so that registering a lazily loaded cop after the freeze fails fast at the registration site instead of corrupting the registry. ([@鈥媖oic][])
  • #15585: Make Lint/DuplicateMethods honor silence_redefinition_of_method and redefine_method as intentional redefinitions. ([@鈥媌batsov][])
  • #15558: Fix --display-suppressed reporting a nil justification when the offense is loaded from the result cache. ([@鈥媍orsonknowles][])
  • #10449: Fix Layout/ClassStructure autocorrection producing a wrong order when an element cannot be moved, and make offenses report the category that actually blocks the expected order. ([@鈥媖oic][])
  • #15568: Fix Lint/NameTypo registering false positives for names provided by a gem whose namespace the project reopens, and for constants read from a namespace with an unresolved ancestor. ([@鈥婬oneyryderChuck][])
  • #15556: Fix Lint/UnusedPrivateMethod retaining every past project_index object it has seen (and the index graph reachable from each), rather than only the most recent one. This caused unbounded memory growth in long-lived processes such as rubocop --server. ([@鈥媌quorning][])
  • #10046: Fix Lint/UselessMethodDefinition false positive for methods with **kwargs. ([@鈥媌batsov][])
  • #15589: Fix --lsp and --mcp being silently ignored when the RuboCop server is running: they now start the protocol server in the current process instead of being forwarded to the server as a lint request. ([@鈥媖oic][])
  • #11148: Merge department and cop-level Exclude settings. ([@鈥媌batsov][])
  • #15531: Fix a regression in RuboCop 1.89 where the modifier cops could produce lines longer than Layout/LineLength Max when exemptions like AllowedPatterns matched the result. ([@鈥媌batsov][])
  • #15574: Fix an incorrect warning such as AllCops does not support TargetRailsVersion parameter when a plugin declares a custom AllCops key with a nil value and another plugin is loaded after it. ([@鈥媖oic][])
  • #9543: Preserve escape notation in Style/StringConcatenation autocorrect. ([@鈥媌batsov][])
  • #11119: Preserve persistent cop instances across files. ([@鈥婨ljees][])
  • #13022: Fix rubocop . (and other relative directory arguments) needlessly traversing directories excluded by the configuration, which made it much slower than rubocop in projects with large ignored trees. ([@鈥媌batsov][])
  • #15561: Fix Lint/RedundantCopDisableDirective and Lint/RedundantCopEnableDirective leaving a directive's -- reason behind when removing the directive. ([@鈥媍orsonknowles][])
  • #15593: Fix false positives for Lint/UnusedPrivateMethod for private definitions of Ruby runtime hooks like inherited and const_missing. ([@鈥媌batsov][])
  • #15547: Make Lint/MissingCopEnableDirective suggest # rubocop:pop instead of # rubocop:enable for an unclosed # rubocop:push. ([@鈥媌batsov][])

... (truncated)

Commits
  • f1b25e1 Cut 1.90
  • 72895f6 Update Changelog
  • 7042de6 Move op_method? before the shadowing helpers
  • 4b14dd2 Fix an incorrect autocorrect for Naming/BinaryOperatorParameterName
  • 5d221ac [Fix #10046] Fix Lint/UselessMethodDefinition false positive for methods wi...
  • 5070fc3 [Fix #15111] Add NumberOfEmptyLines option to `Layout/EmptyLineAfterMagicCo...
  • 496eb65 [Fix #9543] Preserve escape notation in Style/StringConcatenation autocorrect
  • 75b3622 Remove a directive's -- reason along with the directive
  • 858d8a8 Merge pull request #15596 from koic/add_real_last_column_to_offense
  • 15557b0 Add Offense#real_last_column and use it in JSONFormatter
  • 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 show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @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)

Updates the requirements on [rubocop](https://github.com/rubocop/rubocop) to permit the latest version.
- [Release notes](https://github.com/rubocop/rubocop/releases)
- [Changelog](https://github.com/rubocop/rubocop/blob/master/CHANGELOG.md)
- [Commits](rubocop/rubocop@v1.88.2...v1.90.0)

---
updated-dependencies:
- dependency-name: rubocop
  dependency-version: 1.90.0
  dependency-type: direct:development
...

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 Aug 27, 2026
@slonopotamus
slonopotamus merged commit fcbf8e2 into master Aug 27, 2026
38 checks passed
@slonopotamus
slonopotamus deleted the dependabot/bundler/rubocop-tw-1.90.0 branch August 27, 2026 17:43
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