Skip to content

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

Merged
dependabot[bot] merged 2 commits intomainfrom
dependabot/bundler/rubocop-500d2319e2
Feb 17, 2025
Merged

build(deps-dev): bump the rubocop group across 1 directory with 4 updates#1032
dependabot[bot] merged 2 commits intomainfrom
dependabot/bundler/rubocop-500d2319e2

Conversation

@dependabot
Copy link
Contributor

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

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

Updates rubocop from 1.71.2 to 1.72.1

Release notes

Sourced from rubocop's releases.

RuboCop 1.72.1

Bug fixes

  • #13836: Fix an error for Style/RedundantParentheses when a different expression appears before a range literal. (@​koic)
  • #13839: Fix false positives for Lint/RedundantTypeConversion when passing block arguments when generating a Hash or a Set. (@​koic)

Changes

  • #13839: Extension plugin is loaded automatically with require 'rubocop/rspec/support'. (@​koic)

RuboCop 1.72

New features

  • #13740: Add new Lint/CopDirectiveSyntax cop. (@​kyanagi)
  • #13800: Add new Lint/SuppressedExceptionInNumberConversion cop. (@​koic)
  • #13702: Add new Lint/RedundantTypeConversion cop. (@​dvandersluis)
  • #13831: Add new Lint/UselessConstantScoping cop. (@​koic)
  • #13793: Add new Style/RedundantFormat cop to check for uses of format or sprintf with only a single string argument. (@​dvandersluis)
  • #13581: Add new InternalAffairs/LocationExists cop to check for code that can be replaced with Node#loc? or Node#loc_is?. (@​dvandersluis)
  • #13661: Make server mode detect local paths in .rubocop.yml under inherit_from and require for automatically restart. (@​koic)
  • #13721: Naming/PredicateName: Optionally use Sorbet to detect predicate methods. (@​issyl0)
  • #6012: Support RuboCop extension plugin. (@​koic)

Bug fixes

  • #13807: Fix false negatives for Style/RedundantParentheses when chaining [] method calls. (@​koic)
  • #13788: Fix false negatives for Style/RedundantParentheses when [] method is called with variable or constant receivers. (@​koic)
  • #13811: Fix false negatives for Style/RedundantParentheses when handling range literals with redundant parentheses. (@​koic)
  • #13796: Fix crash in Layout/EmptyLinesAroundMethodBody for endless methods. (@​dvandersluis)
  • #13817: Fix false positive for format specifier with non-numeric precision. (@​dvandersluis)
  • #12672: Fix false positives for Lint/FormatParameterMismatch when the width value is interpolated. (@​dvandersluis)
  • #12795: Fix Layout/BlockAlignment for blocks that are the body of an endless method. (@​dvandersluis)
  • #13822: Fix undefined method Logger when processing watched file notifications. (@​vinistock)
  • #13805: Make the language_server-protocol dependency version stricter. (@​koic)
Changelog

Sourced from rubocop's changelog.

1.72.1 (2025-02-15)

Bug fixes

  • #13836: Fix an error for Style/RedundantParentheses when a different expression appears before a range literal. ([@​koic][])
  • #13839: Fix false positives for Lint/RedundantTypeConversion when passing block arguments when generating a Hash or a Set. ([@​koic][])

Changes

  • #13839: Extension plugin is loaded automatically with `require 'rubocop/rspec/support'. ([@​koic][])

1.72.0 (2025-02-14)

New features

  • #13740: Add new Lint/CopDirectiveSyntax cop. ([@​kyanagi][])
  • #13800: Add new Lint/SuppressedExceptionInNumberConversion cop. ([@​koic][])
  • #13702: Add new Lint/RedundantTypeConversion cop. ([@​dvandersluis][])
  • #13831: Add new Lint/UselessConstantScoping cop. ([@​koic][])
  • #13793: Add new Style/RedundantFormat cop to check for uses of format or sprintf with only a single string argument. ([@​dvandersluis][])
  • #13581: Add new InternalAffairs/LocationExists cop to check for code that can be replaced with Node#loc? or Node#loc_is?. ([@​dvandersluis][])
  • #13661: Make server mode detect local paths in .rubocop.yml under inherit_from and require for automatically restart. ([@​koic][])
  • #13721: Naming/PredicateName: Optionally use Sorbet to detect predicate methods. ([@​issyl0][])
  • #6012: Support RuboCop extension plugin. ([@​koic][])

