#162: Fix a false positive for Performance/RedundantBlockCall when an optional block that is overridden by block variable. (@koic)
#36: Fix a false positive for Performance/ReverseEach when each is called on reverse and using the result value. (@koic)
#224: Fix a false positive for Style/RedundantEqualityComparisonBlock when using one argument with comma separator in block argument. (@koic)
#225: Fix a false positive for Style/RedundantEqualityComparisonBlock when using any? with === comparison block and block argument is not used as a receiver for ===. (@koic)
#222: Fix a false positive for Performance/RedundantSplitRegexpArgument when split method argument is exactly one spece regexp / /. (@koic)
RuboCop Performance 1.10.1
Bug fixes
#214: Fix a false positive for Performance/RedundantEqualityComparisonBlock when using multiple block arguments. (@koic)
#216: Fix a false positive for Performance/RedundantSplitRegexpArgument when using split method with ignore case regexp option. (@koic)
#217: Fix a false positive for Performance/RedundantEqualityComparisonBlock when using block argument is used for an argument of is_a. (@koic)
RuboCop Performance 1.10.0
New features
#190: Add new Performance/RedundantSplitRegexpArgument cop. (@mfbmina)
#213: Add new Performance/RedundantEqualityComparisonBlock cop. (@koic)
Bug fixes
#207: Fix an error for Performance/Sum when using map(&do_something).sum without receiver. (@koic)
#210: Fix a false negative for Performance/BindCall when receiver is not a method call. (@koic)
Changes
#205: Update Performance/ConstantRegexp to allow memoized regexps. (@dvandersluis)
#212: Enable unsafe auto-correct for Performance/StartWith and Performance/EndWith cops by default. (@koic)
#162: Fix a false positive for Performance/RedundantBlockCall when an optional block that is overridden by block variable. ([@koic][])
#36: Fix a false positive for Performance/ReverseEach when each is called on reverse and using the result value. ([@koic][])
#224: Fix a false positive for Style/RedundantEqualityComparisonBlock when using one argument with comma separator in block argument. ([@koic][])
#225: Fix a false positive for Style/RedundantEqualityComparisonBlock when using any? with === comparison block and block argument is not used as a receiver for ===. ([@koic][])
#222: Fix a false positive for Performance/RedundantSplitRegexpArgument when split method argument is exactly one spece regexp / /. ([@koic][])
1.10.1 (2021-03-02)
Bug fixes
#214: Fix a false positive for Performance/RedundantEqualityComparisonBlock when using multiple block arguments. ([@koic][])
#216: Fix a false positive for Performance/RedundantSplitRegexpArgument when using split method with ignore case regexp option. ([@koic][])
#217: Fix a false positive for Performance/RedundantEqualityComparisonBlock when using block argument is used for an argument of is_a. ([@koic][])
1.10.0 (2021-03-01)
New features
#190: Add new Performance/RedundantSplitRegexpArgument cop. ([@mfbmina][])
#213: Add new Performance/RedundantEqualityComparisonBlock cop. ([@koic][])
Bug fixes
#207: Fix an error for Performance/Sum when using map(&do_something).sum without receiver. ([@koic][])
#210: Fix a false negative for Performance/BindCall when receiver is not a method call. ([@koic][])
Changes
#205: Update Performance/ConstantRegexp to allow memoized regexps. ([@dvandersluis][])
#212: Enable unsafe auto-correct for Performance/StartWith and Performance/EndWith cops by default. ([@koic][])
Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.
Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR:
- `@dependabot rebase` will rebase this PR
- `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it
- `@dependabot merge` will merge this PR after your CI passes on it
- `@dependabot squash and merge` will squash and merge this PR after your CI passes on it
- `@dependabot cancel merge` will cancel a previously requested merge and block automerging
- `@dependabot reopen` will reopen this PR if it is closed
- `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
- `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
- `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
- `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
Bumps rubocop-performance from 1.9.2 to 1.10.2.
Release notes
Sourced from rubocop-performance's releases.
Changelog
Sourced from rubocop-performance's changelog.
Commits
aa59908
Cut 1.10.26ed3a56
Merge pull request #223 from koic/fix_false_positive_for_redundant_split_rege...fedc010
[Fix #222] Fix a false positive forPerformance/RedundantSplitRegexpArgument
56b2ebe
Merge pull request #226 from koic/fix_a_false_positive_for_redundant_equality...6aff38e
[Fix #225] Fix a false positive forStyle/RedundantEqualityComparisonBlock
2d6b745
Merge pull request #224 from koic/fix_false_positive_for_redundant_equality_c...7204cbc
Revert "Workaround for JRuby 9.2.15.0 regression"e0ec69b
Fix a false positive forStyle/RedundantEqualityComparisonBlock
320b762
Suppress RuboCop offense82fffda
Merge pull request #221 from koic/fix_false_positive_for_performance_reverse_...Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting
@dependabot rebase
.Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)