Skip to content

Update rubocop 1.64.1 → 1.65.0 (minor)

Depfu Bot requested to merge depfu/update/rubocop-1.65.0 into master

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

What changed?

️ rubocop (1.64.1 → 1.65.0) · Repo · Changelog
Release Notes

1.65.0

New features

  • #13030: Add new Gemspec/AddRuntimeDependency cop. (@koic)

Bug fixes

  • #12954: Fix a false negative for Style/ArgumentsForwarding when arguments forwarding in yield. (@koic)
  • #13033: Fix a false positive for Layout/SpaceAroundOperators when using multiple spaces between an operator and a tailing comment. (@koic)
  • #12885: Fix a false positive for Lint/ToEnumArguments when enumerator is created for another method. (@koic)
  • #13018: Fix a false positive for Style/MethodCallWithArgsParentheses when EnforcedStyle: omit_parentheses is set and parenthesized method call is used before constant resolution. (@koic)
  • #12986: Fix a false positive for Style/RedundantBegin when endless method definition with rescue. (@koic)
  • #12985: Fix an error for Style/RedundantRegexpCharacterClass when using regexp_parser gem 2.3.1 or older. (@koic)
  • #13010: Fix an error for Style/SuperArguments when the hash argument is or-assigned. (@koic)
  • #13023: Fix an error for Style/SymbolProc when using lambda -> with one argument and multiline do...end block. (@koic)
  • #12989: Fix an error for the inherit_gem config when the Gemfile contains an uninstalled git gem. (@earlopain)
  • #12975: Fix an error for the inherit_gem config when running RuboCop without bundler and no Gemfile exists. (@earlopain)
  • #12997: Fix an error for Lint/UnmodifiedReduceAccumulator when the block is empty. (@earlopain)
  • #12979: Fix false negatives for Lint/Void when void expression with guard clause is not on last line. (@koic)
  • #12716: Fix false negatives for Lint/Void when using parenthesized void operators. (@koic)
  • #12471: Fix false negatives for Style/ZeroLengthPredicate when using safe navigation operator. (@koic)
  • #12960: Fix false positives for Lint/NestedMethodDefinition when definition of method on variable. (@koic)
  • #13012: Fix false positives for Style/HashExcept when using reject and calling include? method with bang. (@koic)
  • #12983: Fix false positives for Style/SendWithLiteralMethodName using send with writer method name. (@koic)
  • #12957: Fix false positives for Style/SuperArguments when calling super in a block. (@koic)

Changes

  • #12970: Add CountModifierForms option to Metrics/BlockNesting and set it to false by default. (@koic)
  • #13032: Display warning messages for deprecated APIs. (@koic)
  • #13031: Enable YJIT by default in server mode. (@koic)
  • #12557: Make server mode aware of auto-restart for bundle update. (@koic)
  • #12616: Make Style/MapCompactWithConditionalBlock aware of filter_map. (@koic)
  • #13035: Support autocorrect for Lint/ImplicitStringConcatenation. (@koic)

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

Commits

See the full diff on Github. The new version differs by more commits than we can show here.

️ parallel (indirect, 1.24.0 → 1.25.1) · Repo
Commits

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

️ parser (indirect, 3.3.2.0 → 3.3.4.0) · Repo · Changelog
Release Notes

3.3.4.0 (from changelog)

API modifications:

  • Bump maintenance branches to 3.3.4 (#1027) (Koichi ITO)

3.3.3.0 (from changelog)

API modifications:

  • Bump maintenance branches to 3.3.3 (#1023) (Koichi ITO)
  • Bump Racc to 1.8.0 (#1018) (Koichi ITO)

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

Commits

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

️ rexml (indirect, 3.2.8 → 3.3.1) · Repo · Changelog
Release Notes

3.3.1

Improvements

  • Added support for detecting malformed top-level comments.

    • GH-145
    • Patch by Hiroya Fujinami.
  • Improved REXML::Element#attribute performance.

    • GH-146
    • Patch by Hiroya Fujinami.
  • Added support for detecting malformed <!--> comments.

    • GH-147
    • Patch by Hiroya Fujinami.
  • Added support for detecting unclosed DOCTYPE.

    • GH-152
    • Patch by Hiroya Fujinami.
  • Added changlog_uri metadata to gemspec.

  • Improved parse performance.

Fixes

  • Fixed a bug that large XML can't be parsed.

  • Fixed a bug that private constants are visible.

Thanks

  • Hiroya Fujinami

  • NAITOH Jun

  • fynsta

3.3.0

Improvements

  • Added support for strscan 0.7.0 installed with Ruby 2.6.
    • GH-142
    • Reported by Fernando Trigoso.

Thanks

  • Fernando Trigoso

3.2.9

Improvements

  • Added support for old strscan.

  • Improved attribute value parse performance.

  • Improved REXML::Node#each_recursive performance.

  • Improved text parse performance.

    • Reported by mprogrammer.

Thanks

  • Adam
  • NAITOH Jun
  • Hiroya Fujinami
  • mprogrammer

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

Commits

See the full diff on Github. The new version differs by 32 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 cancel merge
Cancels automatic merging of this PR
@​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)

Merge request reports