Bug fixes

  • #13807: Fix false negatives for Style/RedundantParentheses when chaining [] method calls. ([@​koic][])
  • #13788: Fix false negatives for Style/RedundantParentheses when [] method is called with variable or constant receivers. ([@​koic][])
  • #13811: Fix false negatives for Style/RedundantParentheses when handling range literals with redundant parentheses. ([@​koic][])
  • #13796: Fix crash in Layout/EmptyLinesAroundMethodBody for endless methods. ([@​dvandersluis][])
  • #13817: Fix false positive for format specifier with non-numeric precision. ([@​dvandersluis][])
  • #12672: Fix false positives for Lint/FormatParameterMismatch when the width value is interpolated. ([@​dvandersluis][])
  • #12795: Fix Layout/BlockAlignment for blocks that are the body of an endless method. ([@​dvandersluis][])
  • #13822: Fix undefined method Logger when processing watched file notifications. ([@​vinistock][])
  • #13805: Make the language_server-protocol dependency version stricter. ([@​koic][])
Commits
  • 557a7b8 Cut 1.72.1
  • 8fa0155 Update Changelog
  • 224c259 Make plugin load error messages more user-friendly
  • 272303d [Fix #13839] Fix false positives for Lint/RedundantTypeConversion
  • 8acafc7 Extension plugin is loaded automatically with require 'rubocop/rspec/support'
  • 1667898 [Fix #13836] Fix an error for Style/RedundantParentheses
  • f37f6d5 Reset docs version
  • 96989aa Cut 1.72
  • 60cf2b7 Update Changelog
  • ebc89df Allow RuboCop::ConfigLoader.inject_defaults! to accept Pathname instances
  • 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-rails from 2.29.1 to 2.30.1

Release notes

Sourced from rubocop-rails's releases.

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.23.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.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
  • 955b7ae Cut 2.30.1
  • a79b2fd Update Changelog
  • 063bf20 Merge pull request #1445 from koic/fix_an_error_when_using_target_rails_version
  • d8bb510 Merge pull request #1444 from koic/fix_an_incorrect_behavior_when_using_migra...
  • da9d36f [Fix #1442] Fix an incorrect behavior when using AllCops: TargetRailsVersion
  • d40c943 Fix an incorrect behavior when using AllCops: MigratedSchemaVersion
  • 405faca Switch back docs version to master
  • ddc7e4b Restore useful comment
  • ff29ba4 Cut 2.30.0
  • c8e707a Update Changelog
  • Additional commits viewable in compare view

Updates rubocop-rspec from 3.4.0 to 3.5.0

Release notes

Sourced from rubocop-rspec's releases.

RuboCop RSpec v3.5.0

  • Don't let RSpec/PredicateMatcher replace respond_to? with two arguments with the RSpec respond_to matcher. (@​bquorning)
  • Fix RSpec/PredicateMatcher support for eql and equal matchers. (@​bquorning)
  • Pluginfy RuboCop RSpec. (@​koic)
Changelog

Sourced from rubocop-rspec's changelog.

3.5.0 (2025-02-16)

  • Don't let RSpec/PredicateMatcher replace respond_to? with two arguments with the RSpec respond_to matcher. ([@​bquorning])
  • Fix RSpec/PredicateMatcher support for eql and equal matchers. ([@​bquorning])
  • Pluginfy RuboCop RSpec. ([@​koic])
Commits
  • 4b14015 Merge pull request #2043 from rubocop/release
  • 6dafd48 Release v3.5.0
  • 664e15f Enable pending cops
  • dac4256 Merge pull request #2025 from rubocop/use-node-groups
  • 876b415 Use node groups in node patterns to replace unions of types
  • 17640ad Merge pull request #2042 from koic/pluginfy_with_lint_roller
  • 5f09fdf Pluginfy RuboCop RSpec
  • d29fd64 Merge pull request #2039 from rubocop/fewer-inline-disabled-cops
  • 2edbf15 Loosen Metrics/MethodLength to 15
  • c8b14c1 Remove unnecessary RuboCop disables
  • 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 will merge this PR once CI passes on it, as requested by @tim-s-ccs.


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


Updates `rubocop` from 1.71.2 to 1.72.1
- [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.72.1)

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-rails` from 2.29.1 to 2.30.1
- [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.1)

Updates `rubocop-rspec` from 3.4.0 to 3.5.0
- [Release notes](https://github.com/rubocop/rubocop-rspec/releases)
- [Changelog](https://github.com/rubocop/rubocop-rspec/blob/master/CHANGELOG.md)
- [Commits](rubocop/rubocop-rspec@v3.4.0...v3.5.0)

---
updated-dependencies:
- dependency-name: rubocop
  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-rails
  dependency-type: direct:development
  update-type: version-update:semver-minor
  dependency-group: rubocop
- dependency-name: rubocop-rspec
  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 Feb 17, 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 fd5faa0 into main Feb 17, 2025
5 checks passed
@dependabot dependabot bot deleted the dependabot/bundler/rubocop-500d2319e2 branch February 17, 2025 10:50
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