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.23.0 to ~> 1.24.0 #597

Merged
merged 3 commits into from
Feb 9, 2022

Conversation

dependabot[bot]
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Dec 27, 2021

Updates the requirements on rubocop to permit the latest version.

Release notes

Sourced from rubocop's releases.

RuboCop 1.24

New features

  • #10279: Support Ruby 3.1's anonymous block forwarding syntax. (@​koic)
  • #10295: Support Ruby 3.1's hash value omission syntax for Layout/HashAlignment. (@​koic)
  • #10303: Add AllowedNumbers option to Style/NumericLiterals. (@​koic)
  • #10290: Add new Naming/BlockForwarding cop. (@​koic)
  • #10289: Add EnforcedShorthandSyntax option to Style/HashSyntax cop to support Ruby 3.1's hash value omission syntax by default. (@​koic)
  • #10257: Add new Style/MapToHash cop. (@​dvandersluis)
  • #10261: Add new Style/FileRead cop. (@​leoarnold)
  • #10291: Support Ruby 3.1's hash value omission syntax for Layout/SpaceAfterColon. (@​koic)
  • #10260: Add new Style/FileWrite cop. (@​leoarnold)
  • #10307: Support Ruby 2.7's numbered parameter for Metrics/BlockLength, Metrics/ClassLength, Metrics/MethodLength, and Metrics/ModuleLength cops. (@​koic)
  • #7671: Add cli option --show-docs-url to print out documentation url for given cops. (@​HeroProtagonist)
  • #10308: Make Style/CollectionCompact aware of block pass argument. (@​koic)

Bug fixes

  • #10285: Fix an incorrect autocorrect for Style/SoleNestedConditional when using nested if within if foo = bar. (@​koic)
  • #10309: Fix a false positive for Bundler/DuplicatedGem when a gem conditionally duplicated within multi-statement bodies. (@​fatkodima)
  • #10300: Fix an incorrect autocorrect for Layout/DotPosition and Style/RedundantSelf when auto-correction conflicts. (@​koic)
  • #10284: Fix an incorrect autocorrect for Style/RedundantRegexpCharacterClass when regexp containing an unescaped #. (@​koic)
  • #10265: Fix Style/IfInsideElse to be able to handle if-then nested inside an else without clobbering. (@​dvandersluis)
  • #10297: Fix a false positive for Lint/DeprecatedOpenSSLConstant when building digest using an algorithm string and nested digest constants. (@​koic)
  • #10282: Fix an incorrect autocorrect for Style/EmptyCaseCondition when using when ... then in case in a method call. (@​koic)
  • #10273: Fix a false positive for InternalAffairs/UndefinedConfig to suppress a false wrong namespace warning. (@​koic)
  • #10305: Fix an incorrect autocorrect for Style/HashConversion when using Hash[a || b]. (@​koic)
  • #10264: Fix the following incorrect auto-correct for Style/MethodCallWithArgsParentheses with Layout/SpaceBeforeFirstArg. (@​koic)
  • #10276: Fix an incorrect autocorrect for Style/RedundantInterpolation when using a method call without parentheses in string interpolation. (@​koic)

Changes

  • #10253: Deprecate RuboCop::Cop::EnforceSuperclass module. (@​koic)
  • #10248: Make Lint/DeprecatedClassMethods aware of ENV.freeze. (@​koic)
  • #10269: Mark Lint/IncompatibleIoSelectWithFiberScheduler as unsafe auto-correction. (@​koic)
  • #8586: Add configuration parameter AllowForAlignment in Layout/CommentIndentation. (@​jonas054)
Changelog

Sourced from rubocop's changelog.

1.24.0 (2021-12-23)

New features

  • #10279: Support Ruby 3.1's anonymous block forwarding syntax. ([@​koic][])
  • #10295: Support Ruby 3.1's hash value omission syntax for Layout/HashAlignment. ([@​koic][])
  • #10303: Add AllowedNumbers option to Style/NumericLiterals. ([@​koic][])
  • #10290: Add new Naming/BlockForwarding cop. ([@​koic][])
  • #10289: Add EnforcedShorthandSyntax option to Style/HashSyntax cop to support Ruby 3.1's hash value omission syntax by default. ([@​koic][])
  • #10257: Add new Style/MapToHash cop. ([@​dvandersluis][])
  • #10261: Add new Style/FileRead cop. ([@​leoarnold][])
  • #10291: Support Ruby 3.1's hash value omission syntax for Layout/SpaceAfterColon. ([@​koic][])
  • #10260: Add new Style/FileWrite cop. ([@​leoarnold][])
  • #10307: Support Ruby 2.7's numbered parameter for Metrics/BlockLength, Metrics/ClassLength, Metrics/MethodLength, and Metrics/ModuleLength cops. ([@​koic][])
  • #7671: Add cli option --show-docs-url to print out documentation url for given cops. ([@​HeroProtagonist][])
  • #10308: Make Style/CollectionCompact aware of block pass argument. ([@​koic][])

