Note: This is the first RuboCop release that features (experimental) support for using Prism instead of the parser gem. Check out the docs for more details.
#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)
#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][])
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 show ignore conditions` will show all of the ignore conditions of the specified dependency
- `@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)
Bumps rubocop from 1.61.0 to 1.62.0.
Release notes
Sourced from rubocop's releases.
Changelog
Sourced from rubocop's changelog.
Commits
92785dd
Cut 1.622d882c3
Update Changelogc0582a4
[Fix #12746] Fix a false positive forLint/ToEnumArguments
dea3b76
Bump rubocop-rspec from ~> 2.27.0 to ~> 2.27.15026393
Call .value to get gemspec required_ruby_version only if str_type?07cad75
[Fix #12740] Tweak annotation pattern forexpect_offense
859f6fd
Fix missing assertions inRuboCop::TargetRuby
specs6674cc8
[Fix #12738] Fix an error forStyle/Encoding
1a73d64
Refactor TargetFinder664ba3d
[Fix #12667] Avoid loading excluded configurationDependabot 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 show