[src/api] Update rubocop-rails 2.27.0 → 2.28.0 (minor) #17238
Merged
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
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.27.0 → 2.28.0) · Repo · Changelog
Release Notes
2.28.0
Does any of this look wrong? Please let us know.
Commits
See the full diff on Github. The new version differs by 20 commits:
Cut 2.28.0
Update Changelog
Merge pull request #1383 from koic/intro_migrated_schema_version
Introduce `AllCops: MigratedSchemaVersion` config
Merge pull request #1398 from viralpraxis/fix-rails-file-path-cop-error-on-join-method-implicit-receiver
Fix `Rails/FilePath` cop error on `join` method with implicit receiver
Merge pull request #1399 from viralpraxis/fix-rails-file-path-cop-error-on-extra-operations-in-rails-root-interpolation
Fix `Rails/FilePath` cop error in case of extra operations in `Rails.root` interpolation
Merge pull request #1392 from viralpraxis/fix-rails-file-path-cop-error-with-rescued-rails-root
Fix `Rails/FilePath` cop error with rescued `Rails.root`
Apply `rubocop --auto-gen-config`
Merge pull request #1390 from masato-bkn/fix_incorrect_autocorrect_for_rails_select_map
Fix an incorrect autocorrect for `Rails/SelectMap` when `select` has no receiver and method chains are used
Merge pull request #1388 from masato-bkn/modify_rails_pluck_to_ignore_map_when_used_inside_block
Modify `Rails/Pluck` to ignore `map/collect` when used inside blocks to prevent potential N+1 queries
Use RuboCop Performance 1.23 for development
Suppress a RuboCop offense
Merge pull request #1382 from masato-bkn/fix-redundant_active_record_all_method
Fix false negatives for `Rails/RedundantActiveRecordAllMethod` when using `all` method in block
Switch back docs version to master
Release Notes
2.10.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 4 commits:
Release v2.10.0
Add referenced_expressions
Fix char, codepoint for single digit hex escapes
Do dogfooding while linting ...
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