[ruby] Update rubocop-performance: 1.7.1 → 1.8.0 (minor) #21
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Here is everything you need to know about this update. Please take a good look at what changed and the test results before merging this pull request.
What changed?
✳️ rubocop-performance (1.7.1 → 1.8.0) · Repo
Release Notes
1.8.0
Does any of this look wrong? Please let us know.
Commits
See the full diff on Github. The new version differs by 22 commits:
Cut 1.8.0
Merge pull request #157 from fatkodima/add-filter-to-detect-and-count-cops
Merge pull request #160 from koic/fix_false_positive_for_performance_ancestors_include
Use `Registry.global` instead of `Cop.registry`
[Fix #159] Fix a false positive for `Performance/AncestorsInclude`
Extend `Performance/Detect` cop with check for `filter` method and `Performance/Count` cop with checks for `find_all` and `filter` methods
Merge pull request #156 from koic/add_documentation_checks_on_ci
Add documentation checks on CI
Merge pull request #155 from koic/use_cop_base_api_for_performance_department
Use `Cop::Base` API for `Performance` department
Merge pull request #154 from koic/use_new_expect_correction
Use new `expect_offense`, `expect_correction` instead of old APIs
Update cops.adoc
Use RuboCop Performance's version when generating new cop
Use `CopsDocumentationGenerator` to generate documentation
Suppress RuboCop's offenses
Update `VersionAdded` for `CollectionLiteralInLoop` and `Sum` cops
Suppress a RuboCop's offense
Update the changelog
Add new `Performance/CollectionLiteralInLoop` cop (#140)
Add new `Performance/Sum` cop
Switch back docs version to master
Depfu will automatically keep this PR conflict-free, as long as you don't add any commits to this branch yourself. You can also trigger a rebase manually by commenting with
@depfu rebase
.All Depfu comment commands