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 rubocop from 1.51.0 to 1.56.0 #2025

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 Aug 14, 2023

Bumps rubocop from 1.51.0 to 1.56.0.

Release notes

Sourced from rubocop's releases.

RuboCop 1.56

New features

Bug fixes

  • #12106: Fix a false negative for Style/RedundantReturn when returning value with guard clause and return is used. (@​koic)
  • #12095: Fix a false positive for Style/Alias when EncforcedStyle: prefer_alias and using alias with interpolated symbol argument. (@​koic)
  • #12098: Fix a false positive for Style/ClassEqualityComparison when comparing interpolated string class name for equality. (@​koic)
  • #12102: Fix an error for Style/LambdaCall when using nested lambda call x.().(). (@​koic)
  • #12099: Fix an incorrect autocorrect for Style/Alias when EncforcedStyle: prefer_alias_method and using alias with interpolated symbol argument. (@​koic)
  • #12085: Fix an error for Lint/SuppressedException when AllowNil: true is set and endless method definition is used. (@​koic)
  • #12087: Fix false positives for Style/ArgumentsForwarding with additional args/kwargs in def/send nodes. (@​owst)
  • #12071: Fix Style/SymbolArray false positives when using square brackets or interpolation in a symbol literal in a percent style array. (@​jasondoc3)
  • #12061: Support regex in StringLiteralsInInterpolation. (@​jonas054)
  • #12091: With --fail-level A ignore non-correctable offenses at :info severity. (@​naveg)

Changes

  • #12094: Add base64 gem to runtime dependency to suppress Ruby 3.3's warning. (@​koic)

RuboCop 1.55.1

Bug fixes

  • #12068: Fix a false positive for Style/ReturnNilInPredicateMethodDefinition when the last method argument in method definition is nil. (@​koic)
  • #12082: Fix an error for Lint/UselessAssignment when a variable is assigned and unreferenced in for with multiple variables. (@​koic)
  • #12079: Fix an error for Style/MixinGrouping when mixin method has no arguments. (@​koic)
  • #11637: Correct Rubocop for private_class_method method documentation. (@​bigzed)
  • #12070: Fix false positive in Style/ArgumentsForwarding when receiver forwards args/kwargs. (@​owst)

RuboCop 1.55

New features

  • #11794: Add support to Style/ArgumentsForwarding for anonymous arg/kwarg forwarding in Ruby 3.2. (@​owst)
  • #12044: Make LSP server support layoutMode option to run layout cops. (@​koic)
  • #12056: Make LSP server support lintMode option to run lint cops. (@​koic)
  • #12046: Make ReturnNilInPredicateMethodDefinition aware of nil at the end of predicate method definition. (@​koic)

... (truncated)

Changelog

Sourced from rubocop's changelog.

1.56.0 (2023-08-09)

New features

  • #12074: Add new Bundler/DuplicatedGroup cop. ([@​OwlKing][])
  • #12078: Make LSP server support rubocop.formatAutocorrectsAll execute command. ([@​koic][])

Bug fixes

  • #12106: Fix a false negative for Style/RedundantReturn when returning value with guard clause and return is used. ([@​koic][])
  • #12095: Fix a false positive for Style/Alias when EncforcedStyle: prefer_alias and using alias with interpolated symbol argument. ([@​koic][])
  • #12098: Fix a false positive for Style/ClassEqualityComparison when comparing interpolated string class name for equality. ([@​koic][])
  • #12102: Fix an error for Style/LambdaCall when using nested lambda call x.().(). ([@​koic][])
  • #12099: Fix an incorrect autocorrect for Style/Alias when EncforcedStyle: prefer_alias_method and using alias with interpolated symbol argument. ([@​koic][])
  • #12085: Fix an error for Lint/SuppressedException when AllowNil: true is set and endless method definition is used. ([@​koic][])
  • #12087: Fix false positives for Style/ArgumentsForwarding with additional args/kwargs in def/send nodes. ([@​owst][])
  • #12071: Fix Style/SymbolArray false positives when using square brackets or interpolation in a symbol literal in a percent style array. ([@​jasondoc3][])
  • #12061: Support regex in StringLiteralsInInterpolation. ([@​jonas054][])
  • #12091: With --fail-level A ignore non-correctable offenses at :info severity. ([@​naveg][])

