Skip to content

Update rubocop 1.62.1 → 1.63.0 (minor)

Depfu Bot requested to merge depfu/update/rubocop-1.63.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.62.1 → 1.63.0) · Repo · Changelog
Release Notes

1.63.0

New features

Bug fixes

  • #12769: Fix a false positive for Lint/RedundantWithIndex when calling with_index with receiver and a block. (@koic)
  • #12547: Added a comment recommending upgrading to the latest version of Rubocop in the error text when an Infinite loop detected error occurs. (@Hiroto-Iizuka)
  • #12782: Fix an error for Style/Alias with EnforcedStyle: prefer_alias when calling alias_method with fewer than 2 arguments. (@earlopain)
  • #12781: Fix an error for Style/ExactRegexpMatch when calling match without a receiver. (@earlopain)
  • #12780: Fix an error for Style/RedundantEach when using reverse_each.each without a block. (@earlopain)
  • #12731: Treat &. the same way as . for setter methods in Lint/AssignmentInCondition. (@jonas054)
  • #12793: Fix false positives for Style/RedundantLineContinuation when using line continuation with modifier. (@koic)
  • #12807: Fix false positives for Naming/BlockForwarding when using explicit block forwarding in block method and others. (@koic)
  • #12796: Fix false positives for Style/EvalWithLocation when using eval with a line number from a method call or a variable. (@koic)
  • #12794: Fix false positives for Style/RedundantArgument when when single-quoted strings for cntrl character. (@koic)
  • #12797: Fix false positives for Style/RedundantLineContinuation when using line continuations with && or || operator in assignment. (@koic)
  • #12793: Fix false positives for Style/RedundantLineContinuation when multi-line continuations with operators. (@koic)
  • #12801: Fix incorrect autocorrect for Style/CollectionCompact when using delete_if. (@koic)
  • #12789: Make Style/RedundantPercentQ safe on multiline strings. (@boardfish)
  • #12802: Return global offenses for Naming/FileName and Naming/InclusiveLanguage for empty files. (@earlopain)
  • #12804: Return global offenses for Style/Copyright when the file is empty. (@earlopain)

Changes

  • #12813: Add rubocop-rspec_rails to suggested extensions and extension doc. (@ydah)
  • #12820: Add support more Capybara debugger entry points for Lint/Debugger. (@ydah)
  • #12676: Adjust offending range in LSP. (@koic)
  • #12815: Ignore Rakefile.rb in Naming/FileName in the default config. (@artur-intech)
  • #12800: Handle empty obsoletion config. (@sambostock)
  • #12721: Make Lint/Debugger aware of ruby/debug requires. (@earlopain)
  • #12817: Make rubocop -V display rubocop-rspec_rails version when using it. (@ydah)
  • #12180: Replace regex with Bundler::LockfileParser. (@amomchilov)

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

Commits

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

️ json (indirect, 2.7.1 → 2.7.2) · Repo · Changelog
Release Notes

2.7.2

What's Changed

  • Use rb_sym2str instead of SYM2ID by @jhawthorn in #561
  • Fix memory leak when exception is raised during JSON generation by @peterzhu2118 in #574
  • Remove references to "19" methods in JRuby by @headius in #576
  • Make OpenStruct support as optional by @hsbt in #565
  • Autoload JSON::GenericObject to avoid require ostruct warning in Ruby 3.4 by @tompng in #577
  • Warn to install ostruct if json couldn't load it by @hsbt in #578

New Contributors

Full Changelog: v2.7.1...v2.7.2

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

Commits

See the full diff on Github. The new version differs by 21 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