diff --git a/Library/Homebrew/sorbet/rbi/gems/parallel@1.22.1.rbi b/Library/Homebrew/sorbet/rbi/gems/parallel@1.23.0.rbi similarity index 95% rename from Library/Homebrew/sorbet/rbi/gems/parallel@1.22.1.rbi rename to Library/Homebrew/sorbet/rbi/gems/parallel@1.23.0.rbi index 5b00e8261a..dfd5b4fcb0 100644 --- a/Library/Homebrew/sorbet/rbi/gems/parallel@1.22.1.rbi +++ b/Library/Homebrew/sorbet/rbi/gems/parallel@1.23.0.rbi @@ -5,18 +5,19 @@ # Please instead update this file by running `bin/tapioca gem parallel`. module Parallel - extend ::Parallel::ProcessorCount - class << self def all?(*args, &block); end def any?(*args, &block); end def each(array, options = T.unsafe(nil), &block); end def each_with_index(array, options = T.unsafe(nil), &block); end + def filter_map(*args, &block); end def flat_map(*args, &block); end def in_processes(options = T.unsafe(nil), &block); end def in_threads(options = T.unsafe(nil)); end def map(source, options = T.unsafe(nil), &block); end def map_with_index(array, options = T.unsafe(nil), &block); end + def physical_processor_count; end + def processor_count; end def worker_number; end def worker_number=(worker_num); end @@ -68,12 +69,6 @@ class Parallel::JobFactory end class Parallel::Kill < ::Parallel::Break; end - -module Parallel::ProcessorCount - def physical_processor_count; end - def processor_count; end -end - Parallel::Stop = T.let(T.unsafe(nil), Object) class Parallel::UndumpableException < ::StandardError diff --git a/Library/Homebrew/sorbet/rbi/gems/rubocop-rspec@2.19.0.rbi b/Library/Homebrew/sorbet/rbi/gems/rubocop-rspec@2.20.0.rbi similarity index 96% rename from Library/Homebrew/sorbet/rbi/gems/rubocop-rspec@2.19.0.rbi rename to Library/Homebrew/sorbet/rbi/gems/rubocop-rspec@2.20.0.rbi index 994cc2b9b3..fce0977c1b 100644 --- a/Library/Homebrew/sorbet/rbi/gems/rubocop-rspec@2.19.0.rbi +++ b/Library/Homebrew/sorbet/rbi/gems/rubocop-rspec@2.20.0.rbi @@ -85,6 +85,16 @@ end RuboCop::Cop::RSpec::Be::MSG = T.let(T.unsafe(nil), String) RuboCop::Cop::RSpec::Be::RESTRICT_ON_SEND = T.let(T.unsafe(nil), Array) +class RuboCop::Cop::RSpec::BeEmpty < ::RuboCop::Cop::RSpec::Base + extend ::RuboCop::Cop::AutoCorrector + + def expect_array_matcher?(param0 = T.unsafe(nil)); end + def on_send(node); end +end + +RuboCop::Cop::RSpec::BeEmpty::MSG = T.let(T.unsafe(nil), String) +RuboCop::Cop::RSpec::BeEmpty::RESTRICT_ON_SEND = T.let(T.unsafe(nil), Array) + class RuboCop::Cop::RSpec::BeEq < ::RuboCop::Cop::RSpec::Base extend ::RuboCop::Cop::AutoCorrector @@ -219,7 +229,8 @@ class RuboCop::Cop::RSpec::ContainExactly < ::RuboCop::Cop::RSpec::Base private - def autocorrect(node, corrector); end + def autocorrect_for_populated_array(node, corrector); end + def check_populated_collection(node); end end RuboCop::Cop::RSpec::ContainExactly::MSG = T.let(T.unsafe(nil), String) @@ -325,7 +336,7 @@ RuboCop::Cop::RSpec::DescribedClass::DESCRIBED_CLASS = T.let(T.unsafe(nil), Stri RuboCop::Cop::RSpec::DescribedClass::MSG = T.let(T.unsafe(nil), String) class RuboCop::Cop::RSpec::DescribedClassModuleWrapping < ::RuboCop::Cop::RSpec::Base - def find_rspec_blocks(param0); end + def include_rspec_blocks?(param0); end def on_module(node); end end @@ -662,6 +673,7 @@ class RuboCop::Cop::RSpec::FactoryBot::ConsistentParenthesesStyle < ::RuboCop::C end end +RuboCop::Cop::RSpec::FactoryBot::ConsistentParenthesesStyle::AMBIGUOUS_TYPES = T.let(T.unsafe(nil), Array) RuboCop::Cop::RSpec::FactoryBot::ConsistentParenthesesStyle::FACTORY_CALLS = T.let(T.unsafe(nil), Set) RuboCop::Cop::RSpec::FactoryBot::ConsistentParenthesesStyle::MSG_OMIT_PARENS = T.let(T.unsafe(nil), String) RuboCop::Cop::RSpec::FactoryBot::ConsistentParenthesesStyle::MSG_REQUIRE_PARENS = T.let(T.unsafe(nil), String) @@ -938,6 +950,19 @@ RuboCop::Cop::RSpec::ImplicitSubject::MSG_REQUIRE_EXPLICIT = T.let(T.unsafe(nil) RuboCop::Cop::RSpec::ImplicitSubject::MSG_REQUIRE_IMPLICIT = T.let(T.unsafe(nil), String) RuboCop::Cop::RSpec::ImplicitSubject::RESTRICT_ON_SEND = T.let(T.unsafe(nil), Array) +class RuboCop::Cop::RSpec::IndexedLet < ::RuboCop::Cop::RSpec::Base + def let_name(param0 = T.unsafe(nil)); end + def on_block(node); end + + private + + def filter_indexed_lets(candidates); end + def indexed_let?(node); end +end + +RuboCop::Cop::RSpec::IndexedLet::INDEX_REGEX = T.let(T.unsafe(nil), Regexp) +RuboCop::Cop::RSpec::IndexedLet::MSG = T.let(T.unsafe(nil), String) + module RuboCop::Cop::RSpec::InflectedHelper include ::RuboCop::RSpec::Language extend ::RuboCop::AST::NodePattern::Macros @@ -1107,7 +1132,12 @@ end class RuboCop::Cop::RSpec::MatchArray < ::RuboCop::Cop::RSpec::Base extend ::RuboCop::Cop::AutoCorrector + def match_array_with_empty_array?(param0 = T.unsafe(nil)); end def on_send(node); end + + private + + def check_populated_array(node); end end RuboCop::Cop::RSpec::MatchArray::MSG = T.let(T.unsafe(nil), String) @@ -1346,6 +1376,7 @@ class RuboCop::Cop::RSpec::PendingWithoutReason < ::RuboCop::Cop::RSpec::Base def pending_step_without_reason?(param0 = T.unsafe(nil)); end def skipped_by_example_group_method?(param0 = T.unsafe(nil)); end def skipped_by_example_method?(param0 = T.unsafe(nil)); end + def skipped_by_example_method_with_block?(param0 = T.unsafe(nil)); end def skipped_in_example?(param0 = T.unsafe(nil)); end private @@ -1354,7 +1385,7 @@ class RuboCop::Cop::RSpec::PendingWithoutReason < ::RuboCop::Cop::RSpec::Base def on_pending_by_metadata(node); end def on_skipped_by_example_group_method(node); end def on_skipped_by_example_method(node); end - def on_skipped_by_in_example_method(node, _direct_parent); end + def on_skipped_by_in_example_method(node); end def parent_node(node); end end @@ -1405,42 +1436,55 @@ class RuboCop::Cop::RSpec::Rails::HttpStatus < ::RuboCop::Cop::RSpec::Base def checker_class; end end -class RuboCop::Cop::RSpec::Rails::HttpStatus::NumericStyleChecker - def initialize(node); end - - def message; end - def node; end +class RuboCop::Cop::RSpec::Rails::HttpStatus::BeStatusStyleChecker < ::RuboCop::Cop::RSpec::Rails::HttpStatus::StyleCheckerBase + def current; end + def offense_range; end def offensive?; end - def preferred_style; end + def prefer; end + + private + + def number; end + def symbol; end +end + +class RuboCop::Cop::RSpec::Rails::HttpStatus::NumericStyleChecker < ::RuboCop::Cop::RSpec::Rails::HttpStatus::StyleCheckerBase + def current; end + def offensive?; end + def prefer; end private - def allowed_symbol?; end def number; end def symbol; end end -RuboCop::Cop::RSpec::Rails::HttpStatus::NumericStyleChecker::ALLOWED_STATUSES = T.let(T.unsafe(nil), Array) -RuboCop::Cop::RSpec::Rails::HttpStatus::NumericStyleChecker::MSG = T.let(T.unsafe(nil), String) RuboCop::Cop::RSpec::Rails::HttpStatus::RESTRICT_ON_SEND = T.let(T.unsafe(nil), Array) -class RuboCop::Cop::RSpec::Rails::HttpStatus::SymbolicStyleChecker +class RuboCop::Cop::RSpec::Rails::HttpStatus::StyleCheckerBase def initialize(node); end + def allowed_symbol?; end + def custom_http_status_code?; end def message; end def node; end + def offense_range; end +end + +RuboCop::Cop::RSpec::Rails::HttpStatus::StyleCheckerBase::ALLOWED_STATUSES = T.let(T.unsafe(nil), Array) +RuboCop::Cop::RSpec::Rails::HttpStatus::StyleCheckerBase::MSG = T.let(T.unsafe(nil), String) + +class RuboCop::Cop::RSpec::Rails::HttpStatus::SymbolicStyleChecker < ::RuboCop::Cop::RSpec::Rails::HttpStatus::StyleCheckerBase + def current; end def offensive?; end - def preferred_style; end + def prefer; end private - def custom_http_status_code?; end def number; end def symbol; end end -RuboCop::Cop::RSpec::Rails::HttpStatus::SymbolicStyleChecker::MSG = T.let(T.unsafe(nil), String) - class RuboCop::Cop::RSpec::Rails::InferredSpecType < ::RuboCop::Cop::RSpec::Base extend ::RuboCop::Cop::AutoCorrector @@ -1683,11 +1727,16 @@ end RuboCop::Cop::RSpec::ScatteredLet::MSG = T.let(T.unsafe(nil), String) class RuboCop::Cop::RSpec::ScatteredSetup < ::RuboCop::Cop::RSpec::Base + include ::RuboCop::Cop::RangeHelp + extend ::RuboCop::Cop::AutoCorrector + def on_block(node); end private + def autocorrect(corrector, first_occurrence, occurrence); end def lines_msg(numbers); end + def message(occurrences, occurrence); end def repeated_hooks(node); end end diff --git a/Library/Homebrew/sorbet/rbi/hidden-definitions/hidden.rbi b/Library/Homebrew/sorbet/rbi/hidden-definitions/hidden.rbi index c264f1ab81..2bfbd3b7d0 100644 --- a/Library/Homebrew/sorbet/rbi/hidden-definitions/hidden.rbi +++ b/Library/Homebrew/sorbet/rbi/hidden-definitions/hidden.rbi @@ -6520,6 +6520,7 @@ module RuboCop::AST::NodePattern::Sets SET_MAC_LINUX = ::T.let(nil, ::T.untyped) SET_ON_INTEL_ON_ARM = ::T.let(nil, ::T.untyped) SET_OR_NEWER_OR_OLDER = ::T.let(nil, ::T.untyped) + SET_STATUS_CODE = ::T.let(nil, ::T.untyped) SET_SYSTEM_SHELL_OUTPUT_PIPE_OUTPUT = ::T.let(nil, ::T.untyped) SET_T_TRANSLATE_L_LOCALIZE = ::T.let(nil, ::T.untyped) SET_WITH_WITHOUT = ::T.let(nil, ::T.untyped)