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

build(deps-dev): bump the rubocop group with 3 updates #557

Merged
merged 1 commit into from
Jan 29, 2025

Conversation

dependabot[bot]
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Jan 26, 2025

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

Updates rubocop from 1.70.0 to 1.71.0

Release notes

Sourced from rubocop's releases.

RuboCop 1.71

New features

Bug fixes

  • #13684: Fix a false positive for Style/FrozenStringLiteralComment when using the frozen string literal magic comment in Active Admin's arb files. (@​koic)
  • #13372: Add rubocop_cache to the path given by --cache-root when pruning cache. (@​capncavedan)
  • #13257: Fix department disable/enable comments enabling the cop for the whole file even if that file is excluded by the cop. (@​earlopain)
  • #13704: Fix false positives for Lint/OutOfRangeRegexpRef when matching with match using safe navigation. (@​koic)
  • #13720: Fix false positives for Style/BlockDelimiters when using brace blocks as conditions under EnforcedStyle: semantic. (@​koic)
  • #13688: Fix false negative on Style/RedundantLineContinuation when the continuation is preceded by an interpolated string. (@​dvandersluis)
  • #13677: Fix false negative on Style/RedundantLineContinuation when the continuation is followed by a percent array. (@​dvandersluis)
  • #13692: Fix false positive in Style/RedundantLineContinuation when the ruby code ends with a commented continuation. (@​dvandersluis)
  • #13675: Fix invalid autocorrect for Style/ArrayFirstLast when calling .[] or &.[] with 0 or -1. (@​dvandersluis)
  • #13685: Fix syntax error introduced by Lint/SafeNavigationChain when adding safe navigation to an operator call inside a hash. (@​dvandersluis)
  • #13725: Fix an incorrect autocorrect for Style/IfUnlessModifier when using omitted hash values in an assignment. (@​elliottt)
  • #13667: Maintain precedence in autocorrect for Style/SoleNestedConditional. (@​tejasbubane)
  • #13679: Fix false positive for Style/RedundantLineContinuation when calling methods with fully qualified constants. (@​earlopain)
  • #13728: Fix a RuboCop error on provided glob pattern which matches directory. ([@​viralpraxis][])
  • #13693: Fix Style/ConditionalAssignment cop error on unless without else and assign_inside_condition enforced style. ([@​viralpraxis][])
  • #13669: Fix Style/FrozenStringLiteralComment cop error on unnormalized magic comment and never enforced style. ([@​viralpraxis][])
  • #13696: Update Metrics/CollectionLiteralLength to only register for [] when called on Set. (@​dvandersluis)

Changes

... (truncated)

Changelog

Sourced from rubocop's changelog.

1.71.0 (2025-01-22)

New features

Bug fixes

  • #13684: Fix a false positive for Style/FrozenStringLiteralComment when using the frozen string literal magic comment in Active Admin's arb files. ([@​koic][])
  • #13372: Add rubocop_cache to the path given by --cache-root when pruning cache. ([@​capncavedan][])
  • #13257: Fix department disable/enable comments enabling the cop for the whole file even if that file is excluded by the cop. ([@​earlopain][])
  • #13704: Fix false positives for Lint/OutOfRangeRegexpRef when matching with match using safe navigation. ([@​koic][])
  • #13720: Fix false positives for Style/BlockDelimiters when using brace blocks as conditions under EnforcedStyle: semantic. ([@​koic][])
  • #13688: Fix false negative on Style/RedundantLineContinuation when the continuation is preceded by an interpolated string. ([@​dvandersluis][])
  • #13677: Fix false negative on Style/RedundantLineContinuation when the continuation is followed by a percent array. ([@​dvandersluis][])
  • #13692: Fix false positive in Style/RedundantLineContinuation when the ruby code ends with a commented continuation. ([@​dvandersluis][])
  • #13675: Fix invalid autocorrect for Style/ArrayFirstLast when calling .[] or &.[] with 0 or -1. ([@​dvandersluis][])
  • #13685: Fix syntax error introduced by Lint/SafeNavigationChain when adding safe navigation to an operator call inside a hash. ([@​dvandersluis][])
  • #13725: Fix an incorrect autocorrect for Style/IfUnlessModifier when using omitted hash values in an assignment. ([@​elliottt][])
  • #13667: Maintain precedence in autocorrect for Style/SoleNestedConditional. ([@​tejasbubane][])
  • #13679: Fix false positive for Style/RedundantLineContinuation when calling methods with fully qualified constants. ([@​earlopain][])
  • #13728: Fix a RuboCop error on provided glob pattern which matches directory. ([@​viralpraxis][])
  • #13693: Fix Style/ConditionalAssignment cop error on unless without else and assign_inside_condition enforced style. ([@​viralpraxis][])
  • #13669: Fix Style/FrozenStringLiteralComment cop error on unnormalized magic comment and never enforced style. ([@​viralpraxis][])
  • #13696: Update Metrics/CollectionLiteralLength to only register for [] when called on Set. ([@​dvandersluis][])

Changes

Commits
  • 6b13abb Cut 1.71
  • c923a84 Update Changelog
  • 83958cb Rename c_send to csend for consistency
  • 1f25c2c Add new InternalAffairs/OnSendWithoutOnCSend cop
  • 95f45cc [Fix #13323] Add new Lint/ArrayLiteralInRegexp cop
  • 30c4e20 Update Lint/LiteralInInterpolation to not handle array literals inside a re...
  • 7edf6d7 [Doc] Move rubocop-i18n from puppetlabs to rubocop org
  • c746991 Merge pull request #13737 from dvandersluis/fix-jruby-ci
  • b3c8061 Fix jruby CI error
  • 617fd40 Merge pull request #13734 from dvandersluis/fix-expect-offense
  • Additional commits viewable in compare view

Updates rubocop-rails from 2.29.0 to 2.29.1

Release notes

Sourced from rubocop-rails's releases.

RuboCop Rails 2.29.1

Bug fixes

  • #1423: Fix an error for Rails/StrongParametersExpect when using permit with no arguments. (@​koic)
  • #1417: Fix an incorrect autocorrect for Rails/StrongParametersExpect when using a leading dot multiline call to require with permit. (@​koic)
  • #1356: Enhance Rails/DuplicateAssociation to handle alias. (@​ydakuka)
  • #1389: Handle TypeError caused by passing array literals as arguments to File methods in Rails/FilePath cop. (@​ydakuka)
  • #1389: Handle TypeError caused by passing array literals as arguments to File methods in Rails/RootPathnameMethods cop. (@​ydakuka)
  • #1228: Enhance Rails/SaveBang to properly handle instance variables. (@​ydakuka)
Changelog

Sourced from rubocop-rails's changelog.

2.29.1 (2025-01-25)

Bug fixes

  • #1423: Fix an error for Rails/StrongParametersExpect when using permit with no arguments. ([@​koic][])
  • #1417: Fix an incorrect autocorrect for Rails/StrongParametersExpect when using a leading dot multiline call to require with permit. ([@​koic][])
  • #1356: Enhance Rails/DuplicateAssociation to handle alias. ([@​ydakuka][])
  • #1389: Handle TypeError caused by passing array literals as arguments to File methods in Rails/FilePath cop. ([@​ydakuka][])
  • #1389: Handle TypeError caused by passing array literals as arguments to File methods in Rails/RootPathnameMethods cop. ([@​ydakuka][])
  • #1228: Enhance Rails/SaveBang to properly handle instance variables. ([@​ydakuka][])
Commits
  • a54b408 Cut 2.29.1
  • 18f5484 Update Changelog
  • c0f086f Apply bundle exec rubocop --regenerate-todo
  • d1443ca Merge pull request #1419 from ydakuka/fix/enhance-rails-duplicate-association...
  • 10829d3 [Fix rubocop#1356] Enhance Rails/DuplicateAssociation to handle alias
  • 7024ab5 Merge pull request #1415 from ydakuka/fix/typeerror_in_the_file_path_cop
  • 3677f7b [Fix rubocop#1389] Handle TypeError caused by an array in Rails/FilePath cop
  • 158cd38 Merge pull request #1424 from koic/fix_an_error_for_rails_strong_parameters_e...
  • ce69ef7 Merge pull request #1416 from ydakuka/fix/typeerror_in_the_root_pathname_meth...
  • e48fec2 [Fix #1423] Fix an error for Rails/StrongParametersExpect
  • Additional commits viewable in compare view

Updates rubocop-rspec from 3.3.0 to 3.4.0

Release notes

Sourced from rubocop-rspec's releases.

RuboCop RSpec v3.4.0

  • Fix RSpec/SortMetadata cop to limit sorting to trailing metadata arguments. (@​cbliard)
  • Replace RSpec/StringAsInstanceDoubleConstant with RSpec/VerifiedDoubleReference configured to only support constant class references. (@​corsonknowles)
  • Fix RSpec/EmptyExampleGroup cop false positive when a simple conditional is used inside an iterator. (@​lovro-bikic)
Changelog

Sourced from rubocop-rspec's changelog.

3.4.0 (2025-01-20)

  • Fix RSpec/SortMetadata cop to limit sorting to trailing metadata arguments. ([@​cbliard])
  • Replace RSpec/StringAsInstanceDoubleConstant with RSpec/VerifiedDoubleReference configured to only support constant class references. ([@​corsonknowles])
  • Fix RSpec/EmptyExampleGroup cop false positive when a simple conditional is used inside an iterator. ([@​lovro-bikic])
Commits
  • bc888bb Merge pull request #2023 from rubocop/release
  • 775b4ee Release v3.4.0
  • cbb3632 Fix CHANGELOG
  • e8dd5ba Merge pull request #2022 from lovro-bikic/fix/rspec-empty-example-group-false...
  • c43909d Fix false positive for RSpec/EmptyExampleGroup with iterator and simple condi...
  • 0b65016 Fix CHANGELOG
  • 620d3ad Merge pull request #1968 from corsonknowles/master
  • 1aa987f Obsolete StringAsInstanceDoubleConstant in favor of VerifiedDoubleReference f...
  • e44a27b Merge pull request #1948 from cbliard/sort_metadata_symbols_at_the_end_of_arg...
  • c2e861f Fix RSpec/SortMetadata cop to limit sorting to trailing metadata
  • 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: [rubocop](https://github.com/rubocop/rubocop), [rubocop-rails](https://github.com/rubocop/rubocop-rails) and [rubocop-rspec](https://github.com/rubocop/rubocop-rspec).


Updates `rubocop` from 1.70.0 to 1.71.0
- [Release notes](https://github.com/rubocop/rubocop/releases)
- [Changelog](https://github.com/rubocop/rubocop/blob/master/CHANGELOG.md)
- [Commits](rubocop/rubocop@v1.70.0...v1.71.0)

Updates `rubocop-rails` from 2.29.0 to 2.29.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.0...v2.29.1)

Updates `rubocop-rspec` from 3.3.0 to 3.4.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.3.0...v3.4.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
  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 Jan 26, 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 cf10ecd into main Jan 29, 2025
5 checks passed
@dependabot dependabot bot deleted the dependabot/bundler/rubocop-a1d11245b4 branch January 29, 2025 08:33
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