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

Upgrade rubocop to version 1.32.0 #164

Merged
merged 1 commit into from
Aug 5, 2022
Merged

Conversation

depfu[bot]
Copy link
Contributor

@depfu depfu bot commented Jul 28, 2022

Here is everything you need to know about this upgrade. Please take a good look at what changed and the test results before merging this pull request.

What changed?

✳️ rubocop (1.31.1 → 1.32.0) · Repo · Changelog

Release Notes

1.32.0

New features

  • #10820: Add new Style/EmptyHeredoc cop. (@koic)
  • #10691: Add new Layout/MultilineMethodParameterLineBreaks cop. (@Korri)
  • #10790: Support AllowComments option for Style/EmptyElse. (@ydah)
  • #10792: Add new Lint/RequireRangeParentheses cop. (@koic)
  • #10692: Break long method definitions when auto-correcting. (@Korri)

Bug fixes

  • #10824: Make Lint/DeprecatedClassMethods aware of ENV.clone and ENV.dup. (@koic)
  • #10788: Relax Style/FetchEnvVar to allow ENV[] in LHS of ||. (@j-miyake)
  • #10813: Fix recursive deletion to suppression in Lint/NonAtomicFileOperation. (@ydah)
  • #10791: Fix an incorrect autocorrect for Style/Semicolon when using endless range before semicolon. (@koic)
  • #10781: Fix a suggestions for safer conversions for Lint/NonAtomicFileOperation. (@ydah)
  • #10263: Fix the value of Enabled leaking between configurations. (@jonas054)

Changes

  • #10613: Allow autocorrecting with -P/--parallel and make it the default. (@jonas054)
  • Add EnforcedStyle (leading/trailing) configuration to Layout::LineContinuationLeadingSpace. (@bquorning)
  • #10784: Preserve multiline semantics on Style/SymbolArray and Style/WordArray. (@r7kamura)
  • #10814: Avoid buffering stdout when running in server mode. (@ccutrer)
  • #10817: Add autocorrect support for Style/SafeNavigationChain. (@r7kamura)
  • #10810: Support safe navigation operator on Style/SymbolProc. (@r7kamura)
  • #10803: Require RuboCop AST 1.9.1 or higher. (@koic)

1.31.2

Bug fixes

  • #10774: Fix false negatives in Style/DocumentationMethod when a public method is defined after a private one. (@Darhazer)
  • #10764: Fix performance issue for Layout/FirstHashElementIndentation and Layout/FirstArrayElementIndentation. (@j-miyake)
  • #10780: Fix an error when using rubocop:auto_correct deprecated custom rake task. (@koic)
  • #10786: Fix a false positive for Lint/NonAtomicFileOperation when using complex conditional. (@koic)
  • #10785: Fix a false negative for Style/RedundantParentheses when parens around a receiver of a method call with an argument. (@koic)
  • #10026: Fix merging of array parameters in either parent of default config. (@jonas054)

Does any of this look wrong? Please let us know.

Commits

See the full diff on Github. The new version differs by 51 commits:


Depfu Status

Depfu will automatically keep this PR conflict-free, as long as you don't add any commits to this branch yourself. You can also trigger a rebase manually by commenting with @depfu rebase.

All Depfu comment commands
@​depfu rebase
Rebases against your default branch and redoes this update
@​depfu recreate
Recreates this PR, overwriting any edits that you've made to it
@​depfu merge
Merges this PR once your tests are passing and conflicts are resolved
@​depfu close
Closes this PR and deletes the branch
@​depfu reopen
Restores the branch and reopens this PR (if it's closed)
@​depfu pause
Ignores all future updates for this dependency and closes this PR
@​depfu pause [minor|major]
Ignores all future minor/major updates for this dependency and closes this PR
@​depfu resume
Future versions of this dependency will create PRs again (leaves this PR as is)

@depfu depfu bot added the depfu label Jul 28, 2022
@mkon mkon merged commit c78db0f into main Aug 5, 2022
@mkon mkon deleted the depfu/update/rubocop-1.32.0 branch August 5, 2022 14:42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant