Skip to content

Bump rubocop from 1.57.2 to 1.75.7 #513

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

dependabot[bot]
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github May 21, 2025

Bumps rubocop from 1.57.2 to 1.75.7.

Release notes

Sourced from rubocop's releases.

RuboCop v1.75.7

Bug fixes

  • #14185: Fix an error for Style/IfUnlessModifierOfIfUnless when using nested modifier. (@​koic)
  • #14192: Fix negatives for Layout/SpaceBeforeBrackets when using space between method argument parentheses and left bracket. (@​koic)
  • #14189: Fix incorrect autocorrect for Layout/SpaceBeforeBrackets when using space between receiver and left brackets, and a space inside left bracket. (@​koic)
  • #14170: Fix Style/AccessModifierDeclarations cop error on semicolon after modifier. (@​viralpraxis)
  • #14195: Fix Style/AccessModifierDeclarations cop error on symbol modifier without surrounding scope. (@​viralpraxis)
  • #14172: Fix Style/AccessModifierDeclarations cop false positives when there are no method definitions and style is inline. (@​viralpraxis)
  • #14193: Fix Lint/UselessAssignment cop error when using nested assignment with splat. (@​earlopain)

Changes

RuboCop v1.75.6

Bug fixes

  • #14176: Fix an error for Style/MultilineIfModifier when using nested modifier. (@​koic)
  • #14077: Change nil representation in todo file comments. (@​jonas054)
  • #14164: Fix an error for Lint/UselessAssignment when variables are assigned using unary operator in chained assignment and remain unreferenced. (@​koic)
  • #14173: Fix an error for Style/StringConcatenation when using implicit concatenation with string interpolation. (@​koic)
  • #14177: Fix false positives for Style/SoleNestedConditional when using nested if and not in condition. (@​koic)
  • #14152: Fix Layout/SpaceInsideArrayLiteralBrackets cop error on array pattern without brackets. (@​viralpraxis)
  • #14153: Fix Style/PercentQLiterals cop error on Unicode escape sequence. (@​viralpraxis)

Changes

RuboCop v1.75.5

Bug fixes

  • #14148: Fix an infinite loop error for Layout/SpaceAfterSemicolon with Layout/SpaceBeforeSemicolon when a sequence of semicolons appears. (@​koic)
  • #14145: Fix Lint/ArrayLiteralInRegexp cop error on empty interpolation. (@​viralpraxis)
  • #14072: Fix autocorrect issue in Layout/HashAlignment. (@​jonas054)

... (truncated)

Changelog

Sourced from rubocop's changelog.

1.75.7 (2025-05-21)

Bug fixes

  • #14185: Fix an error for Style/IfUnlessModifierOfIfUnless when using nested modifier. ([@​koic][])
  • #14192: Fix negatives for Layout/SpaceBeforeBrackets when using space between method argument parentheses and left bracket. ([@​koic][])
  • #14189: Fix incorrect autocorrect for Layout/SpaceBeforeBrackets when using space between receiver and left brackets, and a space inside left bracket. ([@​koic][])
  • #14170: Fix Style/AccessModifierDeclarations cop error on semicolon after modifier. ([@​viralpraxis][])
  • #14195: Fix Style/AccessModifierDeclarations cop error on symbol modifier without surrounding scope. ([@​viralpraxis][])
  • #14172: Fix Style/AccessModifierDeclarations cop false positives when there are no method definitions and style is inline. ([@​viralpraxis][])
  • #14193: Fix Lint/UselessAssignment cop error when using nested assignment with splat. ([@​earlopain][])

Changes

  • #14188: Enhance Gemspec/DuplicatedAssignment cop to detect duplicated indexed assignment. ([@​viralpraxis][])
  • #14183: Recognize prefix argument for delegate method in Lint/DuplicateMethods. ([@​lovro-bikic][])

1.75.6 (2025-05-15)

Bug fixes

  • #14176: Fix an error for Style/MultilineIfModifier when using nested modifier. ([@​koic][])
  • #14077: Change nil representation in todo file comments. ([@​jonas054][])
  • #14164: Fix an error for Lint/UselessAssignment when variables are assigned using unary operator in chained assignment and remain unreferenced. ([@​koic][])
  • #14173: Fix an error for Style/StringConcatenation when using implicit concatenation with string interpolation. ([@​koic][])
  • #14177: Fix false positives for Style/SoleNestedConditional when using nested if and not in condition. ([@​koic][])
  • #14152: Fix Layout/SpaceInsideArrayLiteralBrackets cop error on array pattern without brackets. ([@​viralpraxis][])
  • #14153: Fix Style/PercentQLiterals cop error on Unicode escape sequence. ([@​viralpraxis][])

Changes

1.75.5 (2025-05-05)

Bug fixes

  • #14148: Fix an infinite loop error for Layout/SpaceAfterSemicolon with Layout/SpaceBeforeSemicolon when a sequence of semicolons appears. ([@​koic][])
  • #14145: Fix Lint/ArrayLiteralInRegexp cop error on empty interpolation. ([@​viralpraxis][])
  • #14072: Fix autocorrect issue in Layout/HashAlignment. ([@​jonas054][])
  • #14131: Fix false positives for Style/ArgumentsForwarding when using anonymous block argument forwarding to a method with a block. ([@​koic][])
  • #14140: Fix Layout/LeadingCommentSpace to allow splitting long inline RBS comment signatures across multiple lines. ([@​Morriar][])
  • #14147: Fix Lint/LiteralAsCondition cop error on if without body. ([@​viralpraxis][])
  • #14151: Fix Lint/Void cop error on nested empty begin. ([@​viralpraxis][])
  • #13547: Fix Style/IdenticalConditionalBranches cop failure in case of if node with implicit then. ([@​viralpraxis][])
  • #14146: Fix Style/MethodCallWithArgsParentheses cop error on complex numbers when EnforcedStyle is set to omit_parentheses. ([@​viralpraxis][])
  • #14137: Fix Style/TrailingCommaInArguments cop error if EnforcedStyleForMultiline is set to comma. ([@​viralpraxis][])

... (truncated)

Commits
  • 3bff1ae Cut 1.75.7
  • 9a9c06c Update Changelog
  • 586fcd5 [Fix #14193] Fix Lint/UselessAssignment cop error when using nested assignm...
  • c7040a7 Merge pull request #14196 from viralpraxis/consistent-metric-dep-cops-method-...
  • 727c3c8 Merge pull request #14195 from viralpraxis/fix-style-access-modifier-declarat...
  • 68711a2 Fix Style/AccessModifierDeclarations cop error on symbol modifier without p...
  • dceaafd Consistently highlight Metric cops method name in offense messages
  • 6b6c033 Fix Style/AccessModifierDeclarations cop error on colon after modifier
  • fcc31f2 Merge pull request #14192 from koic/fix_false_negatives_for_layout_space_befo...
  • b2d362c Fix false negatives for Layout/SpaceBeforeBrackets
  • Additional commits viewable in compare view

Dependabot compatibility score

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 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)

Bumps [rubocop](https://github.com/rubocop/rubocop) from 1.57.2 to 1.75.7.
- [Release notes](https://github.com/rubocop/rubocop/releases)
- [Changelog](https://github.com/rubocop/rubocop/blob/master/CHANGELOG.md)
- [Commits](rubocop/rubocop@v1.57.2...v1.75.7)

---
updated-dependencies:
- dependency-name: rubocop
  dependency-version: 1.75.7
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

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 May 21, 2025
@github-actions github-actions bot enabled auto-merge May 21, 2025 17:42
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