Skip to content

Bump the rubocop group across 1 directory with 2 updates - #776

Open
dependabot[bot] wants to merge 1 commit into
masterfrom
dependabot/bundler/rubocop-946dda1124
Open

Bump the rubocop group across 1 directory with 2 updates#776
dependabot[bot] wants to merge 1 commit into
masterfrom
dependabot/bundler/rubocop-946dda1124

Conversation

@dependabot

@dependabot dependabot Bot commented on behalf of github Jun 21, 2026

Copy link
Copy Markdown
Contributor

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

Updates rubocop from 1.87.0 to 1.88.2

Release notes

Sourced from rubocop's releases.

RuboCop v1.88.2

Bug fixes

  • #15417: Fix a false negative for Lint/ToJSON, which did not flag singleton def self.to_json definitions. (@鈥媌batsov)
  • #15418: Fix a false negative for Lint/UnreachableCode, which only flagged the first statement after a flow-of-control statement instead of every unreachable statement that followed it. (@鈥媌batsov)
  • #15416: Fix a false negative for Lint/UselessNumericOperation, which only flagged bare method-call receivers and ignored local variables, instance/class/global variables, and constants (e.g. @x + 0, CONST * 1). (@鈥媌batsov)
  • #15419: Fix a false negative for Lint/Void where safe-navigation calls to nonmutating methods (e.g. x&.sort) were not flagged when CheckForMethodsWithNoSideEffects is enabled. (@鈥媌batsov)
  • #15421: Fix a false negative for Style/ArrayIntersect with the block form using include? (e.g. array1.any? { |e| array2.include?(e) }), which was only detected for member?. (@鈥媌batsov)
  • #15420: Fix a false negative for Style/CollectionCompact, which did not flag grep_v(nil)/grep_v(NilClass) on a safe-navigation call (e.g. array&.grep_v(nil)). (@鈥媌batsov)
  • #15422: Fix a false negative for Style/DefWithParentheses with a single-line definition whose body follows a semicolon (e.g. def foo(); end), where the parentheses can be safely omitted. (@鈥媌batsov)
  • #15388: Fix a false negative for Style/MixinUsage when including multiple modules in one statement. (@鈥媌batsov)
  • #15388: Fix a false negative for Style/ModuleFunction when the module body is a single statement. (@鈥媌batsov)
  • #15388: Fix a false negative for Style/RedundantCurrentDirectoryInPath with double-quoted strings containing interpolation. (@鈥媌batsov)
  • #15395: Fix a false negative for Style/RedundantHeredocDelimiterQuotes with double-quoted delimiters whose body contains interpolation or escapes. (@鈥媌batsov)
  • #15409: Fix a false positive for Gemspec/DuplicatedAssignment with multiple specifications. (@鈥媌batsov)
  • #15403: Fix a false positive for Layout/CommentIndentation with a comment above an inline access modifier (e.g. private def foo) when Layout/AccessModifierIndentation is configured with EnforcedStyle: outdent. (@鈥媑rk)
  • #15372: Fix a false positive for Style/InvertibleUnlessCondition with a multi-statement begin condition. (@鈥媌batsov)
  • #15360: Fix an incorrect autocorrect for Style/ArgumentsForwarding and Style/MethodDefParentheses when autocorrection conflicts while adding parentheses to method definition arguments. (@鈥媖oic)
  • #15417: Fix an incorrect autocorrect for Lint/ToJSON that produced invalid Ruby (def to_json(*_args)()) when the method had explicit empty parentheses. (@鈥媌batsov)
  • #15426: Fix an incorrect autocorrect for Style/MethodCallWithoutArgsParentheses when empty parentheses span multiple lines and the method call has a block. (@鈥媖oic)
  • #15328: Fix a false positive for Style/HashConversion with a splat argument, which previously produced an invalid hash literal. (@鈥媌batsov)
  • #15338: Fix a false positive for Style/HashLookupMethod with safe navigation, where the suggested bracket form would be the unreadable hash&.[](https://github.com/rubocop/rubocop/blob/HEAD/key). (@鈥媌batsov)
  • #15397: Fix an incorrect autocorrect for Style/IdenticalConditionalBranches that hoisted the moved expression to column zero instead of matching the surrounding indentation. (@鈥媌batsov)
  • #15372: Fix an incorrect autocorrect for Style/InvertibleUnlessCondition with mixed &&/|| conditions, which lost the required parentheses when inverting. (@鈥媌batsov)
  • #15428: Fix an incorrect autocorrect for Style/TrivialAccessors when AllowPredicates: false is set and a trivial reader is defined as a predicate class method. (@鈥媖oic)
  • #15402: Fix an infinite loop and file corruption for Layout/LineLength with SplitStrings when an over-long string is indented under a multi-line parent. (@鈥媌batsov)
  • #15384: Fix a false positive and a false negative for Style/MissingRespondToMissing when method_missing is defined at the top level or alongside sibling classes. (@鈥媌batsov)
  • #15432: Fix false positives in Layout/ElseAlignment when using else within a block that is part of a larger expression. (@鈥媖oic)
  • #15423: Fix false positives in Layout/MultilineMethodCallIndentation when a method chain is nested inside a parenthesized argument list or a grouped expression within a hash pair value. (@鈥媖oic)
  • #15424: Fix Style/StructInheritance autocorrect dropping leading indentation when class is inside a module or namespace. (@鈥媋mckinnie)
  • #15325: Fix Style/DocumentationMethod ignoring AllowedMethods for inline modifier defs. (@鈥媌batsov)
  • #15369: Fix a false positive for Style/LambdaCall when the argument list contains a comment, which the autocorrect would have dropped. (@鈥媌batsov)

Changes

  • #15430: Improve performance of offense reporting by not allocating a new source range per offense outside of embedded sources. (@鈥媌batsov)
  • #15430: Improve investigation performance by dispatching on_new_investigation, on_investigation_end, and on_other_file only to cops that refine them, and by skipping after_* dispatch when no cop needs it. (@鈥媌batsov)
  • #15430: Improve performance of the per-file cop relevancy check by skipping gem requirement evaluation for cops without gem requirements. (@鈥媌batsov)
  • #15430: Improve Lint/Debugger performance on code without debugger calls. (@鈥媌batsov)
  • #15430: Improve autocorrection performance by keeping corrections in memory across inspection iterations and writing each corrected file only once. (@鈥媌batsov)
  • #15415: Mark Lint/NumericOperationWithConstantResult autocorrect as unsafe because it drops the operands, discarding their side effects and silencing cases where the result is not actually constant (e.g. x / x raises when x is 0). (@鈥媌batsov)
  • #15430: Improve performance of cops using AllowedPatterns, ForbiddenPatterns, and AllowedMethods by compiling the configured patterns only once. (@鈥媌batsov)
  • #15430: Improve performance of Style/IfUnlessModifier and other modifier cops on files with many comments or conditionals. (@鈥媌batsov)

RuboCop v1.88.1

... (truncated)

Changelog

Sourced from rubocop's changelog.

1.88.2 (2026-07-08)

