Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore(deps): update dependency rubocop-rails to v2.29.0 #264

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

renovate[bot]
Copy link
Contributor

@renovate renovate bot commented Sep 9, 2023

This PR contains the following updates:

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

Release Notes

rubocop/rubocop-rails (rubocop-rails)

v2.29.0

Compare Source

New features
Bug fixes
Changes
  • #​1410: Make registered cops aware of AllCops: MigratedSchemaVersion. ([@​koic][])

v2.28.0

Compare Source

New features
Bug fixes
  • #​1390: Fix an incorrect autocorrect for Rails/SelectMap when select has no receiver and method chains are used. ([@​masato-bkn][])
  • #​1382: Fix false negatives for Rails/RedundantActiveRecordAllMethod when using all method in block. ([@​masato-bkn][])
  • #​1397: Fix Rails/FilePath cop error on join method with implicit receiver. ([@​viralpraxis][])
  • #​1398: Fix Rails/FilePath cop error in case of extra operations in Rails.root interpolation. ([@​viralpraxis][])
  • #​1392: Fix Rails/FilePath cop error with rescued Rails.root. ([@​viralpraxis][])
Changes
  • #​1388: Modify Rails/Pluck to ignore map/collect when used inside blocks to prevent potential N+1 queries. ([@​masato-bkn][])

v2.27.0

Compare Source

Bug fixes
  • #​1377: Fix an error for Rails/EnumSyntax when positional arguments are used and options are not passed as keyword arguments. ([@​koic][])
  • #​1367: Fix Rails/TimeZone should not report offense on String#to_time with timezone specifier. ([@​armandmgt][])
Changes

v2.26.2

Compare Source

Bug fixes
  • #​1362: Fix false positives for Rails/EnumSyntax when using Ruby 2.7. ([@​koic][])
  • #​1269: Fix false positives for Rails/ActionControllerFlashBeforeRender in combination with implicit returns. ([@​earlopain][])
  • #​1326: Fix wrong autocorrect for Rails/FilePath when passing an array to File.join. ([@​earlopain][])
Changes

v2.26.1

Compare Source

Bug fixes
  • #​1343: Fix false negatives for Rails/EnumSyntax for non-literal mappings. ([@​earlopain][])
  • #​1340: Fix a false positive for Rails/WhereEquals, Rails/WhereNot, and Rails/WhereRange when qualifying the database name. ([@​earlopain][])
Changes

v2.26.0

Compare Source

New features
Bug fixes
  • #​1335: Fix an error for Rails/BulkChangeTable when the block for change_table is empty. ([@​earlopain][])
  • #​1325: Fix an error for Rails/RenderPlainText when the content type is passed as a constant. ([@​earlopain][])
  • #​1337: Fix an error for Rails/Validation when passing no arguments. ([@​earlopain][])
  • #​1330: Fix an error for Rails/WhereNot when using placeholder without second argument. ([@​earlopain][])
  • #​1311: Fix false negatives for Rails/ActionControllerFlashBeforeRender when using implicit render or rescue blocks. ([@​tldn0718][])
  • #​1313: Fix false positives for Rails/CompactBlank when using collection.reject!. ([@​koic][])
  • #​1319: Fix a false positive for Rails/RedundantPresenceValidationOnBelongsTo when removing presence would leave other non-validation options like allow_blank without validations. ([@​earlopain][])
  • #​1306: Make Rails/PluralizationGrammar aware of byte methods. ([@​earlopain][])
  • #​1302: Allow params receiver by default for Style/CollectionMethods. ([@​koic][])
  • #​1321: Fix an error for Rails/WhereEquals when the second argument is not yet typed (where("foo = ?", )). ([@​earlopain][])
Changes

v2.25.1

Compare Source

Bug fixes
Changes

v2.25.0

Compare Source

New features
Bug fixes
  • #​1270: Fix an incorrect autocorrect for Rails/Validation when using validates_size_of. ([@​koic][])
  • #​1278: Fix a false positive for Rails/SkipsModelValidations when using insert or insert! with a safe navigator. ([@​tldn0718][])
  • #​1260: Fix a performance regression caused by Rails/UnknownEnv when using Rails 7.1. ([@​lukasfroehlich1][])
