publiclab / plots2

a collaborative knowledge-exchange platform in Rails; we welcome first-time contributors! :balloon:
https://publiclab.org
GNU General Public License v3.0
956 stars 1.83k forks source link

Bump rubocop-rails from 2.15.2 to 2.22.2 #11679

Closed dependabot[bot] closed 9 months ago

dependabot[bot] commented 10 months ago

Bumps rubocop-rails from 2.15.2 to 2.22.2.

Release notes

Sourced from rubocop-rails's releases.

RuboCop Rails 2.22.2

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)

RuboCop Rails 2.22.1

Bug fixes

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

RuboCop Rails 2.22.0

New features

  • #906: Add Rails/EnvLocal cop. (@​sambostock)
  • #1128: Make Rails/DuplicateAssociation aware of duplicate class_name. (@​koic)
  • #1157: Support some Rails 7.1's new querying methods for Rails/RedundantActiveRecordAllMethod. (@​koic)
  • #1147: Support the Trilogy adapter for MySQL. (@​koic)

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)

... (truncated)

Changelog

Sourced from rubocop-rails's changelog.

2.22.2 (2023-11-19)

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

2.22.1 (2023-10-28)

Bug fixes

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

2.22.0 (2023-10-27)

New features

  • #906: Add Rails/EnvLocal cop. ([@​sambostock][])
  • #1128: Make Rails/DuplicateAssociation aware of duplicate class_name. ([@​koic][])
  • #1157: Support some Rails 7.1's new querying methods for Rails/RedundantActiveRecordAllMethod. ([@​koic][])
  • #1147: Support the Trilogy adapter for MySQL. ([@​koic][])

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

2.21.2 (2023-09-30)

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

... (truncated)

Commits
  • afd7bab Cut 2.22.2
  • 15b97b0 Update Changelog
  • 95bc3e7 Merge pull request #1174 from koic/fix_error_for_rails_redundant_active_recor...
  • c176f6b Merge pull request #1171 from masato-bkn/restrict-offense-to-model-receiver
  • dc6cebc Merge pull request #1178 from koic/require_rubocop_ast_1_30
  • af55bb1 Require RuboCop AST 1.30.0+
  • 4c1d89f [Docs] Add missing spaces
  • c53f914 Suppress a new RuboCop offense
  • d9c4763 Use RuboCop RSpec 2.25
  • bfb84f6 Add a project spec
  • Additional commits viewable in compare view


Dependabot compatibility score

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 rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot show ignore conditions` will show all of the ignore conditions of the specified dependency - `@dependabot ignore this major version` will 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 version` will 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 dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
codeclimate[bot] commented 10 months ago

Code Climate has analyzed commit f41296dd and detected 0 issues on this pull request.

View more on Code Climate.

dependabot[bot] commented 9 months ago

Superseded by #11694.