Bug fixes

  • #15417: Fix a false negative for Lint/ToJSON, which did not flag singleton def self.to_json definitions. ([@鈥媌batsov][])
  • #15418: Fix a false negative for Lint/UnreachableCode, which only flagged the first statement after a flow-of-control statement instead of every unreachable statement that followed it. ([@鈥媌batsov][])
  • #15416: Fix a false negative for Lint/UselessNumericOperation, which only flagged bare method-call receivers and ignored local variables, instance/class/global variables, and constants (e.g. @x + 0, CONST * 1). ([@鈥媌batsov][])
  • #15419: Fix a false negative for Lint/Void where safe-navigation calls to nonmutating methods (e.g. x&.sort) were not flagged when CheckForMethodsWithNoSideEffects is enabled. ([@鈥媌batsov][])
  • #15421: Fix a false negative for Style/ArrayIntersect with the block form using include? (e.g. array1.any? { |e| array2.include?(e) }), which was only detected for member?. ([@鈥媌batsov][])
  • #15420: Fix a false negative for Style/CollectionCompact, which did not flag grep_v(nil)/grep_v(NilClass) on a safe-navigation call (e.g. array&.grep_v(nil)). ([@鈥媌batsov][])
  • #15422: Fix a false negative for Style/DefWithParentheses with a single-line definition whose body follows a semicolon (e.g. def foo(); end), where the parentheses can be safely omitted. ([@鈥媌batsov][])
  • #15388: Fix a false negative for Style/MixinUsage when including multiple modules in one statement. ([@鈥媌batsov][])
  • #15388: Fix a false negative for Style/ModuleFunction when the module body is a single statement. ([@鈥媌batsov][])
  • #15388: Fix a false negative for Style/RedundantCurrentDirectoryInPath with double-quoted strings containing interpolation. ([@鈥媌batsov][])
  • #15395: Fix a false negative for Style/RedundantHeredocDelimiterQuotes with double-quoted delimiters whose body contains interpolation or escapes. ([@鈥媌batsov][])
  • #15409: Fix a false positive for Gemspec/DuplicatedAssignment with multiple specifications. ([@鈥媌batsov][])
  • #15403: Fix a false positive for Layout/CommentIndentation with a comment above an inline access modifier (e.g. private def foo) when Layout/AccessModifierIndentation is configured with EnforcedStyle: outdent. ([@鈥媑rk][])
  • #15372: Fix a false positive for Style/InvertibleUnlessCondition with a multi-statement begin condition. ([@鈥媌batsov][])
  • #15360: Fix an incorrect autocorrect for Style/ArgumentsForwarding and Style/MethodDefParentheses when autocorrection conflicts while adding parentheses to method definition arguments. ([@鈥媖oic][])
  • #15417: Fix an incorrect autocorrect for Lint/ToJSON that produced invalid Ruby (def to_json(*_args)()) when the method had explicit empty parentheses. ([@鈥媌batsov][])
  • #15426: Fix an incorrect autocorrect for Style/MethodCallWithoutArgsParentheses when empty parentheses span multiple lines and the method call has a block. ([@鈥媖oic][])
  • #15328: Fix a false positive for Style/HashConversion with a splat argument, which previously produced an invalid hash literal. ([@鈥媌batsov][])
  • #15338: Fix a false positive for Style/HashLookupMethod with safe navigation, where the suggested bracket form would be the unreadable hash&.[](https://github.com/rubocop/rubocop/blob/master/key). ([@鈥媌batsov][])
  • #15397: Fix an incorrect autocorrect for Style/IdenticalConditionalBranches that hoisted the moved expression to column zero instead of matching the surrounding indentation. ([@鈥媌batsov][])
  • #15372: Fix an incorrect autocorrect for Style/InvertibleUnlessCondition with mixed &&/|| conditions, which lost the required parentheses when inverting. ([@鈥媌batsov][])
  • #15428: Fix an incorrect autocorrect for Style/TrivialAccessors when AllowPredicates: false is set and a trivial reader is defined as a predicate class method. ([@鈥媖oic][])
  • #15402: Fix an infinite loop and file corruption for Layout/LineLength with SplitStrings when an over-long string is indented under a multi-line parent. ([@鈥媌batsov][])
  • #15384: Fix a false positive and a false negative for Style/MissingRespondToMissing when method_missing is defined at the top level or alongside sibling classes. ([@鈥媌batsov][])
  • #15432: Fix false positives in Layout/ElseAlignment when using else within a block that is part of a larger expression. ([@鈥媖oic][])
  • #15423: Fix false positives in Layout/MultilineMethodCallIndentation when a method chain is nested inside a parenthesized argument list or a grouped expression within a hash pair value. ([@鈥媖oic][])
  • #15424: Fix Style/StructInheritance autocorrect dropping leading indentation when class is inside a module or namespace. ([@鈥媋mckinnie][])
  • #15325: Fix Style/DocumentationMethod ignoring AllowedMethods for inline modifier defs. ([@鈥媌batsov][])
  • #15369: Fix a false positive for Style/LambdaCall when the argument list contains a comment, which the autocorrect would have dropped. ([@鈥媌batsov][])