Changes

v2.24.1

Compare Source

Bug fixes
  • #​1244: Fix a false positive for Rails/ActionControllerFlashBeforeRender when returning redirect_to. ([@​earlopain][])
  • #​1255: Fix an error for Rails/UniqBeforePluck with EnforcedStyle: 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 leading where 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 if persisted? 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 to Rails/ActiveSupportOnLoad. ([@​earlopain][])

v2.24.0

Compare Source

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 with EnforcedStyle: where and implicit receivers. ([@​earlopain][])
Changes

v2.23.1

Compare Source

Bug fixes
  • #​1221: Fix an exception in Rails/WhereNot when calling .where on an implicit receiver (e.g. inside model code). ([@​bquorning][])

v2.23.0

Compare Source

New features
Bug fixes
  • #​1206: Fix an error for Rails/WhereMissing where join method is called without arguments. ([@​fatkodima][])
  • #​1189: Fix false negatives for Rails/Pluck when using safe navigation method calls. ([@​koic][])
  • #​1204: Make Rails/ActiveSupportAliases, Rails/FindBy, Rails/FindById, Rails/Inquiry, Rails/Pick Rails/PluckId, Rails/PluckInWhere, Rails/WhereEquals, Rails/WhereExists, and Rails/WhereNot cops aware of safe navigation operator. ([@​koic][])
Changes

v2.22.2

Compare Source

Bug fixes
  • #​1172: Fix an error for Rails/UnknownEnv when using Rails 7.1. ([@​koic][])
  • #​1173: Fix an error for Rails/RedundantActiveRecordAllMethod cop when used with RuboCop 1.51 or lower. ([@​koic][])
Changes
  • #​1171: Change Rails/RedundantActiveRecordAllMethod to ignore delete_all and destroy_all when receiver is an association. ([@​masato-bkn][])
  • #​1178: Require RuboCop AST 1.30.0+. ([@​koic][])

v2.22.1

Compare Source

Bug fixes
  • #​1145: Fix a false positive for Rails/DuplicateAssociation when using duplicate belongs_to associations of same class without other arguments. ([@​koic][])

v2.22.0

Compare Source

New features
Bug fixes
  • #​952: Fix a false positive for Rails/NotNullColumn when using null: false for MySQL's TEXT type. ([@​koic][])
  • #​1041: Fix a false positive for Rails/Output when output method is called with block argument. ([@​koic][])
  • #​1143: Fix an error for Rails/RedundantActiveRecordAllMethod when using RuboCop 1.51 or lower. ([@​koic][])
  • #​1105: Fix false positives for Rails/RedundantPresenceValidationOnBelongsTo when using validates with :if or :unless options. ([@​koic][])
  • #​1158: Rails/HasManyOrHasOneDependent does not add offence when has_many or has_one is called on an explicit receiver. ([@​samrjenkins][])
  • #​1160: Fix Rails/SaveBang to ignore parenthesis. ([@​fatkodima][])
Changes
  • #​1152: Add more dangerous column names to Rails/DangerousColumnNames. ([@​r7kamura][])
  • #​1039: Deprecate Rails/ActionFilter cop; it will be disabled by default. ([@​koic][])
  • #​893: Support local as an environment for Rails/UnknownEnv from Rails 7.1 onward. ([@​ghiculescu][])

v2.21.2

Compare Source

Bug fixes
  • #​1126: Fix a false positive for Rails/RedundantActiveRecordAllMethod when using some Enumerable's methods with block argument. ([@​koic][])
  • #​1121: Fix an error for Rails/SelectMap when using select(:column_name).map(&:column_name) without receiver model. ([@​koic][])
  • #​1119: Fix an incorrect autocorrect for Rails/RedundantActiveRecordAllMethod when all has parentheses. ([@​masato-bkn][])
  • #​1130: Fix crash for Rails/UniqueValidationWithoutIndex with bare validate. ([@​jamiemccarthy][])
  • #​1124: Fix false positives for Rails/RedundantActiveRecordAllMethod when receiver is not an Active Record model. ([@​koic][])

