dep: bump rubocop-rails from 2.8.1 to 2.9.0
Bumps rubocop-rails from 2.8.1 to 2.9.0.
Release notes
Sourced from rubocop-rails's releases.
RuboCop Rails 2.9.0
New features
- #362: Add new
Rails/WhereEquals
cop. (@eugeneius)- #339: Add new
Rails/AttributeDefaultBlockValue
cop. (@cilim)- #344: Add new
Rails/ArelStar
cop which checks for quoted literal asterisks inarel_table
calls. (@flanger001)- #389: Add
IgnoredMethods
config option forRails/FindEach
cop. (@tejasbubane)Bug fixes
- #371: Fix an infinite loop error for
Rails/ActiveRecordCallbacksOrder
when callbacks have inline comments. (@fatkodima)- #364: Fix a problem that
Rails/UniqueValidationWithoutIndex
doesn't work in classes defined with compact style. (@sinsoku)- #384: Mark unsafe for
Rails/NegateInclude
. (@koic)- #394: Fix false offense detection of
Rails/RedundantAllowNil
when using both allow_nil and allow_blank on different helpers of the same validator`. (@ngouy)Changes
- #383: Require RuboCop 0.90 or higher. (@koic)
- #365: Mark
Rails/SquishedSQLHeredocs
unsafe for autocorrection. (@tejasbubane)
Changelog
Sourced from rubocop-rails's changelog.
2.9.0 (2020-12-09)
New features
- #362: Add new
Rails/WhereEquals
cop. (@eugeneius)- #339: Add new
Rails/AttributeDefaultBlockValue
cop. (@cilim)- #344: Add new
Rails/ArelStar
cop which checks for quoted literal asterisks inarel_table
calls. (@flanger001)- #389: Add
IgnoredMethods
config option forRails/FindEach
cop. (@tejasbubane)Bug fixes
- #371: Fix an infinite loop error for
Rails/ActiveRecordCallbacksOrder
when callbacks have inline comments. (@fatkodima)- #364: Fix a problem that
Rails/UniqueValidationWithoutIndex
doesn't work in classes defined with compact style. (@sinsoku)- #384: Mark unsafe for
Rails/NegateInclude
. (@koic)- #394: Fix false offense detection of
Rails/RedundantAllowNil
when using both allow_nil and allow_blank on different helpers of the same validator`. (@ngouy)Changes
- #383: Require RuboCop 0.90 or higher. (@koic)
- #365: Mark
Rails/SquishedSQLHeredocs
unsafe for autocorrection. (@tejasbubane)
Commits
-
a515b73
Cut 2.9.0 -
2159b11
Opt out ofSuggestExtensions
message -
f5df528
Merge pull request #394 from ngouy/fix-376 -
c79003d
[Fix #376] Fix redunctant_allow_nil on different helpers false offense -
7801ea7
Merge pull request #392 from tejasbubane/fix-389 -
3202f6f
[Fix #389] AddIgnoredMethods
configuration option forRails/FindEach
cop -
4890714
Merge pull request #390 from koic/import_enforce_superclass_module -
dadaf1b
Merge pull request #366 from tejasbubane/fix-365 -
95306d1
[Fix #365] MarkRails/SquishedSQLHeredocs
unsafe for autocorrection -
52b8480
UseCop::Base
API forEnforceSuperclass
- Additional commits viewable in compare view