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 rubocop requirement from ~> 0.85.1 to ~> 0.86.0 #90

Merged
merged 1 commit into from
Jun 23, 2020

Conversation

dependabot-preview[bot]
Copy link
Contributor

Updates the requirements on rubocop to permit the latest version.

Release notes

Sourced from rubocop's releases.

RuboCop 0.86

New features

  • #8147: Add new Style/RedundantFetchBlock cop. (@fatkodima)
  • #8111: Add auto-correct for Style/StructInheritance. (@tejasbubane)
  • #8113: Let expect_offense templates add variable-length whitespace with _{foo}. (@eugeneius)
  • #8148: Support auto-correction for Style/MultilineTernaryOperator. (@koic)
  • #8151: Support auto-correction for Style/NestedTernaryOperator. (@koic)
  • #8142: Add Lint/ConstantResolution cop. (@robotdana)
  • #8170: Support auto-correction for Lint/RegexpAsCondition. (@koic)
  • #8169: Support auto-correction for Lint/RaiseException. (@koic)

Bug fixes

  • #8132: Fix the problem with Naming/MethodName: EnforcedStyle: camelCase and _ or i variables. (@avrusanov)
  • #8115: Fix false negative for Lint::FormatParameterMismatch when argument contains formatting. (@andrykonchin)
  • #8131: Fix false positive for Style/RedundantRegexpEscape with escaped delimiters. (@owst)
  • #8124: Fix a false positive for Lint/FormatParameterMismatch when using named parameters with escaped %. (@koic)
  • #7979: Fix "uninitialized constant DidYouMean::SpellChecker" exception. (@bquorning)
  • #8098: Fix a false positive for Style/RedundantRegexpCharacterClass when using interpolations. (@owst)
  • #8150: Fix a false positive for Layout/EmptyLinesAroundAttributeAccessor when using attribute accessors in if ... else branches. (@koic)
  • #8179: Fix an infinite correction loop error for Layout/MultilineBlockLayout when missing newline before opening parenthesis ( for block body. (@koic)
  • #8185: Fix a false positive for Style/YodaCondition when interpolation is used on the left hand side. (@koic)

Changes

  • #8146: Use UTC in RuboCop todo file generation. (@mauro-oto)
  • #8149: Cop Metrics/CyclomaticComplexity now counts &., ||=, &&= and blocks known to iterate. Default bumped from 6 to 7. (@marcandre)
  • #8178: Mark unsafe for Lint/RaiseException. (@koic)
Changelog

Sourced from rubocop's changelog.

0.86.0 (2020-06-22)

New features

  • #8147: Add new Style/RedundantFetchBlock cop. ([@fatkodima][])
  • #8111: Add auto-correct for Style/StructInheritance. ([@tejasbubane][])
  • #8113: Let expect_offense templates add variable-length whitespace with _{foo}. ([@eugeneius][])
  • #8148: Support auto-correction for Style/MultilineTernaryOperator. ([@koic][])
  • #8151: Support auto-correction for Style/NestedTernaryOperator. ([@koic][])
  • #8142: Add Lint/ConstantResolution cop. ([@robotdana][])
  • #8170: Support auto-correction for Lint/RegexpAsCondition. ([@koic][])
  • #8169: Support auto-correction for Lint/RaiseException. ([@koic][])

Bug fixes

  • #8132: Fix the problem with Naming/MethodName: EnforcedStyle: camelCase and _ or i variables. ([@avrusanov][])
  • #8115: Fix false negative for Lint::FormatParameterMismatch when argument contains formatting. ([@andrykonchin][])
  • #8131: Fix false positive for Style/RedundantRegexpEscape with escaped delimiters. ([@owst][])
  • #8124: Fix a false positive for Lint/FormatParameterMismatch when using named parameters with escaped %. ([@koic][])
  • #7979: Fix "uninitialized constant DidYouMean::SpellChecker" exception. ([@bquorning][])
  • #8098: Fix a false positive for Style/RedundantRegexpCharacterClass when using interpolations. ([@owst][])
  • #8150: Fix a false positive for Layout/EmptyLinesAroundAttributeAccessor when using attribute accessors in if ... else branches. ([@koic][])
  • #8179: Fix an infinite correction loop error for Layout/MultilineBlockLayout when missing newline before opening parenthesis ( for block body. ([@koic][])
  • #8185: Fix a false positive for Style/YodaCondition when interpolation is used on the left hand side. ([@koic][])

