Update rubocop 1.61.0 → 1.62.0 (minor)
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.61.0 → 1.62.0) · Repo · Changelog
Release Notes
1.62.0
Note: This is the first RuboCop release that features (experimental) support for using
Prism
instead of theparser
gem. Check out the docs for more details.See also this article for additional context.
New features
- #12600: Support Prism as a Ruby parser (experimental). (@koic)
- #12725: Support
TargetRubyVersion 3.4
(experimental). (@koic)Bug fixes
- #12746: Fix a false positive for
Lint/ToEnumArguments
when enumerator is created for another method in no arguments method definition. (@koic)- #12726: Fix a false positive for
Style/RedundantLineContinuation
when using line concatenation and calling a method with keyword arguments without parentheses. (@koic)- #12738: Fix an error for
Style/Encoding
when magic encoding with mixed case present. (@koic)- #12732: Fix error determining target Ruby when gemspec
required_ruby_version
is read from another file. (@davidrunger)- #12736: Fix invalid autocorrect in
Layout/SpaceInsideHashLiteralBraces
. (@bquorning)- #12667: Don't load excluded configuration. (@jonas054)
Does any of this look wrong? Please let us know.
Commits
See the full diff on Github. The new version differs by 22 commits:
Cut 1.62
Update Changelog
[Fix #12746] Fix a false positive for `Lint/ToEnumArguments`
Bump rubocop-rspec from ~> 2.27.0 to ~> 2.27.1
Call .value to get gemspec required_ruby_version only if str_type?
[Fix #12740] Tweak annotation pattern for `expect_offense`
Fix missing assertions in `RuboCop::TargetRuby` specs
[Fix #12738] Fix an error for `Style/Encoding`
Refactor TargetFinder
[Fix #12667] Avoid loading excluded configuration
Merge pull request #12735 from koic/use_parser_engine_parameter_to_parse_gemspec
Use `ParserEngine` parameter to parse gemspec
Merge pull request #12737 from rubocop/fix-space-inside-hash-literal-braces
Fix build
[Fix #12736] Fix invalid autocorrect in Layout/SpaceInsideHashLiteralBraces
Restore a spec of options_spec for Ruby 3.4.0dev
[Fix #12600] Support Prism as a Ruby parser
Merge pull request #12728 from koic/fix_a_false_positive_for_style_redundant_line_continuation
Use RuboCop RSpec to 2.27
[Fix #12726] Fix a false positive for `Style/RedundantLineContinuation`
Support `TargetRubyVersion 3.4` (experimental)
Switch back the docs version
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)