#359: Fix a false positive for Performance/RedundantEqualityComparisonBlock when the block variable is used on both sides of ==. ([@koic][])
#351: Fix an incorrect autocorrect for Performance/ConstantRegexp and Performance/RegexpMatch when autocorrecting both at the same time. ([@fatkodima][])
Changes
#357: Add sort! and minmax to Performance/CompareWithBlock. ([@vlad-pisanov][])
#353: (Breaking) Drop Ruby 2.6 support. ([@koic][])
You can trigger a rebase of this PR 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)
Note
Automatic rebases have been disabled on this pull request as it has been open for over 30 days.
Bumps rubocop-performance from 1.17.1 to 1.18.0.
Release notes
Sourced from rubocop-performance's releases.
Changelog
Sourced from rubocop-performance's changelog.
Commits
4498b1d
Cut 1.18.04a41d26
Update Changelogdb59f48
Merge pull request #360 from koic/fix_a_false_positive_for_performance_redund...3088b19
[Fix #359] Fix a false positive for `Performance/RedundantEqualityComparisonB...743226e
Merge pull request #358 from rubocop/dependabot/github_actions/codespell-proj...9b8c03a
Bump codespell-project/actions-codespell from 1 to 24e7233d
Add a project spec to detect settings that haven't setunsafe
ac57a77
Merge pull request #357 from vlad-pisanov/vp_sort57b3b09
Addsort!
andminmax
toPerformance/CompareWithBlock
63f7c15
Use RuboCop RSpec 2.22You can trigger a rebase of this PR 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)