Changes

  • #15430: Improve performance of offense reporting by not allocating a new source range per offense outside of embedded sources. ([@鈥媌batsov][])
  • #15430: Improve investigation performance by dispatching on_new_investigation, on_investigation_end, and on_other_file only to cops that refine them, and by skipping after_* dispatch when no cop needs it. ([@鈥媌batsov][])
  • #15430: Improve performance of the per-file cop relevancy check by skipping gem requirement evaluation for cops without gem requirements. ([@鈥媌batsov][])
  • #15430: Improve Lint/Debugger performance on code without debugger calls. ([@鈥媌batsov][])
  • #15430: Improve autocorrection performance by keeping corrections in memory across inspection iterations and writing each corrected file only once. ([@鈥媌batsov][])
  • #15415: Mark Lint/NumericOperationWithConstantResult autocorrect as unsafe because it drops the operands, discarding their side effects and silencing cases where the result is not actually constant (e.g. x / x raises when x is 0). ([@鈥媌batsov][])
  • #15430: Improve performance of cops using AllowedPatterns, ForbiddenPatterns, and AllowedMethods by compiling the configured patterns only once. ([@鈥媌batsov][])
  • #15430: Improve performance of Style/IfUnlessModifier and other modifier cops on files with many comments or conditionals. ([@鈥媌batsov][])

1.88.1 (2026-07-01)

Bug fixes

  • #15408: Fix a crash for Bundler/GemComment with a non-literal gem option key. ([@鈥媌batsov][])

... (truncated)

Commits
  • ceb6377 Cut 1.88.2
  • ee87be8 Update Changelog
  • e161fe6 Keep autocorrections in memory during the inspection loop
  • c8e0c83 Speed up Style/IfUnlessModifier eligibility checks
  • ef10f8a Dispatch investigation callbacks only to cops that refine them
  • 4de41ea Avoid allocating a Range per offense in the common case
  • be1bb58 Fast-path the gem requirements check in cop relevancy
  • 278525b Memoize compiled regexps in pattern mixins
  • 28b6cd6 Improve Lint/Debugger performance on non-debugger code
  • 1066e7b Merge pull request #15434 from koic/fix_else_alignment_for_block_in_expression
  • Additional commits viewable in compare view

Updates rubocop-rspec from 3.9.0 to 3.10.2

Release notes

Sourced from rubocop-rspec's releases.

RuboCop RSpec v3.10.2

  • Fix false positives for RSpec/SpecFilePathFormat when CustomTransform maps a namespace to an empty string. (@鈥媠akuro)
  • Fix RSpec/MatchWithSimpleRegex to ignore regular expressions with options. (@鈥媌quorning)

RuboCop RSpec v3.10.1

  • Add Strict option to RSpec/SharedContext to flag shared_context whenever it contains examples, even alongside setup code. (@鈥婦arhazer)
  • Add NegatedMatcher configuration option RSpec/ExpectChange. (@鈥婦arhazer)
  • Fix RSpec/MatchWithSimpleRegex to ignore regular expressions with interpolations. (@鈥媌quorning)

RuboCop RSpec v3.10.0

  • Add new cop RSpec/MatchWithSimpleRegex to suggest include matcher when match is used with simple string literals without regex-specific features. (@鈥媌quorning)
  • Add new cop RSpec/DiscardedMatcher to detect matchers in void context (e.g. missing .and between compound matchers). (@鈥媦dakuka)
  • Add support for itblock nodes. (@鈥婦arhazer)
  • RSpec/ScatteredLet now preserves the order of lets during auto-correction. (@鈥婦arhazer)
  • Fix a false negative for RSpec/EmptyLineAfterFinalLet inside shared_examples / include_examples / it_behaves_like blocks. (@鈥婦arhazer)
  • Fix a false positive for RSpec/ContainExactly when contain_exactly has multiple splat arguments. (@鈥媦dah)
  • Add autocorrect support for RSpec/SubjectDeclaration. (@鈥媏ugeneius)
  • Fix false negatives for RSpec/SpecFilePathFormat when the expected class path only partially matches a path segment. (@鈥媦dah)
  • Fix a false negative for RSpec/ExpectActual when the matcher takes no arguments (e.g. expect("foo").to be_present, expect(1).to be). (@鈥媍vx)
Changelog

Sourced from rubocop-rspec's changelog.

3.10.2 (2026-06-06)

  • Fix false positives for RSpec/SpecFilePathFormat when CustomTransform maps a namespace to an empty string. ([@鈥媠akuro])
  • Fix RSpec/MatchWithSimpleRegex to ignore regular expressions with options. ([@鈥媌quorning])

3.10.1 (2026-06-05)

  • Add Strict option to RSpec/SharedContext to flag shared_context whenever it contains examples, even alongside setup code. ([@鈥婦arhazer])
  • Add NegatedMatcher configuration option RSpec/ExpectChange. ([@鈥婦arhazer])
  • Fix RSpec/MatchWithSimpleRegex to ignore regular expressions with interpolations. ([@鈥媌quorning])

