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 4 updates #536

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

dependabot[bot]
Copy link

@dependabot dependabot bot commented on behalf of github Feb 27, 2025

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

Updates rubocop from 1.71.2 to 1.73.0

Release notes

Sourced from rubocop's releases.

RuboCop 1.73

New features

Bug fixes

  • #13867: Fix an error for plugins when not running RuboCop through Bundler. (@​earlopain)
  • #13902: Fix false negative for Style/RedundantSelfAssignment when the method receives a block. (@​vlad-pisanov)
  • #13826: Fix false positives for regex cops when Lint/MixedCaseRange is enabled. (@​earlopain)
  • #13818: Fix false positives for Lint/Void when using operator method call without argument. (@​koic)
  • #13896: Fix a false positive for Style/TrivialAccessors with instance_eval and numblocks. (@​earlopain)
  • #13910: Fix false positives for Style/EndlessMethod when using setter method definitions. (@​koic)
  • #13889: Fix autocorrection for Layout/LineLength with interpolated strings when not on the first line. (@​dvandersluis)
  • #13900: Fix infinite loop between Layout/EmptyLinesAroundAccessModifier and Layout/EmptyLinesAroundBlockBody with EnforcedStyle: no_empty_lines. (@​dvandersluis)
  • #12692: Fix Style/AccessorGrouping with constants. (@​tejasbubane)
  • #13882: Fix Style/RedundantFormat for annotated template strings with missing hash keys. (@​dvandersluis)
  • #13880: Fix Style/RedundantFormat when given double-splatted arguments. (@​dvandersluis)
  • #13907: Don't offer autocorrect for Style/StringConcatenation when numblocks are used. (@​earlopain)
  • #13876: Don't consider require 'pp' to be redundant for Lint/RedundantRequireStatement. (@​earlopain)
  • #13885: Update Style/HashExcept and Style/HashSlice to not register an offense if selecting over the hash value. (@​dvandersluis)

Changes

  • #12948: Add ForbiddenNames configuration to Naming/VariableName to specify names that are forbidden. (@​dvandersluis)
  • #13117: Add partial autocorrect support to Lint/LiteralAsCondition cop to check for redundant conditions. (@​zopolis4)
  • #13892: Allow merging of configured arrays and non-arrays. (@​sambostock)
  • #13833: Add Reference to common params. (@​sambostock)
  • #13890: Update Lint/RedundantTypeConversion to not register an offense when given a constructor with exception: false. (@​dvandersluis)
  • #13729: Update Style/RedundantCondition cop to detect conditional expressions where the true branch is true and suggest replacing them with a logical OR. (@​datpmt)

RuboCop 1.72.2

Bug fixes

  • #13853: Fix exclusion of relative paths in plugin's AllCops: Exclude as expected. (@​koic)
  • #13844: Fix an error for Style/RedundantFormat when a template argument is used without keyword arguments. (@​koic)
  • #13857: Fix an error for Style/RedundantFormat when numeric placeholders is used in the template argument. (@​koic)

... (truncated)

Changelog

Sourced from rubocop's changelog.

1.73.0 (2025-02-26)

New features

Bug fixes

  • #13867: Fix an error for plugins when not running RuboCop through Bundler. ([@​earlopain][])
  • #13902: Fix false negative for Style/RedundantSelfAssignment when the method receives a block. ([@​vlad-pisanov][])
  • #13826: Fix false positives for regex cops when Lint/MixedCaseRange is enabled. ([@​earlopain][])
  • #13818: Fix false positives for Lint/Void when using operator method call without argument. ([@​koic][])
  • #13896: Fix a false positive for Style/TrivialAccessors with instance_eval and numblocks. ([@​earlopain][])
  • #13910: Fix false positives for Style/EndlessMethod when using setter method definitions. ([@​koic][])
  • #13889: Fix autocorrection for Layout/LineLength with interpolated strings when not on the first line. ([@​dvandersluis][])
  • #13900: Fix infinite loop between Layout/EmptyLinesAroundAccessModifier and Layout/EmptyLinesAroundBlockBody with EnforcedStyle: no_empty_lines. ([@​dvandersluis][])
  • #12692: Fix Style/AccessorGrouping with constants. ([@​tejasbubane][])
  • #13882: Fix Style/RedundantFormat for annotated template strings with missing hash keys. ([@​dvandersluis][])
  • #13880: Fix Style/RedundantFormat when given double-splatted arguments. ([@​dvandersluis][])
  • #13907: Don't offer autocorrect for Style/StringConcatenation when numblocks are used. ([@​earlopain][])
  • #13876: Don't consider require 'pp' to be redundant for Lint/RedundantRequireStatement. ([@​earlopain][])
  • #13885: Update Style/HashExcept and Style/HashSlice to not register an offense if selecting over the hash value. ([@​dvandersluis][])

