Skip to content

Bump rubocop-rails from 2.19.1 to 2.20.0

George Koltsov requested to merge dependabot-bundler-rubocop-rails-2.20.0 into main

Bumps rubocop-rails from 2.19.1 to 2.20.0.

Release notes

Sourced from rubocop-rails's releases.

RuboCop Rails 2.20.0

New features

Bug fixes

  • #1005: Flag break in with_lock for Rails/TransactionExitStatement. (@​splattael)
  • #997: Fix to Allow NotNullColumn to work with method calls and variables. (@​fidalgo)
  • #989: Fix Rails/FilePath to detect offenses from complex string interpolation. (@​r7kamura)
  • #1010: Fix Rails/ThreeStateBooleanColumn for dynamic tables/columns. (@​fatkodima)
  • #1008: Fix UniqueValidationWithoutIndex to not detect offenses when a validation specifies uniqueness: false. (@​samrjenkins)

Changes

  • #1011: Add *_create_active_storage_variant_records.active_storage.rb to Rails/CreateTableWithTimestamps exclude file list. (@​tka5)
  • #995: Check for or method in Rails/FindEach cop. (@​masato-bkn)
  • #1019: Change db migration file pattern so that it supports multiple db. (@​r7kamura)
  • #986: (Breaking) Drop Ruby 2.6 support. (@​koic)
  • #992: Exclude app/assets/**/* by default. (@​r7kamura)
  • #1014: Make Lint/RedundantSafeNavigation aware of presence and present? methods. (@​koic)
  • #1007: Support flash.now for Rails/I18nLocaleTexts. (@​fatkodima)
Changelog

Sourced from rubocop-rails's changelog.

2.20.0 (2023-06-18)

New features

Bug fixes

  • #1005: Flag break in with_lock for Rails/TransactionExitStatement. ([@​splattael][])
  • #997: Fix to Allow NotNullColumn to work with method calls and variables. ([@​fidalgo][])
  • #989: Fix Rails/FilePath to detect offenses from complex string interpolation. ([@​r7kamura][])
  • #1010: Fix Rails/ThreeStateBooleanColumn for dynamic tables/columns. ([@​fatkodima][])
  • #1008: Fix UniqueValidationWithoutIndex to not detect offenses when a validation specifies uniqueness: false. ([@​samrjenkins][])

Changes

  • #1011: Add *_create_active_storage_variant_records.active_storage.rb to Rails/CreateTableWithTimestamps exclude file list. ([@​tka5][])
  • #995: Check for or method in Rails/FindEach cop. ([@​masato-bkn][])
  • #1019: Change db migration file pattern so that it supports multiple db. ([@​r7kamura][])
  • #986: (Breaking) Drop Ruby 2.6 support. ([@​koic][])
  • #992: Exclude app/assets/**/* by default. ([@​r7kamura][])
  • #1014: Make Lint/RedundantSafeNavigation aware of presence and present? methods. ([@​koic][])
  • #1007: Support flash.now for Rails/I18nLocaleTexts. ([@​fatkodima][])
Commits
  • c88634f Cut 2.20.0
  • 8206333 Update Changelog
  • 3fee176 Use Parser::Ruby32 by default for documentation_syntax_check Rake task
  • 6bca2ce Merge pull request #999 from r7kamura/date-autocorrect
  • 6f1a411 Merge pull request #1019 from r7kamura/db-wildcard-migrate
  • b3bbe8c Change db migration file pattern so that it supports multiple db
  • cbf9caf Suppress new InternalAffairs/CopDescription offenses
  • 22087e2 Add a spec for config/default.yml
  • ee3554b Fix a false positive for Lint/RedundantSafeNavigation
  • 0be0e41 Merge pull request #1008 from samrjenkins/fix-uniqueness-validation-without-i...
  • Additional commits viewable in compare view


Dependabot commands
You can trigger Dependabot actions by commenting on this MR
  • @dependabot-bot rebase will rebase this MR. Deprecated, use GitLab's native /rebase instead
  • @dependabot-bot recreate will recreate this MR rewriting all the manual changes and resolving conflicts

Merge request reports