#12068: Fix a false positive for Style/ReturnNilInPredicateMethodDefinition when the last method argument in method definition is nil. ([@koic][])
#12082: Fix an error for Lint/UselessAssignment when a variable is assigned and unreferenced in for with multiple variables. ([@koic][])
#12079: Fix an error for Style/MixinGrouping when mixin method has no arguments. ([@koic][])
#11637: Correct Rubocop for private_class_method method documentation. ([@bigzed][])
#12070: Fix false positive in Style/ArgumentsForwarding when receiver forwards args/kwargs. ([@owst][])
1.55.0 (2023-07-25)
New features
#11794: Add support to Style/ArgumentsForwarding for anonymous arg/kwarg forwarding in Ruby 3.2. ([@owst][])
#12044: Make LSP server support layoutMode option to run layout cops. ([@koic][])
#12056: Make LSP server support lintMode option to run lint cops. ([@koic][])
#12046: Make ReturnNilInPredicateMethodDefinition aware of nil at the end of predicate method definition. ([@koic][])
Bug fixes
#12055: Allow parentheses in single-line match patterns when using the omit_parentheses style of Style/MethodCallWithArgsParentheses. ([@gsamokovarov][])
#12050: Fix a false positive for Layout/RedundantLineBreak when inspecting the % form string %\n\n. ([@koic][])
#12063: Fix Style/CombinableLoops when one of the loops is empty. ([@fatkodima][])
#12059: Fix a false negative for Style/StringLiteralsInInterpolation for symbols with interpolation. ([@fatkodima][])
#11834: Fix false positive for when variable in inside conditional branch in nested node. ([@alexeyschepin][])
#11802: Improve handling of [] and () with percent symbol arrays. ([@jasondoc3][])
#12052: Fix "Subfolders can't include glob special characters". ([@meric426][], [@loveo][])
#12062: Fix LoadError when loading RuboCop from a symlinked location on Windows. ([@p0deje][])
Changes
#12064: Make Style/RedundantArgument aware of exit and exit!. ([@koic][])
#12015: Mark Style/HashConversion as unsafe autocorrection. ([@koic][])
1.54.2 (2023-07-13)
Bug fixes
#12043: Fix a false negative for Layout/ExtraSpacing when some characters are vertically aligned. ([@koic][])
#12040: Fix a false positive for Layout/TrailingEmptyLines to prevent the following incorrect autocorrection when inspecting the % form string %\n\n. ([@koic][])
#1867: Fix an error when AllCops:Exclude is empty in .rubocop.yml. ([@koic][])
#12034: Fix invalid byte sequence in UTF-8 error when using an invalid encoding string. ([@koic][])
#12038: Output the "server restarting" message to stderr. ([@knu][])
1.54.1 (2023-07-04)
Bug fixes
#12024: Fix a false positive for Lint/RedundantRegexpQuantifiers when interpolation is used in a regexp literal. ([@koic][])
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 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)
Updates the requirements on rubocop to permit the latest version.
Release notes
Sourced from rubocop's releases.
Changelog
Sourced from rubocop's changelog.
... (truncated)
Commits
000ae57
Cut 1.55.189c3045
Update Changelog6e01713
[Fix #12079] Fix an error forStyle/MixinGrouping
ee26d06
[Fix #12082] Fix an error forLint/UselessAssignment
59e940b
Use RuboCop RSpec 2.2328e1456
MakeInternalAffairs/ExampleDescription
aware of an incorrect term2e1d3f9
Fix a typo24f6e99
[Fix #12070] Fix false positive inStyle/ArgumentsForwarding
14e81ad
[Fix #12068] Fix a false positive for `Style/ReturnNilInPredicateMethodDefini...d5b52dc
[Docs] Tweak examples forBundler/OrderedGems
and `Gemspec/OrderedDependenc...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 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)