#12221: Fix a false positive for Layout/EmptyLineAfterGuardClause when using return before guard condition with heredoc. (@koic)
#12213: Fix a false positive for Lint/OrderedMagicComments when comment text # encoding: ISO-8859-1 is embedded within example code as source code comment. (@koic)
#12205: Fix an error for Style/OperatorMethodCall when using foo bar./ baz. (@koic)
#12208: Fix an incorrect autocorrect for the --disable-uncorrectable command line option when registering an offense is outside a percent array. (@koic)
#12203: Fix an incorrect autocorrect for Lint/SafeNavigationChain when using safe navigation with comparison operator as an expression of logical operator or comparison operator's operand. (@koic)
#12206: Fix an incorrect autocorrect for Style/OperatorMethodCall when using foo./bar. (@koic)
#12202: Fix an incorrect autocorrect for Style/RedundantConditional when unless/else with boolean results. (@ydah)
#12199: Fix false negatives for Layout/MultilineMethodCallIndentation when using safe navigation operator. (@koic)
Changes
#12197: Make Style/CollectionMethods aware of collect_concat. (@koic)
RuboCop 1.56.3
Bug fixes
#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)
#12221: Fix a false positive for Layout/EmptyLineAfterGuardClause when using return before guard condition with heredoc. ([@koic][])
#12213: Fix a false positive for Lint/OrderedMagicComments when comment text # encoding: ISO-8859-1 is embedded within example code as source code comment. ([@koic][])
#12205: Fix an error for Style/OperatorMethodCall when using foo bar./ baz. ([@koic][])
#12208: Fix an incorrect autocorrect for the --disable-uncorrectable command line option when registering an offense is outside a percent array. ([@koic][])
#12203: Fix an incorrect autocorrect for Lint/SafeNavigationChain when using safe navigation with comparison operator as an expression of logical operator or comparison operator's operand. ([@koic][])
#12206: Fix an incorrect autocorrect for Style/OperatorMethodCall when using foo./bar. ([@koic][])
#12202: Fix an incorrect autocorrect for Style/RedundantConditional when unless/else with boolean results. ([@ydah][])
#12199: Fix false negatives for Layout/MultilineMethodCallIndentation when using safe navigation operator. ([@koic][])
Changes
#12197: Make Style/CollectionMethods aware of collect_concat. ([@koic][])
1.56.3 (2023-09-11)
Bug fixes
#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][])
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)
coverage: 78.329%. remained the same when pulling 5485349404ebf8fe276ce3ef09a670e5a54a3e09 on dependabot/bundler/rubocop-1.56.4 into a764a67eeca5d7f226cb536a1619a9b735202636 on master.
Bumps rubocop from 1.56.2 to 1.56.4.
Release notes
Sourced from rubocop's releases.
Changelog
Sourced from rubocop's changelog.
Commits
fc57892
Cut 1.56.4b7d99b8
Update Changelog0f55002
Merge pull request #12222 from koic/fix_a_false_positive_for_layout_empty_lin...59fb188
Merge pull request #12220 from koic/fix_an_incorrect_autocorrect_for_disable_...9b04830
[Fix #12221] Fix a false positive forLayout/EmptyLineAfterGuardClause
d0d612e
[Fix #12208] Fix an incorrect autocorrect for the--disable-uncorrectable
o...c626229
Merge pull request #12218 from koic/fix_a_false_positive_for_lint_ordered_mag...a2c1100
[Fix #12213] Fix a false positive forLint/OrderedMagicComments
3e92160
DisableRSpec/FilePath
to resolve build error1e43822
Merge pull request #12215 from koic/update_the_doc_of_style_return_nilDependabot 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