Changes

  • #8146: Use UTC in RuboCop todo file generation. ([@mauro-oto][])
  • #8149: Cop Metrics/CyclomaticComplexity now counts &., ||=, &&= and blocks known to iterate. Default bumped from 6 to 7. ([@marcandre][])
  • #8178: Mark unsafe for Lint/RaiseException. ([@koic][])

0.85.1 (2020-06-07)

Bug fixes

  • #8083: Fix an error for Lint/MixedRegexpCaptureTypes cop when using a regular expression that cannot be processed by regexp_parser gem. ([@koic][])
  • #8081: Fix a false positive for Lint/SuppressedException when empty rescue block in do block. ([@koic][])
  • #8096: Fix a false positive for Lint/SuppressedException when empty rescue block in defs. ([@koic][])
  • #8108: Fix infinite loop in Layout/HeredocIndentation auto-correct. ([@jonas054][])
  • #8042: Fix raising error in Lint::FormatParameterMismatch when it handles invalid format strings and add new offense. ([@andrykonchin][])

0.85.0 (2020-06-01)

New features

  • #6289: Add new CheckDefinitionPathHierarchy option for Naming/FileName. ([@jschneid][])
  • #8055: Add new Style/RedundantRegexpCharacterClass cop. ([@owst][])
  • #8069: New option for expect_offense to help format offense templates. ([@marcandre][])
  • #7908: Add new Style/RedundantRegexpEscape cop. ([@owst][])
  • #7978: Add new option OnlyFor to the Bundler/GemComment cop. ([@ric2b][])
Commits
  • 4d0c7aa Cut RuboCop 0.86
  • 1077d05 Normalize the spelling of auto-correct(ion) in the changelog
  • a75cc8e [Docs] Add a sidebar about gems that were extracted from RuboCop
  • 50bb405 [Fix #8185] Fix a false positive for Style/YodaCondition
  • 3ddca25 Tweak some wording
  • 8c5cbc7 [Fix #8182] Add Readme Badge section to README.md (#8184)
  • 7b0e011 Add new Style/RedundantFetchBlock cop
  • 42a03c3 [Fix #8179] Fix an infinite correction loop for Layout/MultilineBlockLayout
  • d1005ce [Docs] Remove a couple of redundant link tags
  • 0f9c7ea [Docs] Fix a couple of broken links
  • Additional commits viewable in compare view

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)
  • 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 Jun 22, 2020
Updates the requirements on [rubocop](https://github.com/rubocop-hq/rubocop) to permit the latest version.
- [Release notes](https://github.com/rubocop-hq/rubocop/releases)
- [Changelog](https://github.com/rubocop-hq/rubocop/blob/master/CHANGELOG.md)
- [Commits](rubocop/rubocop@v0.85.1...v0.86.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
@tagliala tagliala force-pushed the dependabot/bundler/rubocop-tw-0.86.0 branch from 75baa07 to ab94e81 Compare June 23, 2020 17:52
@coveralls
Copy link

Coverage Status

Coverage remained the same at 100.0% when pulling ab94e81 on dependabot/bundler/rubocop-tw-0.86.0 into 3e8ab01 on master.

@tagliala tagliala merged commit a4d8f81 into master Jun 23, 2020
@dependabot-preview dependabot-preview bot deleted the dependabot/bundler/rubocop-tw-0.86.0 branch June 23, 2020 18:09
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.

2 participants