cloudflare-rails
cloudflare-rails copied to clipboard
Update rubocop-rails requirement from ~> 2.23.1 to ~> 2.24.1
Updates the requirements on rubocop-rails to permit the latest version.
Release notes
Sourced from rubocop-rails's releases.
RuboCop Rails 2.24.1
Bug fixes
- #1244: Fix a false positive for
Rails/ActionControllerFlashBeforeRenderwhen returningredirect_to. (@earlopain)- #1255: Fix an error for
Rails/UniqBeforePluckwithEnforcedStyle: aggressivewhen no receiver. (@earlopain)- #1247: Fix an error for
Rails/UnusedIgnoredColumnswhen without tables in db/schema.rb. (@koic)- #1253: Fix an error for
Rails/WhereMissingwith leadingwherewithout receiver. (@earlopain)- #1254: Fix an error for
Rails/ExpandedDateRangewhen passing an argument only to the first method call for weeks. (@earlopain)- #1256: Fix an error for
Rails/ActiveSupportOnLoadwhen calling without arguments. (@earlopain)- #1230: Fix a false positive for
Rails/SaveBangifpersisted?is checked on parenthesised expression. (@earlopain)- #1200: Make
Rails/TimeZoneaware of safe navigation. (@earlopain)Changes
- #1257: Add Rails 7.1 load hooks and
active_record_sqlite3adaptertoRails/ActiveSupportOnLoad. (@earlopain)
Changelog
Sourced from rubocop-rails's changelog.
2.24.1 (2024-03-25)
Bug fixes
- #1244: Fix a false positive for
Rails/ActionControllerFlashBeforeRenderwhen returningredirect_to. ([@earlopain][])- #1255: Fix an error for
Rails/UniqBeforePluckwithEnforcedStyle: aggressivewhen no receiver. ([@earlopain][])- #1247: Fix an error for
Rails/UnusedIgnoredColumnswhen without tables in db/schema.rb. ([@koic][])- #1253: Fix an error for
Rails/WhereMissingwith leadingwherewithout receiver. ([@earlopain][])- #1254: Fix an error for
Rails/ExpandedDateRangewhen passing an argument only to the first method call for weeks. ([@earlopain][])- #1256: Fix an error for
Rails/ActiveSupportOnLoadwhen calling without arguments. ([@earlopain][])- #1230: Fix a false positive for
Rails/SaveBangifpersisted?is checked on parenthesised expression. ([@earlopain][])- #1200: Make
Rails/TimeZoneaware of safe navigation. ([@earlopain][])Changes
- #1257: Add Rails 7.1 load hooks and
active_record_sqlite3adaptertoRails/ActiveSupportOnLoad. ([@earlopain][])2.24.0 (2024-03-03)
New features
Bug fixes
- #1234: Fix an incorrect autocorrect for
Rails/FindBywhen using multi-line leading dot method calls. ([@ymap][])- #1241: Fix an error for
Rails/WhereExistswithEnforcedStyle: whereand implicit receivers. ([@earlopain][])Changes
- #1229: Make
Rails/EnvironmentVariableAccessaware of initializers. ([@markokajzer][])- #1231: Remove
object_idfromRails/DangerousColumnNamestargets. ([@r7kamura][])2.23.1 (2023-12-25)
Bug fixes
- #1221: Fix an exception in
Rails/WhereNotwhen calling.whereon an implicit receiver (e.g. inside model code). ([@bquorning][])2.23.0 (2023-12-16)
New features
- #1183: Support PostGIS adapter for PostgreSQL. ([
@Dania02525][])Bug fixes
- #1206: Fix an error for
Rails/WhereMissingwhere join method is called without arguments. ([@fatkodima][])- #1189: Fix false negatives for
Rails/Pluckwhen using safe navigation method calls. ([@koic][])- #1204: Make
Rails/ActiveSupportAliases,Rails/FindBy,Rails/FindById,Rails/Inquiry,Rails/PickRails/PluckId,Rails/PluckInWhere,Rails/WhereEquals,Rails/WhereExists, andRails/WhereNotcops aware of safe navigation operator. ([@koic][])
... (truncated)
Commits
7702888Cut 2.24.1f4d0a45Update Changelogf5c378aMerge pull request #1258 from Earlopain/false-positive-for-rails-save-bangaf30389Merge pull request #1255 from Earlopain/fix-error-for-rails-unique-before-pluckc568fa8[Fix #1230] Fix a false positive forRails/SaveBangifpersisted?is chec...650e783Merge pull request #1251 from Earlopain/make-time-zone-aware-of-safe-navigation4fd02a1[Fix #1200] MakeRails/TimeZoneaware of safe navigation2f893daMerge pull request #1253 from Earlopain/fix-error-for-rails-where-missing96f469dMerge pull request #1257 from Earlopain/change-add-more-load-hooksfa73627Add more load hooks toRails/ActiveSupportOnLoad- Additional commits viewable in compare view
Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.
Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR:
@dependabot rebasewill rebase this PR@dependabot recreatewill recreate this PR, overwriting any edits that have been made to it@dependabot mergewill merge this PR after your CI passes on it@dependabot squash and mergewill squash and merge this PR after your CI passes on it@dependabot cancel mergewill cancel a previously requested merge and block automerging@dependabot reopenwill reopen this PR if it is closed@dependabot closewill close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually@dependabot show <dependency name> ignore conditionswill show all of the ignore conditions of the specified dependency@dependabot ignore this major versionwill close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)@dependabot ignore this minor versionwill close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)@dependabot ignore this dependencywill close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)