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-dependencies group with 2 updates #411

Merged

Conversation

dependabot[bot]
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Aug 14, 2023

Updates the requirements on rubocop and rubocop-performance to permit the latest version.
Updates rubocop 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)
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

Updates rubocop-performance to 1.19.0

Release notes

Sourced from rubocop-performance's releases.

RuboCop Performance 1.19.0

New features

  • #364: Add new Performance/MapMethodChain cop. (@​koic)
  • #363: Support safe navigation operator for Performance/ArraySemiInfiniteRangeSlice, Performance/DeletePrefix, Performance/DeleteSuffix, Performance/Detect, Performance/EndWith, Performance/InefficientHashSearch, Performance/MapCompact, Performance/RedundantSplitRegexpArgument, Performance/ReverseEach, Performance/ReverseFirst, Performance/SelectMap, Performance/Squeeze, Performance/StartWith, Performance/StringInclude, and Performance/StringReplacement cops. (@​koic)
Changelog

Sourced from rubocop-performance's changelog.

1.19.0 (2023-08-13)

New features

  • #364: Add new Performance/MapMethodChain cop. ([@​koic][])
  • #363: Support safe navigation operator for Performance/ArraySemiInfiniteRangeSlice, Performance/DeletePrefix, Performance/DeleteSuffix, Performance/Detect, Performance/EndWith, Performance/InefficientHashSearch, Performance/MapCompact, Performance/RedundantSplitRegexpArgument, Performance/ReverseEach, Performance/ReverseFirst, Performance/SelectMap, Performance/Squeeze, Performance/StartWith, Performance/StringInclude, and Performance/StringReplacement cops. ([@​koic][])

1.18.0 (2023-05-21)

Bug fixes

  • #359: Fix a false positive for Performance/RedundantEqualityComparisonBlock when the block variable is used on both sides of ==. ([@​koic][])
  • #351: Fix an incorrect autocorrect for Performance/ConstantRegexp and Performance/RegexpMatch when autocorrecting both at the same time. ([@​fatkodima][])

Changes

1.17.1 (2023-04-09)

Bug fixes

  • #352: Fix the default config for AllowRegexpMatch option of Performance/RedundantEqualityComparisonBlock. ([@​koic][])

1.17.0 (2023-04-09)

New features

  • #347: Add AllowRegexpMatch option to Performance/RedundantEqualityComparisonBlock. ([@​koic][])

Bug fixes

  • #346: Fix a false positive for Performance/StringIdentifierArgument when using a command method with receiver. ([@​koic][])
  • #344: Fix Performance/FlatMap autocorrection for chained methods on separate lines. ([@​fatkodima][])

1.16.0 (2023-02-06)

Changes

  • #332: Register offenses for variables against regexes in Performance/StringInclude. ([@​fatkodima][])

1.15.2 (2022-12-25)

Bug fixes

  • #313: Fix a false negative for Performance/RedundantStringChars when using str.chars.last without argument. ([@​koic][])
  • #321: Fix a false positive for Performance/Sum when using TargetRubyVersion is 2.3 or lower. ([@​koic][])
  • #314: Fix Performance/RegexpMatch to handle ::Regexp. ([@​fatkodima][])

... (truncated)

Commits
  • ed66e63 Cut 1.19.0
  • 4eba6e9 Update Changelog
  • 6b4d243 Merge pull request #364 from koic/add_new_performance_map_method_chain_cop
  • 42c78bc Add new Performance/MapMethodChain cop
  • d7a141d Suppress a new RuboCop offense
  • 9d56a69 Merge pull request #363 from koic/fix_false_negatives_for_performance_string_...
  • 3b4856e Support safe navigation operator for 15 Performance cops
  • 563eb44 Suppress new Style/ReturnNilInPredicateMethodDefinition offenses
  • 1d22edf Suppress new Style/RedundantRegexpArgument offenses
  • c2713ae Use Parser::Ruby32 by default for documentation_syntax_check Rake task
  • 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> dependency 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> dependency 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

Updates the requirements on [rubocop](https://github.com/rubocop/rubocop) and [rubocop-performance](https://github.com/rubocop/rubocop-performance) to permit the latest version.

Updates `rubocop` 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.55.1...v1.56.0)

Updates `rubocop-performance` to 1.19.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.18.0...v1.19.0)

---
updated-dependencies:
- dependency-name: rubocop
  dependency-type: direct:development
  dependency-group: rubocop-dependencies
- dependency-name: rubocop-performance
  dependency-type: direct:development
  dependency-group: rubocop-dependencies
...

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 Aug 14, 2023
@github-actions github-actions bot merged commit 9cff1ce into main Aug 14, 2023
13 checks passed
@github-actions github-actions bot deleted the dependabot/bundler/rubocop-dependencies-8df35c680f branch August 14, 2023 01:21
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