Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Update rubocop requirement from ~> 1.48.1 to ~> 1.50.0 #587

Closed
wants to merge 1 commit into from

Conversation

dependabot[bot]
Copy link
Contributor

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

Updates the requirements on rubocop to permit the latest version.

Release notes

Sourced from rubocop's releases.

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)
Changelog

Sourced from rubocop's changelog.

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][])
  • #11685: Fix incorrect directive comment insertion when percent array violates Layout/LineLength cop. ([@​nobuyo][])
  • #11706: Fix infinite loop when --disable-uncorrectable option and there is a multi-line percent array violates Layout/LineLength. ([@​nobuyo][])
  • #11697: Fix Lint/Syntax behavior when --only is not given the cop name. ([@​koic][])
  • #11709: Fix value omission false positive in Style/MethodCallWithArgsParentheses. ([@​gsamokovarov][])

Changes

  • #11739: Make Style/RedundantParentheses aware of redundant method argument parentheses. ([@​koic][])

... (truncated)

Commits
  • b71808e Cut 1.50
  • fbf9949 Update Changelog
  • d2bbe3a Make Lint/RedundantStringCoercion aware of print method arguments
  • b0e6591 Add specs for redundant SafeAutoCorrect: true and AutoCorrect: true
  • 27b7ceb Use RuboCop 1.17.1+
  • f060379 Use RuboCop Performance 1.17
  • a03573c Make Metrics/ClassLength aware of singleton class
  • 78d5dd5 Merge pull request #11775 from koic/make_style_trailing_body_on_class_aware_o...
  • 2c1f115 Make Style/TrailingBodyOnClass aware of singleton class
  • f1a7b6a Make Style/ClassStructure aware of singleton class
  • 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.48.1...v1.50.0)

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

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot bot added the dependencies Pull requests that update a dependency file label Apr 11, 2023
@codecov-commenter
Copy link

Codecov Report

Patch and project coverage have no change.

Comparison is base (19bc420) 91.62% compared to head (cf615a7) 91.62%.

📣 This organization is not using Codecov’s GitHub App Integration. We recommend you install it so Codecov can continue to function properly for your repositories. Learn more

Additional details and impacted files
@@           Coverage Diff           @@
##             main     #587   +/-   ##
=======================================
  Coverage   91.62%   91.62%           
=======================================
  Files           8        8           
  Lines         597      597           
=======================================
  Hits          547      547           
  Misses         50       50           

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

☔ View full report in Codecov by Sentry.
📢 Do you have feedback about the report comment? Let us know in this issue.

@dependabot @github
Copy link
Contributor Author

dependabot bot commented on behalf of github Apr 12, 2023

Superseded by #588.

@dependabot dependabot bot closed this Apr 12, 2023
@dependabot dependabot bot deleted the dependabot/bundler/rubocop-tw-1.50.0 branch April 12, 2023 23:57
# for free to join this conversation on GitHub. Already have an account? # 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