v2.21.1

Compare Source

Bug fixes
  • #​1108: Fix an incorrect autocorrect for Rails/TimeZone when using String#to_time. ([@​koic][])
  • #​1109: Fix error for Rails/RedundantActiveRecordAllMethod when all is an argument for AR methods. ([@​masato-bkn][])
  • #​1110: Fix false positive for Rails/RedundantActiveRecordAllMethod when all has any parameters. ([@​masato-bkn][])

v2.21.0

Compare Source

New features
Bug fixes
  • #​1078: Fix a false negative for Rails/LexicallyScopedActionFilter when no methods are defined. ([@​vlad-pisanov][])
  • #​1060: Fix a false positive for Rails/HttpStatus when using symbolic value that have no numeric value mapping. ([@​koic][])
  • #​1004: Fix a false-positive for Rails/RootPathnameMethods on Ruby 2.4 or lower. ([@​r7kamura][])
  • #​1066: Fix an error for Rails/FilePath when string interpolated Rails.root is followed by a message starting with .. ([@​koic][])
  • #​1049: Fix an incorrect autocorrect for Rails/FilePath when File.join with Rails.root and path starting with /. ([@​ydah][])
  • #​1045: Fix an incorrect autocorrect for Rails/NegateInclude when using Style/InverseMethods's autocorrection together. ([@​koic][])
  • #​1062: Fix autocorrection for Rails/RakeEnvironment when rake task accepts arguments. ([@​fastjames][])
  • #​1036: Fix an error for UniqueValidationWithoutIndex when db/schema.rb is empty. ([@​fatkodima][])
  • #​1042: Fix no offences for Rails/SchemaComment when create_table with multi t columns. ([@​nipe0324][])
Changes

Configuration

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

🚦 Automerge: Enabled.

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.


  • If you want to rebase/retry this PR, check this box

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

