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

Update dependency rubocop to v1.59.0 #97

Merged
merged 1 commit into from
Dec 11, 2023
Merged

Conversation

renovate[bot]
Copy link
Contributor

@renovate renovate bot commented Dec 1, 2023

Mend Renovate

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
rubocop (source, changelog) 1.57.2 -> 1.59.0 age adoption passing confidence

Release Notes

rubocop/rubocop (rubocop)

v1.59.0

Compare Source

New features
Bug fixes
  • #​12434: Fix a false positive for Lint/LiteralAssignmentInCondition when using interpolated string or xstring literals. ([@​koic][])
  • #​12435: Fix a false positive for Lint/SelfAssignment when using attribute assignment with method call with arguments. ([@​koic][])
  • #​12444: Fix false positive for Style/HashEachMethods when receiver literal is not a hash literal. ([@​koic][])
  • #​12524: Fix a false positive for Style/MethodCallWithArgsParentheses when EnforcedStyle: omit_parentheses and parens in when clause is used to pass an argument. ([@​koic][])
  • #​12505: Fix a false positive for Style/RedundantParentheses when using parenthesized lambda or proc with do...end block. ([@​koic][])
  • #​12442: Fix an incorrect autocorrect for Style/CombinableLoops when looping over the same data as previous loop in do...end and {...} blocks. ([@​koic][])
  • #​12432: Fix a false positive for Lint/LiteralAssignmentInCondition when using parallel assignment with splat operator in block of guard condition. ([@​koic][])
  • #​12441: Fix false positives for Style/HashEachMethods when using destructed block arguments. ([@​koic][])
  • #​12436: Fix false positives for Style/RedundantParentheses when a part of range is a parenthesized condition. ([@​koic][])
  • #​12429: Fix incorrect autocorrect for Style/MapToHash when using dot method calls for to_h. ([@​koic][])
  • #​12488: Make Lint/HashCompareByIdentity aware of safe navigation operator. ([@​koic][])
  • #​12489: Make Lint/NextWithoutAccumulator aware of safe navigation operator. ([@​koic][])
  • #​12490: Make Lint/NumberConversion aware of safe navigation operator. ([@​koic][])
  • #​12491: Make Lint/RedundantWithIndex aware of safe navigation operator. ([@​koic][])
  • #​12492: Make Lint/RedundantWithObject aware of safe navigation operator. ([@​koic][])
  • #​12493: Make Lint/UnmodifiedReduceAccumulator aware of safe navigation operator. ([@​koic][])
  • #​12473: Make Style/ClassCheck aware of safe navigation operator. ([@​koic][])
  • #​12445: Make Style/CollectionCompact aware of safe navigation operator. ([@​koic][])
  • #​12474: Make Style/ConcatArrayLiterals aware of safe navigation operator. ([@​koic][])
  • #​12476: Make Style/DateTime aware of safe navigation operator. ([@​koic][])
  • #​12479: Make Style/EachWithObject aware of safe navigation operator. ([@​koic][])
  • #​12446: Make Style/HashExcept aware of safe navigation operator. ([@​koic][])
  • #​12447: Make Style/MapCompactWithConditionalBlock aware of safe navigation operator. ([@​koic][])
  • #​12484: Make Style/Next aware of safe navigation operator. ([@​koic][])
  • #​12486: Make Style/RedundantArgument aware of safe navigation operator. ([@​koic][])
  • #​12454: Make Style/RedundantFetchBlock aware of safe navigation operator. ([@​koic][])
  • #​12495: Make Layout/RedundantLineBreak aware of safe navigation operator. ([@​koic][])
  • #​12455: Make Style/RedundantSortBy aware of safe navigation operator. ([@​koic][])
  • #​12456: Make Style/RedundantSortBy aware of safe navigation operator. ([@​koic][])
  • #​12480: Make Style/ExactRegexpMatch aware of safe navigation operator. ([@​koic][])
  • #​12457: Make Style/Sample aware of safe navigation operator. ([@​koic][])
  • #​12458: Make Style/SelectByRegexp cops aware of safe navigation operator. ([@​koic][])
  • #​12494: Make Layout/SingleLineBlockChain aware of safe navigation operator. ([@​koic][])
  • #​12461: Make Style/StringChars aware of safe navigation operator. ([@​koic][])
  • #​12468: Make Style/Strip aware of safe navigation operator. ([@​koic][])
  • #​12469: Make Style/UnpackFirst aware of safe navigation operator. ([@​koic][])
Changes
  • #​12522: Make Style/MethodCallWithoutArgsParentheses allow the parenthesized it method in a block. ([@​koic][])
  • #​12523: Make Style/RedundantSelf allow the self.it method in a block. ([@​koic][])

v1.58.0

Compare Source

