Update rubocop-rails 2.24.1 → 2.25.1 (minor) #495
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.24.1 → 2.25.1) · Repo · Changelog
Release Notes
2.25.1
2.25.0
Does any of this look wrong? Please let us know.
Commits
See the full diff on Github. The new version differs by 54 commits:
Cut 2.25.1
Update Changelog
Use RuboCop RSpec 3.0
Merge pull request #1297 from ChaelCodes/1295-rails-validations-covers-comparison
[Fix #1295] Cover validates_comparison_of in Rails/Validation
Merge pull request #1300 from Earlopain/changelog-tweaks
Consistently specify department in current changelog entries
Merge pull request #1299 from Earlopain/error-not-null-column
Fix an error for `Rails/NotNullColumn` when the block for `change_table` is empty
Merge pull request #1289 from fwolfst/1288-let_link_to_blank_find_link_to_if_and_unless
add link_to_if and link_to_unless to matched calls
Use `sh` instead of `system cmd, exception: true` in *.rake
Merge pull request #1293 from fatkodima/where-range-unsafe
[Fix #1283] Mark `WhereRange` as unsafe autocorrect
Merge pull request #1292 from fatkodima/fix-where-range-complex-expressions
Merge pull request #1291 from fatkodima/fix-where_range-spaces
[Fix #1281] Fix `WhereRange` autocorrect for complex expressions
[Fix #1282] Fix `WhereRange` to correctly handle template strings with extra spaces
Merge pull request #1284 from ccutrer/fix-change-column-null-in-bulk-change-table
[Fix #1280] Handle change_column_null for BulkChangeTable
Merge pull request #1290 from Earlopain/badge-circleci
Fix readme CI badge
Merge pull request #1287 from koic/mark_rails_skips_model_validations_as_unsafe
[Fix #1286] Mark `Rails/SkipsModelValidations` as unsafe
Suppress a RuboCop's offense
Switch back docs version to master
Cut 2.25.0
Update Changelog
Merge pull request #1279 from tldn0718/fix-skip-model-validation-safe-navigator
[Fix rubocop#1278] Fix a false positivie for Rails/SkipsModelValidations
Merge pull request #1277 from thiago-gitlab/rails-pick-description
Warn about subqueries when replacing pluck with pick
Merge pull request #1275 from koic/restore_skipping_specs_for_prism
Merge pull request #1265 from ccutrer/not-null-column-docs
Restore skipped specs for Prism
Merge pull request #1266 from ccutrer/inspect_change_table_for_not_null_column
Merge pull request #1272 from fatkodima/where_range-cop
Merge pull request #1267 from tldn0718/http-status-assertions
Add new `Rails/WhereRange` cop
Suppress offenses of `InternalAffairs/ExampleDescription`
Merge pull request #1271 from koic/fix_an_incorrect_autocorrect_for_rails_validation
[Fix #1270] Fix an incorrect autocorrect for `Rails/Validation`
Merge pull request #1137 from amomchilov/migrate-to-requires_gem-api
Use `requires_gem` API in `TargetRailsVersion`
Make Rails/HttpStatus award of Rails specific response assertions
Rails/NotNullColumn: Inspect change_table calls for offenses
[Fix #237] Improve documentation for Rails/NotNullColumn
Merge pull request #1252 from Earlopain/disable-unused-ignored-columns
Use RuboCop Performance 1.21
Merge pull request #1263 from jherdman/protect-against-pretend-generates
Protect against pretend generates
Merge pull request #1262 from lukasfroehlich1/fix_unknown_env_mutate
[Fix #1260] Fix performance regression caused by `Rails/UnknownEnv` on Rails >= 7.1
Switch back docs version to master
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