Skip to content
This repository has been archived by the owner on May 18, 2021. It is now read-only.

Bump rubocop from 1.3.1 to 1.15.0 #212

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

dependabot-preview[bot]
Copy link
Contributor

Bumps rubocop from 1.3.1 to 1.15.0.

Release notes

Sourced from rubocop's releases.

RuboCop 1.15

New features

Bug fixes

  • #9749: Fix autocorrection for Layout/LineLength to not move the first argument of an unparenthesized send node to the next line, which changes behaviour. (@​dvandersluis)
  • #9799: Fix invalid line splitting by Layout/LineLength for send nodes with heredoc arguments. (@​dvandersluis)
  • #9773: Fix Style/EmptyLiteral to not register offenses for String.new when Style/FrozenStringLiteral is enabled. (@​dvandersluis)
  • #9771: Change AllowDSLWriters to true by default for Style/TrivialAccessors. (@​koic)
  • #9777: Fix an incorrect auto-correct for Style/RedundantBegin when using multi-line if in begin block. (@​koic)
  • #9791: Fix a false negative for Layout/IndentationWidth when using ensure in do ... end block. (@​koic)
  • #9766: Fix a clobbering error for Style/ClassAndModuleChildren cop with compact style. (@​tejasbubane)
  • #9767: Fix Style/ClassAndModuleChildren cop to preserve comments. (@​tejasbubane)
  • #9792: Fix false positive for Lint/Void cop with ranges. (@​tejasbubane)

Changes

  • #9770: Update Lint/EmptyBlock to handle procs the same way as lambdas. (@​dvandersluis)
  • #9776: Update Style/NilLambda to handle procs as well. (@​dvandersluis)
  • #9744: The parallel flag will now be automatically ignored when combined with --cache false. Previously, an error was raised and execution stopped. (@​rrosenblum)

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][])

... (truncated)

Changelog

Sourced from rubocop's changelog.

1.15.0 (2021-05-17)

New features

Bug fixes

  • #9749: Fix autocorrection for Layout/LineLength to not move the first argument of an unparenthesized send node to the next line, which changes behaviour. ([@​dvandersluis][])
  • #9799: Fix invalid line splitting by Layout/LineLength for send nodes with heredoc arguments. ([@​dvandersluis][])
  • #9773: Fix Style/EmptyLiteral to not register offenses for String.new when Style/FrozenStringLiteral is enabled. ([@​dvandersluis][])
  • #9771: Change AllowDSLWriters to true by default for Style/TrivialAccessors. ([@​koic][])
  • #9777: Fix an incorrect auto-correct for Style/RedundantBegin when using multi-line if in begin block. ([@​koic][])
  • #9791: Fix a false negative for Layout/IndentationWidth when using ensure in do ... end block. ([@​koic][])
  • #9766: Fix a clobbering error for Style/ClassAndModuleChildren cop with compact style. ([@​tejasbubane][])
  • #9767: Fix Style/ClassAndModuleChildren cop to preserve comments. ([@​tejasbubane][])
  • #9792: Fix false positive for Lint/Void cop with ranges. ([@​tejasbubane][])

Changes

  • #9770: Update Lint/EmptyBlock to handle procs the same way as lambdas. ([@​dvandersluis][])
  • #9776: Update Style/NilLambda to handle procs as well. ([@​dvandersluis][])
  • #9744: The parallel flag will now be automatically ignored when combined with --cache false. Previously, an error was raised and execution stopped. ([@​rrosenblum][])

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][])

... (truncated)

Commits
  • 9c9b891 Cut 1.15
  • b92be6a Update Changelog
  • eecc7c8 Tweak some wording
  • b3e567c [Fix #9767] Fix Style/ClassAndModuleChildren cop to preserve comments
  • dca0471 [Change #9744] Auto disable parallel when combined with cache false
  • 40d0970 [Fix #9792] Fix false positive for Lint/Void cop
  • 4f13546 Merge pull request #9801 from dvandersluis/issue/9749
  • fcde5d7 Merge pull request #9800 from dvandersluis/issue/9799
  • 60834d4 [Fix #9749] Fix autocorrection for Layout/LineLength to not move the first ...
  • 1d81c00 [Fix #9799] Fix invalid line splitting by Layout/LineLength for send node...
  • 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.

If all status checks pass Dependabot will automatically merge this pull request.


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:

  • 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)

@dependabot-preview dependabot-preview bot added dependencies ruby Pull requests that update Ruby code labels May 18, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
dependencies ruby Pull requests that update Ruby code
Projects
None yet
Development

Successfully merging this pull request may close these issues.

0 participants