Changes

  • #12948: Add ForbiddenNames configuration to Naming/VariableName to specify names that are forbidden. ([@​dvandersluis][])
  • #13117: Add partial autocorrect support to Lint/LiteralAsCondition cop to check for redundant conditions. ([@​zopolis4][])
  • #13892: Allow merging of configured arrays and non-arrays. ([@​sambostock][])
  • #13833: Add Reference to common params. ([@​sambostock][])
  • #13890: Update Lint/RedundantTypeConversion to not register an offense when given a constructor with exception: false. ([@​dvandersluis][])
  • #13729: Update Style/RedundantCondition cop to detect conditional expressions where the true branch is true and suggest replacing them with a logical OR. ([@​datpmt][])

1.72.2 (2025-02-17)

Bug fixes

  • #13853: Fix exclusion of relative paths in plugin's AllCops: Exclude as expected. ([@​koic][])
  • #13844: Fix an error for Style/RedundantFormat when a template argument is used without keyword arguments. ([@​koic][])
  • #13857: Fix an error for Style/RedundantFormat when numeric placeholders is used in the template argument. ([@​koic][])
  • #13861: Fix ArgumentError related to two deprecated AllowedPattern APIs. ([@​koic][])
  • #13849: Fix an error for Lint/UselessConstantScoping when multiple assigning to constants after private access modifier. ([@​koic][])
  • #13856: Fix false positives for Lint/UselessConstantScoping when a constant is used after private access modifier with arguments. ([@​koic][])

Changes

  • #13846: Mark Style/RedundantFormat as unsafe autocorrect. ([@​koic][])

1.72.1 (2025-02-15)

... (truncated)

