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

build(deps): bump rubocop from 0.89.1 to 0.90.0 in /Library/Homebrew #8556

Merged

Conversation

dependabot-preview[bot]
Copy link
Contributor

Bumps rubocop from 0.89.1 to 0.90.0.

Release notes

Sourced from rubocop's releases.

RuboCop 0.90

New features

Bug fixes

  • #8508: Fix a false positive for Style/CaseLikeIf when conditional contains comparison with a class. Mark Style/CaseLikeIf as not safe. (@fatkodima)
  • #8618: Fix an infinite loop error for Layout/EmptyLineBetweenDefs. (@fatkodima)
  • #8534: Fix Lint/BinaryOperatorWithIdenticalOperands for binary operators used as unary operators. (@marcandre)
  • #8537: Allow a trailing comment as a description comment for Bundler/GemComment. (@pocke)
  • #8507: Fix Style/RescueModifier to handle parentheses around rescue modifiers. (@dsavochkin)
  • #8527: Prevent an incorrect auto-correction for Style/CaseEquality cop when comparing with === against a regular expression receiver. ([@koic][])
  • #8524: Fix Layout/EmptyLinesAroundClassBody and Layout/EmptyLinesAroundModuleBody to correctly handle an access modifier as a first child. (@dsavochkin)
  • #8518: Fix Lint/ConstantResolution cop reporting offense for module and class definitions. ([@tejasbubane][])
  • #8158: Fix Style/MultilineWhenThen cop to correctly handle cases with multiline body. (@dsavochkin)
  • #7705: Fix Style/OneLineConditional cop to handle if/then/elsif/then/else/end cases. Add AlwaysCorrectToMultiline config option to this cop to always convert offenses to the multi-line form (false by default). ([@Lykos][], @dsavochkin)
  • #8590: Fix an error when auto-correcting encoding mismatch file. ([@koic][])
  • #8321: Enable auto-correction for Layout/{Def}EndAlignment, Lint/EmptyEnsure, Style/ClassAndModuleChildren. (@marcandre)
  • #8583: Fix Style/RedundantRegexpEscape false positive for line continuations. ([@owst][])
  • #8593: Fix Style/RedundantRegexpCharacterClass false positive for interpolated multi-line expressions. ([@owst][])
  • #8624: Fix an error with the Style/CaseLikeIf cop where it does not properly handle overridden equality methods with no arguments. ([@Skipants][])

Changes

  • #8413: Pending cops warning now contains snippet that can be directly copied into .rubocop.yml as well as a notice about NewCops: enable config option. ([@colszowka][])
  • #8362: Add numbers of correctable offenses to summary. ([@nguyenquangminh0711][])
  • #8513: Clarify the ruby warning mentioned in the Lint/ShadowingOuterLocalVariable documentation. ([@chocolateboy][])
  • #8517: Make Style/HashTransformKeys and Style/HashTransformValues aware of to_h with block. ([@eugeneius][])
  • #8529: Mark Lint/FrozenStringLiteralComment as Safe, but with unsafe auto-correction. (@marcandre)
  • #8602: Fix usage of to_enum(:scan, regexp) to work on TruffleRuby. ([@jaimerave][])
Changelog

Sourced from rubocop's changelog.

0.90.0 (2020-09-01)

New features

Bug fixes

  • #8508: Fix a false positive for Style/CaseLikeIf when conditional contains comparison with a class. Mark Style/CaseLikeIf as not safe. ([@fatkodima][])
  • #8618: Fix an infinite loop error for Layout/EmptyLineBetweenDefs. ([@fatkodima][])
  • #8534: Fix Lint/BinaryOperatorWithIdenticalOperands for binary operators used as unary operators. ([@marcandre][])
  • #8537: Allow a trailing comment as a description comment for Bundler/GemComment. ([@pocke][])
  • #8507: Fix Style/RescueModifier to handle parentheses around rescue modifiers. ([@dsavochkin][])
  • #8527: Prevent an incorrect auto-correction for Style/CaseEquality cop when comparing with === against a regular expression receiver. ([@koic][])
  • #8524: Fix Layout/EmptyLinesAroundClassBody and Layout/EmptyLinesAroundModuleBody to correctly handle an access modifier as a first child. ([@dsavochkin][])
  • #8518: Fix Lint/ConstantResolution cop reporting offense for module and class definitions. ([@tejasbubane][])
  • #8158: Fix Style/MultilineWhenThen cop to correctly handle cases with multiline body. ([@dsavochkin][])
  • #7705: Fix Style/OneLineConditional cop to handle if/then/elsif/then/else/end cases. Add AlwaysCorrectToMultiline config option to this cop to always convert offenses to the multi-line form (false by default). ([@Lykos][], [@dsavochkin][])
  • #8590: Fix an error when auto-correcting encoding mismatch file. ([@koic][])
  • #8321: Enable auto-correction for Layout/{Def}EndAlignment, Lint/EmptyEnsure, Style/ClassAndModuleChildren. ([@marcandre][])
  • #8583: Fix Style/RedundantRegexpEscape false positive for line continuations. ([@owst][])
  • #8593: Fix Style/RedundantRegexpCharacterClass false positive for interpolated multi-line expressions. ([@owst][])
  • #8624: Fix an error with the Style/CaseLikeIf cop where it does not properly handle overridden equality methods with no arguments. ([@Skipants][])

Changes

  • #8413: Pending cops warning now contains snippet that can be directly copied into .rubocop.yml as well as a notice about NewCops: enable config option. ([@colszowka][])
  • #8362: Add numbers of correctable offenses to summary. ([@nguyenquangminh0711][])
  • #8513: Clarify the ruby warning mentioned in the Lint/ShadowingOuterLocalVariable documentation. ([@chocolateboy][])
  • #8517: Make Style/HashTransformKeys and Style/HashTransformValues aware of to_h with block. ([@eugeneius][])
  • #8529: Mark Lint/FrozenStringLiteralComment as Safe, but with unsafe auto-correction. ([@marcandre][])
  • #8602: Fix usage of to_enum(:scan, regexp) to work on TruffleRuby. ([@jaimerave][])
Commits
  • 95305ff Cut 0.90
  • eb04490 Merge pull request #8595 from marcandre/struct_autocorrect
  • 71c4818 Merge branch 'master' into struct_autocorrect
  • 6d781b0 Revert "Mark Cops and Formatters as private"
  • f69a7a8 Merge pull request #8624 from Skipants/master
  • f877e02 Fix Style/CaseLikeIf not properly handling overriden equality methods
  • 6cab599 Add workaround to avoid crash in Truffleruby (#8602)
  • 2b7607c Fix an infinite loop error for Layout/EmptyLineBetweenDefs
  • 31a921d Use Cop::Base API for Layout department [T-Z]
  • 6c05f69 Use Cop::Base API for Layout department [N-S]
  • 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:

  • 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 Bumping Gemfile dependencies ruby Pull requests that update Ruby code labels Sep 1, 2020
MikeMcQuaid added a commit to Homebrew/homebrew-core that referenced this pull request Sep 1, 2020
Cleanup the code and remove some unused requires.

Needed for Homebrew/brew#8556.
@MikeMcQuaid MikeMcQuaid force-pushed the dependabot/bundler/Library/Homebrew/rubocop-0.90.0 branch 2 times, most recently from eff1d01 to faa21f3 Compare September 1, 2020 13:05
@MikeMcQuaid MikeMcQuaid force-pushed the dependabot/bundler/Library/Homebrew/rubocop-0.90.0 branch from faa21f3 to 8b97c27 Compare September 1, 2020 13:52
@MikeMcQuaid MikeMcQuaid merged commit 2b4f364 into master Sep 1, 2020
@MikeMcQuaid MikeMcQuaid deleted the dependabot/bundler/Library/Homebrew/rubocop-0.90.0 branch September 1, 2020 15:03
@BrewTestBot BrewTestBot added the outdated PR was locked due to age label Dec 14, 2020
@Homebrew Homebrew locked as resolved and limited conversation to collaborators Dec 14, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
dependencies Bumping Gemfile dependencies outdated PR was locked due to age ruby Pull requests that update Ruby code
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants