New features
- #115: Support
String#sub
andString#sub!
methods forPerformance/DeletePrefix
andPerformance/DeleteSuffix
cops. (@fatkodima)
Bug fixes
- #111: Fix an error for
Performance/DeletePrefix
andPerformance/DeleteSuffix
cops when using autocorrection with RuboCop 0.81 or lower. (@koic) - #118: Fix a false positive for
Performance/DeletePrefix
,Performance/DeleteSuffix
,Performance/StartWith
, andPerformance/EndWith
cops when receiver is multiline string. (@koic)