Changes

  • #12094: Add base64 gem to runtime dependency to suppress Ruby 3.3's warning. ([@​koic][])

1.55.1 (2023-07-31)

Bug fixes

  • #12068: Fix a false positive for Style/ReturnNilInPredicateMethodDefinition when the last method argument in method definition is nil. ([@​koic][])
  • #12082: Fix an error for Lint/UselessAssignment when a variable is assigned and unreferenced in for with multiple variables. ([@​koic][])
  • #12079: Fix an error for Style/MixinGrouping when mixin method has no arguments. ([@​koic][])
  • #11637: Correct Rubocop for private_class_method method documentation. ([@​bigzed][])
  • #12070: Fix false positive in Style/ArgumentsForwarding when receiver forwards args/kwargs. ([@​owst][])

1.55.0 (2023-07-25)

New features

  • #11794: Add support to Style/ArgumentsForwarding for anonymous arg/kwarg forwarding in Ruby 3.2. ([@​owst][])
  • #12044: Make LSP server support layoutMode option to run layout cops. ([@​koic][])
  • #12056: Make LSP server support lintMode option to run lint cops. ([@​koic][])
  • #12046: Make ReturnNilInPredicateMethodDefinition aware of nil at the end of predicate method definition. ([@​koic][])

Bug fixes

  • #12055: Allow parentheses in single-line match patterns when using the omit_parentheses style of Style/MethodCallWithArgsParentheses. ([@​gsamokovarov][])
  • #12050: Fix a false positive for Layout/RedundantLineBreak when inspecting the % form string %\n\n. ([@​koic][])
  • #12063: Fix Style/CombinableLoops when one of the loops is empty. ([@​fatkodima][])
  • #12059: Fix a false negative for Style/StringLiteralsInInterpolation for symbols with interpolation. ([@​fatkodima][])
  • #11834: Fix false positive for when variable in inside conditional branch in nested node. ([@​alexeyschepin][])

... (truncated)

Commits
  • e597ca1 Cut 1.56
  • 3036b2c Tweak whitespace
  • 74f0032 Update Changelog
  • 964235c Add new Bundler/DuplicatedGroup cop (#12074)
  • c078235 With --fail-level A ignore non-correctable offenses at :info severity
  • 320ac56 Merge pull request #12103 from owst/fixup_additional_args_forwarding
  • 08e614f [Fix #12087] Fix false positives for Style/ArgumentsForwarding
  • f871c38 [Fix #12106] Fix a false negative for Style/RedundantReturn
  • 235f749 Merge pull request #12102 from koic/fix_an_error_for_style_lambda_call
  • 57dd392 Fix an error for Style/LambdaCall
  • Additional commits viewable in compare view

Dependabot compatibility score

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 this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

Bumps [rubocop](https://github.com/rubocop/rubocop) from 1.51.0 to 1.56.0.
- [Release notes](https://github.com/rubocop/rubocop/releases)
- [Changelog](https://github.com/rubocop/rubocop/blob/master/CHANGELOG.md)
- [Commits](rubocop/rubocop@v1.51.0...v1.56.0)

---
updated-dependencies:
- dependency-name: rubocop
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

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 Aug 14, 2023
@github-actions
Copy link

github-actions bot commented Sep 8, 2023

This pull request has merge conflicts that must be resolved before it can be merged.

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 rebase needed 🚧 ruby Pull requests that update Ruby code
Projects
None yet
Development

Successfully merging this pull request may close these issues.

0 participants