Update dependency rubocop-performance to v1.26.0 - autoclosed#59
Closed
renovate[bot] wants to merge 1 commit intoproductionfrom
Closed
Update dependency rubocop-performance to v1.26.0 - autoclosed#59renovate[bot] wants to merge 1 commit intoproductionfrom
renovate[bot] wants to merge 1 commit intoproductionfrom
Conversation
6b80909 to
4ca0652
Compare
4ca0652 to
1c1a304
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
Coming soon: The Renovate bot (GitHub App) will be renamed to Mend. PRs from Renovate will soon appear from 'Mend'. Learn more here.
This PR contains the following updates:
'= 1.16.0'->'= 1.26.0'Release Notes
rubocop/rubocop-performance (rubocop-performance)
v1.26.0Compare Source
Bug fixes
Performance/BlockGivenWithExplicitBlockwhen usingNaming/BlockForwarding's autocorrection together. ([@a-lavis][])Performance/MapCompactcop as unsafe. ([@jbpextra][])Performance/Countcop error on empty selector block. ([@viralpraxis][])Performance/Countwith multiline calls. ([@lovro-bikic][])Changes
!foo.start_with('bar') && !foo.start_with('baz')withPerformance/DoubleStartEndWith. ([@earlopain][])v1.25.0Compare Source
New features
itblock parameter inPerformancecops. ([@koic][])Bug fixes
Performance/FixedSizefalse positive whencountis called with anumblock. ([@dvandersluis][])Performance/StringIdentifierArgumentwhen using interpolated string argument. ([@koic][])Changes
Performance/CollectionLiteralInLoopto not register offenses forArray#include?that are optimized directly in Ruby. ([@earlopain][])v1.24.0Compare Source
New features
Performance/ZipWithoutBlockcop that checks patterns like.map { |id| [id] }or.map { [_1] }and can replace them with.zip. ([@corsonknowles][])Bug fixes
Performance/CaseWhenSplatcop error onwhennode without body. ([@viralpraxis][])v1.23.1Compare Source
Bug fixes
Performance/RedundantStringCharscop error in case of implicit receiver. ([@viralpraxis][])Performance/Squeezecop error on frozen AST string node value. ([@viralpraxis][])v1.23.0Compare Source
New features
Performance/StringBytesizecop. ([@viralpraxis][])v1.22.1Compare Source
Bug fixes
Performance/BigDecimalWithNumericArgumentwhen using float argument forBigDecimal. ([@koic][])v1.22.0Compare Source
Bug fixes
Performance/BigDecimalWithNumericArgumentwhen using BigDecimal 3.1+. ([@koic][])Changes
Performance/BlockGivenWithExplicitBlockby default. ([@earlopain][])Performance/DoubleStartEndWithaware of safe navigation. ([@earlopain][])v1.21.1Compare Source
Bug fixes
Performance/RedundantEqualityComparisonBlockwhen the block is empty. ([@earlopain][])v1.21.0Compare Source
New features
Bug fixes
Performance/ChainArrayAllocationwhen usingselectwith block argument afterselect. ([@koic][])Performance/RedundantBlockCallwhen usingblock.callwith block argument. ([@koic][])Changes
Performance/Casecmpcop by default. ([@parkerfinch][])v1.20.2Compare Source
Bug fixes
Performance/StringIdentifierArgumentwhen using string interpolation with methods that don't support symbols with::inside them. ([@earlopain][])v1.20.1Compare Source
Bug fixes
Performance/StringIdentifierArgumentwhen using multiple string arguments. ([@koic][])v1.20.0Compare Source
New features
String#dupforPerformance/UnfreezeStringwhen Ruby 3.3+. ([@koic][])Bug fixes
Performance/MapMethodChainwhen usingmapmethod chain without receiver. ([@koic][])Performance/StringIdentifierArgumentwhen using string interpolation. ([@earlopain][])Performance/Count,Performance/FixedSize,Performance/FlatMap,Performance/InefficientHashSearch,Performance/RangeInclude,Performance/RedundantSortBlock,Performance/ReverseFirst,Performance/SelectMap,Performance/Size,Performance/SortReverse, andPerformance/TimesMapcops aware of safe navigation operator. ([@koic][])Performance/ReverseEachwhen safe navigation is betweenreverseandeach. ([@fatkodima][])Performance/Sumaware of safe navigation operator. ([@koic][])Changes
Performance/MapCompactto handle more safe navigation calls. ([@fatkodima][])Performance/StringIncludeto handle===method. ([@fatkodima][])v1.19.1Compare Source
Bug fixes
Performance/BlockGivenWithExplicitBlockwhen usingLint/UnusedMethodArgument's autocorrection together. ([@ymap][])Performance/RedundantMatchwhen expressions with lower precedence than=~are used as an argument. ([@ymap][])Performance/ArraySemiInfiniteRangeSlicewhen using[]with string literals. ([@koic][])Performance/UnfreezeString. ([@tagliala][])v1.19.0Compare Source
New features
Performance/MapMethodChaincop. ([@koic][])Performance/ArraySemiInfiniteRangeSlice,Performance/DeletePrefix,Performance/DeleteSuffix,Performance/Detect,Performance/EndWith,Performance/InefficientHashSearch,Performance/MapCompact,Performance/RedundantSplitRegexpArgument,Performance/ReverseEach,Performance/ReverseFirst,Performance/SelectMap,Performance/Squeeze,Performance/StartWith,Performance/StringInclude, andPerformance/StringReplacementcops. ([@koic][])v1.18.0Compare Source
Bug fixes
Performance/RedundantEqualityComparisonBlockwhen the block variable is used on both sides of==. ([@koic][])Performance/ConstantRegexpandPerformance/RegexpMatchwhen autocorrecting both at the same time. ([@fatkodima][])Changes
sort!andminmaxtoPerformance/CompareWithBlock. ([@vlad-pisanov][])v1.17.1Compare Source
Bug fixes
AllowRegexpMatchoption ofPerformance/RedundantEqualityComparisonBlock. ([@koic][])v1.17.0Compare Source
New features
AllowRegexpMatchoption toPerformance/RedundantEqualityComparisonBlock. ([@koic][])Bug fixes
Performance/StringIdentifierArgumentwhen using a command method with receiver. ([@koic][])Performance/FlatMapautocorrection for chained methods on separate lines. ([@fatkodima][])Configuration
📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
This PR was generated by Mend Renovate. View the repository job log.