#12274: Fix a false positive for Lint/Void when each's receiver is an object of Enumerator to which filter has been applied. (@koic)
#12291: Fix a false positive for Metrics/ClassLength when a class with a singleton class definition. (@koic)
#12293: Fix a false positive for Style/RedundantDoubleSplatHashBraces when using double splat hash braces with merge and method chain. (@koic)
#12298: Fix a false positive for Style/RedundantParentheses when using a parenthesized hash literal as the first argument in a method call without parentheses. (@koic)
#12283: Fix an error for Style/SingleLineDoEndBlock when using single line do...end with no body. (@koic)
#12312: Fix an incorrect autocorrect for Style/HashSyntax when braced hash key and value are the same and it is used in if...else. (@koic)
#12307: Fix an infinite loop error for Layout/EndAlignment when EnforcedStyleAlignWith: variable and using a conditional statement in a method argument on the same line and end with method call is not aligned. (@koic)
#11652: Make --auto-gen-config generate inherit_from correctly inside ERB if. (@jonas054)
#12310: Drop base64 gem from runtime dependency. (@koic)
#12300: Fix an error for Style/IdenticalConditionalBranches when if...else with identical leading lines and using index assign. (@koic)
#12286: Fix false positives for Style/RedundantDoubleSplatHashBraces when using double splat with a hash literal enclosed in parenthesized ternary operator. (@koic)
#12279: Fix false positives for Lint/EmptyConditionalBody when missing 2nd if body with a comment. (@koic)
#12275: Fix a false positive for Style/RedundantDoubleSplatHashBraces when using double splat within block argument containing a hash literal in an array literal. (@koic)
#12284: Fix false positives for Style/SingleArgumentDig when using some anonymous argument syntax. (@koic)
#12301: Make Style/RedundantFilterChain aware of safe navigation operator. (@koic)
RuboCop 1.57.1
Bug fixes
#12271: Fix a false positive for Lint/RedundantSafeNavigation when using snake case constant receiver. (@koic)
#12265: Fix an error for Layout/MultilineMethodCallIndentation when usingarithmetic operation with block inside a grouped expression. (@koic)
#12177: Fix an incorrect autocorrect for Style/RedundantException. (@ydah)
#12261: Fix an infinite loop for Layout/MultilineMethodCallIndentation when multiline method chain with a block argument and method chain. (@ydah)
#12263: Fix false positives for Style/RedundantDoubleSplatHashBraces when method call for no hash braced double splat receiver. (@koic)
#12262: Fix an incorrect autocorrect for Style/RedundantDoubleSplatHashBraces when using double splat hash braces with merge method call twice. (@koic)
RuboCop 1.57
New features
#12227: Add new Style/SingleLineDoEndBlock cop. (@koic)
#12246: Make Lint/RedundantSafeNavigation aware of constant receiver. (@koic)
#12257: Make Style/RedundantDoubleSplatHashBraces aware of merge methods. (@koic)
Bug fixes
#12244: Fix a false negative for Lint/Debugger when using debugger method inside block. (@koic)
#12231: Fix a false negative for Metrics/ModuleLength when defining a singleton class in a module. (@koic)
#12249: Fix a false positive Style/IdenticalConditionalBranches when if..else with identical leading lines and assign to condition value. (@koic)
#12253: Fix Lint/LiteralInInterpolation to accept an empty string literal interpolated in words literal. ([@knu][])
#12198: Fix an error for flip-flop with beginless or endless ranges. (@koic)
#12259: Fix an error for Lint/MixedCaseRange when using nested character class in regexp. (@koic)
#12274: Fix a false positive for Lint/Void when each's receiver is an object of Enumerator to which filter has been applied. ([@koic][])
#12291: Fix a false positive for Metrics/ClassLength when a class with a singleton class definition. ([@koic][])
#12293: Fix a false positive for Style/RedundantDoubleSplatHashBraces when using double splat hash braces with merge and method chain. ([@koic][])
#12298: Fix a false positive for Style/RedundantParentheses when using a parenthesized hash literal as the first argument in a method call without parentheses. ([@koic][])
#12283: Fix an error for Style/SingleLineDoEndBlock when using single line do...end with no body. ([@koic][])
#12312: Fix an incorrect autocorrect for Style/HashSyntax when braced hash key and value are the same and it is used in if...else. ([@koic][])
#12307: Fix an infinite loop error for Layout/EndAlignment when EnforcedStyleAlignWith: variable and using a conditional statement in a method argument on the same line and end with method call is not aligned. ([@koic][])
#11652: Make --auto-gen-config generate inherit_from correctly inside ERB if. ([@jonas054][])
#12310: Drop base64 gem from runtime dependency. ([@koic][])
#12300: Fix an error for Style/IdenticalConditionalBranches when if...else with identical leading lines and using index assign. ([@koic][])
#12286: Fix false positives for Style/RedundantDoubleSplatHashBraces when using double splat with a hash literal enclosed in parenthesized ternary operator. ([@koic][])
#12279: Fix false positives for Lint/EmptyConditionalBody when missing 2nd if body with a comment. ([@koic][])
#12275: Fix a false positive for Style/RedundantDoubleSplatHashBraces when using double splat within block argument containing a hash literal in an array literal. ([@koic][])
#12284: Fix false positives for Style/SingleArgumentDig when using some anonymous argument syntax. ([@koic][])
#12301: Make Style/RedundantFilterChain aware of safe navigation operator. ([@koic][])
1.57.1 (2023-10-13)
Bug fixes
#12271: Fix a false positive for Lint/RedundantSafeNavigation when using snake case constant receiver. ([@koic][])
#12265: Fix an error for Layout/MultilineMethodCallIndentation when usingarithmetic operation with block inside a grouped expression. ([@koic][])
#12177: Fix an incorrect autocorrect for Style/RedundantException. ([@ydah][])
#12261: Fix an infinite loop for Layout/MultilineMethodCallIndentation when multiline method chain with a block argument and method chain. ([@ydah][])
#12263: Fix false positives for Style/RedundantDoubleSplatHashBraces when method call for no hash braced double splat receiver. ([@koic][])
#12262: Fix an incorrect autocorrect for Style/RedundantDoubleSplatHashBraces when using double splat hash braces with merge method call twice. ([@koic][])
1.57.0 (2023-10-11)
New features
#12227: Add new Style/SingleLineDoEndBlock cop. ([@koic][])
#12246: Make Lint/RedundantSafeNavigation aware of constant receiver. ([@koic][])
#12257: Make Style/RedundantDoubleSplatHashBraces aware of merge methods. ([@koic][])
Bug fixes
#12244: Fix a false negative for Lint/Debugger when using debugger method inside block. ([@koic][])
#12231: Fix a false negative for Metrics/ModuleLength when defining a singleton class in a module. ([@koic][])
#12249: Fix a false positive Style/IdenticalConditionalBranches when if..else with identical leading lines and assign to condition value. ([@koic][])
#12253: Fix Lint/LiteralInInterpolation to accept an empty string literal interpolated in words literal. ([@knu][])
#12198: Fix an error for flip-flop with beginless or endless ranges. ([@koic][])
#12259: Fix an error for Lint/MixedCaseRange when using nested character class in regexp. ([@koic][])
#12237: Fix an error for Style/NestedTernaryOperator when a ternary operator has a nested ternary operator within an if. ([@koic][])
#12228: Fix false negatives for Style/MultilineBlockChain when using multiline block chain with safe navigation operator. ([@koic][])
#12247: Fix false negatives for Style/RedundantParentheses when using logical or comparison expressions with redundant parentheses. ([@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 show ignore conditions` will show all of the ignore conditions of the specified dependency
- `@dependabot ignore major version` will close this group update PR and stop Dependabot creating any more for the specific dependency's major version (unless you unignore this specific dependency's major version or upgrade to it yourself)
- `@dependabot ignore minor version` will close this group update PR and stop Dependabot creating any more for the specific dependency's minor version (unless you unignore this specific dependency's minor version or upgrade to it yourself)
- `@dependabot ignore ` will close this group update PR and stop Dependabot creating any more for the specific dependency (unless you unignore this specific dependency or upgrade to it yourself)
- `@dependabot unignore ` will remove all of the ignore conditions of the specified dependency
- `@dependabot unignore ` will remove the ignore condition of the specified dependency and ignore conditions
Bumps the bundler-deps group with 2 updates: rake and rubocop.
Updates
rake
from 13.0.6 to 13.1.0Commits
5476cda
Bump up v13.1.01b6afad
Merge pull request #521 from ruby/dependabot/github_actions/ruby/setup-ruby-1...8b2a01c
Bump ruby/setup-ruby from 1.156.0 to 1.157.01607fbf
Merge pull request #520 from ruby/dependabot/github_actions/actions/checkout-...6594585
Bump actions/checkout from 4.1.0 to 4.1.16717ce8
Merge pull request #519 from ruby/dependabot/github_actions/ruby/setup-ruby-1...4b4b211
Bump ruby/setup-ruby from 1.155.0 to 1.156.05e76ef6
Merge pull request #518 from ruby/dependabot/github_actions/ruby/setup-ruby-1...8d39c6b
Bump ruby/setup-ruby from 1.154.0 to 1.155.0191a9d7
Merge pull request #517 from ruby/dependabot/github_actions/ruby/setup-ruby-1...Updates
rubocop
from 1.56.4 to 1.57.2Release notes
Sourced from rubocop's releases.
... (truncated)
Changelog
Sourced from rubocop's changelog.
... (truncated)
Commits
47735ef
Cut 1.57.24ab3622
Update Changelogd995cb4
Fix a changelog entryd79ee4b
[Fix #12312] Fix an incorrect autocorrect forStyle/HashSyntax
b2b29da
[Fix #12310] Dropbase64
gem from runtime dependency36f62b6
[Fix #12307] Fix an infinite loop error forLayout/EndAlignment
34e77c6
Tweak offense message forLint/Void
7bedbf4
[Fix #12274] Fix a false positive forLint/Void
21cad51
[Fix #11652] Generate inherit_from correctly also with ERB41dda1f
Merge pull request #12304 from koic/fix_error_for_style_identical_conditional...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