jhsu802701 / rubymn2

0 stars 1 forks source link

Bump rubocop from 0.74.0 to 1.14.0 #473

Closed dependabot-preview[bot] closed 3 years ago

dependabot-preview[bot] commented 3 years ago

Bumps rubocop from 0.74.0 to 1.14.0.

Release notes

Sourced from rubocop's releases.

RuboCop 1.14

New features

Bug fixes

  • #9751: Style/StringLiteral doesn't autocorrect global variable interpolation. (@​etiennebarrie)
  • #9731: Fix two autocorrection issues for Style/NegatedIfElseCondition. (@​dvandersluis)
  • #9740: Fix an incorrect auto-correct for Style/SingleLineMethods when defining setter method. (@​koic)
  • #9757: Fix a false positive for Lint/NumberConversion when :to_f is one of multiple method arguments. (@​koic)
  • #9761: Fix Style/ClassAndModuleChildren false negative for compact style when a class/module is partially nested. (@​dvandersluis)
  • #9748: Prevent infinite loops during symlink traversal. (@​Tonkpils)
  • #9762: Update VariableForce to be able to handle case-match nodes. (@​dvandersluis)
  • #9729: Fix an error for Style/IfUnlessModifier when variable assignment is used in the branch body of if modifier. (@​koic)
  • #9750: Fix an incorrect auto-correct for Style/SoleNestedConditional when when using nested if within unless foo == bar. (@​koic)
  • #9751: Style/StringLiteral autocorrects '\\' into "\\". (@​etiennebarrie)
  • #9732: Support deprecated Socket.gethostbyaddr and Socket.gethostbyname. (@​AndreiEres)
  • #9713: Fix autocorrection for block local variables in Lint/UnusedBlockArgument. (@​tejasbubane)
  • #9746: Fix a false positive for Lint/UnreachableLoop when using conditional next in a loop. (@​koic)

RuboCop 1.13

New features

Bug fixes

  • #5576: Fix problem with inherited Include parameters. (@​jonas054)
  • #9690: Fix an incorrect auto-correct for Style/IfUnlessModifier when using a method with heredoc argument. (@​koic)
  • #9681: Fix an incorrect auto-correct for Style/RedundantBegin when using modifier if single statement in begin block. (@​koic)
  • #9698: Fix an error for Style/StructInheritance when extending instance of Struct without do ... end and class body is empty and single line definition. (@​koic)
  • #9700: Avoid warning about Ruby version mismatch. ([@​marcandre][])
  • #9636: Resolve symlinks when excluding directories. ([@​ob-stripe][])
  • #9707: Fix false positive for Style/MethodCallWithArgsParentheses with omit_parentheses style on an endless defs node. (@​dvandersluis)
  • #9689: Treat parens around array items the same for children and deeper descendants. (@​dvandersluis)

... (truncated)

Changelog

Sourced from rubocop's changelog.

1.14.0 (2021-05-05)

New features

Bug fixes

  • #9751: Style/StringLiteral doesn't autocorrect global variable interpolation. ([@​etiennebarrie][])
  • #9731: Fix two autocorrection issues for Style/NegatedIfElseCondition. ([@​dvandersluis][])
  • #9740: Fix an incorrect auto-correct for Style/SingleLineMethods when defining setter method. ([@​koic][])
  • #9757: Fix a false positive for Lint/NumberConversion when :to_f is one of multiple method arguments. ([@​koic][])
  • #9761: Fix Style/ClassAndModuleChildren false negative for compact style when a class/module is partially nested. ([@​dvandersluis][])
  • #9748: Prevent infinite loops during symlink traversal. ([@​Tonkpils][])
  • #9762: Update VariableForce to be able to handle case-match nodes. ([@​dvandersluis][])
  • #9729: Fix an error for Style/IfUnlessModifier when variable assignment is used in the branch body of if modifier. ([@​koic][])
  • #9750: Fix an incorrect auto-correct for Style/SoleNestedConditional when when using nested if within unless foo == bar. ([@​koic][])
  • #9751: Style/StringLiteral autocorrects '\\' into "\\". ([@​etiennebarrie][])
  • #9732: Support deprecated Socket.gethostbyaddr and Socket.gethostbyname. ([@​AndreiEres][])
  • #9713: Fix autocorrection for block local variables in Lint/UnusedBlockArgument. ([@​tejasbubane][])
  • #9746: Fix a false positive for Lint/UnreachableLoop when using conditional next in a loop. ([@​koic][])

1.13.0 (2021-04-20)

New features

Bug fixes

  • #5576: Fix problem with inherited Include parameters. ([@​jonas054][])
  • #9690: Fix an incorrect auto-correct for Style/IfUnlessModifier when using a method with heredoc argument. ([@​koic][])
  • #9681: Fix an incorrect auto-correct for Style/RedundantBegin when using modifier if single statement in begin block. ([@​koic][])
  • #9698: Fix an error for Style/StructInheritance when extending instance of Struct without do ... end and class body is empty and single line definition. ([@​koic][])
  • #9700: Avoid warning about Ruby version mismatch. ([@​marcandre][])
  • #9636: Resolve symlinks when excluding directories. ([@​ob-stripe][])
  • #9707: Fix false positive for Style/MethodCallWithArgsParentheses with omit_parentheses style on an endless defs node. ([@​dvandersluis][])
  • #9689: Treat parens around array items the same for children and deeper descendants. ([@​dvandersluis][])
  • #9676: Fix an error for Style/StringChars when using split without parentheses. ([@​koic][])
  • #9712: Fix an incorrect auto-correct for Style/HashConversion when Hash[] as a method argument without parentheses. ([@​koic][])
  • #9704: Fix an incorrect auto-correct for Style/SingleLineMethods when single line method call without parentheses. ([@​koic][])
  • #9683: Fix an incorrect auto-correct for Style/HashConversion when using zip method without argument in Hash[]. ([@​koic][])
  • #9715: Fix an incorrect auto-correct for EnforcedStyle: require_parentheses of Style/MethodCallWithArgsParentheses with Style/RescueModifier. ([@​koic][])

Changes

... (truncated)

Commits
  • 2283fe4 Cut 1.14
  • 9421ac0 Update Changelog
  • 762655e [Fix #7669] Add Bundler/GemVersion cop (#9727)
  • 8384d34 [Fix #9761] Fix Style/ClassAndModuleChildren false negative for compact s...
  • d0df484 Merge pull request #9764 from dvandersluis/issue/9762
  • 8f00479 [Fix #9762] Update VariableForce to be able to handle case-match nodes.
  • c165e90 Don't autocorrect global variable interpolation
  • c5f7dd6 Autocorrect '\' when double-quotes are preferred
  • 22274c6 Prevent infinite loops during symlink traversal
  • 2c39d51 Add changelog
  • 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 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) - `@dependabot use these labels` will set the current labels as the default for future PRs for this repo and language - `@dependabot use these reviewers` will set the current reviewers as the default for future PRs for this repo and language - `@dependabot use these assignees` will set the current assignees as the default for future PRs for this repo and language - `@dependabot use this milestone` will set the current milestone as the default for future PRs for this repo and language - `@dependabot badge me` will comment on this PR with code to add a "Dependabot enabled" badge to your readme Additionally, you can set the following in your Dependabot [dashboard](https://app.dependabot.com): - Update frequency (including time of day and day of week) - Pull request limits (per update run and/or open at any time) - Automerge options (never/patch/minor, and dev/runtime dependencies) - Out-of-range updates (receive only lockfile updates, if desired) - Security updates (receive only security updates, if desired)
codecov-commenter commented 3 years ago

Codecov Report

Merging #473 (2b84dd0) into main (aeef71f) will not change coverage. The diff coverage is n/a.

Impacted file tree graph

@@           Coverage Diff           @@
##             main     #473   +/-   ##
=======================================
  Coverage   96.88%   96.88%           
=======================================
  Files          30       30           
  Lines         450      450           
=======================================
  Hits          436      436           
  Misses         14       14           

Continue to review full report at Codecov.

Legend - Click here to learn more Δ = absolute <relative> (impact), ø = not affected, ? = missing data Powered by Codecov. Last update aeef71f...2b84dd0. Read the comment docs.

dependabot-preview[bot] commented 3 years ago

Superseded by #479.