Skip to content

Update rubocop 1.75.4 → 1.75.8 (patch) #1778

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

Merged
merged 1 commit into from
Jun 4, 2025

Conversation

depfu[bot]
Copy link
Contributor

@depfu depfu bot commented Jun 3, 2025

Here is everything you need to know about this update. Please take a good look at what changed and the test results before merging this pull request.

What changed?

✳️ rubocop (1.75.4 → 1.75.8) · Repo · Changelog

Release Notes

1.75.8

Bug fixes

  • #14191: Fix Lint/FloatComparison cop to detect floating-point number comparisons in case statements. (@daisuke)
  • #14209: Fix an error for Style/RedundantFormat with invalid format arguments. (@earlopain)
  • #14200: Fix false positives for Style/DefWithParentheses when using endless method definition with empty parentheses and a space before =. (@koic)
  • #14197: Fix infinite loop error for EnforcedStyle: with_fixed_indentation of Layout/ArgumentAlignment and EnforcedStyle: consistent of Layout/FirstArgumentIndentation and Layout/HashAlignment. (@koic)
  • #14204: Fix Layout/EmptyLinesAroundAccessModifier cop error on trailing access modifier. (@viralpraxis)
  • #14198: Fix Lint/DuplicateMethods cop error on to option is dynamically generated and prefix is enabled. (@viralpraxis)
  • #14199: Fix wrong autocorrection for Style/MapToHash with destructuring argument. (@lovro-bikic)
  • #14050: Modify condition for rubocop:todo EOL comment. (@jonas054)

1.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

  • #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

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

  • #14082: Mark Style/ComparableBetween as unsafe. (@earlopain)
  • #14181: Make Lint/DuplicateMethods aware of Active Support's delegate method. (@lovro-bikic)
  • #14156: Make Style/IfUnlessModifier allow endless method definition in the if body. (@koic)

1.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)
  • #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)

Changes

  • #14144: Layout/SpaceInsideArrayLiteralBrackets make aware of array pattern matching. (@koic)
  • #14142: Layout/SpaceInsideHashLiteralBraces make aware of hash pattern matching. (@koic)

Does any of this look wrong? Please let us know.

Commits

See the full diff on Github. The new version differs by more commits than we can show here.

↗️ json (indirect, 2.11.3 → 2.12.2) · Repo · Changelog

Release Notes

2.12.2

  • Fix compiler optimization level.

Full Changelog: v2.12.1...v2.12.2

2.12.1

What's Changed

  • Fix a potential crash in large negative floating point number generation.
  • Fix for JSON.pretty_generate to use passed state object's generate instead of state class as the required parameters aren't available.

Full Changelog: v2.12.0...v2.12.1

2.12.0 (from changelog)

  • Improve floating point generation to not use scientific notation as much.
  • Include line and column in parser errors. Both in the message and as exception attributes.
  • Handle non-string hash keys with broken to_s implementations.
  • JSON.generate now uses SSE2 (x86) or NEON (arm64) instructions when available to escape strings.

Does any of this look wrong? Please let us know.

Commits

See the full diff on Github. The new version differs by 45 commits:

↗️ language_server-protocol (indirect, 3.17.0.4 → 3.17.0.5) · Repo · Changelog

Release Notes

3.17.0.5 (from changelog)

  • Use JSON.generate() instead to improve performance (#115)

Does any of this look wrong? Please let us know.

Commits

See the full diff on Github. The new version differs by 5 commits:


Depfu Status

Depfu will automatically keep this PR conflict-free, as long as you don't add any commits to this branch yourself. You can also trigger a rebase manually by commenting with @depfu rebase.

All Depfu comment commands
@​depfu rebase
Rebases against your default branch and redoes this update
@​depfu recreate
Recreates this PR, overwriting any edits that you've made to it
@​depfu merge
Merges this PR once your tests are passing and conflicts are resolved
@​depfu cancel merge
Cancels automatic merging of this PR
@​depfu close
Closes this PR and deletes the branch
@​depfu reopen
Restores the branch and reopens this PR (if it's closed)
@​depfu pause
Ignores all future updates for this dependency and closes this PR
@​depfu pause [minor|major]
Ignores all future minor/major updates for this dependency and closes this PR
@​depfu resume
Future versions of this dependency will create PRs again (leaves this PR as is)

@depfu depfu bot added the depfu label Jun 3, 2025
@danidoni danidoni merged commit a639cd0 into master Jun 4, 2025
2 checks passed
@depfu depfu bot deleted the depfu/update/rubocop-1.75.8 branch June 4, 2025 09:09
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant