Skip to content

build(deps-dev): bump the rubocop group across 1 directory with 3 updates#1054

Merged
dependabot[bot] merged 1 commit intomainfrom
dependabot/bundler/rubocop-f25912f22f
Mar 21, 2025
Merged

build(deps-dev): bump the rubocop group across 1 directory with 3 updates#1054
dependabot[bot] merged 1 commit intomainfrom
dependabot/bundler/rubocop-f25912f22f

Conversation

@dependabot
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Mar 16, 2025

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

Updates rubocop from 1.72.1 to 1.74.0

Release notes

Sourced from rubocop's releases.

RuboCop v1.74.0

New features

Bug fixes

  • #13969: Fix a false positive for Lint/SharedMutableDefault when capacity keyword argument is used. (@​koic)
  • #13945: Fix a false positive for Style/DoubleNegation when calling define_method/define_singleton_method with a numblock. (@​earlopain)
  • #13971: Fix false alarm for config obsoletion. (@​koic)
  • #13960: Fix a false negative for Lint/ReturnInVoidContext when returning out of a block. (@​earlopain)
  • #13947: Fix a false negative for Lint/UselessConstantScoping for constants defined in class << self. (@​earlopain)
  • #13949: Fix a false negative for Lint/NonLocalExitFromIterator with numblocks. (@​earlopain)
  • #13975: Fix false positives for Style/RedundantCurrentDirectoryInPath when using a complex current directory path in require_relative. (@​koic)
  • #13963: Fix wrong autocorrect for Lint/LiteralAsCondition when the literal is followed by return, break, or next. (@​earlopain)
  • #13946: Fix some false positives for Style/MethodCallWithArgsParentheses with EnforcedStyle: omit_parentheses style and numblocks. (@​earlopain)
  • #13950: Fix sporadic errors about rubocop-rails or rubocop-performance extraction, even if they are already part of the Gemfile. (@​earlopain)
  • #13981: Prevent redundant plugin loading when a duplicate plugin is specified in an inherited config. (@​koic)
  • #13965: Update Lint/RedundantCopDisableDirective to register an offense when cop names are given with improper casing. (@​dvandersluis)
  • #13948: Fix wrong autocorrect for Style/RescueModifier when using parallel assignment and the right-hand-side is not a bracketed array. (@​earlopain)

Changes

  • #12851: Add EnforcedStyleForClasses and EnforcedStyleForModules configuration options to Style/ClassAndModuleChildren. (@​dvandersluis)
  • #13979: Add Mode: conservative configuration to Style/FormatStringToken to make the cop only register offenses for strings given to printf, sprintf, format, and %. (@​dvandersluis)
  • #13977: Allow TLS1_1 and TLS1_2 by default in Naming/VariableNumber to accommodate OpenSSL version parameter names. (@​koic)
  • #13967: Make Lint/RedundantTypeConversion aware of redundant to_d. (@​koic)

RuboCop v1.73.2

Bug fixes

  • #13942: Fix incorrect disabling of departments when inheriting configuration. (@​koic)
  • #13766: Fix false positives for Style/InverseMethods when using any? or none? with safe navigation operator. (@​koic)
  • #13938: Fix false positives for Style/RedundantCondition when a variable or a constant is used. (@​koic)
  • #13935: Fix a false negative for Style/RedundantFreeze when calling methods that produce frozen objects with numblocks. (@​earlopain)
  • #13928: Fix end pattern with unmatched parenthesis: / (RegexpError) on Ruby 3.2.0. (@​dvandersluis)
  • #13933: Fix wrong autocorrect for Style/KeywordParametersOrder when the arguments are on multiple lines and contain comments. (@​earlopain)

Changes

... (truncated)

Changelog

Sourced from rubocop's changelog.

1.74.0 (2025-03-13)

New features

Bug fixes

  • #13969: Fix a false positive for Lint/SharedMutableDefault when capacity keyword argument is used. ([@​koic][])
  • #13945: Fix a false positive for Style/DoubleNegation when calling define_method/define_singleton_method with a numblock. ([@​earlopain][])
  • #13971: Fix false alarm for config obsoletion. ([@​koic][])
  • #13960: Fix a false negative for Lint/ReturnInVoidContext when returning out of a block. ([@​earlopain][])
  • #13947: Fix a false negative for Lint/UselessConstantScoping for constants defined in class << self. ([@​earlopain][])
  • #13949: Fix a false negative for Lint/NonLocalExitFromIterator with numblocks. ([@​earlopain][])
  • #13975: Fix false positives for Style/RedundantCurrentDirectoryInPath when using a complex current directory path in require_relative. ([@​koic][])
  • #13963: Fix wrong autocorrect for Lint/LiteralAsCondition when the literal is followed by return, break, or next. ([@​earlopain][])
  • #13946: Fix some false positives for Style/MethodCallWithArgsParentheses with EnforcedStyle: omit_parentheses style and numblocks. ([@​earlopain][])
  • #13950: Fix sporadic errors about rubocop-rails or rubocop-performance extraction, even if they are already part of the Gemfile. ([@​earlopain][])
  • #13981: Prevent redundant plugin loading when a duplicate plugin is specified in an inherited config. ([@​koic][])
  • #13965: Update Lint/RedundantCopDisableDirective to register an offense when cop names are given with improper casing. ([@​dvandersluis][])
  • #13948: Fix wrong autocorrect for Style/RescueModifier when using parallel assignment and the right-hand-side is not a bracketed array. ([@​earlopain][])

Changes

  • #12851: Add EnforcedStyleForClasses and EnforcedStyleForModules configuration options to Style/ClassAndModuleChildren. ([@​dvandersluis][])
  • #13979: Add Mode: conservative configuration to Style/FormatStringToken to make the cop only register offenses for strings given to printf, sprintf, format, and %. ([@​dvandersluis][])
  • #13977: Allow TLS1_1 and TLS1_2 by default in Naming/VariableNumber to accommodate OpenSSL version parameter names. ([@​koic][])
  • #13967: Make Lint/RedundantTypeConversion aware of redundant to_d. ([@​koic][])

1.73.2 (2025-03-04)

Bug fixes

  • #13942: Fix incorrect disabling of departments when inheriting configuration. ([@​koic][])
  • #13766: Fix false positives for Style/InverseMethods when using any? or none? with safe navigation operator. ([@​koic][])
  • #13938: Fix false positives for Style/RedundantCondition when a variable or a constant is used. ([@​koic][])
  • #13935: Fix a false negative for Style/RedundantFreeze when calling methods that produce frozen objects with numblocks. ([@​earlopain][])
  • #13928: Fix end pattern with unmatched parenthesis: / (RegexpError) on Ruby 3.2.0. ([@​dvandersluis][])
  • #13933: Fix wrong autocorrect for Style/KeywordParametersOrder when the arguments are on multiple lines and contain comments. ([@​earlopain][])

Changes

1.73.1 (2025-02-27)

Bug fixes

  • #13920: Fix an error for Lint/MixedCaseRange when /[[ ]]/ is used. ([@​koic][])

... (truncated)

