development-dependency: bump rubocop-rails from 2.10.1 to 2.11.0
Bumps rubocop-rails from 2.10.1 to 2.11.0.
Release notes
Sourced from rubocop-rails's releases.
RuboCop Rails 2.11.0
New features
- #486: Add new
Rails/ExpandedDateRange
cop. (@koic
)- #494: Add new
Rails/UnusedIgnoredColumns
cop. (@pocke
)- #490: Make
Rails/HttpStatus
aware ofhead
method. (@koic
)- #483: Add new
Rails/EagerEvaluationLogMessage
cop. (@aesthetikx
)- #495: Add new
Rails/I18nLocaleAssignment
cop. (@koic
)- #497: Add new
Rails/AddColumnIndex
cop. (@dvandersluis
)Bug fixes
- #482: Fix a false positive for
Rails/RelativeDateConstant
when assigning (hashes/arrays/etc)-containing procs to a constant. (@jdelStrother
)- #419: Fix an error for
Rails/UniqueValidationWithoutIndex
when using a unique index andcheck_constraint
that hasnil
first argument. (@koic
)- #70: Fix a false positive for
Rails/TimeZone
when settingEnforcedStyle: strict
and usingTime.current
. (@koic
)- #488: Fix a false positive for
Rails/ReversibleMigrationMethodDefinition
when using cbase migration class. (@koic
)- #500: Fix a false positive for
Rails/DynamicFindBy
when using dynamic finder with hash argument. (@koic
)Changes
Changelog
Sourced from rubocop-rails's changelog.
2.11.0 (2021-06-21)
New features
- #486: Add new
Rails/ExpandedDateRange
cop. ([@koic
][])- #494: Add new
Rails/UnusedIgnoredColumns
cop. ([@pocke
][])- #490: Make
Rails/HttpStatus
aware ofhead
method. ([@koic
][])- #483: Add new
Rails/EagerEvaluationLogMessage
cop. ([@aesthetikx
][])- #495: Add new
Rails/I18nLocaleAssignment
cop. ([@koic
][])- #497: Add new
Rails/AddColumnIndex
cop. ([@dvandersluis
][])Bug fixes
- #482: Fix a false positive for
Rails/RelativeDateConstant
when assigning (hashes/arrays/etc)-containing procs to a constant. ([@jdelStrother
][])- #419: Fix an error for
Rails/UniqueValidationWithoutIndex
when using a unique index andcheck_constraint
that hasnil
first argument. ([@koic
][])- #70: Fix a false positive for
Rails/TimeZone
when settingEnforcedStyle: strict
and usingTime.current
. ([@koic
][])- #488: Fix a false positive for
Rails/ReversibleMigrationMethodDefinition
when using cbase migration class. ([@koic
][])- #500: Fix a false positive for
Rails/DynamicFindBy
when using dynamic finder with hash argument. ([@koic
][])Changes
Commits
-
4a24cb8
Cut 2.11.0 -
20e03fb
Merge pull request #505 from koic/set_disabled_by_default_for_rails_environme... -
2c26673
Set disabled by default forRails/EnvironmentVariableAccess
-
6ecf7ed
Merge pull request #497 from dvandersluis/add_column_index -
5aafb16
AddRails/AddColumnIndex
cop to prevent passing an unused but confusing `in... -
e52df30
Merge pull request #503 from koic/add_new_rails_i18n_locale_assignment_cop -
e91731e
UseParser::Ruby30
fordocumentation_syntax_check
Rake task -
08237cd
Tweak the doc and message forRails/TimeZoneAssignment
-
7f9c3a5
[Fix #495] Add newRails/I18nLocaleAssignment
cop -
fe8c4ac
Merge pull request #483 from Aesthetikx/rails_logger_block - 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 -
@dependabot-bot recreate
will recreate this MR rewriting all the manual changes and resolving conflicts