Skip to content

Conversation

@dependabot
Copy link

@dependabot dependabot bot commented on behalf of github Jun 7, 2021

Bumps rubocop from 1.12.0 to 1.16.0.

Release notes

Sourced from rubocop's releases.

RuboCop 1.16

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)
  • #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)

Changes

  • #9809: Change Lint/SymbolConversion to only quote with double quotes, since Style/QuotedSymbols can now correct those to the correct quotes as per configuration. (@​dvandersluis)

RuboCop 1.15

New features

Bug fixes

  • #9749: Fix autocorrection for Layout/LineLength to not move the first argument of an unparenthesized send node to the next line, which changes behaviour. (@​dvandersluis)
  • #9799: Fix invalid line splitting by Layout/LineLength for send nodes with heredoc arguments. (@​dvandersluis)
  • #9773: Fix Style/EmptyLiteral to not register offenses for String.new when Style/FrozenStringLiteral is enabled. (@​dvandersluis)
  • #9771: Change AllowDSLWriters to true by default for Style/TrivialAccessors. (@​koic)
  • #9777: Fix an incorrect auto-correct for Style/RedundantBegin when using multi-line if in begin block. (@​koic)
  • #9791: Fix a false negative for Layout/IndentationWidth when using ensure in do ... end block. (@​koic)
  • #9766: Fix a clobbering error for Style/ClassAndModuleChildren cop with compact style. ([@​tejasbubane][])
  • #9767: Fix Style/ClassAndModuleChildren cop to preserve comments. ([@​tejasbubane][])
  • #9792: Fix false positive for Lint/Void cop with ranges. ([@​tejasbubane][])

Changes

... (truncated)

Changelog

Sourced from rubocop's changelog.

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][])
  • #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][])

Changes

  • #9809: Change Lint/SymbolConversion to only quote with double quotes, since Style/QuotedSymbols can now correct those to the correct quotes as per configuration. ([@​dvandersluis][])

1.15.0 (2021-05-17)

New features

Bug fixes

  • #9749: Fix autocorrection for Layout/LineLength to not move the first argument of an unparenthesized send node to the next line, which changes behaviour. ([@​dvandersluis][])
  • #9799: Fix invalid line splitting by Layout/LineLength for send nodes with heredoc arguments. ([@​dvandersluis][])
  • #9773: Fix Style/EmptyLiteral to not register offenses for String.new when Style/FrozenStringLiteral is enabled. ([@​dvandersluis][])
  • #9771: Change AllowDSLWriters to true by default for Style/TrivialAccessors. ([@​koic][])
  • #9777: Fix an incorrect auto-correct for Style/RedundantBegin when using multi-line if in begin block. ([@​koic][])
  • #9791: Fix a false negative for Layout/IndentationWidth when using ensure in do ... end block. ([@​koic][])
  • #9766: Fix a clobbering error for Style/ClassAndModuleChildren cop with compact style. ([@​tejasbubane][])
  • #9767: Fix Style/ClassAndModuleChildren cop to preserve comments. ([@​tejasbubane][])
  • #9792: Fix false positive for Lint/Void cop with ranges. ([@​tejasbubane][])

Changes

  • #9770: Update Lint/EmptyBlock to handle procs the same way as lambdas. ([@​dvandersluis][])
  • #9776: Update Style/NilLambda to handle procs as well. ([@​dvandersluis][])
  • #9744: The parallel flag will now be automatically ignored when combined with --cache false. Previously, an error was raised and execution stopped. ([@​rrosenblum][])

... (truncated)

Commits
  • 68cd82e Cut 1.16
  • 31e2bd2 Update Changelog
  • 40e9f30 Support Ruby 2.7's pattern matching for Layout/SpaceAroundKeyword
  • 6dfcb7a [Fix #9839] Add AllowedReceivers option for Style/HashEachMethods
  • 73575d1 [Fix #9836] Fix incorrect corrections for Layout/HashAlignment when a `kwsp...
  • 3d2354c Support Ruby 2.7's pattern matching syntax for Layout/SpaceAroundKeyword
  • b47de70 Add new Style/MultilineInPatternThen cop
  • c95a145 Add new Style/InPatternThen cop
  • 9cb3e05 Support auto-correction for Style/IdenticalConditionalBranches
  • 2b27105 Add new Lint/EmptyInPattern cop
  • 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)

Bumps [rubocop](https://github.com/rubocop/rubocop) from 1.12.0 to 1.16.0.
- [Release notes](https://github.com/rubocop/rubocop/releases)
- [Changelog](https://github.com/rubocop/rubocop/blob/master/CHANGELOG.md)
- [Commits](rubocop/rubocop@v1.12.0...v1.16.0)

---
updated-dependencies:
- dependency-name: rubocop
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot @github
Copy link
Author

dependabot bot commented on behalf of github Jun 7, 2021

The following labels could not be found: c: dependencies.

@dependabot @github
Copy link
Author

dependabot bot commented on behalf of github Jun 14, 2021

Superseded by #12.

@dependabot dependabot bot closed this Jun 14, 2021
@dependabot dependabot bot deleted the dependabot/bundler/rubocop-1.16.0 branch June 14, 2021 06:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant