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 with 3 updates #5381

Merged
merged 1 commit into from
Jan 9, 2025

Conversation

dependabot[bot]
Copy link
Contributor

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

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

Updates rubocop from 1.69.0 to 1.69.2

Release notes

Sourced from rubocop's releases.

RuboCop 1.69.2

Bug fixes

  • #13553: Fix an incorrect autocorrect for Style/MultipleComparison when a variable is compared multiple times after a method call. (@​koic)
  • #13562: Fix Bundler/DuplicatedGem cop error in case of empty branch. (@​viralpraxis)
  • #13573: Fix Lint/UnescapedBracketInRegexp cop failure with invalid multibyte escape. (@​earlopain)
  • #13556: Fix false positives for Style/FileNull when using 'nul' string. (@​koic)
  • #12995: Fix --disable-uncorrectable to not insert directives inside a string. (@​dvandersluis)
  • #13320: Fix incorrect autocorrect when Layout/LineContinuationLeadingSpace and Style/StringLiterals autocorrects in the same pass. (@​dvandersluis)
  • #13299: Fix Style/BlockDelimiters to always accept braces when an operator method argument is chained. (@​dvandersluis)
  • #13565: Fix Style/RedundantLineContinuation false negatives when a redundant continuation follows a required continuation. (@​dvandersluis)
  • #13551: Fix an incorrect autocorrect for Style/IfWithSemicolon when using multi value assignment in if with a semicolon is used. (@​koic)
  • #13534: Fix Layout/LineLength cop failure in case of YARD-comment-like string. (@​viralpraxis)
  • #13558: Fix Lint/NonAtomicFileOperation cop error in case of implicit receiver. (@​viralpraxis)
  • #13564: Fix Metrics/ClassLength cop error in case of chained assignments. (@​viralpraxis)
  • #13570: Fix Naming/RescuedExceptionsVariableName cop error when exception is assigned with writer method. (@​viralpraxis)
  • #13559: Fix a false positive for Style/RedundantLineContinuation when a method definition is used as an argument for a method call. (@​davidrunger)
  • #13574: Fix Style/ExactRegexpMatch cop error on invalid regular expression literal. (@​viralpraxis)
  • #13554: Fix Style/FrozenStringLiteralComment false positive in case of non-downcased value literal. (@​viralpraxis)
  • #13569: Fix Style/MethodCallWithoutArgsParentheses cop error in case of mass hash assignment. (@​viralpraxis)
  • #13542: Fix Style/RedundantCondition cop failure in case of empty arguments. (@​viralpraxis)
  • #13509: Update Layout/ExtraSpacing and Layout/SpaceAroundOperators to handle preceding operators inside strings. (@​dvandersluis)

RuboCop 1.69.1

Bug fixes

  • #13502: Fix an incorrect autocorrect for Style/DigChain when using safe navigation method chain with dig method. (@​koic)
  • #13505: Fix an error for Style/ParallelAssignment when using the anonymous splat operator. (@​earlopain)
  • #13184: Fix some false positives in Lint/UnreachableCode. (@​isuckatcs)
  • #13494: Fix false positives for Style/HashExcept cop when using reject/!include?, reject/!in? or select/!exclude? combinations. (@​lovro-bikic)
  • #13522: Fix Lint/UnescapedBracketInRegexp cop failure with invalid regular expression. (@​viralpraxis)
  • #13523: Fix Style::AccessModifierDeclarations cop failure in case of if node without else. (@​viralpraxis)
  • #13524: Fix Style/RedundantArgument cop failure while inspecting string literal with invalid encoding. (@​viralpraxis)
  • #13528: Fix Style/RedundantParentheses cop failure in case of splatted case node without condition. (@​viralpraxis)
  • #13521: Fix Style/RedundantSelf cop failure with kwnilarg argument node. (@​viralpraxis)
  • #13526: Fix Style/StringConcatenation cop failure when there are mixed implicit and explicit concatenations. (@​viralpraxis)
  • #13511: Fix false positive in Lint/UnescapedBracketInRegexp when using regexp_parser 2.9.2 and earlier. (@​dvandersluis)
  • #13096: Update Style/BlockDelimiters to not change braces when they are required for syntax. (@​dvandersluis)
  • #13512: Update Style/LambdaCall to be aware of safe navigation. (@​dvandersluis)

... (truncated)

Changelog

Sourced from rubocop's changelog.

1.69.2 (2024-12-12)

Bug fixes

  • #13553: Fix an incorrect autocorrect for Style/MultipleComparison when a variable is compared multiple times after a method call. ([@​koic][])
  • #13562: Fix Bundler/DuplicatedGem cop error in case of empty branch. ([@​viralpraxis][])
  • #13573: Fix Lint/UnescapedBracketInRegexp cop failure with invalid multibyte escape. ([@​earlopain][])
  • #13556: Fix false positives for Style/FileNull when using 'nul' string. ([@​koic][])
  • #12995: Fix --disable-uncorrectable to not insert directives inside a string. ([@​dvandersluis][])
  • #13320: Fix incorrect autocorrect when Layout/LineContinuationLeadingSpace and Style/StringLiterals autocorrects in the same pass. ([@​dvandersluis][])
  • #13299: Fix Style/BlockDelimiters to always accept braces when an operator method argument is chained. ([@​dvandersluis][])
  • #13565: Fix Style/RedundantLineContinuation false negatives when a redundant continuation follows a required continuation. ([@​dvandersluis][])
  • #13551: Fix an incorrect autocorrect for Style/IfWithSemicolon when using multi value assignment in if with a semicolon is used. ([@​koic][])
  • #13534: Fix Layout/LineLength cop failure in case of YARD-comment-like string. ([@​viralpraxis][])
  • #13558: Fix Lint/NonAtomicFileOperation cop error in case of implicit receiver. ([@​viralpraxis][])
  • #13564: Fix Metrics/ClassLength cop error in case of chained assignments. ([@​viralpraxis][])
  • #13570: Fix Naming/RescuedExceptionsVariableName cop error when exception is assigned with writer method. ([@​viralpraxis][])
  • #13559: Fix a false positive for Style/RedundantLineContinuation when a method definition is used as an argument for a method call. ([@​davidrunger][])
  • #13574: Fix Style/ExactRegexpMatch cop error on invalid regular expression literal. ([@​viralpraxis][])
  • #13554: Fix Style/FrozenStringLiteralComment false positive in case of non-downcased value literal. ([@​viralpraxis][])
  • #13569: Fix Style/MethodCallWithoutArgsParentheses cop error in case of mass hash assignment. ([@​viralpraxis][])
  • #13542: Fix Style/RedundantCondition cop failure in case of empty arguments. ([@​viralpraxis][])
  • #13509: Update Layout/ExtraSpacing and Layout/SpaceAroundOperators to handle preceding operators inside strings. ([@​dvandersluis][])

1.69.1 (2024-12-03)

