New features
Bug fixes
- #374: Fix an error for
Performance/MapMethodChain
when usingmap
method chain without receiver. (@koic) - #386: Fix a false negative for
Performance/StringIdentifierArgument
when using string interpolation. (@earlopain) - #419: Make
Performance/Count
,Performance/FixedSize
,Performance/FlatMap
,Performance/InefficientHashSearch
,Performance/RangeInclude
,Performance/RedundantSortBlock
,Performance/ReverseFirst
,Performance/SelectMap
,Performance/Size
,Performance/SortReverse
, andPerformance/TimesMap
cops aware of safe navigation operator. (@koic) - #390: Fix a false negative for
Performance/ReverseEach
when safe navigation is betweenreverse
andeach
. (@fatkodima) - #401: Make
Performance/Sum
aware of safe navigation operator. (@koic)
Changes
- #389: Improve
Performance/MapCompact
to handle more safe navigation calls. (@fatkodima) - #395: Enhance
Performance/StringInclude
to handle===
method. (@fatkodima) - #388: Require RuboCop 1.30+ as runtime dependency. (@koic)
- #380: Require RuboCop AST 1.30.0+. (@koic)