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

Update dependency rubocop-rails to v2.29.1 #86

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

Conversation

renovate[bot]
Copy link

@renovate renovate bot commented Jan 27, 2024

This PR contains the following updates:

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

Release Notes

rubocop/rubocop-rails (rubocop-rails)

v2.29.1

Compare Source

Bug fixes
  • #​1423: Fix an error for Rails/StrongParametersExpect when using permit with no arguments. ([@​koic][])
  • #​1417: Fix an incorrect autocorrect for Rails/StrongParametersExpect when using a leading dot multiline call to require with permit. ([@​koic][])
  • #​1356: Enhance Rails/DuplicateAssociation to handle alias. ([@​ydakuka][])
  • #​1389: Handle TypeError caused by passing array literals as arguments to File methods in Rails/FilePath cop. ([@​ydakuka][])
  • #​1389: Handle TypeError caused by passing array literals as arguments to File methods in Rails/RootPathnameMethods cop. ([@​ydakuka][])
  • #​1228: Enhance Rails/SaveBang to properly handle instance variables. ([@​ydakuka][])

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][])

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 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 was generated by Mend Renovate. View the repository job log.

@renovate renovate bot requested a review from proelbtn January 27, 2024 08:37
@renovate renovate bot force-pushed the renovate/rubocop-rails-2.x-lockfile branch 2 times, most recently from 859217a to d703875 Compare January 28, 2024 02:05
@renovate renovate bot changed the title Update dependency rubocop-rails to v2.23.1 Update dependency rubocop-rails to v2.24.0 Mar 3, 2024
@renovate renovate bot force-pushed the renovate/rubocop-rails-2.x-lockfile branch from d703875 to 048fec2 Compare March 3, 2024 13:44
@renovate renovate bot force-pushed the renovate/rubocop-rails-2.x-lockfile branch from 048fec2 to 7dff9a3 Compare March 25, 2024 08:38
@renovate renovate bot changed the title Update dependency rubocop-rails to v2.24.0 Update dependency rubocop-rails to v2.24.1 Mar 25, 2024
@renovate renovate bot force-pushed the renovate/rubocop-rails-2.x-lockfile branch from 7dff9a3 to bf0677e Compare May 17, 2024 10:30
@renovate renovate bot changed the title Update dependency rubocop-rails to v2.24.1 Update dependency rubocop-rails to v2.25.0 May 17, 2024
@renovate renovate bot changed the title Update dependency rubocop-rails to v2.25.0 Update dependency rubocop-rails to v2.25.1 Jun 29, 2024
@renovate renovate bot force-pushed the renovate/rubocop-rails-2.x-lockfile branch from bf0677e to 99e6ea0 Compare June 29, 2024 16:58
@renovate renovate bot force-pushed the renovate/rubocop-rails-2.x-lockfile branch from 99e6ea0 to 3065fef Compare August 24, 2024 10:00
@renovate renovate bot changed the title Update dependency rubocop-rails to v2.25.1 Update dependency rubocop-rails to v2.26.0 Aug 24, 2024
@renovate renovate bot force-pushed the renovate/rubocop-rails-2.x-lockfile branch from 3065fef to 8c82526 Compare September 7, 2024 10:58
@renovate renovate bot changed the title Update dependency rubocop-rails to v2.26.0 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 8c82526 to eb45883 Compare September 21, 2024 06:47
@renovate renovate bot changed the title Update dependency rubocop-rails to v2.26.1 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 eb45883 to a5be1a8 Compare October 26, 2024 10:35
@renovate renovate bot changed the title Update dependency rubocop-rails to v2.26.2 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 a5be1a8 to c79f3cc Compare December 8, 2024 16:13
@renovate renovate bot force-pushed the renovate/rubocop-rails-2.x-lockfile branch from c79f3cc to b9a4bba Compare December 25, 2024 10:56
@renovate renovate bot changed the title Update dependency rubocop-rails to v2.27.0 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 b9a4bba to 05aa01a Compare January 18, 2025 09:19
@renovate renovate bot changed the title Update dependency rubocop-rails to v2.28.0 Update dependency rubocop-rails to v2.29.0 Jan 18, 2025
@renovate renovate bot force-pushed the renovate/rubocop-rails-2.x-lockfile branch from 05aa01a to 8af7b3a Compare January 25, 2025 05:47
@renovate renovate bot changed the title Update dependency rubocop-rails to v2.29.0 Update dependency rubocop-rails to v2.29.1 Jan 25, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

0 participants