Bug fixes

  • #13502: Fix an incorrect autocorrect for Style/DigChain when using safe navigation method chain with dig method. ([@​koic][])
  • #13505: Fix an error for Style/ParallelAssignment when using the anonymous splat operator. ([@​earlopain][])
  • #13184: Fix some false positives in Lint/UnreachableCode. ([@​isuckatcs][])
  • #13494: Fix false positives for Style/HashExcept cop when using reject/!include?, reject/!in? or select/!exclude? combinations. ([@​lovro-bikic][])
  • #13522: Fix Lint/UnescapedBracketInRegexp cop failure with invalid regular expression. ([@​viralpraxis][])
  • #13523: Fix Style::AccessModifierDeclarations cop failure in case of if node without else. ([@​viralpraxis][])
  • #13524: Fix Style/RedundantArgument cop failure while inspecting string literal with invalid encoding. ([@​viralpraxis][])
  • #13528: Fix Style/RedundantParentheses cop failure in case of splatted case node without condition. ([@​viralpraxis][])
  • #13521: Fix Style/RedundantSelf cop failure with kwnilarg argument node. ([@​viralpraxis][])
  • #13526: Fix Style/StringConcatenation cop failure when there are mixed implicit and explicit concatenations. ([@​viralpraxis][])
  • #13511: Fix false positive in Lint/UnescapedBracketInRegexp when using regexp_parser 2.9.2 and earlier. ([@​dvandersluis][])
  • #13096: Update Style/BlockDelimiters to not change braces when they are required for syntax. ([@​dvandersluis][])
  • #13512: Update Style/LambdaCall to be aware of safe navigation. ([@​dvandersluis][])
Commits
  • 3ba4aef Cut 1.69.2
  • e74cea2 Update Changelog
  • 19ee909 [Fix #13556] Fix false positives for Style/FileNull
  • fd13dab [Fix #13299] Fix Style/BlockDelimiters to always accept braces when an oper...
  • 522950a Fix Style/ExactRegexpMatch cop error on invalid regular expression literal
  • e0777ff Merge pull request #13539 from dvandersluis/issue/13320
  • 7fbd78a Net::HTTPSession is deprecated now
  • bd31b8a Update RSpec 4 CI to the monorepo
  • 4618790 Fix Lint/UnescapedBracketInRegexp cop failure with invalid multibyte escape
  • b00b5f1 Merge pull request #13570 from viralpraxis/fix-naming-rescue-exceptions-varia...
  • Additional commits viewable in compare view

Updates rubocop-rails from 2.26.2 to 2.28.0

Release notes

Sourced from rubocop-rails's releases.

RuboCop Rails 2.28.0

New features

  • #1383: Introduce AllCops: MigratedSchemaVersion config. (@​koic)

Bug fixes

  • #1390: Fix an incorrect autocorrect for Rails/SelectMap when select has no receiver and method chains are used. (@​masato-bkn)
  • #1382: Fix false negatives for Rails/RedundantActiveRecordAllMethod when using all method in block. (@​masato-bkn)
  • #1397: Fix Rails/FilePath cop error on join method with implicit receiver. (@​viralpraxis)
  • #1398: Fix Rails/FilePath cop error in case of extra operations in Rails.root interpolation. (@​viralpraxis)
  • #1392: Fix Rails/FilePath cop error with rescued Rails.root. (@​viralpraxis)

Changes

  • #1388: Modify Rails/Pluck to ignore map/collect when used inside blocks to prevent potential N+1 queries. (@​masato-bkn)

RuboCop Rails 2.27.0

Bug fixes

  • #1377: Fix an error for Rails/EnumSyntax when positional arguments are used and options are not passed as keyword arguments. (@​koic)
  • #1367: Fix Rails/TimeZone should not report offense on String#to_time with timezone specifier. (@​armandmgt)

Changes

Changelog

Sourced from rubocop-rails's changelog.

2.28.0 (2024-12-25)

New features

  • #1383: Introduce AllCops: MigratedSchemaVersion config. ([@​koic][])

Bug fixes

  • #1390: Fix an incorrect autocorrect for Rails/SelectMap when select has no receiver and method chains are used. ([@​masato-bkn][])
  • #1382: Fix false negatives for Rails/RedundantActiveRecordAllMethod when using all method in block. ([@​masato-bkn][])
  • #1397: Fix Rails/FilePath cop error on join method with implicit receiver. ([@​viralpraxis][])
  • #1398: Fix Rails/FilePath cop error in case of extra operations in Rails.root interpolation. ([@​viralpraxis][])
  • #1392: Fix Rails/FilePath cop error with rescued Rails.root. ([@​viralpraxis][])

Changes

  • #1388: Modify Rails/Pluck to ignore map/collect when used inside blocks to prevent potential N+1 queries. ([@​masato-bkn][])

2.27.0 (2024-10-26)

Bug fixes

  • #1377: Fix an error for Rails/EnumSyntax when positional arguments are used and options are not passed as keyword arguments. ([@​koic][])
  • #1367: Fix Rails/TimeZone should not report offense on String#to_time with timezone specifier. ([@​armandmgt][])

Changes

Commits
  • fcc4cf6 Cut 2.28.0
  • bac0f3e Update Changelog
  • 2c357f0 Merge pull request #1383 from koic/intro_migrated_schema_version
  • 86b7a55 Introduce AllCops: MigratedSchemaVersion config
  • 2671fb4 Merge pull request #1398 from viralpraxis/fix-rails-file-path-cop-error-on-jo...
  • 815d119 Fix Rails/FilePath cop error on join method with implicit receiver
  • fecead8 Merge pull request #1399 from viralpraxis/fix-rails-file-path-cop-error-on-ex...
  • e4aee6b Fix Rails/FilePath cop error in case of extra operations in Rails.root in...
  • c6f869b Merge pull request #1392 from viralpraxis/fix-rails-file-path-cop-error-with-...
  • bb03d6b Fix Rails/FilePath cop error with rescued Rails.root
  • Additional commits viewable in compare view

Updates rubocop-performance from 1.22.1 to 1.23.1

Release notes

Sourced from rubocop-performance's releases.

RuboCop Performance 1.23.1

Bug fixes

  • #478: Fix Performance/RedundantStringChars cop error in case of implicit receiver. (@​viralpraxis)
  • #480: Fix Performance/Squeeze cop error on frozen AST string node value. (@​viralpraxis)

RuboCop Performance 1.23.0

New features

Changelog

Sourced from rubocop-performance's changelog.

1.23.1 (2025-01-04)

Bug fixes

  • #478: Fix Performance/RedundantStringChars cop error in case of implicit receiver. ([@​viralpraxis][])
  • #480: Fix Performance/Squeeze cop error on frozen AST string node value. ([@​viralpraxis][])

1.23.0 (2024-11-14)

New features

Commits
  • 2b5c8c6 Cut 1.23.1
  • cfc046b Update Changelog
  • f0e791c Use RuboCop RSpec 3.3 for development
  • f8e9c2b Bump license years to 2025
  • 5d78dea Merge pull request #483 from koic/ci_against_ruby_34
  • 447e273 CI against Ruby 3.4
  • d058c88 Merge pull request #480 from viralpraxis/fix-performance-squeeze-cop-error-on...
  • 9fdbe4e Fix Performance/Squeeze cop error on frozen AST string node value
  • ad9fd62 Merge pull request #481 from kyanagi/patch-1
  • 087843a [DOC] Fix markup of Performance/Count
  • 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-performance](https://github.com/rubocop/rubocop-performance).


Updates `rubocop` from 1.69.0 to 1.69.2
- [Release notes](https://github.com/rubocop/rubocop/releases)
- [Changelog](https://github.com/rubocop/rubocop/blob/master/CHANGELOG.md)
- [Commits](rubocop/rubocop@v1.69.0...v1.69.2)

Updates `rubocop-rails` from 2.26.2 to 2.28.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.26.2...v2.28.0)

Updates `rubocop-performance` from 1.22.1 to 1.23.1
- [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.22.1...v1.23.1)

---
updated-dependencies:
- dependency-name: rubocop
  dependency-type: direct:development
  update-type: version-update:semver-patch
  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
...

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 8, 2025
@segiddins segiddins merged commit a96f997 into master Jan 9, 2025
19 checks passed
@segiddins segiddins deleted the dependabot/bundler/rubocop-e8b687bdf5 branch January 9, 2025 03:05
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
Development

Successfully merging this pull request may close these issues.

1 participant