Commits
  • 28bbd0d Cut 1.73
  • 0483bec Update Changelog
  • 8c9a475 Introduce EnforcedStyleForMultiline "diff_comma"
  • 7d4f115 Fix false positives for Style/EndlessMethod
  • cc6da5c Add partial autocorrect support for Lint/LiteralAsCondition
  • 03996f3 [Fix #12692] Fix Style/AccessorGrouping with constants
  • 86690cc [Fix #11024] add require_single_line to Style/EndlessMethod
  • 4b5609a [Fix #11024] Add require_always option to Style/EndlessMethod
  • 5d797af Make CopsDocumentationGenerator support plugin system for extensions
  • d506bd6 Update Style/RedundantCondition cop to detect conditional expressions where...
  • Additional commits viewable in compare view

Updates rubocop-rails from 2.29.1 to 2.30.2

Release notes

Sourced from rubocop-rails's releases.

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)

RuboCop Rails 2.30.1

Bug fixes

  • #1442: Fix an incorrect behavior when using AllCops: TargetRailsVersion. (@​koic)
  • #1444: Fix an incorrect behavior when using AllCops: MigratedSchemaVersion. (@​koic)

RuboCop Rails 2.30.0

New features

Bug fixes

  • #1071: Fix Rails/FilePath cop to correctly handle File.join with variables and ignore leading and multiple slashes in string literal arguments for Rails.root.join and File.join. (@​ydakuka)
  • #912: Enhance Rails/Delegate by adding delegation detection for self.class, constants, class variables, global variables, and instance variables. (@​ydakuka)
Changelog

Sourced from rubocop-rails's changelog.

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

2.30.1 (2025-02-17)

Bug fixes

  • #1442: Fix an incorrect behavior when using AllCops: TargetRailsVersion. ([@​koic][])
  • #1444: Fix an incorrect behavior when using AllCops: MigratedSchemaVersion. ([@​koic][])

2.30.0 (2025-02-16)

New features

Bug fixes

  • #1071: Fix Rails/FilePath cop to correctly handle File.join with variables and ignore leading and multiple slashes in string literal arguments for Rails.root.join and File.join. ([@​ydakuka][])
  • #912: Enhance Rails/Delegate by adding delegation detection for self.class, constants, class variables, global variables, and instance variables. ([@​ydakuka][])
Commits
  • e023cdd Cut 2.30.2
  • 1ad2fe5 Update Changelog
  • 04529cf Merge pull request #1450 from vlad-pisanov/vp_fix_lexically_scoped_action_fil...
  • ec8e18e Merge pull request #1428 from Earlopain/uniq-pluck-multiple-lines
  • eca3732 Fix incorrect comment placement for add_dependency
  • 1980681 [Fix #1427] Fix an error for Rails/UniqBeforePluck with multi-line expression
  • 7b92670 [Fix #1447] Fix false positive for Rails/LexicallyScopedActionFilter when a...
  • 159045f Enable InternalAffairs/CopEnabled cop
  • 12b45a5 Merge pull request #1448 from ydakuka/1446/fix-incorrect-autocorrect-for-rail...
  • 204e667 [Fix rubocop#1446] Fix false positives for Rails/Delegate when `module_func...
  • Additional commits viewable in compare view

Updates rubocop-performance from 1.23.1 to 1.24.0

Release notes

Sourced from rubocop-performance's releases.

RuboCop Performance 1.24.0

New features

  • #490: Pluginfy RuboCop Performance. (@​koic)
  • #462: Add new Performance/ZipWithoutBlock cop that checks patterns like .map { |id| [id] } or .map { [_1] } and can replace them with .zip. (@​corsonknowles)

Bug fixes

Changelog

Sourced from rubocop-performance's changelog.

1.24.0 (2025-02-16)

New features

  • #490: Pluginfy RuboCop Performance. ([@​koic][])
  • #462: Add new Performance/ZipWithoutBlock cop that checks patterns like .map { |id| [id] } or .map { [_1] } and can replace them with .zip. ([@​corsonknowles][])

Bug fixes

  • #484: Fix Performance/CaseWhenSplat cop error on when node without body. ([@​viralpraxis][])
Commits
  • 24a3a4e Cut 1.24.0
  • 20c07a2 Update Changelog
  • f6e7da0 Merge pull request #490 from koic/pluginfy_with_lint_roller
  • b83339d Pluginfy RuboCop Performance
  • ab7ef16 Suppress redundant configuration logging for rubocop-performace
  • 2c00726 Avoid unnecessary send
  • 074bd2a Explicit default Performance/Sum cop config for the spec
  • 349ae04 Suppress RuboCop's offenses
  • 2d36cac Merge pull request #462 from corsonknowles/add_performance_use_zip_to_wrap_ar...
  • 063b56d Merge pull request #489 from dvandersluis/use-node-groups
  • Additional commits viewable in compare view

Updates rubocop-minitest from 0.36.0 to 0.37.1

Release notes

Sourced from rubocop-minitest's releases.

RuboCop Minitest 0.37.0

New features

Changes

  • #328: Remove "minitest/autorun" and "minitest/pride" requirement from "rubocop/minitest/support". (@​bquorning)
Changelog

Sourced from rubocop-minitest's changelog.

0.37.1 (2025-02-16)

Bug fixes

  • #330: Update add_dependency of RuboCop to 1.72 for plugin support. ([@​koic][])

0.37.0 (2025-02-16)

New features

Changes

  • #328: Remove "minitest/autorun" and "minitest/pride" requirement from "rubocop/minitest/support". ([@​bquorning][])
Commits
  • 4aac4a6 Cut 0.37.1
  • 406dd98 Update Changelog
  • 9e6a6c7 Merge pull request #330 from koic/fix_require_rubocop_version_for_plugin
  • a306885 Update add_dependency of RuboCop to 1.72 for plugin support
  • e33a747 Fix a typo
  • cb66da8 Use RuboCop Performance 1.24 for development
  • a9177b1 Switch back docs version to master
  • 3ace1f4 Cut 0.37.0
  • e8a3720 Update Changelog
  • 26040f4 Merge pull request #329 from koic/pluginfy_with_lint_roller
  • 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 4 updates in the / directory: [rubocop](https://github.com/rubocop/rubocop), [rubocop-rails](https://github.com/rubocop/rubocop-rails), [rubocop-performance](https://github.com/rubocop/rubocop-performance) and [rubocop-minitest](https://github.com/rubocop/rubocop-minitest).


Updates `rubocop` from 1.71.2 to 1.73.0
- [Release notes](https://github.com/rubocop/rubocop/releases)
- [Changelog](https://github.com/rubocop/rubocop/blob/master/CHANGELOG.md)
- [Commits](rubocop/rubocop@v1.71.2...v1.73.0)

Updates `rubocop-rails` from 2.29.1 to 2.30.2
- [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.29.1...v2.30.2)

Updates `rubocop-performance` from 1.23.1 to 1.24.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.23.1...v1.24.0)

Updates `rubocop-minitest` from 0.36.0 to 0.37.1
- [Release notes](https://github.com/rubocop/rubocop-minitest/releases)
- [Changelog](https://github.com/rubocop/rubocop-minitest/blob/master/CHANGELOG.md)
- [Commits](rubocop/rubocop-minitest@v0.36.0...v0.37.1)

---
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-minor
  dependency-group: rubocop
- dependency-name: rubocop-performance
  dependency-type: direct:development
  update-type: version-update:semver-minor
  dependency-group: rubocop
- dependency-name: rubocop-minitest
  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 Feb 27, 2025
Copy link

guardrails bot commented Feb 28, 2025

⚠️ We detected 1 security issue in this pull request:

Vulnerable Libraries (1)
Severity Details
Informational pkg:gem/[email protected] upgrade to: > 2.30.2

More info on how to fix Vulnerable Libraries in Ruby.


👉 Go to the dashboard for detailed results.

📥 Happy? Share your feedback with us.

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