Bump rubocop-rails from 2.19.1 to 2.20.0
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
- #999: Add autocorrection for
Rails/Date
. (@r7kamura
)- #991: Add autocorrection for
Rails/FilePath
. (@r7kamura
)- #988: Add autocorrection for
Rails/IgnoredSkipActionFilterOption
. (@r7kamura
)Bug fixes
- #1005: Flag
break
inwith_lock
forRails/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 specifiesuniqueness: false
. (@samrjenkins
)Changes
- #1011: Add
*_create_active_storage_variant_records.active_storage.rb
toRails/CreateTableWithTimestamps
exclude file list. (@tka5
)- #995: Check for
or
method inRails/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 ofpresence
andpresent?
methods. (@koic
)- #1007: Support
flash.now
forRails/I18nLocaleTexts
. (@fatkodima
)
Changelog
Sourced from rubocop-rails's changelog.
2.20.0 (2023-06-18)
New features
- #999: Add autocorrection for
Rails/Date
. ([@r7kamura
][])- #991: Add autocorrection for
Rails/FilePath
. ([@r7kamura
][])- #988: Add autocorrection for
Rails/IgnoredSkipActionFilterOption
. ([@r7kamura
][])Bug fixes
- #1005: Flag
break
inwith_lock
forRails/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 specifiesuniqueness: false
. ([@samrjenkins
][])Changes
- #1011: Add
*_create_active_storage_variant_records.active_storage.rb
toRails/CreateTableWithTimestamps
exclude file list. ([@tka5
][])- #995: Check for
or
method inRails/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 ofpresence
andpresent?
methods. ([@koic
][])- #1007: Support
flash.now
forRails/I18nLocaleTexts
. ([@fatkodima
][])
Commits
-
c88634f
Cut 2.20.0 -
8206333
Update Changelog -
3fee176
UseParser::Ruby32
by default fordocumentation_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 newInternalAffairs/CopDescription
offenses -
22087e2
Add a spec for config/default.yml -
ee3554b
Fix a false positive forLint/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