@renovate renovate bot added dependencies Pull requests that update a dependency file renovate labels Sep 9, 2023
@renovate renovate bot force-pushed the renovate/rubocop-rails-2.x-lockfile branch from 6b7c25d to e4ac5a5 Compare September 13, 2023 06:44
@renovate renovate bot changed the title chore(deps): update dependency rubocop-rails to v2.21.0 chore(deps): update dependency rubocop-rails to v2.21.1 Sep 14, 2023
@renovate renovate bot force-pushed the renovate/rubocop-rails-2.x-lockfile branch 4 times, most recently from 4f4b2c4 to ac92d08 Compare September 20, 2023 18:19
@renovate renovate bot force-pushed the renovate/rubocop-rails-2.x-lockfile branch from ac92d08 to 11d1f1c Compare September 21, 2023 06:26
@renovate renovate bot changed the title chore(deps): update dependency rubocop-rails to v2.21.1 chore(deps): update dependency rubocop-rails to v2.21.2 Sep 30, 2023
@renovate renovate bot force-pushed the renovate/rubocop-rails-2.x-lockfile branch 2 times, most recently from 2a194a1 to f424806 Compare October 5, 2023 14:00
@renovate renovate bot force-pushed the renovate/rubocop-rails-2.x-lockfile branch from f424806 to dba0ca6 Compare October 12, 2023 22:32
@renovate renovate bot force-pushed the renovate/rubocop-rails-2.x-lockfile branch from dba0ca6 to 68999ad Compare October 23, 2023 04:16
@renovate renovate bot changed the title chore(deps): update dependency rubocop-rails to v2.21.2 chore(deps): update dependency rubocop-rails to v2.22.0 Oct 27, 2023
@renovate renovate bot force-pushed the renovate/rubocop-rails-2.x-lockfile branch from 68999ad to 0ac79b5 Compare October 27, 2023 06:40
@renovate renovate bot changed the title chore(deps): update dependency rubocop-rails to v2.22.0 chore(deps): update dependency rubocop-rails to v2.22.1 Oct 28, 2023
@renovate renovate bot force-pushed the renovate/rubocop-rails-2.x-lockfile branch 2 times, most recently from e3a02dd to 3a5af1d Compare October 30, 2023 13:56
@renovate renovate bot force-pushed the renovate/rubocop-rails-2.x-lockfile branch 2 times, most recently from 60fb5ea to da6f60d Compare November 11, 2023 00:45
@renovate renovate bot force-pushed the renovate/rubocop-rails-2.x-lockfile branch 2 times, most recently from 5618571 to 341422d Compare November 14, 2023 19:03
@renovate renovate bot changed the title chore(deps): update dependency rubocop-rails to v2.22.1 chore(deps): update dependency rubocop-rails to v2.22.2 Nov 19, 2023
@renovate renovate bot force-pushed the renovate/rubocop-rails-2.x-lockfile branch 5 times, most recently from d13c5ec to a0b2a60 Compare November 24, 2023 01:43
@renovate renovate bot force-pushed the renovate/rubocop-rails-2.x-lockfile branch from a0b2a60 to 9b60fc7 Compare December 6, 2023 15:09
@renovate renovate bot changed the title chore(deps): update dependency rubocop-rails to v2.26.0 chore(deps): update dependency rubocop-rails to v2.26.1 Sep 7, 2024
@renovate renovate bot force-pushed the renovate/rubocop-rails-2.x-lockfile branch from 21726b2 to 97c618d Compare September 8, 2024 06:29
@renovate renovate bot force-pushed the renovate/rubocop-rails-2.x-lockfile branch 4 times, most recently from 0b05a72 to 4cee595 Compare September 21, 2024 04:17
@renovate renovate bot changed the title chore(deps): update dependency rubocop-rails to v2.26.1 chore(deps): update dependency rubocop-rails to v2.26.2 Sep 21, 2024
@renovate renovate bot force-pushed the renovate/rubocop-rails-2.x-lockfile branch from 4cee595 to 44e0922 Compare September 29, 2024 15:51
@renovate renovate bot force-pushed the renovate/rubocop-rails-2.x-lockfile branch from 44e0922 to 092b326 Compare October 13, 2024 13:57
@renovate renovate bot force-pushed the renovate/rubocop-rails-2.x-lockfile branch 5 times, most recently from ca76c04 to 4c0d182 Compare October 26, 2024 09:50
@renovate renovate bot changed the title chore(deps): update dependency rubocop-rails to v2.26.2 chore(deps): update dependency rubocop-rails to v2.27.0 Oct 26, 2024
@renovate renovate bot force-pushed the renovate/rubocop-rails-2.x-lockfile branch from 4c0d182 to d529cf9 Compare October 29, 2024 18:13
@renovate renovate bot force-pushed the renovate/rubocop-rails-2.x-lockfile branch 3 times, most recently from 61ed13f to 760db4e Compare November 9, 2024 15:51
@renovate renovate bot force-pushed the renovate/rubocop-rails-2.x-lockfile branch 2 times, most recently from 967bb06 to a9c09c8 Compare November 23, 2024 06:40
@renovate renovate bot force-pushed the renovate/rubocop-rails-2.x-lockfile branch 4 times, most recently from 848991e to 2ec9f18 Compare December 18, 2024 05:30
@renovate renovate bot force-pushed the renovate/rubocop-rails-2.x-lockfile branch from 2ec9f18 to 76fc41e Compare December 25, 2024 12:34
@renovate renovate bot changed the title chore(deps): update dependency rubocop-rails to v2.27.0 chore(deps): update dependency rubocop-rails to v2.28.0 Dec 25, 2024
@renovate renovate bot force-pushed the renovate/rubocop-rails-2.x-lockfile branch from 76fc41e to bd30d89 Compare January 18, 2025 09:16
@renovate renovate bot changed the title chore(deps): update dependency rubocop-rails to v2.28.0 chore(deps): update dependency rubocop-rails to v2.29.0 Jan 18, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
dependencies Pull requests that update a dependency file renovate
Projects
None yet
Development

Successfully merging this pull request may close these issues.

0 participants