Commits
  • ba27193 Cut 1.74
  • 448dc7f Update Changelog
  • e2fc35a Add Mode: conservative configuration to Style/FormatStringToken to make t...
  • a118624 Prevent redundant plugin loading
  • b667815 [Fix #13975] Fix false positives for Style/RedundantCurrentDirectoryInPath
  • f20e4c5 Allow TLS1_1 and TLS1_2 by default in Naming/VariableNumber
  • 5a405d5 Update documentation for Style/FormatStringToken for clarity
  • 5695986 Merge pull request #13972 from dvandersluis/issue/13965た
  • 6bd6f89 [Fix #13965] Update Lint/RedundantCopDisableDirective to register an offens...
  • 1776749 [Fix #13969] Fix a false positive for Lint/SharedMutableDefault
  • Additional commits viewable in compare view

Updates rubocop-rails from 2.30.1 to 2.30.3

Release notes

Sourced from rubocop-rails's releases.

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)

RuboCop Rails 2.30.2

Bug fixes

  • #1447: Fix false positive for Rails/LexicallyScopedActionFilter when action methods are delegated. (@​vlad-pisanov)
  • #1446: Fix false positives for Rails/Delegate when module_function is used. (@​ydakuka)
  • #1427: Fix an error for Rails/UniqBeforePluck when pluck and unique are on different lines. (@​earlopain)
Changelog

Sourced from rubocop-rails's changelog.

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

2.30.2 (2025-02-24)

Bug fixes

  • #1447: Fix false positive for Rails/LexicallyScopedActionFilter when action methods are delegated. ([@​vlad-pisanov][])
  • #1446: Fix false positives for Rails/Delegate when module_function is used. ([@​ydakuka][])
  • #1427: Fix an error for Rails/UniqBeforePluck when pluck and unique are on different lines. ([@​earlopain][])
Commits
  • 92c663c Cut 2.30.3
  • 801d002 Update Changelog
  • ef73348 Automate the process of GitHub release creation
  • 7e21774 Suppress RuboCop's offenses
  • a250bfa Merge pull request #1459 from Earlopain/uniq-before-pluck-numblock
  • 67cff82 Merge pull request #1458 from Earlopain/relative-date-const-numblock
  • 78988e7 Fix a false positive for Rails/UniqBeforePluck when using a numblock with `...
  • a02819f Fix a false positive for Rails/RelativeDateConstant when assigning a lambda...
  • 2ad3e1a Merge pull request #1457 from Earlopain/reversible-migration-drop-table-numblock
  • 9254ef6 Merge pull request #1456 from Earlopain/timestamp-numblock
  • Additional commits viewable in compare view

Updates rubocop-rspec_rails from 2.30.0 to 2.31.0

Release notes

Sourced from rubocop-rspec_rails's releases.

RuboCop RSpec Rails v2.31.0

  • Handle unknown HTTP status codes for RSpecRails/HttpStatus cop. (@​viralpraxis)
  • Fix a false negative for RSpecRails/TravelAround cop when passed as a proc to a travel method. (@​ydah)
  • Make RuboCop RSpecRails work as a RuboCop plugin. (@​bquorning)
Changelog

Sourced from rubocop-rspec_rails's changelog.

2.31.0 (2025-03-10)

  • Handle unknown HTTP status codes for RSpecRails/HttpStatus cop. ([@​viralpraxis])
  • Fix a false negative for RSpecRails/TravelAround cop when passed as a proc to a travel method. ([@​ydah])
  • Make RuboCop RSpecRails work as a RuboCop plugin. ([@​bquorning])
Commits
  • 0aacc26 Merge pull request #66 from rubocop/release
  • cdc0a16 Release v2.31.0
  • d19789d Merge pull request #65 from koic/use_enhanced_cop_documentation_generator
  • 9386ca9 Use extended CopsDocumentationGenerator
  • acda4a5 Merge pull request #63 from Earlopain/publish-upstream-only
  • 5be7ea9 Only run publish workflow on upstream repo
  • 64bfac4 Merge pull request #61 from rubocop/rubocop-plugin
  • e734b08 Make RuboCop RSpecRails work as a RuboCop plugin
  • 2d257f2 Merge pull request #59 from rubocop/issue49
  • 3d76777 Fix a false negative for RSpecRails/TravelAround cop when passed as a proc ...
  • 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

…ates

Bumps the rubocop group with 3 updates in the / directory: [rubocop](https://github.com/rubocop/rubocop), [rubocop-rails](https://github.com/rubocop/rubocop-rails) and [rubocop-rspec_rails](https://github.com/rubocop/rubocop-rspec_rails).


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

Updates `rubocop-rails` from 2.30.1 to 2.30.3
- [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.1...v2.30.3)

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

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

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 16, 2025
Copy link
Collaborator

@tim-s-ccs tim-s-ccs left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@dependabot merge

@dependabot dependabot bot merged commit 0314bd0 into main Mar 21, 2025
5 checks passed
@dependabot dependabot bot deleted the dependabot/bundler/rubocop-f25912f22f branch March 21, 2025 08:30
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