Skip to content

Bump rubocop from 1.84.2 to 1.85.0 in the rails_default group#723

Open
dependabot[bot] wants to merge 1 commit intomasterfrom
dependabot/bundler/rails_default-77ec5ec5cb
Open

Bump rubocop from 1.84.2 to 1.85.0 in the rails_default group#723
dependabot[bot] wants to merge 1 commit intomasterfrom
dependabot/bundler/rails_default-77ec5ec5cb

Conversation

@dependabot
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Mar 1, 2026

Bumps the rails_default group with 1 update: rubocop.

Updates rubocop from 1.84.2 to 1.85.0

Release notes

Sourced from rubocop's releases.

RuboCop v1.85.0

New features

Bug fixes

  • #14829: Allow classes without a superclass in Style/EmptyClassDefinition. ([@​koic][])
  • #14873: Fix an error in Style/NegatedWhile when the last expression of an until condition is negated. ([@​koic][])
  • #14827: Improve Style/EmptyClassDefinition message wording. ([@​bbatsov][])
  • #14800: Fix false obsolete configuration error for extracted cops when loaded as plugins. ([@​bbatsov][])
  • #14928: Fix a false positive for Lint/Void when nil is used in case branch. ([@​5hun-s][])
  • #14857: Fix false positives in Style/IfUnlessModifier when modifier forms are used inside string interpolations. ([@​koic][])
  • #8773: Fix false positives in Style/HashTransformKeys and Style/HashTransformValues. ([@​sferik][])
  • #6963: Fix false positives in Lint/Void for each blocks where the return value may be meaningful (e.g., Enumerator#each). ([@​sferik][])
  • #14931: Ignore directive comments inside comments. ([@​koic][])
  • #14834: Fix Layout/IndentationWidth false positive for chained method blocks when EnforcedStyleAlignWith is start_of_line. ([@​krororo][])
  • #14756: Fix Lint/Void to detect void expressions in case/when branches. ([@​bbatsov][])
  • #14874: Fix a Parser::ClobberingError in Lint/UselessAssignment when autocorrecting a useless assignment that wraps a block containing another useless assignment. ([@​koic][])
  • #14880: Fix a false negative in Layout/MultilineAssignmentLayout when using numblock or itblock with SupportedTypes: ['block']. ([@​bbatsov][])
  • #11462: Fix over-indentation when autocorrecting nested hashes with Layout/FirstHashElementIndentation. ([@​ydakuka][])
  • #14880: Recognize block on different line from left side of multi-line assignment in Layout/MultilineAssignmentLayout. ([@​sanfrecce-osaka][])
  • #14641: Fix false positive in Lint/RedundantSafeNavigation when using &.respond_to? with methods defined on Object (e.g., :class). ([@​bbatsov][])
  • #14098: Mark Lint/SafeNavigationConsistency autocorrect as unsafe. ([@​bbatsov][])
  • #14791: Fix autocorrect producing SyntaxError in Lint/InterpolationCheck when single quoted string contains double quotes with invalid interpolation. ([@​ydakuka][])

Changes

  • #14872: Tweak autocorrection in Style/HashAsLastArrayItem when multiline hash elements. ([@​koic][])
  • #14917: Change Style/EndlessMethod cop to consider receivers. ([@​fatkodima][])
  • #14851: Reduce precision in 'Finished in X.X seconds' message to 5 decimal places. ([@​ZimbiX][])
  • #14895: Rename class_definition to class_keyword in EnforcedStyle of Style/EmptyClassDefinition. ([@​koic][])
  • #14956: Add support for String.new with interpolated strings to Style/RedundantInterpolationUnfreeze. ([@​lovro-bikic][])
  • #14955: Register redundant parentheses around block body in Style/RedundantParentheses. ([@​lovro-bikic][])

... (truncated)

Changelog

Sourced from rubocop's changelog.

1.85.0 (2026-02-26)

New features

