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.42.0 to 1.43.0 #1531

Merged
merged 1 commit into from
Jan 17, 2023

Conversation

dependabot[bot]
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Jan 16, 2023

Updates the requirements on rubocop to permit the latest version.

Release notes

Sourced from rubocop's releases.

RuboCop 1.43

New features

Bug fixes

  • #11386: Fix a false positive for Style/OperatorMethodCall when using anonymous forwarding. (@​koic)
  • #11409: Fix an incorrect autocorrect for Style/HashSyntax when using hash value omission and EnforcedStyle: no_mixed_keys. (@​koic)
  • #11405: Fix undefined method `range_between' for Style/WhileUntilModifier. (@​such)
  • #11374: Fix an error for Style/StringHashKeys when using invalid symbol in encoding UTF-8 as keys. (@​koic)
  • #11392: Fix an incorrect autocorrect for Style/RedundantDoubleSplatHashBraces using double splat in double splat hash braces. (@​koic)
  • #8990: Make Style/HashEachMethods aware of built-in Thread.current. (@​koic)
  • #11390: Fix an incorrect autocorrect for Style/HashSyntax when hash first argument key and hash value only are the same which has a method call on the next line. (@​koic)
  • #11379: Fix a false negative for Style/OperatorMethodCall when using a.+ b.something. (@​koic)
  • #11180: Fix an error for Style/RedundantRegexpEscape when using %r to provide regexp expressions. (@​si-lens)
  • #11403: Fix bad offense for parenthesised calls in literals for omit_parentheses style in Style/MethodCallWithArgsParentheses. (@​gsamokovarov)
  • #11407: Fix an error for Style/HashSyntax when expression follows hash key assignment. (@​fatkodima)
  • #11377: Fix Style/OperatorMethodCall when forwarding arguments. (@​sambostock)

Changes

Changelog

Sourced from rubocop's changelog.

1.43.0 (2023-01-10)

New features

Bug fixes

  • #11386: Fix a false positive for Style/OperatorMethodCall when using anonymous forwarding. ([@​koic][])
  • #11409: Fix an incorrect autocorrect for Style/HashSyntax when using hash value omission and EnforcedStyle: no_mixed_keys. ([@​koic][])
  • #11405: Fix undefined method `range_between' for Style/WhileUntilModifier. ([@​such][])
  • #11374: Fix an error for Style/StringHashKeys when using invalid symbol in encoding UTF-8 as keys. ([@​koic][])
  • #11392: Fix an incorrect autocorrect for Style/RedundantDoubleSplatHashBraces using double splat in double splat hash braces. ([@​koic][])
  • #8990: Make Style/HashEachMethods aware of built-in Thread.current. ([@​koic][])
  • #11390: Fix an incorrect autocorrect for Style/HashSyntax when hash first argument key and hash value only are the same which has a method call on the next line. ([@​koic][])
  • #11379: Fix a false negative for Style/OperatorMethodCall when using a.+ b.something. ([@​koic][])
  • #11180: Fix an error for Style/RedundantRegexpEscape when using %r to provide regexp expressions. ([@​si-lens][])
  • #11403: Fix bad offense for parenthesised calls in literals for omit_parentheses style in Style/MethodCallWithArgsParentheses. ([@​gsamokovarov][])
  • #11407: Fix an error for Style/HashSyntax when expression follows hash key assignment. ([@​fatkodima][])
  • #11377: Fix Style/OperatorMethodCall when forwarding arguments. ([@​sambostock][])

Changes

1.42.0 (2023-01-01)

New features

Bug fixes

  • #11204: Fix a false negative for Lint/RedundantCopDisableDirective when using --except command line option. ([@​koic][])
  • #11369: Fix an error for Lint/UselessRuby2Keywords when using Proc#ruby2_keywords. ([@​koic][])
  • #11351: Fix an incorrect autocorrect for Lint/RegexpAsCondition when using regexp literal with bang. ([@​koic][])
  • #11329: Accept simple freezed constants in Layout/ClassStructure and correctly handle class methods. ([@​fatkodima][])
  • #11344: Fix an error for Style/GuardClause when using heredoc as an argument of raise in then branch and it does not have else branch. ([@​koic][])
  • #11335: Fix an error for Style/RequireOrder when only one reuqire. ([@​koic][])
  • #11348: Fix an error for Style/SelectByRegexp when block body is empty. ([@​koic][])
  • #11320: Fix a false positive for Lint/RequireParentheses when assigning ternary operator. ([@​koic][])
  • #11361: Make Style/MethodDefParentheses aware of Ruby 3.2's anonymous rest and keyword rest arguments. ([@​koic][])
  • #11346: Fix a false positive for Style/RedundantStringEscape when using escaped space in heredoc. ([@​koic][])

... (truncated)

Commits
  • c311137 Cut 1.43
  • d1e7287 Update Changelog
  • 2f29892 Add autocorrect for Style/MissingElse
  • 73a4121 [Fix #11303] Make Metrics/ParameterLists aware of Struct.new and `Data.de...
  • 46963bd [Fix #11409] Fix an incorrect autocorrect for Style/HashSyntax
  • 1e5f19a [Fix #8990] Make Style/HashEachMethods aware of Thread.current
  • de30af8 Fix an error for Style/HashSyntax when expression follows hash key assignment
  • 52a448f Merge pull request #11406 from sorare/11405
  • 1ac1ce7 [Fix #11405] Fix Style/WhileUntilModifier with ruby 3.1
  • 3ce55d0 Merge pull request #11403 from gsamokovarov/omit-parentheses-call-with-block-...
  • 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.42.0...v1.43.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 Jan 16, 2023
@kfcampbell kfcampbell merged commit 11d35c4 into main Jan 17, 2023
@kfcampbell kfcampbell deleted the dependabot/bundler/rubocop-1.43.0 branch January 17, 2023 21:01
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
Archived in project
Development

Successfully merging this pull request may close these issues.

1 participant