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.48.1 to = 1.50.1 #2747

Merged
merged 1 commit into from Apr 14, 2023

Conversation

dependabot[bot]
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Apr 12, 2023

Updates the requirements on rubocop to permit the latest version.

Release notes

Sourced from rubocop's releases.

RuboCop 1.50.1

Bug fixes

  • #11787: Fix a false positive for Lint/DuplicateMatchPattern when repeated in patterns but different if guard is used. (@​koic)
  • #11789: Fix false negatives for Style/ParallelAssignment when Ruby 2.7+. (@​koic)
  • #11783: Fix a false positive for Style/RedundantLineContinuation using line concatenation for assigning a return value and without argument parentheses. (@​koic)

RuboCop 1.50

New features

  • #11749: Add new Lint/DuplicateMatchPattern cop. (@​koic)
  • #11773: Make Layout/ClassStructure aware of singleton class. (@​koic)
  • #11779: Make Lint/RedundantStringCoercion aware of print method arguments. (@​koic)
  • #11776: Make Metrics/ClassLength aware of singleton class. (@​koic)
  • #11775: Make Style/TrailingBodyOnClass aware of singleton class. (@​koic)

Bug fixes

  • #11758: Fix a false positive for Style/RedundantLineContinuation when line continuations for string. (@​koic)
  • #11754: Fix a false positive for Style/RedundantLineContinuation when using && and || with a multiline condition. (@​ydah)
  • #11765: Fix an error for Style/MultilineMethodSignature when line break after def keyword. (@​koic)
  • #11762: Fix an incorrect autocorrect for Style/ClassEqualityComparison when comparing a variable or return value for equality. (@​koic)
  • #11752: Fix a false positive for Style/RedundantLineContinuation when using line concatenation and calling a method without parentheses. (@​koic)

RuboCop 1.49

New features

  • #11122: Add new Style/RedundantLineContinuation cop. (@​ydah)
  • #11696: Add new Style/DataInheritance cop. ([@​ktopolski][])
  • #11746: Make Layout/EndAlignment aware of pattern matching. (@​koic)
  • #11750: Make Metrics/BlockNesting aware of numbered parameter. (@​koic)
  • #11699: Make Style/ClassEqualityComparison aware of Class#to_s and Class#inspect for class equality comparison. (@​koic)
  • #11737: Make Style/MapToHash and Style/MapToSet aware of numbered parameters. (@​koic)
  • #11732: Make Style/MapToHash and Style/MapToSet aware of symbol proc. (@​koic)
  • #11703: Make Naming/InclusiveLanguage support autocorrection when there is only one suggestion. (@​koic)

Bug fixes

  • #11730: Fix an error for Layout/HashAlignment when using anonymous keyword rest arguments. (@​koic)
  • #11704: Fix a false positive for Lint/UselessMethodDefinition when method definition with non access modifier containing only super call. (@​koic)
  • #11723: Fix a false positive for Style/IfUnlessModifier when using one-line pattern matching as a if condition. (@​koic)
  • #11725: Fix an error when insufficient permissions to server cache dir are granted. (@​koic)
  • #11715: Ensure default configuration loads. (@​koic)
  • #11742: Fix error handling in bundler standalone mode. ([@​composerinteralia][])
  • #11712: Fix a crash in Lint/EmptyConditionalBody. ([@​gsamokovarov][])

... (truncated)

Changelog

Sourced from rubocop's changelog.

1.50.1 (2023-04-12)

Bug fixes

  • #11787: Fix a false positive for Lint/DuplicateMatchPattern when repeated in patterns but different if guard is used. ([@​koic][])
  • #11789: Fix false negatives for Style/ParallelAssignment when Ruby 2.7+. ([@​koic][])
  • #11783: Fix a false positive for Style/RedundantLineContinuation using line concatenation for assigning a return value and without argument parentheses. ([@​koic][])

1.50.0 (2023-04-11)

New features

  • #11749: Add new Lint/DuplicateMatchPattern cop. ([@​koic][])
  • #11773: Make Layout/ClassStructure aware of singleton class. ([@​koic][])
  • #11779: Make Lint/RedundantStringCoercion aware of print method arguments. ([@​koic][])
  • #11776: Make Metrics/ClassLength aware of singleton class. ([@​koic][])
  • #11775: Make Style/TrailingBodyOnClass aware of singleton class. ([@​koic][])

Bug fixes

  • #11758: Fix a false positive for Style/RedundantLineContinuation when line continuations for string. ([@​koic][])
  • #11754: Fix a false positive for Style/RedundantLineContinuation when using && and || with a multiline condition. ([@​ydah][])
  • #11765: Fix an error for Style/MultilineMethodSignature when line break after def keyword. ([@​koic][])
  • #11762: Fix an incorrect autocorrect for Style/ClassEqualityComparison when comparing a variable or return value for equality. ([@​koic][])
  • #11752: Fix a false positive for Style/RedundantLineContinuation when using line concatenation and calling a method without parentheses. ([@​koic][])

1.49.0 (2023-04-03)

New features

  • #11122: Add new Style/RedundantLineContinuation cop. ([@​ydah][])
  • #11696: Add new Style/DataInheritance cop. ([@​ktopolski][])
  • #11746: Make Layout/EndAlignment aware of pattern matching. ([@​koic][])
  • #11750: Make Metrics/BlockNesting aware of numbered parameter. ([@​koic][])
  • #11699: Make Style/ClassEqualityComparison aware of Class#to_s and Class#inspect for class equality comparison. ([@​koic][])
  • #11737: Make Style/MapToHash and Style/MapToSet aware of numbered parameters. ([@​koic][])
  • #11732: Make Style/MapToHash and Style/MapToSet aware of symbol proc. ([@​koic][])
  • #11703: Make Naming/InclusiveLanguage support autocorrection when there is only one suggestion. ([@​koic][])

Bug fixes

  • #11730: Fix an error for Layout/HashAlignment when using anonymous keyword rest arguments. ([@​koic][])
  • #11704: Fix a false positive for Lint/UselessMethodDefinition when method definition with non access modifier containing only super call. ([@​koic][])
  • #11723: Fix a false positive for Style/IfUnlessModifier when using one-line pattern matching as a if condition. ([@​koic][])
  • #11725: Fix an error when insufficient permissions to server cache dir are granted. ([@​koic][])
  • #11715: Ensure default configuration loads. ([@​koic][])
  • #11742: Fix error handling in bundler standalone mode. ([@​composerinteralia][])
  • #11712: Fix a crash in Lint/EmptyConditionalBody. ([@​gsamokovarov][])
  • #11641: Fix a false negative for Layout/ExtraSpacing when there are many comments with extra spaces. ([@​nobuyo][])
  • #11740: Fix a false positive for Lint/NestedMethodDefinition when nested definition inside *_eval and *_exec method call with a numblock. ([@​ydah][])

... (truncated)

Commits

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)

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.48.1...v1.50.1)

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

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot bot added the dependencies Pull requests that update a dependency file label Apr 12, 2023
@stefannibrasil stefannibrasil merged commit 9125b54 into main Apr 14, 2023
7 checks passed
@stefannibrasil stefannibrasil deleted the dependabot/bundler/rubocop-1.50.1 branch April 14, 2023 00:05
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.

None yet

1 participant