Bump rubocop-performance from 1.5.1 to 1.6.1
Bumps rubocop-performance from 1.5.1 to 1.6.1.
Release notes
Sourced from rubocop-performance's releases.
RuboCop Performance 1.6.1
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)RuboCop Performance 1.6.0
New features
- #77: Add new
Performance/BindCall
cop. (@koic)- #105: Add new
Performance/DeletePrefix
andPerformance/DeleteSuffix
cops. (@koic)- #107: Support regexp metacharacter
^
forPerformance/StartWith
cop and regexp metacharacter$
forPerformance/EndWith
cop. (@koic)Bug fixes
- #55: Fix an incorrect autocorrect for
Performance/RegexpMatch
when usingstr.=~(/regexp/)
. (@koic)- #108: Fix an incorrect autocorrect for
Performance/ReverseEach
when there is a newline between reverse and each. (@joe-sharp, @dischorde, @siegfault)Changes
- #103: (BREAKING) Drop support for Ruby 2.3. (@koic)
- #101: Mark unsafe for
Performance/Casecmp
cop. (@koic)RuboCop Performance 1.5.2
Bug fixes
Changelog
Sourced from rubocop-performance's changelog.
1.6.1 (2020-06-05)
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][])1.6.0 (2020-05-22)
New features
- #77: Add new
Performance/BindCall
cop. ([@koic][])- #105: Add new
Performance/DeletePrefix
andPerformance/DeleteSuffix
cops. ([@koic][])- #107: Support regexp metacharacter
^
forPerformance/StartWith
cop and regexp metacharacter$
forPerformance/EndWith
cop. ([@koic][])Bug fixes
- #55: Fix an incorrect autocorrect for
Performance/RegexpMatch
when usingstr.=~(/regexp/)
. ([@koic][])- #108: Fix an incorrect autocorrect for
Performance/ReverseEach
when there is a newline between reverse and each. ([@joe-sharp][], [@dischorde][], [@siegfault][])Changes
- #103: (BREAKING) Drop support for Ruby 2.3. ([@koic][])
- #101: Mark unsafe for
Performance/Casecmp
cop. ([@koic][])1.5.2 (2019-12-25)
Bug fixes
- #86: Fix an incorrect autocorrect for
Performance/RedundantMerge
when using an empty hash argument. ([@koic][])
Commits
-
f7f658e
Cut 1.6.1 -
67f8660
Merge pull request #119 from koic/fix_false_positive_for_delete_prefix_and_de... -
f5f560f
[Fix #118] Fix a false positive forDeletePrefix
andDeletePrefix
cops -
fe535e2
Rename the manual dir to legacy-docs -
2d9fc24
Useexpect_correction
instead ofautocorrect_source_with_loop
-
73a9015
rake generate_cops_documentation
generates AsciiDoc -
7ac8354
Suppress RuboCop's offenses -
bee8799
Fix a typo -
4bc0d2d
Remove redundant path -
491e6a3
Update docs links - Additional commits viewable in compare view