#12151: Make Layout/EmptyLineAfterGuardClause allow :nocov: directive after guard clause. (@koic)
#12195: Fix a false negative for Layout/SpaceAfterNot when a newline is present after !. (@ymap)
#12192: Fix a false positive for Layout/RedundantLineBreak when using quoted symbols with a single newline. (@ymap)
#12190: Fix a false positive for Layout/SpaceAroundOperators when aligning operators vertically. (@koic)
#12171: Fix a false positive for Style/ArrayIntersect when using block argument for Enumerable#any?. (@koic)
#12172: Fix a false positive for Style/EmptyCaseCondition when using return, break, next or method call before empty case condition. (@koic)
#12162: Fix an error for Bundler/DuplicatedGroup when there's a duplicate set of groups and the group value contains a splat. (@koic)
#12182: Fix an error for Lint/UselessAssignment when variables are assigned using chained assignment and remain unreferenced. (@koic)
#12181: Fix an incorrect autocorrect for Lint/UselessAssignment when variables are assigned with sequential assignment using the comma operator and unreferenced. (@koic)
#12187: Fix an incorrect autocorrect for Style/SoleNestedConditional when comment is in an empty nested if body. (@ymap)
#12183: Fix an incorrect autocorrect for Style/MultilineTernaryOperator when returning a multiline ternary operator expression with safe navigation method call. (@koic)
#12168: Fix bug in Style/ArgumentsForwarding when there are repeated send nodes. (@owst)
#12185: Set target version for Layout/HeredocIndentation. (@tagliala)
RuboCop 1.56.2
Bug fixes
#12138: Fix a false positive for Layout/LineContinuationLeadingSpace when a backslash is part of a multiline string literal. (@ymap)
#12155: Fix false positive for Layout/RedundantLineBreak when using a modified singleton method definition. (@koic)
#12143: Fix a false positive for Lint/ToEnumArguments when using anonymous keyword arguments forwarding. (@koic)
#12148: Fix an incorrect autocorrect for Lint/NonAtomicFileOperation when using FileUtils.remove_dir, FileUtils.remove_entry, or FileUtils.remove_entry_secure. (@koic)
#12141: Fix false positive for Style/ArgumentsForwarding when method def includes additional kwargs. (@owst)
#12154: Fix incorrect diagnosticProvider value of LSP. (@koic)
RuboCop 1.56.1
Bug fixes
#12136: Fix a false negative for Layout/LeadingCommentSpace when using #+ or #- as they are not RDoc comments. (@koic)
#12113: Fix a false positive for Bundler/DuplicatedGroup when groups are duplicated but source, git, platforms, or path values are different. (@koic)
#12134: Fix a false positive for Style/MethodCallWithArgsParentheses when parentheses are used in one-line in pattern matching. (@koic)
#12111: Fix an error for Bundler/DuplicatedGroup group declaration has keyword option. (@koic)
#12109: Fix an error for Style/ArgumentsForwarding cop when forwarding kwargs/block arg and an additional arg. ([@ydah][])
#12117: Fix a false positive for Style/ArgumentsForwarding cop when not always forwarding block. (@owst)
#12115: Fix an error for Style/Lambda when using numbered parameter with a multiline -> call. (@koic)
#12124: Fix false positives for Style/RedundantParentheses when parentheses in super or yield call with multiline style argument. (@koic)
#12120: Fix false positives for Style/SymbolArray when %i array containing unescaped [, ], (, or ). (@koic)
#12133: Fix Style/RedundantSelfAssignmentBranch to handle heredocs. ([@r7kamura][])
#12105: Fix target ruby Gem::Requirement matcher and version parsing to support multiple version constraints. ([@ItsEcholot][])
#12151: Make Layout/EmptyLineAfterGuardClause allow :nocov: directive after guard clause. ([@koic][])
#12195: Fix a false negative for Layout/SpaceAfterNot when a newline is present after !. ([@ymap][])
#12192: Fix a false positive for Layout/RedundantLineBreak when using quoted symbols with a single newline. ([@ymap][])
#12190: Fix a false positive for Layout/SpaceAroundOperators when aligning operators vertically. ([@koic][])
#12171: Fix a false positive for Style/ArrayIntersect when using block argument for Enumerable#any?. ([@koic][])
#12172: Fix a false positive for Style/EmptyCaseCondition when using return, break, next or method call before empty case condition. ([@koic][])
#12162: Fix an error for Bundler/DuplicatedGroup when there's a duplicate set of groups and the group value contains a splat. ([@koic][])
#12182: Fix an error for Lint/UselessAssignment when variables are assigned using chained assignment and remain unreferenced. ([@koic][])
#12181: Fix an incorrect autocorrect for Lint/UselessAssignment when variables are assigned with sequential assignment using the comma operator and unreferenced. ([@koic][])
#12187: Fix an incorrect autocorrect for Style/SoleNestedConditional when comment is in an empty nested if body. ([@ymap][])
#12183: Fix an incorrect autocorrect for Style/MultilineTernaryOperator when returning a multiline ternary operator expression with safe navigation method call. ([@koic][])
#12168: Fix bug in Style/ArgumentsForwarding when there are repeated send nodes. ([@owst][])
#12185: Set target version for Layout/HeredocIndentation. ([@tagliala][])
1.56.2 (2023-08-29)
Bug fixes
#12138: Fix a false positive for Layout/LineContinuationLeadingSpace when a backslash is part of a multiline string literal. ([@ymap][])
#12155: Fix false positive for Layout/RedundantLineBreak when using a modified singleton method definition. ([@koic][])
#12143: Fix a false positive for Lint/ToEnumArguments when using anonymous keyword arguments forwarding. ([@koic][])
#12148: Fix an incorrect autocorrect for Lint/NonAtomicFileOperation when using FileUtils.remove_dir, FileUtils.remove_entry, or FileUtils.remove_entry_secure. ([@koic][])
#12141: Fix false positive for Style/ArgumentsForwarding when method def includes additional kwargs. ([@owst][])
#12154: Fix incorrect diagnosticProvider value of LSP. ([@koic][])
1.56.1 (2023-08-21)
Bug fixes
#12136: Fix a false negative for Layout/LeadingCommentSpace when using #+ or #- as they are not RDoc comments. ([@koic][])
#12113: Fix a false positive for Bundler/DuplicatedGroup when groups are duplicated but source, git, platforms, or path values are different. ([@koic][])
#12134: Fix a false positive for Style/MethodCallWithArgsParentheses when parentheses are used in one-line in pattern matching. ([@koic][])
#12111: Fix an error for Bundler/DuplicatedGroup group declaration has keyword option. ([@koic][])
#12109: Fix an error for Style/ArgumentsForwarding cop when forwarding kwargs/block arg and an additional arg. ([@ydah][])
#12117: Fix a false positive for Style/ArgumentsForwarding cop when not always forwarding block. ([@owst][])
#12115: Fix an error for Style/Lambda when using numbered parameter with a multiline -> call. ([@koic][])
#12124: Fix false positives for Style/RedundantParentheses when parentheses in super or yield call with multiline style argument. ([@koic][])
#12120: Fix false positives for Style/SymbolArray when %i array containing unescaped [, ], (, or ). ([@koic][])
#12133: Fix Style/RedundantSelfAssignmentBranch to handle heredocs. ([@r7kamura][])
#12105: Fix target ruby Gem::Requirement matcher and version parsing to support multiple version constraints. ([@ItsEcholot][])
1.56.0 (2023-08-09)
New features
#12074: Add new Bundler/DuplicatedGroup cop. ([@OwlKing][])
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.55.1 to 1.56.3.
Release notes
Sourced from rubocop's releases.
... (truncated)
Changelog
Sourced from rubocop's changelog.
... (truncated)
Commits
796fcb3
Cut 1.56.32c10ba8
Move a changelog entryfa8bc61
Update Changelog52d0b72
Try avoiding project_root leak to fix flaky error3d427bb
Fix isolated test files should not break isolation.8abcf7e
Fix shadowing of FileFinder stop_dir in isolated tests.77a6b22
[Fix #12151] MakeLayout/EmptyLineAfterGuardClause
allow:nocov:
directiveb1c67e9
Constantize fixed arrays ofStyle/SymbolArray
aab9391
Use RuboCop RSpec 2.244ba4104
[Fix #12195] Fix a false negative forLayout/SpaceAfterNot
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