dep: bump rubocop-rails from 2.17.4 to 2.18.0
Bumps rubocop-rails from 2.17.4 to 2.18.0.
Changelog
Sourced from rubocop-rails's changelog.
2.18.0 (2023-02-25)
New features
- #863: Add
Rails/ResponseParsedBody
cop. ([@r7kamura
][])Bug fixes
- #824: Fix a false negative for
Rails/ActionControllerTestCase
when the class is namespaced. ([@vlad-pisanov
][])- #909: Fix a false positive for
Rails/ActionControllerFlashBeforeRender
when usingflash
beforeredirect_to
inif
branch. ([@koic
][])- #898: Fix a false positive for
Rails/ActiveRecordAliases
when arguments ofupdate_attributes
is empty. ([@koic
][])- #920: Fix an error for
Rails/NegateInclude
when there is no receiver. ([@fatkodima
][])- #931: Fix error in
Rails/Presence
when ternary operators are used in multiple lines. ([@r7kamura
][])- #687: Fix
Rails/HasManyOrHasOneDependent
to correctly handle association methods with receiver. ([@fatkodima
][])- #929: Prevent
Rails/SquishedSQLHeredocs
applying when single-line comments are present. ([@john-h-k
][])- #887: Fix a false positive for
Rails/NotNullColumn
when adding a:virtual
column. ([@fatkodima
][])- #918: Fix
Rails/FreezeTime
running against Rails < 5.2 apps. ([@DRBragg
][])- #895: Fix
Rails/UnusedIgnoredColumns
not recognizing columns added via+=
. ([@lucthev
][])Changes
- #263: Accept actions defined via
alias
inRails/LexicallyScopedActionFilter
. ([@fatkodima
][])- #902: Ignore
redirect
method forStyle/FormatStringToken
by default. ([@javierjulio
][])- #935: Make
Style/InverseMethods
aware of Active Support'spresent?
,blank?
,include?
, andexclude?
methods. ([@koic
][])- #914: Make
Style/InverseMethods
aware ofvalid?
andinvalid?
methods. ([@koic
][])- #826: Mark
Rails/Pluck
as unsafe. ([@fatkodima
][])- #896: Raise severity of
Rails/ActiveRecordOverride
,Rails/DeprecatedActiveModelErrorsMethods
,Rails/DuplicateAssociation
,Rails/DuplicateScope
,Rails/TopLevelHashWithIndifferentAccess
, andRails/WhereNotWithMultipleConditions
cops to warning. ([@koic
][])
Commits
-
fa6662f
Cut 2.18.0 -
1a791ec
Update Changelog -
c532db1
Fix a false negative for Rails/ActionControllerTestCase -
e179054
Merge pull request #936 from koic/make_style_inverse_methods_aware_of_valid_a... -
9ff0c4d
Merge pull request #937 from koic/fix_a_false_positive_for_rails_action_contr... -
e9bb19f
SuppressInternalAffairs/ProcessedSourceBufferName
's offense -
ad0fec1
[Fix #909] Fix a false positive forRails/ActionControllerFlashBeforeRender
-
ecd9fbe
[Fix #914] MakeStyle/InverseMethods
aware ofvalid?
andinvalid?
methods -
81b0fdc
Merge pull request #935 from koic/make_style_inverse_methods_aware_of_active_... -
b74740a
MakeStyle/InverseMethods
aware of some Active Support methods - 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