[ruby] Update rubocop-rails 2.21.1 → 2.21.2 (patch)
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.21.1 → 2.21.2) · Repo · Changelog
Release Notes
2.21.2
Bug fixes
- #1126: Fix a false positive for
Rails/RedundantActiveRecordAllMethod
when using someEnumerable
's methods with block argument. (@koic)- #1121: Fix an error for
Rails/SelectMap
when usingselect(:column_name).map(&:column_name)
without receiver model. (@koic)- #1119: Fix an incorrect autocorrect for
Rails/RedundantActiveRecordAllMethod
whenall
has parentheses. (@masato-bkn)- #1130: Fix crash for
Rails/UniqueValidationWithoutIndex
with bare validate. (@jamiemccarthy)- #1124: Fix false positives for
Rails/RedundantActiveRecordAllMethod
when receiver is not an Active Record model. (@koic)
Does any of this look wrong? Please let us know.
Commits
See the full diff on Github. The new version differs by 22 commits:
Cut 2.21.2
Update Changelog
Merge pull request #1135 from technicalpickles/qualify-struct
Use ::Struct to avoid collisions with cop namespace
Merge pull request #1126 from koic/fix_a_false_positive_for_rails_redundant_active_record_all_method
Fix a false positive for `Rails/RedundantActiveRecordAllMethod`
Merge pull request #1127 from koic/fix_false_positive_for_rails_redundant_active_record_dll_method
Merge pull request #1131 from jamiemccarthy/jm-unique-validation-fix
[Fix #1130] Fix crash for Rails/UniqueValidationWithoutIndex with bare validate
Merge pull request #1122 from koic/fix_an_error_for_rails_select_map
Fix duplicate contributor names when generating changelog
Merge pull request #1125 from samrjenkins/fix-unused-render-content-documentation
[Fix #1116] Update Rails/UnusedRenderContent documentation to recommend use of `head` instead of `render`
[Fix #1124] Fix false positives for `Rails/RedundantActiveRecordAllMethod`
Remove unused `extend AutoCorrector`
Merge pull request #1120 from masato-bkn/fix_incorrect_autocorrect_for_rails_redundant_active_record_all_method_when_all_has_parentheses
Add a project spec to prevent error when running `rake changelog:merge`
Merge pull request #1123 from sinsoku/update-rails-tips
[Doc] Prevent unintended auto-correct with after_generate
[Fix #1121] Fix an error for `Rails/SelectMap`
[Fix: #1119] Fix an incorrect autocorrect for `Rails/RedundantActiveRecordAllMethod` when `all` has parentheses
Switch back docs version to master
✳ ️ rubocop (1.56.4 → 1.57.0) · Repo · Changelog
Commits
See the full diff on Github. The new version differs by 41 commits:
Cut 1.57
Update Changelog
[Fix #12076] Explicitly require fileutils in RuboCop::Server::Cache
[Fix #12259] Fix an error for `Lint/MixedCaseRange`
Fix an error for `Style/RedundantDoubleSplatHashBraces`
[Fix #12257] Make `Style/RedundantDoubleSplatHashBraces` aware of `merge`
[Fix #12249] Fix a false positive `Style/IdenticalConditionalBranches`
Merge pull request #12255 from ydah/followup-12176
Remove redundant true/false returns
Merge pull request #12254 from joesiewert/empty-block-text
Edit empty block overview text
Merge pull request #12253 from knu/accept_empty_string_literal_interpolated_in_words_literal
Update `Lint/LiteralInInterpolation` to accept an empty string literal interpolated in %W[]/%I[]
Merge pull request #12247 from koic/fix_false_negatives_for_style_redundant_parentheses
Merge pull request #12250 from koic/mark_lint_redundant_require_statement_as_unsafe_autocorrect
Fix false negatives for `Style/RedundantParentheses`
Mark `Lint/RedundantRequireStatement` as unsafe autocorrect
Remove an unused `include Alignment`
Merge pull request #12234 from koic/enhance_style_format_string_autocorrection
Enhance `Style/FormatString`'s autocorrection
Fix a link address for #12246
Make `Lint/RedundantSafeNavigation` aware of constant receiver
[Fix #12244] Fix a false negative for `Lint/Debugger`
[Fix #12198] Fix an error for flip-flop with beginless or endless ranges
Merge pull request #12240 from koic/fix_a_false_negative_for_metrics_module_length
[Fix #12231] Fix a false negative for `Metrics/ModuleLength`
Fix a build error
Merge pull request #12238 from koic/fix_an_error_for_style_nested_ternary_operator
[Fix #12237] Fix an error for `Style/NestedTernaryOperator`
Merge pull request #12235 from aboutsource/feature/auto_parallel_with_explicit_config
Enable auto parallel inspection when config file is specified
[Docs] Tweak docs for `Metrics/BlockLength` and `Metrics/ClassLength`
Tweak autocorrection for `Style/RedundantBegin`
[Fix #12226] Fix false positives for `Layout/MultilineMethodCallIndentation`
Add new `Style/SingleLineDoEndBlock` cop
Fix false negatives for `Style/MultilineBlockChain`
[Fix #12097] Mark unsafe autocorrect for `Style/ClassEqualityComparison`
Make `Style/RedundantFilterChain` aware of `select.present?`
[Fix #12128] Make `Style/GuardClause` aware of `define_method`
[Fix #12210] Mark `Style/RedundantFilterChain` as unsafe autocorrect
Switch back the docs version
↗ ️ regexp_parser (indirect, 2.8.1 → 2.8.2) · Repo · Changelog
Release Notes
2.8.2 (from changelog)
Fixed
- handle a corner case where parsing redundant number escapes raised an error
- e.g.
parse(/\99/)
, which in Ruby is a valid Regexp that matches99
- thanks to Markus Schirp for the report
Does any of this look wrong? Please let us know.
Commits
See the full diff on Github. The new version differs by 9 commits:
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)