New features
- #173: Add new
Performance/BlockGivenWithExplicitBlock
cop. (@fatkodima) - #136: Add new
Performance/MethodObjectAsBlock
cop. (@fatkodima) - #151: Add new
Performance/ConstantRegexp
cop. (@fatkodima) - #175: Add new
Performance/ArraySemiInfiniteRangeSlice
cop. (@fatkodima) - #189: Support auto-correction for
Performance/Caller
. (@koic) - #171: Extend auto-correction support for
Performance/Sum
. (@koic) - #194: Support auto-correction for
Performance/UnfreezeString
. (@koic)
Changes
- #181: Change default configuration for
Performance/CollectionLiteralInLoop
toEnabled: 'pending'
. (@ghiculescu) - #170: Extend
Performance/Sum
to register an offense formap { ... }.sum
. (@eugeneius) - #179: Change
Performance/Sum
to warn about empty arrays, and not register an offense on empty array literals. (@ghiculescu) - #180: Require RuboCop 0.90 or higher. (@koic)