rezoleo / lea5

Lea5 is the management software used by the Rézoléo association, to handle members, computers and invoices
MIT License
12 stars 0 forks source link

chore(deps): update dependency rubocop-rails to v2.27.0 #465

Open renovate[bot] opened 4 months ago

renovate[bot] commented 4 months ago

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
rubocop-rails (source, changelog) 2.25.0 -> 2.27.0 age adoption passing confidence

Release Notes

rubocop/rubocop-rails (rubocop-rails) ### [`v2.27.0`](https://redirect.github.com/rubocop/rubocop-rails/blob/HEAD/CHANGELOG.md#2270-2024-10-26) [Compare Source](https://redirect.github.com/rubocop/rubocop-rails/compare/v2.26.2...v2.27.0) ##### Bug fixes - [#​1377](https://redirect.github.com/rubocop/rubocop-rails/issues/1377): Fix an error for `Rails/EnumSyntax` when positional arguments are used and options are not passed as keyword arguments. (\[[@​koic](https://redirect.github.com/koic)]\[]) - [#​1367](https://redirect.github.com/rubocop/rubocop-rails/pull/1367): Fix `Rails/TimeZone` should not report offense on `String#to_time` with timezone specifier. (\[[@​armandmgt](https://redirect.github.com/armandmgt)]\[]) ##### Changes - [#​727](https://redirect.github.com/rubocop/rubocop-rails/issues/727): Disable `Rails/TransactionExitStatement` on Rails >= 7.2. (\[[@​earlopain](https://redirect.github.com/earlopain)]\[]) - [#​1374](https://redirect.github.com/rubocop/rubocop-rails/pull/1374): Change `Rails/EnvLocal` to handle negated conditions. (\[[@​fatkodima](https://redirect.github.com/fatkodima)]\[]) - [#​1195](https://redirect.github.com/rubocop/rubocop-rails/issues/1195): Change `Rails/SelectMap` to handle safe navigation operators. (\[[@​fatkodima](https://redirect.github.com/fatkodima)]\[]) ### [`v2.26.2`](https://redirect.github.com/rubocop/rubocop-rails/blob/HEAD/CHANGELOG.md#2262-2024-09-21) [Compare Source](https://redirect.github.com/rubocop/rubocop-rails/compare/v2.26.1...v2.26.2) ##### Bug fixes - [#​1362](https://redirect.github.com/rubocop/rubocop-rails/issues/1362): Fix false positives for `Rails/EnumSyntax` when using Ruby 2.7. (\[[@​koic](https://redirect.github.com/koic)]\[]) - [#​1269](https://redirect.github.com/rubocop/rubocop-rails/issues/1269): Fix false positives for `Rails/ActionControllerFlashBeforeRender` in combination with implicit returns. (\[[@​earlopain](https://redirect.github.com/earlopain)]\[]) - [#​1326](https://redirect.github.com/rubocop/rubocop-rails/pull/1326): Fix wrong autocorrect for `Rails/FilePath` when passing an array to `File.join`. (\[[@​earlopain](https://redirect.github.com/earlopain)]\[]) ##### Changes - [#​1359](https://redirect.github.com/rubocop/rubocop-rails/pull/1359): Support `filter` in `Rails/CompactBlank`. (\[[@​masato-bkn](https://redirect.github.com/masato-bkn)]\[]) ### [`v2.26.1`](https://redirect.github.com/rubocop/rubocop-rails/blob/HEAD/CHANGELOG.md#2261-2024-09-07) [Compare Source](https://redirect.github.com/rubocop/rubocop-rails/compare/v2.26.0...v2.26.1) ##### Bug fixes - [#​1343](https://redirect.github.com/rubocop/rubocop-rails/issues/1343): Fix false negatives for `Rails/EnumSyntax` for non-literal mappings. (\[[@​earlopain](https://redirect.github.com/earlopain)]\[]) - [#​1340](https://redirect.github.com/rubocop/rubocop-rails/issues/1340): Fix a false positive for `Rails/WhereEquals`, `Rails/WhereNot`, and `Rails/WhereRange` when qualifying the database name. (\[[@​earlopain](https://redirect.github.com/earlopain)]\[]) ##### Changes - [#​1342](https://redirect.github.com/rubocop/rubocop-rails/issues/1342): Change `Rails/ApplicationRecord` to ignore migrations. (\[[@​fatkodima](https://redirect.github.com/fatkodima)]\[]) - [#​1350](https://redirect.github.com/rubocop/rubocop-rails/pull/1350): Change `Rails/EnumSyntax` to autocorrect underscored options. (\[[@​fatkodima](https://redirect.github.com/fatkodima)]\[]) ### [`v2.26.0`](https://redirect.github.com/rubocop/rubocop-rails/blob/HEAD/CHANGELOG.md#2260-2024-08-24) [Compare Source](https://redirect.github.com/rubocop/rubocop-rails/compare/v2.25.1...v2.26.0) ##### New features - [#​1238](https://redirect.github.com/rubocop/rubocop-rails/issues/1238): Add new `Rails/EnumSyntax` cop. (\[[@​maxprokopiev](https://redirect.github.com/maxprokopiev)]\[], \[[@​koic](https://redirect.github.com/koic)]\[]) - [#​1309](https://redirect.github.com/rubocop/rubocop-rails/pull/1309): Support Rails 7 syntax for `Rails/EnumHash` cop. (\[[@​ytjmt](https://redirect.github.com/ytjmt)]\[]) - [#​1298](https://redirect.github.com/rubocop/rubocop-rails/pull/1298): Support Rails 7 syntax for `Rails/EnumUniqueness` cop. (\[[@​ytjmt](https://redirect.github.com/ytjmt)]\[]) ##### Bug fixes - [#​1335](https://redirect.github.com/rubocop/rubocop-rails/pull/1335): Fix an error for `Rails/BulkChangeTable` when the block for `change_table` is empty. (\[[@​earlopain](https://redirect.github.com/earlopain)]\[]) - [#​1325](https://redirect.github.com/rubocop/rubocop-rails/pull/1325): Fix an error for `Rails/RenderPlainText` when the content type is passed as a constant. (\[[@​earlopain](https://redirect.github.com/earlopain)]\[]) - [#​1337](https://redirect.github.com/rubocop/rubocop-rails/pull/1337): Fix an error for `Rails/Validation` when passing no arguments. (\[[@​earlopain](https://redirect.github.com/earlopain)]\[]) - [#​1330](https://redirect.github.com/rubocop/rubocop-rails/pull/1330): Fix an error for `Rails/WhereNot` when using placeholder without second argument. (\[[@​earlopain](https://redirect.github.com/earlopain)]\[]) - [#​1311](https://redirect.github.com/rubocop/rubocop-rails/pull/1311): Fix false negatives for `Rails/ActionControllerFlashBeforeRender` when using implicit render or rescue blocks. (\[[@​tldn0718](https://redirect.github.com/tldn0718)]\[]) - [#​1313](https://redirect.github.com/rubocop/rubocop-rails/pull/1313): Fix false positives for `Rails/CompactBlank` when using `collection.reject!`. (\[[@​koic](https://redirect.github.com/koic)]\[]) - [#​1319](https://redirect.github.com/rubocop/rubocop-rails/issues/1319): Fix a false positive for `Rails/RedundantPresenceValidationOnBelongsTo` when removing `presence` would leave other non-validation options like `allow_blank` without validations. (\[[@​earlopain](https://redirect.github.com/earlopain)]\[]) - [#​1306](https://redirect.github.com/rubocop/rubocop-rails/pull/1306): Make `Rails/PluralizationGrammar` aware of byte methods. (\[[@​earlopain](https://redirect.github.com/earlopain)]\[]) - [#​1302](https://redirect.github.com/rubocop/rubocop-rails/pull/1302): Allow `params` receiver by default for `Style/CollectionMethods`. (\[[@​koic](https://redirect.github.com/koic)]\[]) - [#​1321](https://redirect.github.com/rubocop/rubocop-rails/pull/1321): Fix an error for `Rails/WhereEquals` when the second argument is not yet typed (`where("foo = ?", )`). (\[[@​earlopain](https://redirect.github.com/earlopain)]\[]) ##### Changes - [#​1308](https://redirect.github.com/rubocop/rubocop-rails/issues/1308): Change `Rails/CompactBlank` to handle `select(&:present?)`. (\[[@​fatkodima](https://redirect.github.com/fatkodima)]\[]) - [#​1303](https://redirect.github.com/rubocop/rubocop-rails/pull/1303): Change `Rails/IgnoredSkipActionFilterOption` to handle multiple callbacks. (\[[@​fatkodima](https://redirect.github.com/fatkodima)]\[]) - [#​1199](https://redirect.github.com/rubocop/rubocop-rails/issues/1199): Make `Rails/WhereEquals` aware of `where.not(...)`. (\[[@​earlopain](https://redirect.github.com/earlopain)]\[]) - [#​1003](https://redirect.github.com/rubocop/rubocop-rails/pull/1003): Change `Rails/RootPathnameMethods` to detect offenses on `Dir.[]`. (\[[@​r7kamura](https://redirect.github.com/r7kamura)]\[]) ### [`v2.25.1`](https://redirect.github.com/rubocop/rubocop-rails/blob/HEAD/CHANGELOG.md#2251-2024-06-29) [Compare Source](https://redirect.github.com/rubocop/rubocop-rails/compare/v2.25.0...v2.25.1) ##### Bug fixes - [#​1280](https://redirect.github.com/rubocop/rubocop-rails/issues/1280): Look for change_column_null for `Rails/BulkChangeTable`. (\[[@​ccutrer](https://redirect.github.com/ccutrer)]\[]) - [#​1299](https://redirect.github.com/rubocop/rubocop-rails/pull/1299): Fix an error for `Rails/NotNullColumn` when the block for `change_table` is empty. (\[[@​earlopain](https://redirect.github.com/earlopain)]\[]) - [#​1281](https://redirect.github.com/rubocop/rubocop-rails/issues/1281): Fix `Rails/WhereRange` autocorrect for complex expressions. (\[[@​fatkodima](https://redirect.github.com/fatkodima)]\[]) - [#​1282](https://redirect.github.com/rubocop/rubocop-rails/issues/1282): Fix `Rails/WhereRange` to correctly handle template strings with extra spaces. (\[[@​fatkodima](https://redirect.github.com/fatkodima)]\[]) ##### Changes - [#​1295](https://redirect.github.com/rubocop/rubocop-rails/issues/1295): Cover validates_comparison_of in `Rails/Validation`. (\[[@​ChaelCodes](https://redirect.github.com/ChaelCodes)]\[]) - [#​1288](https://redirect.github.com/rubocop/rubocop-rails/issues/1288): Let `Rails/LinkToBlank` look into `link_to_if` and `link_to_unless`, too. (\[[@​fwolfst](https://redirect.github.com/fwolfst)]\[]) - [#​1286](https://redirect.github.com/rubocop/rubocop-rails/issues/1286): Mark `Rails/SkipsModelValidations` as unsafe. (\[[@​koic](https://redirect.github.com/koic)]\[]) - [#​1283](https://redirect.github.com/rubocop/rubocop-rails/issues/1283): Mark `Rails/WhereRange` as unsafe autocorrect. (\[[@​fatkodima](https://redirect.github.com/fatkodima)]\[])

Configuration

📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

Rebasing: Whenever PR is behind base branch, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about this update again.



This PR was generated by Mend Renovate. View the repository job log.

codecov[bot] commented 4 months ago

Codecov Report

All modified and coverable lines are covered by tests :white_check_mark:

Project coverage is 100.00%. Comparing base (f5516c8) to head (bacce02).

Additional details and impacted files ```diff @@ Coverage Diff @@ ## master #465 +/- ## ========================================= Coverage 100.00% 100.00% ========================================= Files 26 26 Lines 337 337 Branches 35 35 ========================================= Hits 337 337 ```

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.