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.59 to ~> 1.17 #92

Closed

Conversation

dependabot-preview[bot]
Copy link

Updates the requirements on rubocop to permit the latest version.

Release notes

Sourced from rubocop's releases.

RuboCop 1.17

New features

  • #9626: Disable all cop department with directive comment. (@​AndreiEres)
  • #9827: Add basic auth support to download raw yml config from private repo. (@​AirWick219)
  • #9873: Support one-line pattern matching syntax for Layout/SpaceAroundKeyword and Layout/SpaceAroundOperators. (@​koic)
  • #9857: Support Ruby 2.7's pattern matching for Layout/IndentationWidth cop. (@​koic)
  • #9877: Support Ruby 2.7's in pattern syntax for Lint/LiteralAsCondition. (@​koic)
  • #9855: Support Ruby 2.7's pattern matching for Style/IdenticalConditionalBranches cop. (@​koic)

Bug fixes

  • #9874: Fix a false positive for Style/RegexpLiteral when using %r regexp literal with EnforcedStyle: omit_parentheses of Style/MethodCallWithArgsParentheses. (@​koic)
  • #9876: Fix empty line after guard clause with and return and heredoc. (@​AndreiEres)
  • #9861: Fix error in Layout/HashAlignment with an empty hash literal. (@​dvandersluis)
  • #9867: Fix an incorrect auto-correct for Layout/DotPosition when using only dot line. (@​koic)
Changelog

Sourced from rubocop's changelog.

1.17.0 (2021-06-15)

New features

  • #9626: Disable all cop department with directive comment. ([@​AndreiEres][])
  • #9827: Add basic auth support to download raw yml config from private repo. ([@​AirWick219][])
  • #9873: Support one-line pattern matching syntax for Layout/SpaceAroundKeyword and Layout/SpaceAroundOperators. ([@​koic][])
  • #9857: Support Ruby 2.7's pattern matching for Layout/IndentationWidth cop. ([@​koic][])
  • #9877: Support Ruby 2.7's in pattern syntax for Lint/LiteralAsCondition. ([@​koic][])
  • #9855: Support Ruby 2.7's pattern matching for Style/IdenticalConditionalBranches cop. ([@​koic][])

Bug fixes

  • #9874: Fix a false positive for Style/RegexpLiteral when using %r regexp literal with EnforcedStyle: omit_parentheses of Style/MethodCallWithArgsParentheses. ([@​koic][])
  • #9876: Fix empty line after guard clause with and return and heredoc. ([@​AndreiEres][])
  • #9861: Fix error in Layout/HashAlignment with an empty hash literal. ([@​dvandersluis][])
  • #9867: Fix an incorrect auto-correct for Layout/DotPosition when using only dot line. ([@​koic][])

1.16.1 (2021-06-09)

Bug fixes

  • #9843: Fix Style/RedundantSelf to allow conditional nodes to use self in the condition when a variable named is shadowed inside. ([@​dvandersluis][])
  • #9845: Fix Style/QuotedSymbols for hash-rocket hashes. ([@​dvandersluis][])
  • #9849: Fix a false negative for Layout/HashAlignment when setting EnforcedStyle: with_fixed_indentation of Layout/ArgumentAlignment and using misaligned keyword arguments. ([@​koic][])
  • #9854: Allow braced numeric blocks in omit_parentheses style of Style/MethodCallWithArgsParentheses. ([@​gsamokovarov][])
  • #9850: Fix missing AllowComments option for Lint/EmptyInPattern. ([@​koic][])

1.16.0 (2021-06-01)

New features

  • #9841: Support guard if and unless syntax keywords of Ruby 2.7's pattern matching for Layout/SpaceAroundKeyword. ([@​koic][])
  • #9812: Support auto-correction for Style/IdenticalConditionalBranches. ([@​koic][])
  • #9833: Add new Style/InPatternThen cop. ([@​koic][])
  • #9840: Adds AllowedReceivers option for Style/HashEachMethods. ([@​koic][])
  • #9818: Support Ruby 2.7's in pattern syntax for Layout/CaseIndentation. ([@​koic][])
  • #9838: Support Ruby 2.7's pattern matching syntax for Layout/SpaceAroundKeyword. ([@​koic][])
  • #9793: Add Style/QuotedSymbols to enforce consistency in quoted symbols. ([@​dvandersluis][])
  • #9825: Add new Lint/EmptyInPattern cop. ([@​koic][])
  • #9834: Add new Style/MultilineInPatternThen cop. ([@​koic][])

Bug fixes

  • #9822: Fix a false directive comment range for Lint/RedundantCopDisableDirective. ([@​koic][])
  • #9819: Fix a false negative for Style/TopLevelMethodDefinition when defining a top-level method after a class definition. ([@​koic][])
  • #9836: Fix incorrect corrections for Layout/HashAlignment when a kwsplat node is on the same line as a pair node with table style. ([@​dvandersluis][])
  • #9805: Fix a false negative for Layout/HashAlignment when set EnforcedStyle: with_fixed_indentation of ArgumentAlignment. ([@​koic][])
  • #9811: Fix an error for Layout/ArgumentAlignment with Layout/FirstHashElementIndentation when setting EnforcedStyle: with_fixed_indentation. ([@​koic][])

... (truncated)

Commits
  • 0f4e3d1 Cut 1.17
  • 44e1970 Update Changelog
  • 956a9b1 Merge pull request #9878 from koic/fix_false_positive_for_style_regexp_literal
  • 7cf773e [Fix #9874] Fix a false positive for Style/RegexpLiteral
  • 76fc82b Fix empty line after guard clause with and return and heredoc
  • f313e6f [Fix #9519] Make it possible to disable an entire department with a directive...
  • 2815917 Support Ruby 2.7's in pattern syntax for Lint/LiteralAsCondition
  • 4fed3f7 Support one-line pattern matching syntax
  • 40ecfcf Use Cop::Base API for Layout/RedundantLineBreak
  • 9584b01 Clarify that you can raise exceptions without arguments
  • 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)
  • 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)

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@v0.59.0...v1.17.0)

Signed-off-by: dependabot-preview[bot] <[email protected]>
@codeclimate
Copy link

codeclimate bot commented Jun 15, 2021

Code Climate has analyzed commit 4c02666 and detected 0 issues on this pull request.

View more on Code Climate.

@dependabot-preview
Copy link
Author

Superseded by #93.

@dependabot-preview dependabot-preview bot deleted the dependabot/bundler/rubocop-tw-1.17 branch June 29, 2021 16:15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

0 participants