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 ~> 1.26.0 to ~> 1.27.0 #1721

Closed
wants to merge 1 commit into from

Conversation

dependabot[bot]
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Apr 11, 2022

Updates the requirements on rubocop to permit the latest version.

Release notes

Sourced from rubocop's releases.

RuboCop 1.27

New features

Bug fixes

  • #10464: Fix an incorrect autocorrect for Lint/IncompatibleIoSelectWithFiberScheduler when using IO.select with read (or write) argument and using return value. (@​koic)
  • #10506: Fix an error for Style/RaiseArgs when raise with new method without receiver. (@​koic)
  • #10479: Fix a false positive for Lint/ShadowingOuterLocalVariable conditional statement and block variable. (@​ydah)
  • #10189: Fix --display-style-guide so it works together with --format offenses. (@​jonas054)
  • #10465: Fix false positive for Naming/BlockForwarding when the block argument is assigned. (@​dvandersluis)
  • #10491: Improve the handling of comments in Lint/EmptyConditionalBody, Lint/EmptyInPattern and Lint/EmptyWhen when AllowComments is set to true. (@​Darhazer)
  • #10504: Fix a false positive for Lint/UnusedMethodArgument when using raise NotImplementedError with optional arguments. (@​koic)
  • #10494: Fix a false positive for Style/HashSyntax when return with one line if condition follows (without parentheses). (@​koic)
  • #10311: Fix false negative inside do..end for Layout/RedundantLineBreak. (@​jonas054)
  • #10468: Fix a false positive for Style/FileWrite when a splat argument is passed to f.write. (@​koic)
  • #10474: Fix a false positive for Style/DoubleNegation with EnforcedStyle: allowed_in_returns when inside returned conditional clauses. (@​ydah)
  • #10388: Fix an incorrectly adds a disable statement for Layout/SpaceInsideArrayLiteralBrackets with --disable-uncorrectable. (@​ydah)
  • #10489: Fix a false positive for Lint/LambdaWithoutLiteralBlock when using lambda with a symbol proc. (@​koic)

Changes

  • #10191: Add MaxChainLength option to Style/SafeNavigation and the option is 2 by default. (@​ydah)
Changelog

Sourced from rubocop's changelog.

1.27.0 (2022-04-08)

New features

  • #10500: Add new Lint/RefinementImportMethods cop. ([@​koic][])
  • #10438: Add new Style/RedundantInitialize cop to check for unnecessary initialize methods. ([@​dvandersluis][])

Bug fixes

  • #10464: Fix an incorrect autocorrect for Lint/IncompatibleIoSelectWithFiberScheduler when using IO.select with read (or write) argument and using return value. ([@​koic][])
  • #10506: Fix an error for Style/RaiseArgs when raise with new method without receiver. ([@​koic][])
  • #10479: Fix a false positive for Lint/ShadowingOuterLocalVariable conditional statement and block variable. ([@​ydah][])
  • #10189: Fix --display-style-guide so it works together with --format offenses. ([@​jonas054][])
  • #10465: Fix false positive for Naming/BlockForwarding when the block argument is assigned. ([@​dvandersluis][])
  • #10491: Improve the handling of comments in Lint/EmptyConditionalBody, Lint/EmptyInPattern and Lint/EmptyWhen when AllowComments is set to true. ([@​Darhazer][])
  • #10504: Fix a false positive for Lint/UnusedMethodArgument when using raise NotImplementedError with optional arguments. ([@​koic][])
  • #10494: Fix a false positive for Style/HashSyntax when return with one line if condition follows (without parentheses). ([@​koic][])
  • #10311: Fix false negative inside do..end for Layout/RedundantLineBreak. ([@​jonas054][])
  • #10468: Fix a false positive for Style/FileWrite when a splat argument is passed to f.write. ([@​koic][])
  • #10474: Fix a false positive for Style/DoubleNegation with EnforcedStyle: allowed_in_returns when inside returned conditional clauses. ([@​ydah][])
  • #10388: Fix an incorrectly adds a disable statement for Layout/SpaceInsideArrayLiteralBrackets with --disable-uncorrectable. ([@​ydah][])
  • #10489: Fix a false positive for Lint/LambdaWithoutLiteralBlock when using lambda with a symbol proc. ([@​koic][])

Changes

  • #10191: Add MaxChainLength option to Style/SafeNavigation and the option is 2 by default. ([@​ydah][])

1.26.1 (2022-03-22)

Bug fixes

  • #10375: Fix error for auto-correction of unless/else nested inside each other. ([@​jonas054][])
  • #10457: Make Style/SelectByRegexp aware of ENV const. ([@​koic][])
  • #10462: Fix an incorrect autocorrect for Lint/SymbolConversion when using a quoted symbol key with hash rocket. ([@​koic][])
  • #10456: Fix a false positive for Layout/MultilineMethodCallIndentation when using EnforcedStyle: indented with indented assignment method. ([@​koic][])
  • #10459: Fix a false positive for Layout/LineLength when long URIs in yardoc comments to have titles. ([@​ydah][])
  • #10447: Fix an error for Style/SoleNestedConditional raises exception when inspecting if ... end if .... ([@​ydah][])

1.26.0 (2022-03-09)

New features

Bug fixes

  • #10406: Fix a false positive for Lint/InheritException when inheriting a standard lib exception class that is not a subclass of StandardError. ([@​koic][])
  • #10421: Make Style/DefWithParentheses aware of endless method definition. ([@​koic][])
  • #10401: Fix a false positive for Style/HashSyntax when local variable hash key and hash value are the same. ([@​koic][])

... (truncated)

Commits
  • 72bb04e Cut 1.27.0
  • 4eab5cf Update Changelog
  • cf956fd [Fix #10191] Add MaxChainLength option to Style/SafeNavigation (#10508)
  • e95b933 [Fix #10506] Fix an error for Style/RaiseArgs
  • 253297e [Fix #10504] Fix a false positive for Lint/UnusedMethodArgument
  • 7e148bf Add new Lint/RefinementImportMethods cop
  • b857cab Resolve realpath of the home directory
  • 2c436e4 [Fix #10189] Support --display-style-guide with -f offenses
  • 5c2eb28 [Fix #10388] Fix an incorrectly adds a disable statement for `Layout/SpaceIns...
  • 6ff094b [Fix #10489] Fix a false positive for Lint/LambdaWithoutLiteralBlock
  • 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)

Updates the requirements on [rubocop](https://github.com/rubocop/rubocop) to permit the latest version.
- [Release notes](https://github.com/rubocop/rubocop/releases)
- [Changelog](https://github.com/rubocop/rubocop/blob/master/CHANGELOG.md)
- [Commits](rubocop/rubocop@v1.26.0...v1.27.0)

---
updated-dependencies:
- dependency-name: rubocop
  dependency-type: direct:development
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot bot added dependencies Pull requests that update a dependency file ruby Pull requests that update Ruby code labels Apr 11, 2022
@coveralls
Copy link

coveralls commented Apr 11, 2022

Coverage Status

Coverage remained the same at 85.913% when pulling bbbdf7e on dependabot/bundler/rubocop-tw-1.27.0 into 787e4ce on master.

@dependabot @github
Copy link
Contributor Author

dependabot bot commented on behalf of github Apr 25, 2022

Superseded by #1725.

@dependabot dependabot bot closed this Apr 25, 2022
@dependabot dependabot bot deleted the dependabot/bundler/rubocop-tw-1.27.0 branch April 25, 2022 10:00
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 Pull requests that update Ruby code
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant