* [#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-rails (2.20.2 → 2.21.0) · Repo · Changelog
Release Notes
2.21.0
Does any of this look wrong? Please let us know.
Commits
See the full diff on Github. The new version differs by 59 commits:
Cut 2.21.0
Update Changelog
Merge pull request #970 from samrjenkins/add-unused-render-content-cop
[Fix #967] Add new Rails/UnusedRenderContent cop
Merge pull request #1102 from koic/add_new_rails_select_map_cop
Merge pull request #903 from joergschiller/database_from_env_bulk_change_table
Read database config from environment variable
Merge pull request #1101 from koic/make_rails_http_status_aware_of_string_number_status
Merge pull request #1103 from rubocop/dependabot/github_actions/actions/checkout-4
Bump actions/checkout from 3 to 4
[Fix #1075] Add new `Rails/SelectMap` cop
Merge pull request #1097 from koic/make_style_invertible_unless_condition_aware_of_as_methods
[Fix #1080] Make `Rails/HttpStatus` aware of string number status
Fix a build error
Merge pull request #1099 from leonelgalan/patch-1
Merge pull request #1100 from vlad-pisanov/vp_fix_lexically_scoped_action_filter
[Fix #1078] Fix false negative for `Rails/LexicallyScopedActionFilter`
Update WhereExists Documentation
Merge pull request #1096 from koic/make_rails_time_zone_aware_of_string_to_time
Merge pull request #1098 from oieioi/fix-comment-backquotes
Fix incorrect comments as AsciiDoc inline code
[Fix #1015] Make `Style/InvertibleUnlessCondition` aware of Active Support methods
Merge pull request #1020 from masato-bkn/add_rails_redundant_all
[Fix #1094] Make `Rails/TimeZone` aware of `String#to_time`
Merge pull request #1088 from koic/rename_allowed_methods_to_transaction_methods
[Fix #1016] Add `Rails/RedundantActiveRecordAllMethod` cop
Rename `AllowedMethods` to `TransactionMethods` for `Rails/TransactionExitStatement`
Merge pull request #1072 from marocchino/add-configurable-option-to-transaction-exit-statement
Raise severity of `Rails/DangerousColumnNames` cop to warning
Add Configurable option for `Rails/TransactionExitStatement`
Rename a changelog entry file
Merge pull request #1018 from r7kamura/dangerous-column-names
Merge pull request #1070 from koic/fix_an_incorrect_autocorrect_for_rails_negate_include
Merge pull request #1069 from koic/make_lint_safe_navigation_chain_allow_presence_in
Merge pull request #1068 from koic/fix_an_error_for_rails_file_path
[Fix #1045] Fix an incorrect autocorrect for `Rails/NegateInclude`
[Fix #1031] Make `Lint/SafeNavigationChain` allow `presence_in`
[Fix #1066] Fix an error for `Rails/FilePath`
Merge pull request #1063 from fastjames/rake_environment_autocorrect_args
[Fix #1062] Correct rake tasks with arguments
Merge pull request #1056 from mjankowski/database-adapter-detection
Merge pull request #1061 from koic/fix_a_false_positive_for_rails_http_status
Merge pull request #1059 from koic/relax_include_path_for_rails_find_by_and_find_each
[Fix #1060] Fix a false positive for `Rails/HttpStatus`
[Fix #1058] Relax `Include` path for `Rails/FindBy` and `Rails/FindEach`
Merge pull request #1042 from nipe0324/fix-schema-comment-with-multi-t-column
Fix create_table with multi t columns for `Rails/SchemaComment`
Merge pull request #1052 from sunny/add-explicit-option-to-i18n-lazy-lookup
Fix database adapter detection for nested config
Merge pull request #1004 from r7kamura/root-pathname-methods-ruby-version
Add explicit option to `Rails/I18nLazyLookup`
Merge pull request #1049 from ydah/fix-rails-file-path-autocorrect
Fix an incorrect autocorrect for `Rails/FilePath` when File.join with Rails.root and path starting with `/`
Merge pull request #994 from mjankowski/duplicate-associations-only-on-activerecord
Restrict DuplicateAssociation cop to ActiveRecord
Merge pull request #1038 from fatkodima/fix-unique_validation_without_index-empty-schema
Fix an error for `UniqueValidationWithoutIndex` when `db/schema.rb` is empty
Suppress new `Style/ReturnNilInPredicateMethodDefinition` offenses
Switch back docs version to master
✳️ 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
↗️ minitest (indirect, 5.18.1 → 5.20.0) · Repo · Changelog
Release Notes
5.20.0 (from changelog)
5.19.0 (from changelog)
Does any of this look wrong? Please let us know.
Commits
See the full diff on Github. The new version differs by 8 commits:
prepped for release
+ Optionally allow autorun exit hook to remain active in forked child. (casperisfine)
Fixed skip messages for non-forking systems. (casperisfine)
prepped for release
+ Add metadata lazy accessor to Runnable / Result. (matteeyah)
- Minitest::TestTask enthusiastically added itself to default. (ParadoxV5)
+ Only load minitest/unit (aka ancient MiniTest compatibility layer) if ENV["MT_COMPAT"]
Replace 'MiniTest' with 'Minitest' in example code. (sambostock)
↗️ rack (indirect, 2.2.7 → 2.2.8) · Repo · Changelog
Commits
See the full diff on Github. The new version differs by 7 commits:
Bump patch version.
Regenerate SPEC (#2102)
Fix inefficient assert pattern in Rack::Lint (#2101)
Prefer ubuntu-latest for testing. (#2095)
Update cookie.rb (#2092)
adds missing 2.2.7 to CHANGELOG.md (#2081)
Limit file extension length of multipart tempfiles (#2069) (#2075)
🆕 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