#81: Add new Performance/StringInclude cop. (@fatkodima)
#123: Add new Performance/AncestorsInclude cop. (@fatkodima)
#125: Support Range#member? method for Performance/RangeInclude cop. (@fatkodima)
Changes
#138: Drop support for RuboCop 0.81 or lower. (@koic)
RuboCop Performance 1.6.1
New features
#115: Support String#sub and String#sub! methods for Performance/DeletePrefix and Performance/DeleteSuffix cops. (@fatkodima)
Bug fixes
#111: Fix an error for Performance/DeletePrefix and Performance/DeleteSuffix cops when using autocorrection with RuboCop 0.81 or lower. (@koic)
#118: Fix a false positive for Performance/DeletePrefix, Performance/DeleteSuffix, Performance/StartWith, and Performance/EndWith cops when receiver is multiline string. (@koic)
#105: Add new Performance/DeletePrefix and Performance/DeleteSuffix cops. (@koic)
#107: Support regexp metacharacter ^ for Performance/StartWith cop and regexp metacharacter $ for Performance/EndWith cop. (@koic)
Bug fixes
#55: Fix an incorrect autocorrect for Performance/RegexpMatch when using str.=~(/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)
#129: Add new Performance/BigDecimalWithNumericArgument cop. ([@fatkodima][])
#130: Add new Performance/SortReverse cop. ([@fatkodima][])
#81: Add new Performance/StringInclude cop. ([@fatkodima][])
#123: Add new Performance/AncestorsInclude cop. ([@fatkodima][])
#125: Support Range#member? method for Performance/RangeInclude cop. ([@fatkodima][])
Changes
#138: Drop support for RuboCop 0.81 or lower. ([@koic][])
1.6.1 (2020-06-05)
New features
#115: Support String#sub and String#sub! methods for Performance/DeletePrefix and Performance/DeleteSuffix cops. ([@fatkodima][])
Bug fixes
#111: Fix an error for Performance/DeletePrefix and Performance/DeleteSuffix cops when using autocorrection with RuboCop 0.81 or lower. ([@koic][])
#118: Fix a false positive for Performance/DeletePrefix, Performance/DeleteSuffix, Performance/StartWith, and Performance/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 and Performance/DeleteSuffix cops. ([@koic][])
#107: Support regexp metacharacter ^ for Performance/StartWith cop and regexp metacharacter $ for Performance/EndWith cop. ([@koic][])
Bug fixes
#55: Fix an incorrect autocorrect for Performance/RegexpMatch when using str.=~(/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][])
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)
- `@dependabot use these labels` will set the current labels as the default for future PRs for this repo and language
- `@dependabot use these reviewers` will set the current reviewers as the default for future PRs for this repo and language
- `@dependabot use these assignees` will set the current assignees as the default for future PRs for this repo and language
- `@dependabot use this milestone` will set the current milestone as the default for future PRs for this repo and language
- `@dependabot badge me` will comment on this PR with code to add a "Dependabot enabled" badge to your readme
Additionally, you can set the following in your Dependabot [dashboard](https://app.dependabot.com):
- Update frequency (including time of day and day of week)
- Pull request limits (per update run and/or open at any time)
- Automerge options (never/patch/minor, and dev/runtime dependencies)
- Out-of-range updates (receive only lockfile updates, if desired)
- Security updates (receive only security updates, if desired)
Bumps rubocop-performance from 1.3.0 to 1.7.0.
Release notes
Sourced from rubocop-performance's releases.
Changelog
Sourced from rubocop-performance's changelog.
Commits
b91d5a4
Cut 1.7.07885e72
Merge pull request #143 from koic/fix_false_positive_for_string_include403c46e
Make a safe detection forPerformance/StringInclude
e8bc8e7
Make cop status pending until RuboCop Performance 2.02757251
Merge pull request #141 from fatkodima/string-chars-cop34499a1
Use version without patch in antora's config1e5c15e
Teach cut_release about antora.ymlf615047
Add newPerformance/RedundantStringChars
copc0402b7
Merge pull request #142 from koic/fix_build_error_for_chain_array_allocationeb45fb8
Fix a build error forPerformance/ChainArrayAllocation
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) - `@dependabot use these labels` will set the current labels as the default for future PRs for this repo and language - `@dependabot use these reviewers` will set the current reviewers as the default for future PRs for this repo and language - `@dependabot use these assignees` will set the current assignees as the default for future PRs for this repo and language - `@dependabot use this milestone` will set the current milestone as the default for future PRs for this repo and language - `@dependabot badge me` will comment on this PR with code to add a "Dependabot enabled" badge to your readme Additionally, you can set the following in your Dependabot [dashboard](https://app.dependabot.com): - Update frequency (including time of day and day of week) - Pull request limits (per update run and/or open at any time) - Automerge options (never/patch/minor, and dev/runtime dependencies) - Out-of-range updates (receive only lockfile updates, if desired) - Security updates (receive only security updates, if desired)