#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][])
#12078: Make LSP server support rubocop.formatAutocorrectsAll execute command. ([@koic][])
Bug fixes
#12106: Fix a false negative for Style/RedundantReturn when returning value with guard clause and return is used. ([@koic][])
#12095: Fix a false positive for Style/Alias when EncforcedStyle: prefer_alias and using alias with interpolated symbol argument. ([@koic][])
#12098: Fix a false positive for Style/ClassEqualityComparison when comparing interpolated string class name for equality. ([@koic][])
#12102: Fix an error for Style/LambdaCall when using nested lambda call x.().(). ([@koic][])
#12099: Fix an incorrect autocorrect for Style/Alias when EncforcedStyle: prefer_alias_method and using alias with interpolated symbol argument. ([@koic][])
#12085: Fix an error for Lint/SuppressedException when AllowNil: true is set and endless method definition is used. ([@koic][])
#12087: Fix false positives for Style/ArgumentsForwarding with additional args/kwargs in def/send nodes. ([@owst][])
#12071: Fix Style/SymbolArray false positives when using square brackets or interpolation in a symbol literal in a percent style array. ([@jasondoc3][])
#12061: Support regex in StringLiteralsInInterpolation. ([@jonas054][])
#12091: With --fail-level A ignore non-correctable offenses at :info severity. ([@naveg][])
Changes
#12094: Add base64 gem to runtime dependency to suppress Ruby 3.3's warning. ([@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 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.
Changelog
Sourced from rubocop's changelog.
... (truncated)
Commits
b85e080
Cut 1.56.27a35bde
Update Changelog2774426
Merge pull request #12161 from ymap/fix_duplicate_word_typos2d741ee
Fix duplicate word typosc4cb471
[Fix #12154] Fix incorrectdiagnosticProvider
value of LSP6ac9ece
[Docs] Add Emacs (LSP Mode) to the LSP doc0e1d4da
Merge pull request #12155 from koic/fix_a_false_positive_for_layout_redundant...4f46bc4
Merge pull request #12157 from kyoshidajp/update_doc_create_a_new_cop8829d33
Update document in create a new cop90cd056
Fix a false positive forLayout/RedundantLineBreak
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