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.45.1 to 1.46.0 #1548

Merged
merged 1 commit into from
Feb 27, 2023

Conversation

dependabot[bot]
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Feb 27, 2023

Updates the requirements on rubocop to permit the latest version.

Release notes

Sourced from rubocop's releases.

RuboCop 1.46

New features

Bug fixes

  • #11574: Fix a broken shorthand syntax autocorrection. (@​gsamokovarov)
  • #11599: Fix a false positive for Layout/LineContinuationSpacing when using percent literals. (@​koic)
  • #11556: Fix a false positive for Lint/Debugger when p is an argument of method call. (@​koic)
  • #11591: Fix a false positive for Lint/ToEnumArguments when enumerator is not created for __callee__ and __callee__ methods. (@​koic)
  • #11603: Actually run temporarily enabled cops. (@​tdeo)
  • #11579: Fix an error for Layout/HeredocArgumentClosingParenthesis when heredoc is a method argument in a parenthesized block argument. (@​koic)
  • #11576: Fix an error for Lint/UselessRescue when rescue does not exception variable and ensure has empty body. (@​koic)
  • #11608: Fix an error for Lint/RefinementImportMethods when using include on the top level. (@​koic)
  • #11589: Fix an error for Layout/HeredocArgumentClosingParenthesis when heredoc is a branch body in a method argument of a parenthesized argument. (@​koic)
  • #11567: Fix Layout/EndAlignment false negative. (@​j-miyake)
  • #11582: Fix checking if token with large offset begins its line. (@​fatkodima)
  • #11412: Mark Style/ArrayIntersect as unsafe. (@​koic)
  • #11559: Fixed false positives and negatives in Style/RedundantRegexpCharacterClass when using octal escapes (e.g. "\0"). (@​jaynetics)
  • #11575: Fix parentheses in value omissions for multiple assignments. (@​gsamokovarov)

Changes

Changelog

Sourced from rubocop's changelog.

1.46.0 (2023-02-22)

New features

  • #11569: Support TargetRubyVersion 3.3 (experimental). ([@​koic][])

Bug fixes

  • #11574: Fix a broken shorthand syntax autocorrection. ([@​gsamokovarov][])
  • #11599: Fix a false positive for Layout/LineContinuationSpacing when using percent literals. ([@​koic][])
  • #11556: Fix a false positive for Lint/Debugger when p is an argument of method call. ([@​koic][])
  • #11591: Fix a false positive for Lint/ToEnumArguments when enumerator is not created for __callee__ and __callee__ methods. ([@​koic][])
  • #11603: Actually run temporarily enabled cops. ([@​tdeo][])
  • #11579: Fix an error for Layout/HeredocArgumentClosingParenthesis when heredoc is a method argument in a parenthesized block argument. ([@​koic][])
  • #11576: Fix an error for Lint/UselessRescue when rescue does not exception variable and ensure has empty body. ([@​koic][])
  • #11608: Fix an error for Lint/RefinementImportMethods when using include on the top level. ([@​koic][])
  • #11589: Fix an error for Layout/HeredocArgumentClosingParenthesis when heredoc is a branch body in a method argument of a parenthesized argument. ([@​koic][])
  • #11567: Fix Layout/EndAlignment false negative. ([@​j-miyake][])
  • #11582: Fix checking if token with large offset begins its line. ([@​fatkodima][])
  • #11412: Mark Style/ArrayIntersect as unsafe. ([@​koic][])
  • #11559: Fixed false positives and negatives in Style/RedundantRegexpCharacterClass when using octal escapes (e.g. "\0"). ([@​jaynetics][])
  • #11575: Fix parentheses in value omissions for multiple assignments. ([@​gsamokovarov][])

Changes

  • #11586: Handle ruby2_keywords in Style/DocumentationMethod cop. ([@​fatkodima][])
  • #11604: Make Naming/VariableNumber to allow x86_64 CPU architecture name by default. ([@​koic][])
  • #11596: Make Style/AccessorGrouping aware of method call before accessor. ([@​koic][])
  • #11588: Optimize Style/WordArray complex matrix check. ([@​sambostock][])
  • #11573: Handle hash patterns and pins in Lint/OutOfRangeRegexpRef cop. ([@​fatkodima][])
  • #11564: Remove print debug methods from default for Lint/Debugger. ([@​koic][])

1.45.1 (2023-02-08)

Bug fixes

  • #11552: Fix a false positive for Lint/Debugger when methods containing different method chains. ([@​ydah][])
  • #11548: Fix an error for Style/AccessModifierDeclarations when if a non method definition was included. ([@​ydah][])
  • #11554: Fix an error for Style/RedundantCondition when the branches contains empty hash literal argument. ([@​koic][])
  • #11549: Fix an error for third party cops when inheriting RuboCop::Cop::Cop. ([@​koic][])

1.45.0 (2023-02-08)

New features

  • #10839: Add API for 3rd party template support. ([@​r7kamura][])
  • #11528: Add new Style/RedundantHeredocDelimiterQuotes cop. ([@​koic][])
  • #11188: Add a --no-detach option for --start-server. This will start the server process in the foreground, which can be helpful when running within Docker where detaching the process terminates the container. ([@​f1sherman][])
  • #11546: Make Lint/UselessAccessModifier aware of Ruby 3.2's Data.define. ([@​koic][])
  • #11396: Add ability to profile rubocop execution via --profile and --memory options. ([@​fatkodima][])

... (truncated)

Commits
  • be57c6d Cut 1.46
  • 4442453 Update Changelog
  • 28f8fb3 [Fix #11591] Fix a false positive for Lint/ToEnumArguments
  • 87c7e69 Fix an error for Layout/HeredocArgumentClosingParenthesis
  • df7c4cd [Fix #11596] Make Style/AccessorGrouping aware of method call before accessor
  • efce268 Actually run temporarily enabled cops
  • 52e8e4f Fix checking if token with large offset begins its line
  • c9630bc Fix an error for Lint/RefinementImportMethods
  • 48b2a32 Fix parentheses in value omissions for multiple assignments
  • d16167e Add new InternalAffairs/ProcessedSourceBufferName cop
  • 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.45.1...v1.46.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 Feb 27, 2023
@kfcampbell kfcampbell merged commit d4f2395 into main Feb 27, 2023
@kfcampbell kfcampbell deleted the dependabot/bundler/rubocop-1.46.0 branch February 27, 2023 23:51
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