Skip to content

Bump the linters group with 3 updates #1222

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

Conversation

dependabot[bot]
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Apr 1, 2025

Bumps the linters group with 3 updates: rubocop, rubocop-performance and rubocop-rails.

Updates rubocop from 1.73.1 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][])

1.74.0 (2025-03-13)

New features

... (truncated)

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

RuboCop Rails v2.30.3

Bug fixes

  • #1458: Fix a false positive for Rails/RelativeDateConstant when assigning a lambda/proc with numblock. (@​earlopain)
  • #1457: Fix a false positive for Rails/ReversibleMigration in drop_table with numblock. (@​earlopain)
  • #1456: Fix a false positive for Rails/CreateTableWithTimestamps with numblocks. (@​earlopain)
  • #1459: Fix a false positive for Rails/UniqBeforePluck when using a numblock with uniq. (@​earlopain)
  • #1455: Make Rails/SaveBang aware of numblocks. (@​earlopain)
  • #1453: Make Rails/TransactionExitStatement aware of numblocks. (@​earlopain)

Changes

  • #1179: Rails/ReflectionClassName: Accept method calls on local variables. (@​exterm)
  • #1385: Make Lint/UselessAccessModifier aware of ActiveSupport::Concern and Module#concerning/Module#concern core extensions. (@​earlopain)
  • #1454: Disable Rails/Delegate for controllers. (@​earlopain)
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][])

2.30.3 (2025-03-03)

Bug fixes

  • #1458: Fix a false positive for Rails/RelativeDateConstant when assigning a lambda/proc with numblock. ([@​earlopain][])
  • #1457: Fix a false positive for Rails/ReversibleMigration in drop_table with numblock. ([@​earlopain][])
  • #1456: Fix a false positive for Rails/CreateTableWithTimestamps with numblocks. ([@​earlopain][])
  • #1459: Fix a false positive for Rails/UniqBeforePluck when using a numblock with uniq. ([@​earlopain][])
  • #1455: Make Rails/SaveBang aware of numblocks. ([@​earlopain][])
  • #1453: Make Rails/TransactionExitStatement aware of numblocks. ([@​earlopain][])

Changes

  • #1179: Rails/ReflectionClassName: Accept method calls on local variables. ([@​exterm][])
  • #1385: Make Lint/UselessAccessModifier aware of ActiveSupport::Concern and Module#concerning/Module#concern core extensions. ([@​earlopain][])
  • #1454: Disable Rails/Delegate for controllers. ([@​earlopain][])
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 linters group with 3 updates: [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.73.1 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.73.1...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.2 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.2...v2.31.0)

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

Signed-off-by: dependabot[bot] <[email protected]>
@dependabot dependabot bot added dependencies ruby Pull requests that update ruby code labels Apr 1, 2025
@Mr0grog Mr0grog merged commit 2b80046 into main Apr 2, 2025
6 checks passed
@Mr0grog Mr0grog deleted the dependabot/bundler/linters-28943d7b40 branch April 2, 2025 18:21
@github-project-automation github-project-automation bot moved this from Inbox to Done in Web Monitoring Apr 2, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
dependencies ruby Pull requests that update ruby code
Projects
Status: Done
Development

Successfully merging this pull request may close these issues.

1 participant