citizenlab
citizenlab copied to clipboard
Bump rubocop-rails from 2.22.1 to 2.25.0 in /back
Bumps rubocop-rails from 2.22.1 to 2.25.0.
Release notes
Sourced from rubocop-rails's releases.
RuboCop Rails 2.25.0
New features
- #1272: Add new
Rails/WhereRangecop. (@fatkodima)Bug fixes
- #1270: Fix an incorrect autocorrect for
Rails/Validationwhen usingvalidates_size_of. (@koic)- #1278: Fix a false positive for
Rails/SkipsModelValidationswhen usinginsertorinsert!with a safe navigator. (@tldn0718)- #1260: Fix a performance regression caused by
Rails/UnknownEnvwhen using Rails 7.1. (@lukasfroehlich1)Changes
- #1249: Disable
Rails/UnusedIgnoredColumnsby default. (@earlopain)- #1266: Check
change_tablecalls for offenses. (@ccutrer)- #1267: Make
Rails/HttpStatusaware of Rails-specific response assertions. (@tldn0718)- #1137: Migrate to
TargetRailsVersionthe newrequires_gemAPI. (@amomchilov)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)RuboCop Rails 2.24.0
New features
... (truncated)
Changelog
Sourced from rubocop-rails's changelog.
2.25.0 (2024-05-17)
New features
- #1272: Add new
Rails/WhereRangecop. ([@fatkodima][])Bug fixes
- #1270: Fix an incorrect autocorrect for
Rails/Validationwhen usingvalidates_size_of. ([@koic][])- #1278: Fix a false positive for
Rails/SkipsModelValidationswhen usinginsertorinsert!with a safe navigator. ([@tldn0718][])- #1260: Fix a performance regression caused by
Rails/UnknownEnvwhen using Rails 7.1. ([@lukasfroehlich1][])Changes
- #1249: Disable
Rails/UnusedIgnoredColumnsby default. ([@earlopain][])- #1266: Check
change_tablecalls for offenses. ([@ccutrer][])- #1267: Make
Rails/HttpStatusaware of Rails-specific response assertions. ([@tldn0718][])- #1137: Migrate to
TargetRailsVersionthe newrequires_gemAPI. ([@amomchilov][])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][])
... (truncated)
Commits
809fd54Cut 2.25.00576d54Update Changelog171e6deMerge pull request #1279 from tldn0718/fix-skip-model-validation-safe-navigator40d9dc3[Fix rubocop#1278] Fix a false positivie for Rails/SkipsModelValidations582af1eMerge pull request #1277 from thiago-gitlab/rails-pick-descriptionacc1f4fWarn about subqueries when replacing pluck with pickb2c2450Merge pull request #1275 from koic/restore_skipping_specs_for_prism507c88cMerge pull request #1265 from ccutrer/not-null-column-docs4f43d8fRestore skipped specs for Prism1e4f28bMerge pull request #1266 from ccutrer/inspect_change_table_for_not_null_column- 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)
| Warnings | |
|---|---|
| :warning: | The PR title contains no Jira issue key (case-sensitive) |
| :warning: | The branch name contains no Jira issue key (case-sensitive) |
| Messages | |
|---|---|
| :book: | Changelog provided 🎉 |
| :book: | |
| :book: | Check translation progress |
Generated by :no_entry_sign: dangerJS against a7b6d0a4519b8042119b10ed45c980761521c66f
Superseded by #8778.