Bug fixes

  • #14829: Allow classes without a superclass in Style/EmptyClassDefinition. ([@​koic][])
  • #14873: Fix an error in Style/NegatedWhile when the last expression of an until condition is negated. ([@​koic][])
  • #14827: Improve Style/EmptyClassDefinition message wording. ([@​bbatsov][])
  • #14800: Fix false obsolete configuration error for extracted cops when loaded as plugins. ([@​bbatsov][])
  • #14928: Fix a false positive for Lint/Void when nil is used in case branch. ([@​5hun-s][])
  • #14857: Fix false positives in Style/IfUnlessModifier when modifier forms are used inside string interpolations. ([@​koic][])
  • #8773: Fix false positives in Style/HashTransformKeys and Style/HashTransformValues. ([@​sferik][])
  • #6963: Fix false positives in Lint/Void for each blocks where the return value may be meaningful (e.g., Enumerator#each). ([@​sferik][])
  • #14931: Ignore directive comments inside comments. ([@​koic][])
  • #14834: Fix Layout/IndentationWidth false positive for chained method blocks when EnforcedStyleAlignWith is start_of_line. ([@​krororo][])
  • #14756: Fix Lint/Void to detect void expressions in case/when branches. ([@​bbatsov][])
  • #14874: Fix a Parser::ClobberingError in Lint/UselessAssignment when autocorrecting a useless assignment that wraps a block containing another useless assignment. ([@​koic][])
  • #14880: Fix a false negative in Layout/MultilineAssignmentLayout when using numblock or itblock with SupportedTypes: ['block']. ([@​bbatsov][])
  • #11462: Fix over-indentation when autocorrecting nested hashes with Layout/FirstHashElementIndentation. ([@​ydakuka][])
  • #14880: Recognize block on different line from left side of multi-line assignment in Layout/MultilineAssignmentLayout. ([@​sanfrecce-osaka][])
  • #14641: Fix false positive in Lint/RedundantSafeNavigation when using &.respond_to? with methods defined on Object (e.g., :class). ([@​bbatsov][])
  • #14098: Mark Lint/SafeNavigationConsistency autocorrect as unsafe. ([@​bbatsov][])
  • #14791: Fix autocorrect producing SyntaxError in Lint/InterpolationCheck when single quoted string contains double quotes with invalid interpolation. ([@​ydakuka][])

Changes

  • #14872: Tweak autocorrection in Style/HashAsLastArrayItem when multiline hash elements. ([@​koic][])
  • #14917: Change Style/EndlessMethod cop to consider receivers. ([@​fatkodima][])
  • #14851: Reduce precision in 'Finished in X.X seconds' message to 5 decimal places. ([@​ZimbiX][])
  • #14895: Rename class_definition to class_keyword in EnforcedStyle of Style/EmptyClassDefinition. ([@​koic][])
  • #14956: Add support for String.new with interpolated strings to Style/RedundantInterpolationUnfreeze. ([@​lovro-bikic][])
  • #14955: Register redundant parentheses around block body in Style/RedundantParentheses. ([@​lovro-bikic][])
Commits
  • aa2797e Cut 1.85
  • c0f3332 Update Changelog
  • 934465c Fix MCP version number and add missing language to source blocks
  • 0774181 Fix nav placement, code blocks, and minor doc issues
  • bb1eae4 Update version example in installation docs to 1.84
  • 276d1f0 Standardize code blocks to AsciiDoc [source] syntax
  • 9c62a14 Merge pull request #14956 from lovro-bikic/redundant-interpolation-unfreeze-s...
  • d011fde Merge pull request #14955 from lovro-bikic/redundant-parentheses-block-body
  • 113f35c Add support for String.new with interpolated strings to Style/RedundantInterp...
  • dc58188 Register redundant parentheses around block body in Style/RedundantParentheses
  • 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 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

Bumps the rails_default group with 1 update: [rubocop](https://github.com/rubocop/rubocop).


Updates `rubocop` from 1.84.2 to 1.85.0
- [Release notes](https://github.com/rubocop/rubocop/releases)
- [Changelog](https://github.com/rubocop/rubocop/blob/master/CHANGELOG.md)
- [Commits](rubocop/rubocop@v1.84.2...v1.85.0)

---
updated-dependencies:
- dependency-name: rubocop
  dependency-version: 1.85.0
  dependency-type: direct:development
  update-type: version-update:semver-minor
  dependency-group: rails_default
...

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 Mar 1, 2026
@codecov
Copy link

codecov bot commented Mar 1, 2026

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 94.33%. Comparing base (1ac77ad) to head (1575a14).

Additional details and impacted files
@@           Coverage Diff           @@
##           master     #723   +/-   ##
=======================================
  Coverage   94.33%   94.33%           
=======================================
  Files          17       17           
  Lines         459      459           
=======================================
  Hits          433      433           
  Misses         26       26           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

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