Skip to content
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

Bump the rubocop group across 1 directory with 3 updates #1132

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 Apr 1, 2025

Bumps the rubocop group with 3 updates in the / directory: rubocop, rubocop-performance and rubocop-rails.

Updates rubocop from 1.74.0 to 1.75.1

Release notes

Sourced from rubocop's releases.

RuboCop v1.75.1

Changes

  • #14038: Rename EnforcedStyle: allow_named_parameter to EnforcedStyle: only_numbered_parameters in Style/ItBlockParameter. (@​koic)

RuboCop v1.75.0

New features

Bug fixes

  • #14022: Fix an error for Style/HashFetchChain when no arguments are given to fetch. (@​koic)
  • #14028: Fix false negative for Layout/MultilineMethodParameterLineBreaks when class method definitions are used. (@​vlad-pisanov)
  • #14027: Fix false negative for Layout/LineLength when autocorrecting class method definitions. (@​vlad-pisanov)
  • #8099: Fix infinite loop between Layout/SpaceAroundOperators and Layout/HashAlignment with EnforcedHashRocketStyle being an array containing table. (@​dvandersluis)
  • #14021: Fix handling of long heredoc lines with SplitStrings enabled. (@​mauro-oto)
  • #13968: Fix InternalAffairs/RedundantDescribedClassAsSubject cop error on missing describe. (@​viralpraxis)
  • #14036: Fix false negative for Lint/ShadowingOuterLocalVariable when block local variable is used inside a condition. (@​lovro-bikic)
  • #13990: Fix a false positive for Lint/UselessAssignment when a variable is reassigned in a different branch. ([@​eugeneius][])
  • #14012: Fix incorrect autocorrections for Style/SoleNestedConditional. (@​lovro-bikic)
  • #14020: Fix comment autocorrection for Style/IfInsideElse. (@​lovro-bikic)

Changes

... (truncated)

Changelog

Sourced from rubocop's changelog.

1.75.1 (2025-03-26)

Changes

  • #14038: Rename EnforcedStyle: allow_named_parameter to EnforcedStyle: only_numbered_parameters in Style/ItBlockParameter. ([@​koic][])

1.75.0 (2025-03-26)

New features

Bug fixes

  • #14022: Fix an error for Style/HashFetchChain when no arguments are given to fetch. ([@​koic][])
  • #14028: Fix false negative for Layout/MultilineMethodParameterLineBreaks when class method definitions are used. ([@​vlad-pisanov][])
  • #14027: Fix false negative for Layout/LineLength when autocorrecting class method definitions. ([@​vlad-pisanov][])
  • #8099: Fix infinite loop between Layout/SpaceAroundOperators and Layout/HashAlignment with EnforcedHashRocketStyle being an array containing table. ([@​dvandersluis][])
  • #14021: Fix handling of long heredoc lines with SplitStrings enabled. ([@​mauro-oto][])
  • #13968: Fix InternalAffairs/RedundantDescribedClassAsSubject cop error on missing describe. ([@​viralpraxis][])
  • #14036: Fix false negative for Lint/ShadowingOuterLocalVariable when block local variable is used inside a condition. ([@​lovro-bikic][])
  • #13990: Fix a false positive for Lint/UselessAssignment when a variable is reassigned in a different branch. ([@​eugeneius][])
  • #14012: Fix incorrect autocorrections for Style/SoleNestedConditional. ([@​lovro-bikic][])
  • #14020: Fix comment autocorrection for Style/IfInsideElse. ([@​lovro-bikic][])

Changes

  • #12358: Add does as a forbidden prefix to Naming/PredicateName. ([@​dvandersluis][])
  • #13621: Add ForbiddenIdentifiers and ForbiddenPatterns config options to Naming/MethodName cop. ([@​tejasbubane][])
  • #13986: Add support for Array#intersection to Style/ArrayIntersect. ([@​dvandersluis][])
  • #14006: Allow cop renames to trigger warnings instead of fatal errors. ([@​dvandersluis][])
  • #13617: Use the prism translation layer to analyze Ruby 3.4+ by default. ([@​earlopain][])
  • #14024: Change Style/RedundantParentheses to offend parentheses for chained && expressions. ([@​lovro-bikic][])
  • #14029: Add AllowConsecutiveConditionals setting to Style/Next to allow consecutive conditional statements. ([@​vlad-pisanov][])
  • #14016: Update Style/RedundantFormat to register offenses when the only argument to format or sprintf is a constant. ([@​dvandersluis][])
Commits
  • 3872dce Cut 1.75.1
  • b0999f3 Update Changelog
  • 3ed6feb Rename allow_named_parameter to only_numbered_parameters in `Style/ItBloc...
  • 784abb2 Merge pull request #14039 from lovro-bikic/adjust-raise-args-docs
  • 246dee9 Update Style/RaiseArgs docs
  • cf5e382 Reset the docs version
  • 9c2bc8e Cut 1.75
  • 95ed987 Update Changelog
  • f969e0d Fix handling of long heredoc lines with SplitStrings enabled
  • 91fafeb Fix comment autocorrection for Style/IfInsideElse
  • Additional commits viewable in compare view

Updates rubocop-performance from 1.24.0 to 1.25.0

Release notes

Sourced from rubocop-performance's releases.

RuboCop Performance v1.25.0

New features

  • #496: Support it block parameter in Performance cops. (@​koic)

Bug fixes

  • #494: Fix Performance/FixedSize false positive when count is called with a numblock. (@​dvandersluis)
  • #492: Fix false positives for Performance/StringIdentifierArgument when using interpolated string argument. (@​koic)

Changes

  • #482: Change Performance/CollectionLiteralInLoop to not register offenses for Array#include? that are optimized directly in Ruby. (@​earlopain)
Changelog

Sourced from rubocop-performance's changelog.

1.25.0 (2025-04-01)

New features

  • #496: Support it block parameter in Performance cops. ([@​koic][])

Bug fixes

  • #494: Fix Performance/FixedSize false positive when count is called with a numblock. ([@​dvandersluis][])
  • #492: Fix false positives for Performance/StringIdentifierArgument when using interpolated string argument. ([@​koic][])

Changes

  • #482: Change Performance/CollectionLiteralInLoop to not register offenses for Array#include? that are optimized directly in Ruby. ([@​earlopain][])
Commits
  • 1a7fa7c Cut 1.25.0
  • 9bbcc52 Update Changelog
  • 9e5a10a Merge pull request #496 from koic/support_itblock_in_performance_cops
  • cee374c Support it block parameter in Performance cops
  • 300b997 Merge pull request #494 from dvandersluis/fixed-size-blocks
  • d339b99 Fix Performance/FixedSize false positive when count is called with a `num...
  • b6a39f4 Merge pull request #493 from koic/fix_false_positives_for_performance_string_...
  • 8c368f6 [Fix #492] Fix false positives for Performance/StringIdentifierArgument
  • d842831 Automate the process of GitHub release creation
  • eb68f96 Merge pull request #488 from Earlopain/collection-literal-ruby34
  • Additional commits viewable in compare view

Updates rubocop-rails from 2.30.3 to 2.31.0

Release notes

Sourced from rubocop-rails's releases.

RuboCop Rails v2.31.0

New features

Bug fixes

  • #1465: Avoid warnings about methods of RuboCop::Cop::EnforceSuperclass being redefined. (@​davidrunger)
Changelog

Sourced from rubocop-rails's changelog.

2.31.0 (2025-04-01)

New features

  • #1471: Support it block parameter in Rails cops. ([@​koic][])

Bug fixes

  • #1465: Avoid warnings about methods of RuboCop::Cop::EnforceSuperclass being redefined. ([@​davidrunger][])
Commits
  • 87dd3e3 Cut 2.31.0
  • 85f2a72 Update Changelog
  • 6b32cfb Merge pull request #1469 from hatsu38/fix-broken-Rails_ArelStar-adoc
  • 2420d70 Merge pull request #1471 from koic/support_itblock_in_rails_cops
  • 72155fd Support it block parameter in Rails cops
  • 3fbbca6 Merge pull request #1460 from Earlopain/future-proof-rails-output
  • c222756 [Fix #1353] Fix incorrect escaping of asterisk in docs and comments
  • 930584a Suppress RuboCop's offense
  • 8056bdc Merge pull request #1467 from Earlopain/less-rails-extensions
  • 2c65962 Merge pull request #1466 from davidrunger/avoid-warnings-about-redefined-methods
  • Additional commits viewable in compare view

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 <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 rubocop group with 3 updates in the / directory: [rubocop](https://github.com/rubocop/rubocop), [rubocop-performance](https://github.com/rubocop/rubocop-performance) and [rubocop-rails](https://github.com/rubocop/rubocop-rails).


Updates `rubocop` from 1.74.0 to 1.75.1
- [Release notes](https://github.com/rubocop/rubocop/releases)
- [Changelog](https://github.com/rubocop/rubocop/blob/master/CHANGELOG.md)
- [Commits](rubocop/rubocop@v1.74.0...v1.75.1)

Updates `rubocop-performance` from 1.24.0 to 1.25.0
- [Release notes](https://github.com/rubocop/rubocop-performance/releases)
- [Changelog](https://github.com/rubocop/rubocop-performance/blob/master/CHANGELOG.md)
- [Commits](rubocop/rubocop-performance@v1.24.0...v1.25.0)

Updates `rubocop-rails` from 2.30.3 to 2.31.0
- [Release notes](https://github.com/rubocop/rubocop-rails/releases)
- [Changelog](https://github.com/rubocop/rubocop-rails/blob/master/CHANGELOG.md)
- [Commits](rubocop/rubocop-rails@v2.30.3...v2.31.0)

---
updated-dependencies:
- dependency-name: rubocop
  dependency-version: 1.75.1
  dependency-type: direct:development
  update-type: version-update:semver-minor
  dependency-group: rubocop
- dependency-name: rubocop-performance
  dependency-version: 1.25.0
  dependency-type: direct:development
  update-type: version-update:semver-minor
  dependency-group: rubocop
- dependency-name: rubocop-rails
  dependency-version: 2.31.0
  dependency-type: direct:development
  update-type: version-update:semver-minor
  dependency-group: rubocop
...

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 Apr 1, 2025
Copy link

coderabbitai bot commented Apr 1, 2025

Important

Review skipped

Bot user detected.

To trigger a single review, invoke the @coderabbitai review command.

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.


Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share
🪧 Tips

Chat

There are 3 ways to chat with CodeRabbit:

  • Review comments: Directly reply to a review comment made by CodeRabbit. Example:
    • I pushed a fix in commit <commit_id>, please review it.
    • Generate unit testing code for this file.
    • Open a follow-up GitHub issue for this discussion.
  • Files and specific lines of code (under the "Files changed" tab): Tag @coderabbitai in a new review comment at the desired location with your query. Examples:
    • @coderabbitai generate unit testing code for this file.
    • @coderabbitai modularize this function.
  • PR comments: Tag @coderabbitai in a new PR comment to ask questions about the PR branch. For the best results, please provide a very specific query, as very limited context is provided in this mode. Examples:
    • @coderabbitai gather interesting stats about this repository and render them as a table. Additionally, render a pie chart showing the language distribution in the codebase.
    • @coderabbitai read src/utils.ts and generate unit testing code.
    • @coderabbitai read the files in the src/scheduler package and generate a class diagram using mermaid and a README in the markdown format.
    • @coderabbitai help me debug CodeRabbit configuration file.

Note: Be mindful of the bot's finite context window. It's strongly recommended to break down tasks such as reading entire modules into smaller chunks. For a focused discussion, use review comments to chat about specific files and their changes, instead of using the PR comments.

CodeRabbit Commands (Invoked using PR comments)

  • @coderabbitai pause to pause the reviews on a PR.
  • @coderabbitai resume to resume the paused reviews.
  • @coderabbitai review to trigger an incremental review. This is useful when automatic reviews are disabled for the repository.
  • @coderabbitai full review to do a full review from scratch and review all the files again.
  • @coderabbitai summary to regenerate the summary of the PR.
  • @coderabbitai generate docstrings to generate docstrings for this PR.
  • @coderabbitai resolve resolve all the CodeRabbit review comments.
  • @coderabbitai plan to trigger planning for file edits and PR creation.
  • @coderabbitai configuration to show the current CodeRabbit configuration for the repository.
  • @coderabbitai help to get help.

Other keywords and placeholders

  • Add @coderabbitai ignore anywhere in the PR description to prevent this PR from being reviewed.
  • Add @coderabbitai summary to generate the high-level summary at a specific location in the PR description.
  • Add @coderabbitai anywhere in the PR title to generate the title automatically.

CodeRabbit Configuration File (.coderabbit.yaml)

  • You can programmatically configure CodeRabbit by adding a .coderabbit.yaml file to the root of your repository.
  • Please see the configuration documentation for more information.
  • If your editor has YAML language server enabled, you can add the path at the top of this file to enable auto-completion and validation: # yaml-language-server: $schema=https://coderabbit.ai/integrations/schema.v2.json

Documentation and Community

  • Visit our Documentation for detailed information on how to use CodeRabbit.
  • Join our Discord Community to get help, request features, and share feedback.
  • Follow us on X/Twitter for updates and announcements.

@coveralls
Copy link

Pull Request Test Coverage Report for Build 14187457025

Details

  • 0 of 0 changed or added relevant lines in 0 files are covered.
  • No unchanged relevant lines lost coverage.
  • Overall coverage remained the same at 100.0%

Totals Coverage Status
Change from base Build 14055131319: 0.0%
Covered Lines: 19
Relevant Lines: 19

💛 - Coveralls

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.

1 participant