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 rubocop from 0.91.0 to 0.92.0 #8430

Merged
merged 1 commit into from
Sep 28, 2020

Conversation

dependabot-preview[bot]
Copy link
Contributor

Bumps rubocop from 0.91.0 to 0.92.0.

Release notes

Sourced from rubocop's releases.

RuboCop 0.92

New features

Bug fixes

  • #8774: Fix a false positive for Layout/ArrayAlignment with parallel assignment. (@dvandersluis)

Changes

  • #8785: Update TargetRubyVersion 2.8 to 3.0 (experimental). (@koic)
  • #8650: Faster find of hidden files in TargetFinder class which improves rubocop initial startup speed. (@tleish)
  • #8783: Disable Style/ArrayCoercion cop by default. (@koic)

RuboCop 0.91.1

Bug fixes

  • #8720: Fix an error for Lint/IdentityComparison when calling object_id method without receiver in LHS or RHS. (@koic)
  • #8767: Fix a false positive for Style/RedundantReturn when a rescue has an else clause. (@fatkodima)
  • #8710: Fix a false positive for Layout/RescueEnsureAlignment when Layout/BeginEndAlignment cop is not enabled status. (@koic)
  • #8726: Fix a false positive for Naming/VariableNumber when naming multibyte character variable name. (@koic)
  • #8730: Fix an error for Lint/UselessTimes when there is a blank line in the method definition. (@koic)
  • #8740: Fix a false positive for Style/HashAsLastArrayItem when the hash is in an implicit array. (@dvandersluis)
  • #8739: Fix an error for Lint/UselessTimes when using empty block argument. (@koic)
  • #8742: Fix some assignment counts for Metrics/AbcSize. ([@marcandre][])
  • #8750: Fix an incorrect auto-correct for Style/MultilineWhenThen when line break for multiple condidate values of when statement. (@koic)
  • #8754: Fix an error for Style/RandomWithOffset when using a range with non-integer bounds. ([@eugeneius][])
  • #8756: Fix an infinite loop error for Layout/EmptyLinesAroundAccessModifier with Layout/EmptyLinesAroundBlockBody when using access modifier with block argument. (@koic)
  • #8372: Fix Lint/RedundantCopEnableDirective autocorrection to not leave orphaned empty # rubocop:enable comments. (@dvandersluis)
  • #8372: Fix Lint/RedundantCopDisableDirective autocorrection. (@dvandersluis)
  • #8764: Fix Layout/CaseIndentation not showing the cop name in output messages. (@dvandersluis)
  • #8771: Fix an error for Style/OneLineConditional when using if-then-elsif-then-end. (@koic)
  • #8576: Fix Style/IfUnlessModifier to ignore cop disable comment directives when considering conversion to the modifier form. ([@dsavochkin][])

Changes

  • #8489: Exclude method respond_to_missing? from OptionalBooleanParameter cop. ([@em-gazelle][])
  • #7914: Style/SafeNavigation marked as having unsafe auto-correction. ([@marcandre][])
  • #8749: Disable Style/IpAddresses by default in Gemfile and gemspec files. (@dvandersluis)
Changelog

Sourced from rubocop's changelog.

0.92.0 (2020-09-25)

New features

Bug fixes

  • #8774: Fix a false positive for Layout/ArrayAlignment with parallel assignment. ([@dvandersluis][])

Changes

  • #8785: Update TargetRubyVersion 2.8 to 3.0 (experimental). ([@koic][])
  • #8650: Faster find of hidden files in TargetFinder class which improves rubocop initial startup speed. ([@tleish][])
  • #8783: Disable Style/ArrayCoercion cop by default. ([@koic][])

0.91.1 (2020-09-23)

Bug fixes

  • #8720: Fix an error for Lint/IdentityComparison when calling object_id method without receiver in LHS or RHS. ([@koic][])
  • #8767: Fix a false positive for Style/RedundantReturn when a rescue has an else clause. ([@fatkodima][])
  • #8710: Fix a false positive for Layout/RescueEnsureAlignment when Layout/BeginEndAlignment cop is not enabled status. ([@koic][])
  • #8726: Fix a false positive for Naming/VariableNumber when naming multibyte character variable name. ([@koic][])
  • #8730: Fix an error for Lint/UselessTimes when there is a blank line in the method definition. ([@koic][])
  • #8740: Fix a false positive for Style/HashAsLastArrayItem when the hash is in an implicit array. ([@dvandersluis][])
  • #8739: Fix an error for Lint/UselessTimes when using empty block argument. ([@koic][])
  • #8742: Fix some assignment counts for Metrics/AbcSize. ([@marcandre][])
  • #8750: Fix an incorrect auto-correct for Style/MultilineWhenThen when line break for multiple condidate values of when statement. ([@koic][])
  • #8754: Fix an error for Style/RandomWithOffset when using a range with non-integer bounds. ([@eugeneius][])
  • #8756: Fix an infinite loop error for Layout/EmptyLinesAroundAccessModifier with Layout/EmptyLinesAroundBlockBody when using access modifier with block argument. ([@koic][])
  • #8372: Fix Lint/RedundantCopEnableDirective autocorrection to not leave orphaned empty # rubocop:enable comments. ([@dvandersluis][])
  • #8372: Fix Lint/RedundantCopDisableDirective autocorrection. ([@dvandersluis][])
  • #8764: Fix Layout/CaseIndentation not showing the cop name in output messages. ([@dvandersluis][])
  • #8771: Fix an error for Style/OneLineConditional when using if-then-elsif-then-end. ([@koic][])
  • #8576: Fix Style/IfUnlessModifier to ignore cop disable comment directives when considering conversion to the modifier form. ([@dsavochkin][])

Changes

  • #8489: Exclude method respond_to_missing? from OptionalBooleanParameter cop. ([@em-gazelle][])
  • #7914: Style/SafeNavigation marked as having unsafe auto-correction. ([@marcandre][])
  • #8749: Disable Style/IpAddresses by default in Gemfile and gemspec files. ([@dvandersluis][])
Commits

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 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 the .dependabot/config.yml file in this repo:

  • Update frequency
  • 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 Pull requests that update a dependency file Ruby labels Sep 25, 2020
@gitpod-io
Copy link

gitpod-io bot commented Sep 25, 2020

@codecov
Copy link

codecov bot commented Sep 25, 2020

Codecov Report

Merging #8430 into main will not change coverage.
The diff coverage is n/a.

Impacted file tree graph

@@           Coverage Diff           @@
##             main    #8430   +/-   ##
=======================================
  Coverage   81.87%   81.87%           
=======================================
  Files         101      101           
  Lines        5899     5899           
=======================================
  Hits         4830     4830           
  Misses       1069     1069           

@dependabot-preview dependabot-preview bot merged commit 470c639 into main Sep 28, 2020
@dependabot-preview dependabot-preview bot deleted the dependabot/bundler/rubocop-0.92.0 branch September 28, 2020 12:20
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
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant