#313: Fix a false negative for Performance/RedundantStringChars when using str.chars.last without argument. (@koic)
#321: Fix a false positive for Performance/Sum when using TargetRubyVersion is 2.3 or lower. (@koic)
#314: Fix Performance/RegexpMatch to handle ::Regexp. (@fatkodima)
Changes
#318: Extend Performance/StringInclude to handle !~. (@fatkodima)
RuboCop Performance 1.15.1
Bug fixes
#309: Fix an error for Performance/MapCompact when using map(&:do_something).compact and there is a line break after map.compact and assigning with ||=. (@koic)
Changes
#307: Support autocorrection even if reject is used on Performance/Count. (@r7kamura)
RuboCop Performance 1.15.0
New features
#305: Support numbered parameter for Performance/RedundantSortBlock, Performance/SortReverse, and Performance/TimesMap cops. (@koic)
Bug fixes
#299: Fix incorrect documentation URLs when using rubocop --show-docs-url. (@r7kamura)
Changes
#297: Support autocorrection on Performance/RedundantMatch when receiver is a Regexp literal. (@r7kamura)
RuboCop Performance 1.14.3
Bug fixes
#296: Fix a false negative for Performance/StringIdentifierArgument when using instance_variable_defined?. (@koic)
#294: Fix a false negative for Performance/ChainArrayAllocation when using array.first(do_something).uniq. (@koic)
#313: Fix a false negative for Performance/RedundantStringChars when using str.chars.last without argument. ([@koic][])
#321: Fix a false positive for Performance/Sum when using TargetRubyVersion is 2.3 or lower. ([@koic][])
#314: Fix Performance/RegexpMatch to handle ::Regexp. ([@fatkodima][])
Changes
#318: Extend Performance/StringInclude to handle !~. ([@fatkodima][])
1.15.1 (2022-11-16)
Bug fixes
#309: Fix an error for Performance/MapCompact when using map(&:do_something).compact and there is a line break after map.compact and assigning with ||=. ([@koic][])
Changes
#307: Support autocorrection even if reject is used on Performance/Count. ([@r7kamura][])
1.15.0 (2022-09-10)
New features
#305: Support numbered parameter for Performance/RedundantSortBlock, Performance/SortReverse, and Performance/TimesMap cops. ([@koic][])
Bug fixes
#299: Fix incorrect documentation URLs when using rubocop --show-docs-url. ([@r7kamura][])
Changes
#297: Support autocorrection on Performance/RedundantMatch when receiver is a Regexp literal. ([@r7kamura][])
1.14.3 (2022-07-17)
Bug fixes
#296: Fix a false negative for Performance/StringIdentifierArgument when using instance_variable_defined?. ([@koic][])
#294: Fix a false negative for Performance/ChainArrayAllocation when using array.first(do_something).uniq. ([@koic][])
1.14.2 (2022-06-08)
Bug fixes
#292: Fix a false positive for Performance/RegexpMatch when TargetRubyVersion: 2.3. ([@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)
Bumps rubocop-performance from 1.13.3 to 1.15.2.
Release notes
Sourced from rubocop-performance's releases.
... (truncated)
Changelog
Sourced from rubocop-performance's changelog.
... (truncated)
Commits
d48e8a5
Cut 1.15.22e411c9
Update Changelogf2b4bd7
Use RuboCop RSpec 2.16dd328c0
Merge pull request #321 from koic/fix_a_false_positive_for_performance_sumfebf747
Fix a false positive forPerformance/Sum
a5ebbc9
Merge pull request #315 from koic/fix_a_false_negative_for_performance_redund...832b08c
Merge pull request #317 from rubocop/dependabot/github_actions/actions/setup-...a8c96d7
Merge pull request #319 from fatkodima/string_include-not-matcha88d9ef
ExtendPerformance/StringInclude
to handle!~
9d2ac69
Merge pull request #320 from fatkodima/regexp_match-regexp-cbaseYou 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)