3.10.0 (2026-06-05)

  • Add new cop RSpec/MatchWithSimpleRegex to suggest include matcher when match is used with simple string literals without regex-specific features. ([@鈥媌quorning])
  • Add new cop RSpec/DiscardedMatcher to detect matchers in void context (e.g. missing .and between compound matchers). ([@鈥媦dakuka])
  • Add support for itblock nodes. ([@鈥婦arhazer])
  • RSpec/ScatteredLet now preserves the order of lets during auto-correction. ([@鈥婦arhazer])
  • Fix a false negative for RSpec/EmptyLineAfterFinalLet inside shared_examples / include_examples / it_behaves_like blocks. ([@鈥婦arhazer])
  • Fix a false positive for RSpec/ContainExactly when contain_exactly has multiple splat arguments. ([@鈥媦dah])
  • Add autocorrect support for RSpec/SubjectDeclaration. ([@鈥媏ugeneius])
  • Fix false negatives for RSpec/SpecFilePathFormat when the expected class path only partially matches a path segment. ([@鈥媦dah])
  • Fix a false negative for RSpec/ExpectActual when the matcher takes no arguments (e.g. expect("foo").to be_present, expect(1).to be). ([@鈥媍vx])
Commits
  • 2488441 Merge pull request #2189 from rubocop/release
  • c9e53cf Bump version to 3.10.2
  • 7ae0a42 Merge pull request #2186 from sakuro/fix/spec-file-path-format-empty-custom-t...
  • 8b0b5e9 Merge branch 'master' into fix/spec-file-path-format-empty-custom-transform
  • dc4465c Merge pull request #2188 from rubocop/fix-2185
  • d5de6b2 Consider regexp with options a non-simple regexp
  • bad0cb3 馃悰 Fix RSpec/SpecFilePathFormat false positives when CustomTransform maps ...
  • ec3eeab Merge pull request #2183 from rubocop/fix-match-with-simple-regex-with-interp...
  • 16bbf49 Bump version to 3.10.1
  • 2a78abd Ignore interpolation in MatchWithSimpleRegex
  • Additional commits viewable in compare view

@dependabot dependabot Bot added dependencies Pull requests that update a dependency file ruby Pull requests that update ruby code labels Jun 21, 2026
@dependabot
dependabot Bot requested review from a team as code owners June 21, 2026 22:02
@dependabot
dependabot Bot requested review from Hond-95 and kazuyuk-higa and removed request for a team June 21, 2026 22:02
@dependabot dependabot Bot added dependencies Pull requests that update a dependency file ruby Pull requests that update ruby code labels Jun 21, 2026
@dependabot
dependabot Bot requested review from Kashiwara0205, aAnzai2017, daikiyano, katsumata-ryo, moshisora, qoo22633 and yunayuna and removed request for a team June 21, 2026 22:02
@dependabot
dependabot Bot force-pushed the dependabot/bundler/rubocop-946dda1124 branch from 3c7e936 to 3c50697 Compare July 9, 2026 22:02
@dependabot
dependabot Bot force-pushed the dependabot/bundler/rubocop-946dda1124 branch from 3c50697 to 5e72bdd Compare July 28, 2026 22:02
Bumps the rubocop 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.87.0 to 1.88.2
- [Release notes](https://github.com/rubocop/rubocop/releases)
- [Changelog](https://github.com/rubocop/rubocop/blob/master/CHANGELOG.md)
- [Commits](rubocop/rubocop@v1.87.0...v1.88.2)

Updates `rubocop-rspec` from 3.9.0 to 3.10.2
- [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.9.0...v3.10.2)

---
updated-dependencies:
- dependency-name: rubocop
  dependency-version: 1.88.0
  dependency-type: direct:development
  update-type: version-update:semver-minor
  dependency-group: rubocop
- dependency-name: rubocop-rspec
  dependency-version: 3.10.2
  dependency-type: direct:development
  update-type: version-update:semver-minor
  dependency-group: rubocop
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot
dependabot Bot force-pushed the dependabot/bundler/rubocop-946dda1124 branch from 5e72bdd to e3e8793 Compare July 29, 2026 22:02
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