RuboCop Performance 1.15.2
Bug fixes
- #313: Fix a false negative for
Performance/RedundantStringChars
when usingstr.chars.last
without argument. (@koic) - #321: Fix a false positive for
Performance/Sum
when usingTargetRubyVersion
is 2.3 or lower. (@koic) - #314: Fix
Performance/RegexpMatch
to handle::Regexp
. (@fatkodima)
Changes
- #318: Extend
Performance/StringInclude
to handle!~
. (@fatkodima)