Bug fixes

  • #10285: Fix an incorrect autocorrect for Style/SoleNestedConditional when using nested if within if foo = bar. ([@​koic][])
  • #10309: Fix a false positive for Bundler/DuplicatedGem when a gem conditionally duplicated within multi-statement bodies. ([@​fatkodima][])
  • #10300: Fix an incorrect autocorrect for Layout/DotPosition and Style/RedundantSelf when auto-correction conflicts. ([@​koic][])
  • #10284: Fix an incorrect autocorrect for Style/RedundantRegexpCharacterClass when regexp containing an unescaped #. ([@​koic][])
  • #10265: Fix Style/IfInsideElse to be able to handle if-then nested inside an else without clobbering. ([@​dvandersluis][])
  • #10297: Fix a false positive for Lint/DeprecatedOpenSSLConstant when building digest using an algorithm string and nested digest constants. ([@​koic][])
  • #10282: Fix an incorrect autocorrect for Style/EmptyCaseCondition when using when ... then in case in a method call. ([@​koic][])
  • #10273: Fix a false positive for InternalAffairs/UndefinedConfig to suppress a false wrong namespace warning. ([@​koic][])
  • #10305: Fix an incorrect autocorrect for Style/HashConversion when using Hash[a || b]. ([@​koic][])
  • #10264: Fix the following incorrect auto-correct for Style/MethodCallWithArgsParentheses with Layout/SpaceBeforeFirstArg. ([@​koic][])
  • #10276: Fix an incorrect autocorrect for Style/RedundantInterpolation when using a method call without parentheses in string interpolation. ([@​koic][])

Changes

  • #10253: Deprecate RuboCop::Cop::EnforceSuperclass module. ([@​koic][])
  • #10248: Make Lint/DeprecatedClassMethods aware of ENV.freeze. ([@​koic][])
  • #10269: Mark Lint/IncompatibleIoSelectWithFiberScheduler as unsafe auto-correction. ([@​koic][])
  • #8586: Add configuration parameter AllowForAlignment in Layout/CommentIndentation. ([@​jonas054][])

1.23.0 (2021-11-15)

New features

Bug fixes

... (truncated)

Commits
  • 477e3f7 Cut 1.24
  • 41eb827 Update Changelog
  • f9995b3 Add new InternalAffairs/RedundantMethodDispatchNode cop
  • c31b9d5 Add new Naming/BlockForwarding cop
  • ed5dc11 [Fix #10303] Add AllowedNumbers option to Style/NumericLiterals
  • bf10959 Merge pull request #10309 from fatkodima/duplicated_gem-multiple-statements
  • 396da49 Fix a false positive for Bundler/DuplicatedGem when a gem conditionally dup...
  • d85a3c4 Support Ruby 3.1's hash value omission for Style/HashSyntax
  • d745921 Make Style/CollectionCompact aware of block pass
  • 1a1101e Support Ruby 3.1's hash value omission for Layout/HashAlignment
  • 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.23.0...v1.24.0)

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

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot bot requested a review from a team as a code owner December 27, 2021 21:06
@dependabot dependabot bot added the dependencies Pull requests that update a dependency file label Dec 27, 2021
Signed-off-by: Sathish <sbabu@progress.com>
@sonarqubecloud
Copy link

sonarqubecloud bot commented Jan 3, 2022

Kudos, SonarCloud Quality Gate passed!    Quality Gate passed

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 0 Code Smells

No Coverage information No Coverage information
0.0% 0.0% Duplication

@dependabot @github
Copy link
Contributor Author

dependabot bot commented on behalf of github Jan 3, 2022

A newer version of rubocop exists, but since this PR has been edited by someone other than Dependabot I haven't updated it. You'll get a PR for the updated version as normal once this PR is merged.

@sonarqubecloud
Copy link

sonarqubecloud bot commented Feb 3, 2022

Kudos, SonarCloud Quality Gate passed!    Quality Gate passed

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 0 Code Smells

No Coverage information No Coverage information
No Duplication information No Duplication information

Copy link
Contributor

@sathish-progress sathish-progress left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@sathish-progress sathish-progress merged commit a9a1d23 into main Feb 9, 2022
@sathish-progress sathish-progress deleted the dependabot/bundler/rubocop-tw-1.24.0 branch February 9, 2022 03:28
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
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant