#278: Fix a false positive for Performance/StringIdentifierArgument when using attr. (@koic)
RuboCop Performance 1.13.0
New features
#276: Add new Performance/StringIdentifierArgument cop. (@koic)
#204: Add Performance/Sum option to ignore potential false positives. (@leoarnold)
#269: Add #to_d support to BigDecimalWithNumericArgument. (@leoarnold)
Bug fixes
#277: Fix an incorrect autocorrect for Performance/MapCompact when using map.compact.first and there is a line break after map.compact and receiver. (@koic)
#273: Fix an incorrect autocorrect for Performance/RedundantStringChars when using str.chars[0]. (@koic)
Changes
#270: Mark Performance/Sum auto-correction as unsafe and extend documentation. (@leoarnold)
#274: Unmark AutoCorrect: false from Performance/CaseWhenSplat. (@koic)
#275: Unmark AutoCorrect: false from Performance/TimesMap. (@koic)
RuboCop Performance 1.12.0
New features
#267: Add new Performance/ConcurrentMonotonicTime cop. (@koic)
Bug fixes
#261: Fix a false negative for Performance/RedundantBlockCall when using block.call in a class method'. (@koic)
#264: Fix error in Performance/Sum when method has no brackets. (@mvz)
Changes
#263: Unmark AutoCorrect: false from Performance/StringInclude. (@koic)
RuboCop Performance 1.11.5
Bug fixes
#255: Fix a false positive for Performance/RedundantEqualityComparisonBlock when using block argument is used for an argument of operand. (@koic)
#257: Fix an incorrect auto-correct for Performance/MapCompact when using multi-line collection.map { ... }.compact as a method argument. (@koic)
#278: Fix a false positive for Performance/StringIdentifierArgument when using attr. ([@koic][])
1.13.0 (2021-12-25)
New features
#276: Add new Performance/StringIdentifierArgument cop. ([@koic][])
#204: Add Performance/Sum option to ignore potential false positives. ([@leoarnold][])
#269: Add #to_d support to BigDecimalWithNumericArgument. ([@leoarnold][])
Bug fixes
#277: Fix an incorrect autocorrect for Performance/MapCompact when using map.compact.first and there is a line break after map.compact and receiver. ([@koic][])
#273: Fix an incorrect autocorrect for Performance/RedundantStringChars when using str.chars[0]. ([@koic][])
Changes
#270: Mark Performance/Sum auto-correction as unsafe and extend documentation. ([@leoarnold][])
#274: Unmark AutoCorrect: false from Performance/CaseWhenSplat. ([@koic][])
#275: Unmark AutoCorrect: false from Performance/TimesMap. ([@koic][])
1.12.0 (2021-10-31)
New features
#267: Add new Performance/ConcurrentMonotonicTime cop. ([@koic][])
Bug fixes
#261: Fix a false negative for Performance/RedundantBlockCall when using block.call in a class method'. ([@koic][])
#264: Fix error in Performance/Sum when method has no brackets. ([@mvz][])
Changes
#263: Unmark AutoCorrect: false from Performance/StringInclude. ([@koic][])
1.11.5 (2021-08-18)
Bug fixes
#255: Fix a false positive for Performance/RedundantEqualityComparisonBlock when using block argument is used for an argument of operand. ([@koic][])
#257: Fix an incorrect auto-correct for Performance/MapCompact when using multi-line collection.map { ... }.compact as a method argument. ([@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.11.3 to 1.13.1.
Release notes
Sourced from rubocop-performance's releases.
... (truncated)
Changelog
Sourced from rubocop-performance's changelog.
... (truncated)
Commits
31f1781
Cut v1.13.16e7b77b
Update Changelog61c2133
Bump license years to 2022b31cb4f
Merge pull request #279 from koic/fix_false_positive_for_performance_string_i...91d89d2
CI against Ruby 3.1f2b1319
Usecimg/ruby
instead of deprecatedcircleci/ruby
imagesab30d85
[Fix #278] Fix a false positive forPerformance/StringIdentifierArgument
e08862c
Switch back docs version to master4c457c8
Cut 1.13.04c9bae3
Update ChangelogDependabot 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)