quepid
quepid copied to clipboard
Update dependency rubocop-rails to v2.25.0
This PR contains the following updates:
Package | Change | Age | Adoption | Passing | Confidence |
---|---|---|---|---|---|
rubocop-rails (source, changelog) | 2.23.1 -> 2.25.0 |
Release Notes
rubocop/rubocop-rails (rubocop-rails)
v2.25.0
New features
-
#1272: Add new
Rails/WhereRange
cop. ([@fatkodima][])
Bug fixes
-
#1270: Fix an incorrect autocorrect for
Rails/Validation
when usingvalidates_size_of
. ([@koic][]) -
#1278: Fix a false positive for
Rails/SkipsModelValidations
when usinginsert
orinsert!
with a safe navigator. ([@tldn0718][]) -
#1260: Fix a performance regression caused by
Rails/UnknownEnv
when using Rails 7.1. ([@lukasfroehlich1][])
Changes
-
#1249: Disable
Rails/UnusedIgnoredColumns
by default. ([@earlopain][]) -
#1266: Check
change_table
calls for offenses. ([@ccutrer][]) -
#1267: Make
Rails/HttpStatus
aware of Rails-specific response assertions. ([@tldn0718][]) -
#1137: Migrate to
TargetRailsVersion
the newrequires_gem
API. ([@amomchilov][])
v2.24.1
Bug fixes
-
#1244: Fix a false positive for
Rails/ActionControllerFlashBeforeRender
when returningredirect_to
. ([@earlopain][]) -
#1255: Fix an error for
Rails/UniqBeforePluck
withEnforcedStyle: aggressive
when no receiver. ([@earlopain][]) -
#1247: Fix an error for
Rails/UnusedIgnoredColumns
when without tables in db/schema.rb. ([@koic][]) -
#1253: Fix an error for
Rails/WhereMissing
with leadingwhere
without receiver. ([@earlopain][]) -
#1254: Fix an error for
Rails/ExpandedDateRange
when passing an argument only to the first method call for weeks. ([@earlopain][]) -
#1256: Fix an error for
Rails/ActiveSupportOnLoad
when calling without arguments. ([@earlopain][]) -
#1230: Fix a false positive for
Rails/SaveBang
ifpersisted?
is checked on parenthesised expression. ([@earlopain][]) -
#1200: Make
Rails/TimeZone
aware of safe navigation. ([@earlopain][])
Changes
-
#1257: Add Rails 7.1 load hooks and
active_record_sqlite3adapter
toRails/ActiveSupportOnLoad
. ([@earlopain][])
v2.24.0
New features
Bug fixes
-
#1234: Fix an incorrect autocorrect for
Rails/FindBy
when using multi-line leading dot method calls. ([@ymap][]) -
#1241: Fix an error for
Rails/WhereExists
withEnforcedStyle: where
and implicit receivers. ([@earlopain][])
Changes
-
#1229: Make
Rails/EnvironmentVariableAccess
aware of initializers. ([@markokajzer][]) -
#1231: Remove
object_id
fromRails/DangerousColumnNames
targets. ([@r7kamura][])
Configuration
📅 Schedule: Branch creation - "* 8-20 1 * *" (UTC), Automerge - At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
- [ ] If you want to rebase/retry this PR, check this box
This PR has been generated by Mend Renovate. View repository job log here.