New features
Bug fixes
  • #​12372: Fix a false negative for Lint/Debugger when used within method arguments a begin...end block. ([@​koic][])
  • #​12378: Fix a false negative for Style/Semicolon when a semicolon at the beginning of a lambda block. ([@​koic][])
  • #​12146: Fix a false positive for Lint/FloatComparison when comparing against zero. ([@​earlopain][])
  • #​12404: Fix a false positive for Layout/RescueEnsureAlignment when aligned rescue in do-end numbered block in a method. ([@​koic][])
  • #​12374: Fix a false positive for Layout/SpaceBeforeSemicolon when a space between an opening lambda brace and a semicolon. ([@​koic][])
  • #​12326: Fix an error for Style/RedundantDoubleSplatHashBraces when method call for parenthesized no hash double double splat. ([@​koic][])
  • #​12361: Fix an incorrect autocorrect for Naming/BlockForwarding and Style/ArgumentsForwarding when autocorrection conflicts for anonymous arguments. ([@​koic][])
  • #​12324: Fix an error for Layout/RescueEnsureAlignment when using rescue in do...end block assigned to object attribute. ([@​koic][])
  • #​12322: Fix an error for Style/CombinableLoops when looping over the same data for the third consecutive time or more. ([@​koic][])
  • #​12366: Fix a false negative for Layout/ExtraSpacing when a file has exactly two comments. ([@​eugeneius][])
  • #​12373: Fix a false negative for Lint/SymbolConversion when using string interpolation. ([@​earlopain][])
  • #​12402: Fix false negatives for Style/RedundantLineContinuation when redundant line continuations for a block are used, especially without parentheses around first argument. ([@​koic][])
  • #​12311: Fix false negatives for Style/RedundantParentheses when parentheses around logical operator keywords in method definition. ([@​koic][])
  • #​12394: Fix false negatives for Style/RedundantReturn when lambda (->) ending with return. ([@​koic][])
  • #​12377: Fix false positives for Lint/Void when a collection literal that includes non-literal elements in a method definition. ([@​koic][])
  • #​12407: Fix an incorrect autocorrect for Style/MapToHash with Layout/SingleLineBlockChain. ([@​koic][])
  • #​12409: Fix an incorrect autocorrect for Lint/SafeNavigationChain when ordinary method chain exists after safe navigation leading dot method call. ([@​koic][])
  • #​12363: Fix incorrect rendering of HTML character entities in HTMLFormatter formatter. ([@​koic][])
  • #​12424: Make Style/HashEachMethods aware of safe navigation operator. ([@​koic][])
  • #​12413: Make Style/InverseMethods aware of safe navigation operator. ([@​koic][])
  • #​12408: Make Style/MapToHash aware of safe navigation operator. ([@​koic][])
Changes
  • #​12328: Make Style/AutoResourceCleanup aware of Tempfile.open. ([@​koic][])
  • #​12412: Enhance Lint/RedundantSafeNavigation to handle conversion methods with defaults. ([@​fatkodima][])
  • #​12410: Enhance Lint/SelfAssignment to check attribute assignment and key assignment. ([@​fatkodima][])
  • #​12370: Make Style/HashEachMethods aware of unused block value. ([@​koic][])
  • #​12380: Make Style/RedundantParentheses aware of lambda or proc. ([@​koic][])
  • #​12421: Make Style/SelfAssignment aware of %, ^, <<, and >> operators. ([@​koic][])
  • #​12305: Require rubocop-ast version 1.30 or greater. ([@​sambostock][])
  • #​12337: Supports EnforcedStyleForRationalLiterals option for Layout/SpaceAroundOperators. ([@​koic][])
  • #​12296: Support RedundantRestArgumentNames, RedundantKeywordRestArgumentNames, and RedundantBlockArgumentNames options for Style/ArgumentsForwarding. ([@​koic][])

Configuration

📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).

🚦 Automerge: Enabled.

Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about this update again.


  • If you want to rebase/retry this PR, check this box

This PR has been generated by Mend Renovate. View repository job log here.

@renovate renovate bot enabled auto-merge December 1, 2023 23:48
Copy link

coderabbitai bot commented Dec 1, 2023

Important

Auto Review Skipped

Bot user detected.

To trigger a single review, invoke the @coderabbitai review command.

Thank you for using CodeRabbit. We offer it for free to the OSS community and would appreciate your support in helping us grow. If you find it useful, would you consider giving us a shout-out on X ?


Tips

Chat with CodeRabbit Bot (@coderabbitai)

  • If you reply to a review comment from CodeRabbit, the bot will automatically respond.
  • To engage with CodeRabbit bot directly around the specific lines of code in the PR, mention @coderabbitai in your review comment
  • Note: Review comments are made on code diffs or files, not on the PR overview.
  • Add @coderabbitai ignore anywhere in the PR description to prevent this PR from being reviewed.

CodeRabbit Commands (invoked as PR comments)

  • @coderabbitai pause to pause the reviews on a PR.
  • @coderabbitai resume to resume the paused reviews.
  • @coderabbitai review to trigger a review. This is useful when automatic reviews are disabled for the repository.
  • @coderabbitai resolve resolve all the CodeRabbit review comments.
  • @coderabbitai help to get help.

Note: For conversation with the bot, please use the review comments on code diffs or files.

CodeRabbit Configration File (.coderabbit.yaml)

  • You can programmatically configure CodeRabbit by adding a .coderabbit.yaml file to the root of your repository.
  • The JSON schema for the configuration file is available here.
  • If your editor has YAML language server enabled, you can add the path at the top of this file to enable auto-completion and validation: # yaml-language-server: $schema=https://coderabbit.ai/integrations/coderabbit-overrides.v2.json

@renovate renovate bot force-pushed the renovate/rubocop-1.x-lockfile branch from dd18a43 to ba0e243 Compare December 11, 2023 11:23
@renovate renovate bot changed the title Update dependency rubocop to v1.58.0 Update dependency rubocop to v1.59.0 Dec 11, 2023
@renovate renovate bot merged commit 9133cee into main Dec 11, 2023
6 of 7 checks passed
@renovate renovate bot deleted the renovate/rubocop-1.x-lockfile branch December 11, 2023 11:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

0 participants