From 9a1d1b4847efe820a395b3948bebc7b164ef3ca6 Mon Sep 17 00:00:00 2001 From: BrewTestBot <1589480+BrewTestBot@users.noreply.github.com> Date: Tue, 2 Mar 2021 05:49:48 +0000 Subject: [PATCH] Update RBI files for rubocop-performance. --- ...formance@1.10.0.rbi => rubocop-performance@1.10.1.rbi} | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) rename Library/Homebrew/sorbet/rbi/gems/{rubocop-performance@1.10.0.rbi => rubocop-performance@1.10.1.rbi} (99%) diff --git a/Library/Homebrew/sorbet/rbi/gems/rubocop-performance@1.10.0.rbi b/Library/Homebrew/sorbet/rbi/gems/rubocop-performance@1.10.1.rbi similarity index 99% rename from Library/Homebrew/sorbet/rbi/gems/rubocop-performance@1.10.0.rbi rename to Library/Homebrew/sorbet/rbi/gems/rubocop-performance@1.10.1.rbi index 6c2e47ea87..e55e9889d6 100644 --- a/Library/Homebrew/sorbet/rbi/gems/rubocop-performance@1.10.0.rbi +++ b/Library/Homebrew/sorbet/rbi/gems/rubocop-performance@1.10.1.rbi @@ -492,11 +492,14 @@ class RuboCop::Cop::Performance::RedundantEqualityComparisonBlock < ::RuboCop::C def new_argument(block_argument, block_body); end def offense_range(node); end + def same_block_argument_and_is_a_argument?(block_body, block_argument); end def use_equality_comparison_block?(block_body); end end RuboCop::Cop::Performance::RedundantEqualityComparisonBlock::COMPARISON_METHODS = T.let(T.unsafe(nil), Array) +RuboCop::Cop::Performance::RedundantEqualityComparisonBlock::IS_A_METHODS = T.let(T.unsafe(nil), Array) + RuboCop::Cop::Performance::RedundantEqualityComparisonBlock::MSG = T.let(T.unsafe(nil), String) RuboCop::Cop::Performance::RedundantEqualityComparisonBlock::TARGET_METHODS = T.let(T.unsafe(nil), Array) @@ -588,9 +591,8 @@ class RuboCop::Cop::Performance::RedundantSplitRegexpArgument < ::RuboCop::Cop:: private - def autocorrect(corrector, node); end - def determinist_regexp?(first_argument); end - def replacement(node); end + def determinist_regexp?(regexp_node); end + def replacement(regexp_node); end end RuboCop::Cop::Performance::RedundantSplitRegexpArgument::DETERMINISTIC_REGEX = T.let(T.unsafe(nil), Regexp)