Bumps the rubocop group with 2 updates: rubocop and rubocop-minitest.
Updates rubocop from 1.79.1 to 1.80.2
Release notes
Sourced from rubocop's releases.
RuboCop v1.80.2
Bug fixes
- #14477: Fix a false positive for
Style/SafeNavigation when using ternary expression with index access call with method chain. (@koic)
- #14486: Fix false positives for
Style/RedundantParentheses with unary operators and yield, super, or defined?. (@earlopain)
- #14489: Fix false negatives for
Style/RedundantParentheses with method calls taking argument without parentheses like return (x y) if z. (@earlopain)
- #14499: Fix wrong autocorrect for
Style/StringConcatenation when a double-quoted string contains escaped quotes and interpolation. (@earlopain)
- #14502: Fix wrong autocorrect for
Style/StringConcatenation when a single-quoted string contains interpolation like '#{foo}'. (@earlopain)
Changes
- #14493: Make
Naming/PredicateMethod allow the initialize method. (@koic)
RuboCop v1.80.1
Bug fixes
- #14479: Don't invalidate cache when
--display-time option is used on the CLI. (@lovro-bikic)
- #14473: Fix a false negative for
Style/RedundantBegin using begin with multiple statements without rescue or ensure. (@koic)
- #14475: Fix cop errors during autocorrect for the build in LSP when analyzing as Ruby 3.4. (
@earlopain)
Changes
- #14474: Fix false negative for
Layout/EndAlignment when end is not on a separate line. (@lovro-bikic)
RuboCop v1.80.0
Bug fixes
- #14469: Fix an incorrect autocorrect for
Style/BitwisePredicate when using & with LHS flags in conjunction with == for comparisons. (@koic)
- #14459: Fix wrong autocorrect for
Style/For with save navigation in the collection. (@earlopain)
- #14435: Fix false negatives for regexp cops when
Lint/DuplicateRegexpCharacterClassElement is enabled. (@earlopain)
- #14419: Fix false positives for
Lint/UselessAssignment when duplicate assignments appear in nested if branches inside a loop and the variable is used outside while loop. (@koic)
- #14468: Fix false positives for
Naming/MethodName when an operator method is defined using a string. (@koic)
- #14427: Fix false positives for
Style/RedundantParentheses when do...end block is wrapped in parentheses as a method argument. (@koic)
- #14441: Better hash access handling in
Style/SafeNavigation. ([@issyl0][])
- #14443: Fix false positive in
Layout/EmptyLinesAfterModuleInclusion when include does not have exactly one argument. ([@issyl0][])
- #14424: Fix
Style/SafeNavigation cop to preserve existing safe navigation in fixed code. ([@martinemde][])
- #14455: Follow module inclusion with nonzero args with an empty line. ([
@issyl0][])
- #14445: Fix false positives for
Lint/UselessAssignment with for loops when the variable is referenced in the collection. (@earlopain)
- #14447: Fix wrong autocorrect for
Style/RedundantCondition with a parenthesised method call in the condition. (@earlopain)
Changes
- #14428: Enhance
Lint/SelfAssignment to handle indexed assignment with multiple arguments. ([@viralpraxis][])
... (truncated)
Changelog
Sourced from rubocop's changelog.
1.80.2 (2025年09月03日)
Bug fixes
- #14477: Fix a false positive for
Style/SafeNavigation when using ternary expression with index access call with method chain. ([@koic][])
- #14486: Fix false positives for
Style/RedundantParentheses with unary operators and yield, super, or defined?. ([@earlopain][])
- #14489: Fix false negatives for
Style/RedundantParentheses with method calls taking argument without parentheses like return (x y) if z. ([@earlopain][])
- #14499: Fix wrong autocorrect for
Style/StringConcatenation when a double-quoted string contains escaped quotes and interpolation. ([@earlopain][])
- #14502: Fix wrong autocorrect for
Style/StringConcatenation when a single-quoted string contains interpolation like '#{foo}'. ([@earlopain][])
Changes
- #14493: Make
Naming/PredicateMethod allow the initialize method. ([@koic][])
1.80.1 (2025年08月27日)
Bug fixes
- #14479: Don't invalidate cache when
--display-time option is used on the CLI. ([@lovro-bikic][])
- #14473: Fix a false negative for
Style/RedundantBegin using begin with multiple statements without rescue or ensure. ([@koic][])
- #14475: Fix cop errors during autocorrect for the build in LSP when analyzing as Ruby 3.4. ([
@earlopain][])
Changes
- #14474: Fix false negative for
Layout/EndAlignment when end is not on a separate line. ([@lovro-bikic][])
1.80.0 (2025年08月22日)
Bug fixes
- #14469: Fix an incorrect autocorrect for
Style/BitwisePredicate when using & with LHS flags in conjunction with == for comparisons. ([@koic][])
- #14459: Fix wrong autocorrect for
Style/For with save navigation in the collection. ([@earlopain][])
- #14435: Fix false negatives for regexp cops when
Lint/DuplicateRegexpCharacterClassElement is enabled. ([@earlopain][])
- #14419: Fix false positives for
Lint/UselessAssignment when duplicate assignments appear in nested if branches inside a loop and the variable is used outside while loop. ([@koic][])
- #14468: Fix false positives for
Naming/MethodName when an operator method is defined using a string. ([@koic][])
- #14427: Fix false positives for
Style/RedundantParentheses when do...end block is wrapped in parentheses as a method argument. ([@koic][])
- #14441: Better hash access handling in
Style/SafeNavigation. ([@issyl0][])
- #14443: Fix false positive in
Layout/EmptyLinesAfterModuleInclusion when include does not have exactly one argument. ([@issyl0][])
- #14424: Fix
Style/SafeNavigation cop to preserve existing safe navigation in fixed code. ([@martinemde][])
- #14455: Follow module inclusion with nonzero args with an empty line. ([
@issyl0][])
- #14445: Fix false positives for
Lint/UselessAssignment with for loops when the variable is referenced in the collection. ([@earlopain][])
- #14447: Fix wrong autocorrect for
Style/RedundantCondition with a parenthesised method call in the condition. ([@earlopain][])
Changes
- #14428: Enhance
Lint/SelfAssignment to handle indexed assignment with multiple arguments. ([@viralpraxis][])
- #14464: Exclude
AutoCorrect and Include from configuration parameters. ([@r7kamura][])
- #14472: Make
Style/RedundantBegin aware of case pattern matching. ([@koic][])
- #14448: Register array intersection size checks as offenses under
Style/ArrayIntersect. ([@lovro-bikic][])
- #14431: Support LSP
TextDocumentSyncKind.Incremental. ([@tmtm][])
... (truncated)
Commits
e2afd61 Cut 1.80.2
02d4593 Update Changelog
ca1b813 [Fix #14502] Fix wrong autocorrect for Style/StringConcatenation when a sin...
06e1b4f Remove some boilerplate when testing the lsp addon
9a82957 Merge pull request #14500 from Earlopain/string-concat-escaped
2f2f63a [Fix #14499] Fix wrong autocorrect for Style/StringConcatenation with escap...
cc4d7a1 Use RuboCop RSpec 3.7 for development
819ea46 Reset the docs version
2271a78 Merge pull request #14489 from Earlopain/redundant-parens-yield-etc
6bdff54 Merge pull request #14495 from koic/make_naming_predicate_method_allow_initia...
- Additional commits viewable in compare view
Updates rubocop-minitest from 0.38.1 to 0.38.2
Release notes
Sourced from rubocop-minitest's releases.
RuboCop Minitest v0.38.2
Bug fixes
- #321: Fix false positives for
Minitest/MultipleAssertions when the assertion has a receiver. (@earlopain)
Changelog
Sourced from rubocop-minitest's changelog.
0.38.2 (2025年08月30日)
Bug fixes
- #321: Fix false positives for
Minitest/MultipleAssertions when the assertion has a receiver. ([@earlopain][])
Commits
0275cb0 Cut 0.38.2
5b58efd Update Changelog
0dd2bce Merge pull request #340 from Earlopain/multiple-assertions-receiver
c47ff6b Merge pull request #339 from Earlopain/sync-spellcheck
a700aa2 [Fix #321] Fix false positives for Minitest/MultipleAssertions when the ass...
6b3d7a4 Run codespell with bundle exec rake
0980b17 Remove misspell from CI
aafebda Merge pull request #338 from rubocop/dependabot/github_actions/actions/checko...
0f3870b Bump actions/checkout from 4 to 5
cd388c7 Suppress RuboCop's offense
- Additional commits viewable in compare view
You can trigger a rebase of this PR 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
Note
Automatic rebases have been disabled on this pull request as it has been open for over 30 days.
Uh oh!
There was an error while loading. Please reload this page.
Bumps the rubocop group with 2 updates: rubocop and rubocop-minitest.
Updates
rubocopfrom 1.79.1 to 1.80.2Release notes
Sourced from rubocop's releases.
... (truncated)
Changelog
Sourced from rubocop's changelog.
... (truncated)
Commits
e2afd61Cut 1.80.202d4593Update Changelogca1b813[Fix #14502] Fix wrong autocorrect forStyle/StringConcatenationwhen a sin...06e1b4fRemove some boilerplate when testing the lsp addon9a82957Merge pull request #14500 from Earlopain/string-concat-escaped2f2f63a[Fix #14499] Fix wrong autocorrect forStyle/StringConcatenationwith escap...cc4d7a1Use RuboCop RSpec 3.7 for development819ea46Reset the docs version2271a78Merge pull request #14489 from Earlopain/redundant-parens-yield-etc6bdff54Merge pull request #14495 from koic/make_naming_predicate_method_allow_initia...Updates
rubocop-minitestfrom 0.38.1 to 0.38.2Release notes
Sourced from rubocop-minitest's releases.
Changelog
Sourced from rubocop-minitest's changelog.
Commits
0275cb0Cut 0.38.25b58efdUpdate Changelog0dd2bceMerge pull request #340 from Earlopain/multiple-assertions-receiverc47ff6bMerge pull request #339 from Earlopain/sync-spellchecka700aa2[Fix #321] Fix false positives forMinitest/MultipleAssertionswhen the ass...6b3d7a4Run codespell withbundle exec rake0980b17Remove misspell from CIaafebdaMerge pull request #338 from rubocop/dependabot/github_actions/actions/checko...0f3870bBump actions/checkout from 4 to 5cd388c7Suppress RuboCop's offenseYou can trigger a rebase of this PR by commenting
@dependabot rebase.Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR:
@dependabot rebasewill rebase this PR@dependabot recreatewill recreate this PR, overwriting any edits that have been made to it@dependabot mergewill merge this PR after your CI passes on it@dependabot squash and mergewill squash and merge this PR after your CI passes on it@dependabot cancel mergewill cancel a previously requested merge and block automerging@dependabot reopenwill reopen this PR if it is closed@dependabot closewill close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually@dependabot show <dependency name> ignore conditionswill show all of the ignore conditions of the specified dependency@dependabot ignore <dependency name> major versionwill 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 versionwill 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