Split RSpec/FilePath into RSpec/SpecFilePathSuffix and RSpec/SpecFilePathFormat. RSpec/FilePath cop is enabled by default, the two new cops are pending and need to be enabled explicitly. (@ydah)
* [#12138](https://github.com//issues/12138): Fix a false positive for `Layout/LineContinuationLeadingSpace` when a backslash is part of a multiline string literal. ([@ymap][])
* [#12155](https://github.com//pull/12155): Fix false positive for `Layout/RedundantLineBreak` when using a modified singleton method definition. ([@koic][])
* [#12143](https://github.com//issues/12143): Fix a false positive for `Lint/ToEnumArguments` when using anonymous keyword arguments forwarding. ([@koic][])
* [#12148](https://github.com//pull/12148): Fix an incorrect autocorrect for `Lint/NonAtomicFileOperation` when using `FileUtils.remove_dir`, `FileUtils.remove_entry`, or `FileUtils.remove_entry_secure`. ([@koic][])
* [#12141](https://github.com//issues/12141): Fix false positive for `Style/ArgumentsForwarding` when method def includes additional kwargs. ([@owst][])
* [#12154](https://github.com//issues/12154): Fix incorrect `diagnosticProvider` value of LSP. ([@koic][])
#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)
Depfu will automatically keep this PR conflict-free, as long as you don't add any commits to this branch yourself. You can also trigger a rebase manually by commenting with @depfu rebase.
All Depfu comment commands
@depfu rebase
Rebases against your default branch and redoes this update
@depfu recreate
Recreates this PR, overwriting any edits that you've made to it
@depfu merge
Merges this PR once your tests are passing and conflicts are resolved
@depfu cancel merge
Cancels automatic merging of this PR
@depfu close
Closes this PR and deletes the branch
@depfu reopen
Restores the branch and reopens this PR (if it's closed)
@depfu pause
Ignores all future updates for this dependency and closes this PR
@depfu pause [minor|major]
Ignores all future minor/major updates for this dependency and closes this PR
@depfu resume
Future versions of this dependency will create PRs again (leaves this PR as is)
Here is everything you need to know about this update. Please take a good look at what changed and the test results before merging this pull request.
What changed?
✳️ rubocop-rspec (2.23.0 → 2.24.0) · Repo · Changelog
Release Notes
2.24.0
2.23.2
2.23.1
Does any of this look wrong? Please let us know.
Commits
See the full diff on Github. The new version differs by 42 commits:
Merge pull request #1708 from rubocop/release
Bump version to v2.24.0
Merge pull request #1497 from r7kamura/feature/metadata-style
Add `RSpec/MetadataStyle` and `RSpec/EmptyMetadata` cops
Merge pull request #1707 from rubocop/dependabot/github_actions/actions/checkout-4
Bump actions/checkout from 3 to 4
Merge pull request #1706 from rubocop/clarify-eq-cop-documentation
Docs: Avoid confusion with be_truthy, etc.
Merge pull request #1704 from rubocop/fix/398
Fix a false positive `RSpec/Focus` when chained method call and inside define method
Merge pull request #1703 from rubocop/resolve/1702
Add support `RSpec/Rails/HttpStatus` when `have_http_status` with string argument
Merge pull request #1698 from rubocop/split-file-path-cop
Split `RSpec/FilePath` into `RSpec/SpecFilePathSuffix` and `RSpec/SpecFilePathFormat`
Add configuration option `IgnoreMetadata`
Add `RSpec/SpecFilePathFormat` cop
Add `RSpec/SpecFilePathSuffix` cop
Merge pull request #1682 from rubocop/add-eq
Merge branch 'master' into add-eq
Add new `RSpec/Eq` cop
Merge pull request #1697 from marocchino/fix-receive-messages-autocorrect
Fix autocorrect in `RSpec/ReceiveMessages`
Merge pull request #1696 from bcgraham/fix-nb-space-infinite-loop
Fix infinite loop in ExcessiveDocstringSpacing
Merge pull request #1680 from rubocop/use_offense
Merge pull request #1686 from rubocop/add-test-for-negation-be-valid-multiple-expectations
Use offense instead of violation
Merge pull request #1693 from rubocop/release
Bump version to v2.23.2
Merge pull request #1690 from marocchino/fix-receive-messages
Cover symbol methods
Do not match with splat returns
Merge pull request #1692 from rubocop/correct_offense
Correct some offenses for RuboCop v1.56.0
Switch docs version back
Merge pull request #1688 from rubocop/release
Bump version to v2.23.1
Merge pull request #1687 from rubocop/receive-messages-has-unsafe-autocorrection
Declare autocorrect as unsafe for `RSpec/ReceiveMessages`
Merge pull request #1685 from rubocop/mark-unsafe-for-negation-be-valid
Mark to `Safe: false` for `RSpec/Rails/NegationBeValid` cop
Add test case for `RSpec/Rails/NegationBeValid`
✳️ rubocop (1.55.1 → 1.56.2) · Repo · Changelog
Release Notes
1.56.2 (from changelog)
1.56.1
1.56.0
Does any of this look wrong? Please let us know.
Commits
See the full diff on Github. The new version differs by 71 commits:
Cut 1.56.2
Update Changelog
Merge pull request #12161 from ymap/fix_duplicate_word_typos
Fix duplicate word typos
[Fix #12154] Fix incorrect `diagnosticProvider` value of LSP
[Docs] Add Emacs (LSP Mode) to the LSP doc
Merge pull request #12155 from koic/fix_a_false_positive_for_layout_redundant_line_break
Merge pull request #12157 from kyoshidajp/update_doc_create_a_new_cop
Update document in create a new cop
Fix a false positive for `Layout/RedundantLineBreak`
Merge pull request #12153 from koic/suppress_warning_bigdecimal_will_be_bundled_gem
Suppress a Ruby warning when using Ruby 3.3.0dev
Merge pull request #12148 from koic/fix_an_incorrect_autocorrect_for_lint_non_atomic_file_operation
Fix an incorrect autocorrect for `Lint/NonAtomicFileOperation`
Merge pull request #12139 from ymap/fix_a_false_positive_for_layout_line_continuation_leading_space
[Fix #12138] Fix a false positive for `Layout/LineContinuationLeadingSpace`
Merge pull request #12145 from koic/fix_a_false_positive_for_lint_to_enum_arguments
[Fix #12143] Fix a false positive for `Lint/ToEnumArguments`
Merge pull request #12142 from owst/correct_style_arguments_forwarding_with_additional_kwarg
[Fix #12141] Fix false positive for `Style/ArgumentsForwarding`
Switch back the docs version
Cut 1.56.1
Update Changelog
Fix a false negative for `Layout/LeadingCommentSpace`
[Fix #12134] Fix a false positive for `Style/MethodCallWithArgsParentheses`
Merge pull request #12133 from r7kamura/style-redundant-self-assignment-branch-heredoc
Fix `Style/RedundantSelfAssignmentBranch` to handle heredocs
Use squiggly heredoc
Merge pull request #12127 from ItsEcholot/bugfix/required_ruby_version_gem_requirement_matching
[Fix #12105] Adjust target ruby gem requirement matcher and version parsing to support multiple version constraints
Merge pull request #12121 from chulkilee/fix-warning
fix instance variable not initialized warning / memoization
[Fix #12124] Fix false positives for `Style/RedundantParentheses`
[Fix #12113] Fix a false positive for `Bundler/DuplicatedGroup`
Fix a PR number in a changelog entry
Merge pull request #12120 from koic/fix_a_false_positive_for_style_symbol_array
Fix false positives for `Style/SymbolArray`
Merge pull request #12118 from owst/fix_arguments_forwarding_splat_without_block
[Fix #12117] Fix `Style/ArgumentsForwarding` when not always forwarding a block
Use RuboCop Performance 1.19
Use `delete_prefix` and `delete_suffix`
Fix an error for `Style/Lambda`
[Fix #12111] Fix an error for `Bundler/DuplicatedGroup`
[Docs] Update example of `rubocop -V`
Merge pull request #12110 from ydah/fix/12109
[Fix: #12109] Fix an error for `Style/ArgumentsForwarding` cop when forwarding kwargs/block arg and an additional arg
Switch back the docs version
Cut 1.56
Tweak whitespace
Update Changelog
Add new `Bundler/DuplicatedGroup` cop (#12074)
With `--fail-level A` ignore non-correctable offenses at :info severity
Merge pull request #12103 from owst/fixup_additional_args_forwarding
[Fix #12087] Fix false positives for Style/ArgumentsForwarding
[Fix #12106] Fix a false negative for `Style/RedundantReturn`
Merge pull request #12102 from koic/fix_an_error_for_style_lambda_call
Fix an error for `Style/LambdaCall`
Merge pull request #12099 from koic/fix_an_incorrect_autocorrect_for_style_alias
Fix an incorrect autocorrect for `Style/Alias`
Fix a false positive for `Style/ClassEqualityComparison`
Merge pull request #12095 from koic/fix_a_false_positive_for_style_alias
Fix a false positive for `Style/Alias`
Make LSP server support `rubocop.formatAutocorrectsAll` execute command
Add `base64` to runtime dependency
Merge pull request #12092 from jonas054/12061_StringLiteralsInInterpolation_regex
[Fix #12061] Support regex in StringLiteralsInInterpolation
Merge pull request #12086 from koic/fix_error_for_lint_suppressed_exception
Merge pull request #12088 from jasondoc3/jason/fix-false-positive-symbol-array
[Fix #12071] Fix Style/SymbolArray false positives
[Fix #12085] Fix an error for `Lint/SuppressedException`
Switch back the docs version
🆕 base64 (added, 0.1.1)
Depfu will automatically keep this PR conflict-free, as long as you don't add any commits to this branch yourself. You can also trigger a rebase manually by commenting with
@depfu rebase
.All Depfu comment commands