#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)
RuboCop Performance 1.14.2
Bug fixes
#292: Fix a false positive for Performance/RegexpMatch when TargetRubyVersion: 2.3. (@koic)
RuboCop Performance 1.14.1
Bug fixes
#291: Fix Performance/MapCompact autocorrect causing invalid syntax when using multiline map { ... }.compact as an argument for an assignment method. (@QQism)
#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][])
1.14.1 (2022-06-05)
Bug fixes
#291: Fix Performance/MapCompact autocorrect causing invalid syntax when using multiline map { ... }.compact as an argument for an assignment method. ([@QQism][])
1.14.0 (2022-05-24)
Bug fixes
#289: Fix a false positive for Performance/StringIdentifierArgument when using namespaced class string argument. ([@koic][])
#288: Recover Ruby 2.4 code analysis using TargetRubyVersion: 2.4. ([@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.1.
Release notes
Sourced from rubocop-performance's releases.
... (truncated)
Changelog
Sourced from rubocop-performance's changelog.
... (truncated)
Commits
410c6f5
Cut 1.15.1442feb3
Update Changelog84645a8
Merge pull request #310 from koic/fix_an_error_for_performance_map_compact60dbe30
[Fix #309] Fix an error forPerformance/MapCompact
3dd06b5
Merge pull request #307 from r7kamura/feature/count3554550
Support autocorrection even ifreject
is used onPerformance/Count
d5bb1fe
SupressStyle/RedundantStringEscape
's offenses4fb546b
Add a project spec for future changelog entry7d46c6a
Use RuboCop RSpec 2.133931d83
Switch back docs version to masterYou 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)