#332: Register offenses for variables against regexes in Performance/StringInclude. (@fatkodima)
RuboCop Performance 1.15.2
Bug fixes
#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)
#332: Register offenses for variables against regexes in Performance/StringInclude. ([@fatkodima][])
1.15.2 (2022-12-25)
Bug fixes
#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][])
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.14.1 to 1.16.0.
Release notes
Sourced from rubocop-performance's releases.
... (truncated)
Changelog
Sourced from rubocop-performance's changelog.
... (truncated)
Commits
d8712aa
Cut 1.16.0a9bdc29
Update Changelogc2c623e
Merge pull request #332 from fatkodima/string-include-variables8fafbe4
Use RuboCop RSpec 2.183cdb861
Merge pull request #337 from ekohl/fix-reflect-warning83b47e3
[Fix #336] Expand the safety warning on Performance/Detecta28bd39
Add a flagged term to catch a typo1b060ff
Make default indentation consistent8329141
Apply concurrency for GHA workflowpull_requests
envents onlyf911b48
Merge pull request #330 from ydah/use_concurrencyDependabot 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)