diff --git a/Library/Homebrew/dev-cmd/typecheck.rb b/Library/Homebrew/dev-cmd/typecheck.rb index 484cdcefffa9d..f54ee9e4e6f7e 100644 --- a/Library/Homebrew/dev-cmd/typecheck.rb +++ b/Library/Homebrew/dev-cmd/typecheck.rb @@ -172,6 +172,7 @@ def trim_rubocop_rbi(path: HOMEBREW_LIBRARY_PATH/"sorbet/rbi/gems/rubocop@*.rbi" RuboCop::Formatter::PathUtil RuboCop::Options RuboCop::ResultCache + RuboCop::RSpec::ExpectOffense RuboCop::Runner RuboCop::TargetFinder RuboCop::Version diff --git a/Library/Homebrew/sorbet/config b/Library/Homebrew/sorbet/config index 5ba90026b227e..0d87340124ed6 100644 --- a/Library/Homebrew/sorbet/config +++ b/Library/Homebrew/sorbet/config @@ -1,5 +1,6 @@ --dir=. --enable-experimental-requires-ancestor +--enable-experimental-rspec --ignore=/vendor/bundle --ignore=/vendor/gems --ignore=/vendor/ruby diff --git a/Library/Homebrew/sorbet/rbi/dsl/r_spec/matchers.rbi b/Library/Homebrew/sorbet/rbi/dsl/r_spec/matchers.rbi new file mode 100644 index 0000000000000..890eb6f58bb40 --- /dev/null +++ b/Library/Homebrew/sorbet/rbi/dsl/r_spec/matchers.rbi @@ -0,0 +1,152 @@ +# typed: true + +# DO NOT EDIT MANUALLY +# This is an autogenerated file for dynamic methods in `RSpec::Matchers`. +# Please instead update this file by running `bin/tapioca dsl RSpec::Matchers`. + + +module RSpec::Matchers + sig { returns(RSpec::Matchers::DSL::Matcher) } + def a_json_string; end + + sig { params(expected: T.untyped).returns(RSpec::Matchers::AliasedMatcherWithOperatorSupport) } + def a_string_containing(expected = T.unsafe(nil)); end + + sig { params(cons: T.untyped).returns(RSpec::Matchers::DSL::Matcher) } + def array_including_cons(*cons); end + + sig { params(expected: T.untyped).returns(RSpec::Matchers::AliasedMatcherWithOperatorSupport) } + def be_a_build_dependency(expected = T.unsafe(nil)); end + + sig { params(expected: T.untyped).returns(RSpec::Matchers::AliasedMatcherWithOperatorSupport) } + def be_a_build_requirement(expected = T.unsafe(nil)); end + + sig { params(expected: T.untyped).returns(RSpec::Matchers::AliasedNegatedMatcher) } + def be_a_failure(expected = T.unsafe(nil)); end + + sig { returns(RSpec::Matchers::DSL::Matcher) } + def be_a_success; end + + sig { returns(RSpec::Matchers::DSL::Matcher) } + def be_built_as_bottle; end + + sig { params(expected: T.untyped).returns(RSpec::Matchers::AliasedMatcherWithOperatorSupport) } + def be_built_with(expected = T.unsafe(nil)); end + + sig { params(expected: T.untyped).returns(RSpec::Matchers::AliasedMatcherWithOperatorSupport) } + def be_built_without(expected = T.unsafe(nil)); end + + sig { params(url: T.untyped, specs: T.untyped).returns(RSpec::Matchers::DSL::Matcher) } + def be_detected_from(url, **specs); end + + sig { returns(RSpec::Matchers::DSL::Matcher) } + def be_installed_as_dependency; end + + sig { returns(RSpec::Matchers::DSL::Matcher) } + def be_installed_on_request; end + + sig { returns(RSpec::Matchers::DSL::Matcher) } + def be_loaded_from_api; end + + sig { returns(RSpec::Matchers::DSL::Matcher) } + def be_patched; end + + sig { returns(RSpec::Matchers::DSL::Matcher) } + def be_patched_with_homebrew_prefix; end + + sig { returns(RSpec::Matchers::DSL::Matcher) } + def be_poured_from_bottle; end + + sig { returns(RSpec::Matchers::DSL::Matcher) } + def be_sequentially_patched; end + + sig { returns(RSpec::Matchers::DSL::Matcher) } + def be_the_chinese_version; end + + sig { returns(RSpec::Matchers::DSL::Matcher) } + def be_the_english_version; end + + sig { params(name: T.untyped).returns(RSpec::Matchers::DSL::Matcher) } + def disallow(name); end + + sig { params(message: T.untyped).returns(RSpec::Matchers::DSL::Matcher) } + def error_with(message); end + + sig { params(expected: T.untyped).returns(RSpec::Matchers::AliasedMatcherWithOperatorSupport) } + def fail_with(expected = T.unsafe(nil)); end + + sig { params(attr: T.untyped).returns(RSpec::Matchers::DSL::Matcher) } + def fail_with_invalid(attr); end + + sig { params(expected: T.untyped).returns(RSpec::Matchers::AliasedMatcherWithOperatorSupport) } + def follow_installed_alias(expected = T.unsafe(nil)); end + + sig { params(expected: T.untyped).returns(RSpec::Matchers::AliasedMatcherWithOperatorSupport) } + def have_any_version_installed(expected = T.unsafe(nil)); end + + sig { params(expected: T.untyped).returns(RSpec::Matchers::AliasedMatcherWithOperatorSupport) } + def have_cask_file(expected = T.unsafe(nil)); end + + sig { params(expected: T.untyped).returns(RSpec::Matchers::AliasedMatcherWithOperatorSupport) } + def have_changed_alias(expected = T.unsafe(nil)); end + + sig { params(expected: T.untyped).returns(RSpec::Matchers::AliasedMatcherWithOperatorSupport) } + def have_changed_installed_alias_target(expected = T.unsafe(nil)); end + + sig { params(expected: T.untyped).returns(RSpec::Matchers::AliasedMatcherWithOperatorSupport) } + def have_custom_remote(expected = T.unsafe(nil)); end + + sig { params(expected: T.untyped).returns(RSpec::Matchers::AliasedMatcherWithOperatorSupport) } + def have_defined_option(expected = T.unsafe(nil)); end + + sig { params(expected: T.untyped).returns(RSpec::Matchers::AliasedMatcherWithOperatorSupport) } + def have_defined_resource(expected = T.unsafe(nil)); end + + sig { params(expected: T.untyped).returns(RSpec::Matchers::AliasedMatcherWithOperatorSupport) } + def have_failed(expected = T.unsafe(nil)); end + + sig { params(expected: T.untyped).returns(RSpec::Matchers::AliasedMatcherWithOperatorSupport) } + def have_formula_file(expected = T.unsafe(nil)); end + + sig { returns(RSpec::Matchers::DSL::Matcher) } + def have_its_resource_patched; end + + sig { params(expected: T.untyped).returns(RSpec::Matchers::AliasedMatcherWithOperatorSupport) } + def have_option_defined(expected = T.unsafe(nil)); end + + sig { params(expected: T.untyped).returns(RSpec::Matchers::AliasedMatcherWithOperatorSupport) } + def have_post_install_defined(expected = T.unsafe(nil)); end + + sig { params(expected: T.untyped).returns(RSpec::Matchers::AliasedMatcherWithOperatorSupport) } + def have_test_defined(expected = T.unsafe(nil)); end + + sig { returns(RSpec::Matchers::DSL::Matcher) } + def have_uninstall_flight_blocks; end + + sig { returns(RSpec::Matchers::DSL::Matcher) } + def have_valid_bash_syntax; end + + sig { returns(RSpec::Matchers::DSL::Matcher) } + def miss_apply; end + + sig { params(expected: T.untyped).returns(RSpec::Matchers::AliasedMatcherWithOperatorSupport) } + def need_migration(expected = T.unsafe(nil)); end + + sig { params(expected: T.untyped).returns(RSpec::Matchers::AliasedMatcherWithOperatorSupport) } + def need_tar_xz_dependency(expected = T.unsafe(nil)); end + + sig { params(expected: T.untyped).returns(RSpec::Matchers::AliasedNegatedMatcher) } + def not_matching(expected = T.unsafe(nil)); end + + sig { params(expected: T.untyped).returns(RSpec::Matchers::AliasedNegatedMatcher) } + def not_to_output(expected = T.unsafe(nil)); end + + sig { returns(RSpec::Matchers::DSL::Matcher) } + def pass; end + + sig { params(expected: T.untyped).returns(RSpec::Matchers::AliasedMatcherWithOperatorSupport) } + def pour_bottle(expected = T.unsafe(nil)); end + + sig { params(expected: T.untyped).returns(RSpec::Matchers::AliasedMatcherWithOperatorSupport) } + def supersede_an_installed_formula(expected = T.unsafe(nil)); end +end diff --git a/Library/Homebrew/sorbet/rbi/dsl/r_spec/matchers/matcher_delegator.rbi b/Library/Homebrew/sorbet/rbi/dsl/r_spec/matchers/matcher_delegator.rbi new file mode 100644 index 0000000000000..eaa3e2599d383 --- /dev/null +++ b/Library/Homebrew/sorbet/rbi/dsl/r_spec/matchers/matcher_delegator.rbi @@ -0,0 +1,119 @@ +# typed: true + +# DO NOT EDIT MANUALLY +# This is an autogenerated file for dynamic methods in `RSpec::Matchers::MatcherDelegator`. +# Please instead update this file by running `bin/tapioca dsl RSpec::Matchers::MatcherDelegator`. + + +class RSpec::Matchers::MatcherDelegator + sig { params(operand: T.untyped).returns(T.untyped) } + def <(operand); end + + sig { params(operand: T.untyped).returns(T.untyped) } + def <=(operand); end + + sig { params(operand: T.untyped).returns(T.untyped) } + def =~(operand); end + + sig { params(operand: T.untyped).returns(T.untyped) } + def >(operand); end + + sig { params(operand: T.untyped).returns(T.untyped) } + def >=(operand); end + + sig { returns(T.untyped) } + def and_any_keywords; end + + sig { params(keywords: T.untyped).returns(T.untyped) } + def and_keywords(*keywords); end + + sig { returns(T.untyped) } + def and_unlimited_arguments; end + + sig { returns(T.untyped) } + def argument; end + + sig { returns(T.untyped) } + def arguments; end + + sig { params(expected_delta: T.untyped).returns(T.untyped) } + def by(expected_delta); end + + sig { params(minimum: T.untyped).returns(T.untyped) } + def by_at_least(minimum); end + + sig { params(maximum: T.untyped).returns(T.untyped) } + def by_at_most(maximum); end + + sig { params(_actual: T.untyped).returns(T.untyped) } + def does_not_match?(_actual); end + + sig { returns(T.untyped) } + def evaluator; end + + sig { returns(T.untyped) } + def exclusive; end + + sig { returns(T.untyped) } + def expecteds; end + + sig { returns(T.untyped) } + def failed_objects; end + + sig { params(value: T.untyped).returns(T.untyped) } + def from(value); end + + sig { returns(T.untyped) } + def ignoring_method_signature_failure!; end + + sig { returns(T.untyped) } + def inclusive; end + + sig { returns(T.untyped) } + def matcher; end + + sig { returns(T.untyped) } + def matcher_1; end + + sig { returns(T.untyped) } + def matcher_2; end + + sig { params(expected: T.untyped).returns(T.untyped) } + def of(expected); end + + sig { params(expected: T.untyped).returns(T.untyped) } + def percent_of(expected); end + + sig { returns(T.untyped) } + def respond_to_failed; end + + sig { params(value: T.untyped).returns(T.untyped) } + def to(value); end + + sig { returns(T.untyped) } + def to_stderr; end + + sig { returns(T.untyped) } + def to_stderr_from_any_process; end + + sig { returns(T.untyped) } + def to_stdout; end + + sig { returns(T.untyped) } + def to_stdout_from_any_process; end + + sig { params(n: T.untyped).returns(T.untyped) } + def with(n); end + + sig { returns(T.untyped) } + def with_any_keywords; end + + sig { params(captures: T.untyped).returns(T.untyped) } + def with_captures(*captures); end + + sig { params(keywords: T.untyped).returns(T.untyped) } + def with_keywords(*keywords); end + + sig { returns(T.untyped) } + def with_unlimited_arguments; end +end diff --git a/Library/Homebrew/sorbet/rbi/gems/rspec-mocks@3.13.7.rbi b/Library/Homebrew/sorbet/rbi/gems/rspec-mocks@3.13.7.rbi new file mode 100644 index 0000000000000..87bf6429d8ff5 --- /dev/null +++ b/Library/Homebrew/sorbet/rbi/gems/rspec-mocks@3.13.7.rbi @@ -0,0 +1,1494 @@ +# typed: true + +# DO NOT EDIT MANUALLY +# This is an autogenerated file for types exported from the `rspec-mocks` gem. +# Please instead update this file by running `bin/tapioca gem rspec-mocks`. + + +module RSpec; end + +module RSpec::Mocks + class << self + def allow_message(subject, message, opts = T.unsafe(nil), &block); end + def configuration; end + def error_generator; end + def expect_message(subject, message, opts = T.unsafe(nil), &block); end + def setup; end + def space; end + def teardown; end + def verify; end + def with_temporary_scope; end + end +end + +class RSpec::Mocks::AllowanceTarget < ::RSpec::Mocks::TargetBase + def expression; end + def not_to(matcher, *_args); end + def to(matcher, &block); end + def to_not(matcher, *_args); end +end + +class RSpec::Mocks::AndInvokeImplementation + def initialize(procs_to_invoke); end + + def call(*args, **_arg1, &block); end +end + +class RSpec::Mocks::AndReturnImplementation + def initialize(values_to_return); end + + def call(*_args_to_ignore, &_block); end +end + +class RSpec::Mocks::AndWrapOriginalImplementation + def initialize(method, block); end + + def call(*args, **_arg1, &block); end + def initial_action=(_value); end + def inner_action; end + def inner_action=(_value); end + def present?; end + def terminal_action=(_value); end + + private + + def cannot_modify_further_error; end +end + +class RSpec::Mocks::AndWrapOriginalImplementation::CannotModifyFurtherError < ::StandardError; end + +class RSpec::Mocks::AndYieldImplementation + def initialize(args_to_yield, eval_context, error_generator); end + + def call(*_args_to_ignore, &block); end +end + +module RSpec::Mocks::AnyInstance + class << self + def error_generator; end + end +end + +class RSpec::Mocks::AnyInstance::Chain + include ::RSpec::Mocks::AnyInstance::Chain::Customizations + + def initialize(recorder, *args, &block); end + + def constrained_to_any_of?(*constraints); end + def expectation_fulfilled!; end + def matches_args?(*args); end + def never; end + def playback!(instance); end + def with(*args, &block); end + + private + + def last_message; end + def messages; end + def negated?; end + def record(rspec_method_name, *args, &block); end +end + +module RSpec::Mocks::AnyInstance::Chain::Customizations + def and_call_original(*args, &block); end + def and_raise(*args, &block); end + def and_return(*args, &block); end + def and_throw(*args, &block); end + def and_wrap_original(*args, &block); end + def and_yield(*args, &block); end + def at_least(*args, &block); end + def at_most(*args, &block); end + def exactly(*args, &block); end + def never(*args, &block); end + def once(*args, &block); end + def thrice(*args, &block); end + def time(*args, &block); end + def times(*args, &block); end + def twice(*args, &block); end + def with(*args, &block); end + + class << self + def record(method_name); end + end +end + +class RSpec::Mocks::AnyInstance::ErrorGenerator < ::RSpec::Mocks::ErrorGenerator + def raise_does_not_implement_error(klass, method_name); end + def raise_message_already_received_by_other_instance_error(method_name, object_inspect, invoked_instance); end + def raise_not_supported_with_prepend_error(method_name, problem_mod); end + def raise_second_instance_received_message_error(unfulfilled_expectations); end +end + +class RSpec::Mocks::AnyInstance::ExpectChainChain < ::RSpec::Mocks::AnyInstance::StubChain + def initialize(*args); end + + def expectation_fulfilled?; end + def playback!(instance); end + + private + + def create_message_expectation_on(instance); end + def invocation_order; end +end + +class RSpec::Mocks::AnyInstance::ExpectationChain < ::RSpec::Mocks::AnyInstance::Chain + def initialize(*args, &block); end + + def expectation_fulfilled?; end + + private + + def verify_invocation_order(_rspec_method_name, *_args, &_block); end +end + +class RSpec::Mocks::AnyInstance::FluentInterfaceProxy < ::BasicObject + def initialize(targets); end + + def method_missing(*args, &block); end + + private + + def respond_to_missing?(method_name, include_private = T.unsafe(nil)); end +end + +class RSpec::Mocks::AnyInstance::MessageChains + def initialize; end + + def [](method_name); end + def add(method_name, chain); end + def all_expectations_fulfilled?; end + def each_unfulfilled_expectation_matching(method_name, *args); end + def has_expectation?(method_name); end + def playback!(instance, method_name); end + def received_expected_message!(method_name); end + def remove_stub_chains_for!(method_name); end + def unfulfilled_expectations; end + + private + + def raise_if_second_instance_to_receive_message(instance); end +end + +class RSpec::Mocks::AnyInstance::PositiveExpectationChain < ::RSpec::Mocks::AnyInstance::ExpectationChain + private + + def create_message_expectation_on(instance); end + def invocation_order; end +end + +RSpec::Mocks::AnyInstance::PositiveExpectationChain::ExpectationInvocationOrder = T.let(T.unsafe(nil), Hash) + +class RSpec::Mocks::AnyInstance::Proxy + def initialize(recorder, target_proxies); end + + def expect_chain(*chain, &block); end + def klass; end + def should_not_receive(method_name, &block); end + def should_receive(method_name, &block); end + def stub(method_name_or_method_map, &block); end + def stub_chain(*chain, &block); end + def unstub(method_name); end + + private + + def perform_proxying(method_name, args, block, &target_proxy_block); end +end + +class RSpec::Mocks::AnyInstance::Recorder + def initialize(klass); end + + def already_observing?(method_name); end + def build_alias_method_name(method_name); end + def expect_chain(*method_names_and_optional_return_values, &block); end + def instance_that_received(method_name); end + def klass; end + def message_chains; end + def notify_received_message(_object, message, args, _blk); end + def playback!(instance, method_name); end + def should_not_receive(method_name, &block); end + def should_receive(method_name, &block); end + def stop_all_observation!; end + def stub(method_name, &block); end + def stub_chain(*method_names_and_optional_return_values, &block); end + def stubs; end + def unstub(method_name); end + def verify; end + + protected + + def stop_observing!(method_name); end + + private + + def allow_no_prepended_module_definition_of(method_name); end + def ancestor_is_an_observer?(ancestor, method_name); end + def backup_method!(method_name); end + def mark_invoked!(method_name); end + def normalize_chain(*args); end + def observe!(method_name); end + def public_protected_or_private_method_defined?(method_name); end + def received_expected_message!(method_name); end + def remove_dummy_method!(method_name); end + def restore_method!(method_name); end + def restore_original_method!(method_name); end + def super_class_observers_for(method_name); end + def super_class_observing?(method_name); end +end + +class RSpec::Mocks::AnyInstance::StubChain < ::RSpec::Mocks::AnyInstance::Chain + def expectation_fulfilled?; end + + private + + def create_message_expectation_on(instance); end + def invocation_order; end + def verify_invocation_order(rspec_method_name, *_args, &_block); end +end + +RSpec::Mocks::AnyInstance::StubChain::EmptyInvocationOrder = T.let(T.unsafe(nil), Hash) +RSpec::Mocks::AnyInstance::StubChain::InvocationOrder = T.let(T.unsafe(nil), Hash) + +class RSpec::Mocks::AnyInstance::StubChainChain < ::RSpec::Mocks::AnyInstance::StubChain + def initialize(*args); end + + private + + def create_message_expectation_on(instance); end + def invocation_order; end +end + +class RSpec::Mocks::AnyInstanceAllowanceTarget < ::RSpec::Mocks::TargetBase + def expression; end + def not_to(matcher, *_args); end + def to(matcher, &block); end + def to_not(matcher, *_args); end +end + +class RSpec::Mocks::AnyInstanceExpectationTarget < ::RSpec::Mocks::TargetBase + def expression; end + def not_to(matcher, &block); end + def to(matcher, &block); end + def to_not(matcher, &block); end +end + +class RSpec::Mocks::ArgumentListMatcher + def initialize(*expected_args, **_arg1); end + + def args_match?(*actual_args, **_arg1); end + def expected_args; end + def resolve_expected_args_based_on(actual_args); end + + private + + def ensure_expected_args_valid!; end + def replace_any_args_with_splat_of_anything(before_count, actual_args_count); end +end + +RSpec::Mocks::ArgumentListMatcher::MATCH_ALL = T.let(T.unsafe(nil), RSpec::Mocks::ArgumentListMatcher) + +module RSpec::Mocks::ArgumentMatchers + def a_kind_of(klass); end + def an_instance_of(klass); end + def any_args; end + def anything; end + def array_excluding(*args); end + def array_including(*args); end + def boolean; end + def duck_type(*args); end + def hash_excluding(*args); end + def hash_including(*args); end + def hash_not_including(*args); end + def instance_of(klass); end + def kind_of(klass); end + def no_args; end + + class << self + def anythingize_lonely_keys(*args); end + end +end + +class RSpec::Mocks::ArgumentMatchers::AnyArgMatcher < ::RSpec::Mocks::ArgumentMatchers::SingletonMatcher + def ===(_other); end + def description; end +end + +RSpec::Mocks::ArgumentMatchers::AnyArgMatcher::INSTANCE = T.let(T.unsafe(nil), RSpec::Mocks::ArgumentMatchers::AnyArgMatcher) + +class RSpec::Mocks::ArgumentMatchers::AnyArgsMatcher < ::RSpec::Mocks::ArgumentMatchers::SingletonMatcher + def description; end +end + +RSpec::Mocks::ArgumentMatchers::AnyArgsMatcher::INSTANCE = T.let(T.unsafe(nil), RSpec::Mocks::ArgumentMatchers::AnyArgsMatcher) + +class RSpec::Mocks::ArgumentMatchers::ArrayExcludingMatcher + def initialize(unexpected); end + + def ===(actual); end + def description; end + + private + + def formatted_unexpected_values; end +end + +class RSpec::Mocks::ArgumentMatchers::ArrayIncludingMatcher + def initialize(expected); end + + def ===(actual); end + def description; end + + private + + def formatted_expected_values; end +end + +class RSpec::Mocks::ArgumentMatchers::BaseHashMatcher + def initialize(expected); end + + def ===(predicate, actual); end + def description(name); end + + private + + def formatted_expected_hash; end +end + +class RSpec::Mocks::ArgumentMatchers::BooleanMatcher < ::RSpec::Mocks::ArgumentMatchers::SingletonMatcher + def ===(value); end + def description; end +end + +RSpec::Mocks::ArgumentMatchers::BooleanMatcher::INSTANCE = T.let(T.unsafe(nil), RSpec::Mocks::ArgumentMatchers::BooleanMatcher) + +class RSpec::Mocks::ArgumentMatchers::DuckTypeMatcher + def initialize(*methods_to_respond_to); end + + def ===(value); end + def description; end +end + +class RSpec::Mocks::ArgumentMatchers::HashExcludingMatcher < ::RSpec::Mocks::ArgumentMatchers::BaseHashMatcher + def ===(actual); end + def description; end +end + +class RSpec::Mocks::ArgumentMatchers::HashIncludingMatcher < ::RSpec::Mocks::ArgumentMatchers::BaseHashMatcher + def ===(actual); end + def description; end +end + +class RSpec::Mocks::ArgumentMatchers::InstanceOf + def initialize(klass); end + + def ===(actual); end + def description; end +end + +class RSpec::Mocks::ArgumentMatchers::KindOf + def initialize(klass); end + + def ===(actual); end + def description; end +end + +class RSpec::Mocks::ArgumentMatchers::NoArgsMatcher < ::RSpec::Mocks::ArgumentMatchers::SingletonMatcher + def description; end +end + +RSpec::Mocks::ArgumentMatchers::NoArgsMatcher::INSTANCE = T.let(T.unsafe(nil), RSpec::Mocks::ArgumentMatchers::NoArgsMatcher) + +class RSpec::Mocks::ArgumentMatchers::SingletonMatcher + class << self + def inherited(subklass); end + + private + + def new(*_arg0); end + end +end + +class RSpec::Mocks::CallbackInvocationStrategy + def call(doubled_module); end +end + +class RSpec::Mocks::CannotSupportArgMutationsError < ::StandardError; end + +class RSpec::Mocks::ClassNewMethodReference < ::RSpec::Mocks::ObjectMethodReference + def with_signature; end + + class << self + def applies_to?(method_name); end + def uses_class_new?(klass); end + end +end + +RSpec::Mocks::ClassNewMethodReference::CLASS_NEW = T.let(T.unsafe(nil), UnboundMethod) + +class RSpec::Mocks::ClassVerifyingDouble < ::Module + include ::RSpec::Mocks::TestDouble + include ::RSpec::Mocks::VerifyingDouble + include ::RSpec::Mocks::ObjectVerifyingDoubleMethods +end + +class RSpec::Mocks::Configuration + def initialize; end + + def add_stub_and_should_receive_to(*modules); end + def allow_message_expectations_on_nil; end + def allow_message_expectations_on_nil=(_arg0); end + def before_verifying_doubles(&block); end + def color?; end + def patch_marshal_to_support_partial_doubles=(val); end + def reset_syntaxes_to_default; end + def syntax; end + def syntax=(*values); end + def temporarily_suppress_partial_double_verification; end + def temporarily_suppress_partial_double_verification=(_arg0); end + def transfer_nested_constants=(_arg0); end + def transfer_nested_constants?; end + def verify_doubled_constant_names=(_arg0); end + def verify_doubled_constant_names?; end + def verify_partial_doubles=(val); end + def verify_partial_doubles?; end + def verifying_double_callbacks; end + def when_declaring_verifying_double(&block); end + def yield_receiver_to_any_instance_implementation_blocks=(_arg0); end + def yield_receiver_to_any_instance_implementation_blocks?; end +end + +class RSpec::Mocks::Constant + extend ::RSpec::Support::RecursiveConstMethods + + def initialize(name); end + + def hidden=(_arg0); end + def hidden?; end + def inspect; end + def mutated?; end + def name; end + def original_value; end + def original_value=(_arg0); end + def previously_defined=(_arg0); end + def previously_defined?; end + def stubbed=(_arg0); end + def stubbed?; end + def to_s; end + def valid_name=(_arg0); end + def valid_name?; end + + class << self + def original(name); end + def unmutated(name); end + end +end + +class RSpec::Mocks::ConstantMutator + extend ::RSpec::Support::RecursiveConstMethods + + class << self + def hide(constant_name); end + def mutate(mutator); end + def raise_on_invalid_const; end + def stub(constant_name, value, options = T.unsafe(nil)); end + end +end + +class RSpec::Mocks::ConstantMutator::BaseMutator + include ::RSpec::Support::RecursiveConstMethods + + def initialize(full_constant_name, mutated_value, transfer_nested_constants); end + + def full_constant_name; end + def idempotently_reset; end + def original_value; end + def to_constant; end +end + +class RSpec::Mocks::ConstantMutator::ConstantHider < ::RSpec::Mocks::ConstantMutator::BaseMutator + def mutate; end + def reset; end + def to_constant; end +end + +class RSpec::Mocks::ConstantMutator::DefinedConstantReplacer < ::RSpec::Mocks::ConstantMutator::BaseMutator + def initialize(*args); end + + def mutate; end + def reset; end + def should_transfer_nested_constants?; end + def to_constant; end + def transfer_nested_constants; end + def verify_constants_to_transfer!; end +end + +class RSpec::Mocks::ConstantMutator::UndefinedConstantSetter < ::RSpec::Mocks::ConstantMutator::BaseMutator + def mutate; end + def reset; end + def to_constant; end + + private + + def name_for(parent, name); end +end + +RSpec::Mocks::DEFAULT_CALLBACK_INVOCATION_STRATEGY = T.let(T.unsafe(nil), RSpec::Mocks::CallbackInvocationStrategy) + +class RSpec::Mocks::DirectObjectReference + def initialize(object); end + + def const_to_replace; end + def defined?; end + def description; end + def target; end + def when_loaded; end +end + +class RSpec::Mocks::Double + include ::RSpec::Mocks::TestDouble +end + +class RSpec::Mocks::ErrorGenerator + def initialize(target = T.unsafe(nil)); end + + def default_error_message(expectation, expected_args, actual_args); end + def describe_expectation(verb, message, expected_received_count, _actual_received_count, args); end + def expectation_on_nil_message(method_name); end + def intro(unwrapped = T.unsafe(nil)); end + def method_call_args_description(args, generic_prefix = T.unsafe(nil), matcher_prefix = T.unsafe(nil)); end + def opts; end + def opts=(_arg0); end + def raise_already_invoked_error(message, calling_customization); end + def raise_cant_constrain_count_for_negated_have_received_error(count_constraint); end + def raise_double_negation_error(wrapped_expression); end + def raise_expectation_error(message, expected_received_count, argument_list_matcher, actual_received_count, expectation_count_type, args, backtrace_line = T.unsafe(nil), source_id = T.unsafe(nil)); end + def raise_expectation_on_mocked_method(method); end + def raise_expectation_on_nil_error(method_name); end + def raise_expectation_on_unstubbed_method(method); end + def raise_expired_test_double_error; end + def raise_have_received_disallowed(type, reason); end + def raise_invalid_arguments_error(verifier); end + def raise_method_not_stubbed_error(method_name); end + def raise_missing_block_error(args_to_yield); end + def raise_missing_default_stub_error(expectation, args_for_multiple_calls); end + def raise_non_public_error(method_name, visibility); end + def raise_only_valid_on_a_partial_double(method); end + def raise_out_of_order_error(message); end + def raise_similar_message_args_error(expectation, args_for_multiple_calls, backtrace_line = T.unsafe(nil)); end + def raise_unexpected_message_args_error(expectation, args_for_multiple_calls, source_id = T.unsafe(nil)); end + def raise_unexpected_message_error(message, args); end + def raise_unimplemented_error(doubled_module, method_name, object); end + def raise_verifying_double_not_defined_error(ref); end + def raise_wrong_arity_error(args_to_yield, signature); end + + private + + def __raise(message, backtrace_line = T.unsafe(nil), source_id = T.unsafe(nil)); end + def arg_list(args); end + def count_message(count, expectation_count_type = T.unsafe(nil)); end + def diff_message(expected_args, actual_args); end + def differ; end + def error_message(expectation, args_for_multiple_calls); end + def expected_part_of_expectation_error(expected_received_count, expectation_count_type, argument_list_matcher); end + def format_args(args); end + def format_received_args(args_for_multiple_calls); end + def group_count(index, args); end + def grouped_args(args); end + def list_of_exactly_one_string?(args); end + def notify(*args); end + def prepend_to_backtrace(exception, line); end + def received_part_of_expectation_error(actual_received_count, args); end + def times(count); end + def unexpected_arguments_message(expected_args_string, actual_args_string); end + def unpack_string_args(formatted_expected_args, actual_args); end +end + +module RSpec::Mocks::ExampleMethods + include ::RSpec::Mocks::ArgumentMatchers + include ::RSpec::Mocks::ExampleMethods::ExpectHost + + def allow(target); end + def allow_any_instance_of(klass); end + def allow_message_expectations_on_nil; end + def class_double(doubled_class, *args); end + def class_spy(*args); end + def double(*args); end + def expect_any_instance_of(klass); end + def have_received(method_name, &block); end + def hide_const(constant_name); end + def instance_double(doubled_class, *args); end + def instance_spy(*args); end + def object_double(object_or_name, *args); end + def object_spy(*args); end + def receive(method_name, &block); end + def receive_message_chain(*messages, &block); end + def receive_messages(message_return_value_hash, &_block); end + def spy(*args); end + def stub_const(constant_name, value, options = T.unsafe(nil)); end + def without_partial_double_verification; end + + class << self + def declare_double(type, *args); end + def declare_verifying_double(type, ref, *args); end + def extended(object); end + def included(klass); end + end +end + +module RSpec::Mocks::ExampleMethods::ExpectHost + def expect(target); end +end + +class RSpec::Mocks::ExpectChain < ::RSpec::Mocks::MessageChain + private + + def expectation(object, message, &return_block); end + + class << self + def expect_chain_on(object, *chain, &blk); end + end +end + +class RSpec::Mocks::ExpectationTarget < ::RSpec::Mocks::TargetBase + include ::RSpec::Mocks::ExpectationTargetMethods +end + +module RSpec::Mocks::ExpectationTargetMethods + include ::RSpec::Mocks::TargetDelegationInstanceMethods + extend ::RSpec::Mocks::TargetDelegationClassMethods + + def expression; end + def not_to(matcher, &block); end + def to(matcher, &block); end + def to_not(matcher, &block); end +end + +class RSpec::Mocks::ExpiredTestDoubleError < ::RSpec::Mocks::MockExpectationError; end +RSpec::Mocks::IGNORED_BACKTRACE_LINE = T.let(T.unsafe(nil), String) + +class RSpec::Mocks::Implementation + def call(*args, **_arg1, &block); end + def initial_action; end + def initial_action=(_arg0); end + def inner_action; end + def inner_action=(_arg0); end + def present?; end + def terminal_action; end + def terminal_action=(_arg0); end + + private + + def actions; end +end + +class RSpec::Mocks::InstanceMethodReference < ::RSpec::Mocks::MethodReference + private + + def find_method(mod); end + def method_defined?(mod); end + def method_implemented?(mod); end + def visibility_from(mod); end +end + +class RSpec::Mocks::InstanceMethodStasher + def initialize(object, method); end + + def handle_restoration_failures; end + def method_is_stashed?; end + def original_method; end + def restore; end + def stash; end + + private + + def method_defined_directly_on_klass?; end + def method_defined_on_klass?(klass = T.unsafe(nil)); end + def method_owned_by_klass?; end +end + +class RSpec::Mocks::InstanceVerifyingDouble + include ::RSpec::Mocks::TestDouble + include ::RSpec::Mocks::VerifyingDouble + + def __build_mock_proxy(order_group); end +end + +class RSpec::Mocks::MarshalExtension + class << self + def patch!; end + def unpatch!; end + end +end + +module RSpec::Mocks::Matchers; end + +class RSpec::Mocks::Matchers::ExpectationCustomization + def initialize(method_name, args, block); end + + def block; end + def block=(_arg0); end + def playback_onto(expectation); end +end + +class RSpec::Mocks::Matchers::HaveReceived + include ::RSpec::Mocks::Matchers::Matcher + + def initialize(method_name, &block); end + + def at_least(*args); end + def at_most(*args); end + def description; end + def does_not_match?(subject); end + def exactly(*args); end + def failure_message; end + def failure_message_when_negated; end + def matcher_name; end + def matches?(subject, &block); end + def once(*args); end + def ordered(*args); end + def setup_allowance(_subject, &_block); end + def setup_any_instance_allowance(_subject, &_block); end + def setup_any_instance_expectation(_subject, &_block); end + def setup_any_instance_negative_expectation(_subject, &_block); end + def setup_expectation(subject, &block); end + def setup_negative_expectation(subject, &block); end + def thrice(*args); end + def time(*args); end + def times(*args); end + def twice(*args); end + def with(*args); end + + private + + def apply_constraints_to(expectation); end + def capture_failure_message; end + def count_constraint; end + def disallow(type, reason = T.unsafe(nil)); end + def ensure_count_unconstrained; end + def expect; end + def expected_messages_received_in_order?; end + def mock_proxy; end + def notify_failure_message; end +end + +RSpec::Mocks::Matchers::HaveReceived::ARGS_CONSTRAINTS = T.let(T.unsafe(nil), Array) +RSpec::Mocks::Matchers::HaveReceived::CONSTRAINTS = T.let(T.unsafe(nil), Array) +RSpec::Mocks::Matchers::HaveReceived::COUNT_CONSTRAINTS = T.let(T.unsafe(nil), Array) +module RSpec::Mocks::Matchers::Matcher; end + +class RSpec::Mocks::Matchers::Receive + include ::RSpec::Mocks::Matchers::Matcher + + def initialize(message, block); end + + def and_call_original(*args, **_arg1, &block); end + def and_invoke(*args, **_arg1, &block); end + def and_raise(*args, **_arg1, &block); end + def and_return(*args, **_arg1, &block); end + def and_throw(*args, **_arg1, &block); end + def and_wrap_original(*args, **_arg1, &block); end + def and_yield(*args, **_arg1, &block); end + def at_least(*args, **_arg1, &block); end + def at_most(*args, **_arg1, &block); end + def description; end + def does_not_match?(subject, &block); end + def exactly(*args, **_arg1, &block); end + def inspect(*args, **_arg1, &block); end + def matcher_name; end + def matches?(subject, &block); end + def never(*args, **_arg1, &block); end + def once(*args, **_arg1, &block); end + def ordered(*args, **_arg1, &block); end + def setup_allowance(subject, &block); end + def setup_any_instance_allowance(subject, &block); end + def setup_any_instance_expectation(subject, &block); end + def setup_any_instance_negative_expectation(subject, &block); end + def setup_expectation(subject, &block); end + def setup_negative_expectation(subject, &block); end + def thrice(*args, **_arg1, &block); end + def time(*args, **_arg1, &block); end + def times(*args, **_arg1, &block); end + def to_s(*args, **_arg1, &block); end + def twice(*args, **_arg1, &block); end + def with(*args, **_arg1, &block); end + + private + + def describable; end + def move_block_to_last_customization(block); end + def setup_any_instance_method_substitute(subject, method, block); end + def setup_method_substitute(host, method, block, *args); end + def setup_mock_proxy_method_substitute(subject, method, block); end + def warn_if_any_instance(expression, subject); end +end + +class RSpec::Mocks::Matchers::Receive::DefaultDescribable + def initialize(message); end + + def description_for(verb); end +end + +class RSpec::Mocks::Matchers::ReceiveMessageChain + include ::RSpec::Mocks::Matchers::Matcher + + def initialize(chain, &block); end + + def and_call_original(*args, &block); end + def and_invoke(*args, &block); end + def and_raise(*args, &block); end + def and_return(*args, &block); end + def and_throw(*args, &block); end + def and_yield(*args, &block); end + def description; end + def does_not_match?(*_args); end + def matcher_name; end + def matches?(subject, &block); end + def setup_allowance(subject, &block); end + def setup_any_instance_allowance(subject, &block); end + def setup_any_instance_expectation(subject, &block); end + def setup_expectation(subject, &block); end + def setup_negative_expectation(*_args); end + def with(*args, &block); end + + private + + def formatted_chain; end + def replay_customizations(chain); end +end + +class RSpec::Mocks::Matchers::ReceiveMessages + include ::RSpec::Mocks::Matchers::Matcher + + def initialize(message_return_value_hash); end + + def description; end + def does_not_match?(_subject); end + def matcher_name; end + def matches?(subject); end + def setup_allowance(subject); end + def setup_any_instance_allowance(subject); end + def setup_any_instance_expectation(subject); end + def setup_expectation(subject); end + def setup_negative_expectation(_subject); end + def warn_about_block; end + + private + + def any_instance_of(subject); end + def each_message_on(host); end + def proxy_on(subject); end +end + +class RSpec::Mocks::MessageChain + def initialize(object, *chain, &blk); end + + def block; end + def chain; end + def object; end + def setup_chain; end + + private + + def chain_on(object, *chain, &block); end + def find_matching_expectation; end + def find_matching_stub; end + def format_chain(*chain, &blk); end +end + +class RSpec::Mocks::MessageExpectation + include ::RSpec::Mocks::MessageExpectation::ImplementationDetails + + def and_call_original; end + def and_invoke(first_proc, *procs, &_block); end + def and_raise(*args); end + def and_return(first_value, *values, &_block); end + def and_throw(*args); end + def and_wrap_original(&block); end + def and_yield(*args, &block); end + def at_least(n, &block); end + def at_most(n, &block); end + def exactly(n, &block); end + def inspect; end + def never; end + def once(&block); end + def ordered(&block); end + def thrice(&block); end + def time(&block); end + def times(&block); end + def to_s; end + def twice(&block); end + def with(*args, **_arg1, &block); end +end + +module RSpec::Mocks::MessageExpectation::ImplementationDetails + def initialize(error_generator, expectation_ordering, expected_from, method_double, type = T.unsafe(nil), opts = T.unsafe(nil), &implementation_block); end + + def actual_received_count_matters?; end + def additional_expected_calls; end + def advise(*args); end + def and_yield_receiver_to_implementation; end + def argument_list_matcher=(_arg0); end + def called_max_times?; end + def description_for(verb); end + def ensure_expected_ordering_received!; end + def error_generator; end + def expectation_count_type; end + def expected_args; end + def expected_messages_received?; end + def generate_error; end + def ignoring_args?; end + def implementation; end + def increase_actual_received_count!; end + def invoke(parent_stub, *args, **_arg2, &block); end + def invoke_without_incrementing_received_count(parent_stub, *args, **_arg2, &block); end + def matches?(message, *args, **_arg2); end + def matches_at_least_count?; end + def matches_at_most_count?; end + def matches_exact_count?; end + def matches_name_but_not_args(message, *args); end + def message; end + def negative?; end + def negative_expectation_for?(message); end + def ordered?; end + def orig_object; end + def raise_out_of_order_error; end + def raise_unexpected_message_args_error(args_for_multiple_calls); end + def safe_invoke(parent_stub, *args, **_arg2, &block); end + def safe_invoke_without_incrementing_received_count(parent_stub, *args, **_arg2, &block); end + def similar_messages; end + def type; end + def unadvise(args); end + def verify_messages_received; end + def yield_receiver_to_implementation_block?; end + + protected + + def error_generator=(_arg0); end + def expected_from=(_arg0); end + def expected_received_count=(_arg0); end + def implementation=(_arg0); end + + private + + def exception_source_id; end + def has_been_invoked?; end + def initial_implementation_action=(action); end + def inner_implementation_action=(action); end + def invoke_incrementing_actual_calls_by(increment, allowed_to_fail, parent_stub, *args, **_arg4, &block); end + def invoking_internals; end + def invoking_internals=(value); end + def raise_already_invoked_error_if_necessary(calling_customization); end + def set_expected_received_count(relativity, n); end + def terminal_implementation_action=(action); end + def warn_about_stub_override; end + def wrap_original(method_name, &block); end +end + +class RSpec::Mocks::MethodDouble + def initialize(object, method_name, proxy); end + + def add_default_stub(*args, &implementation); end + def add_expectation(error_generator, expectation_ordering, expected_from, opts, &implementation); end + def add_simple_expectation(method_name, response, error_generator, backtrace_line); end + def add_simple_stub(method_name, response); end + def add_stub(error_generator, expectation_ordering, expected_from, opts = T.unsafe(nil), &implementation); end + def build_expectation(error_generator, expectation_ordering); end + def clear; end + def configure_method; end + def define_proxy_method; end + def expectations; end + def message_expectation_class; end + def method_missing_block; end + def method_name; end + def method_stasher; end + def object; end + def object_singleton_class; end + def original_implementation_callable; end + def original_method; end + def proxy_method_invoked(_obj, *args, **_arg2, &block); end + def raise_method_not_stubbed_error; end + def remove_stub; end + def remove_stub_if_present; end + def reset; end + def restore_original_method; end + def restore_original_visibility; end + def save_original_implementation_callable!; end + def setup_simple_method_double(method_name, response, collection, error_generator = T.unsafe(nil), backtrace_line = T.unsafe(nil)); end + def show_frozen_warning; end + def stubs; end + def verify; end + def visibility; end + + private + + def definition_target; end + def new_rspec_prepended_module; end + def remove_method_from_definition_target; end + def usable_rspec_prepended_module; end +end + +RSpec::Mocks::MethodDouble::FROZEN_ERROR_MSG = T.let(T.unsafe(nil), Regexp) +class RSpec::Mocks::MethodDouble::RSpecPrependedModule < ::Module; end + +class RSpec::Mocks::MethodReference + def initialize(object_reference, method_name); end + + def defined?; end + def implemented?; end + def unimplemented?; end + def visibility; end + def with_signature; end + + private + + def original_method; end + + class << self + def for(object_reference, method_name); end + def instance_method_visibility_for(klass, method_name); end + def method_defined_at_any_visibility?(klass, method_name); end + def method_visibility_for(object, method_name); end + end +end + +class RSpec::Mocks::MockExpectationAlreadyInvokedError < ::Exception; end +class RSpec::Mocks::MockExpectationError < ::Exception; end + +class RSpec::Mocks::NamedObjectReference + def initialize(const_name); end + + def const_to_replace; end + def defined?; end + def description; end + def target; end + def when_loaded; end + + private + + def object; end +end + +class RSpec::Mocks::NegationUnsupportedError < ::StandardError; end + +class RSpec::Mocks::NestedSpace < ::RSpec::Mocks::Space + def initialize(parent); end + + def constant_mutator_for(name); end + def proxies_of(klass); end + def registered?(object); end + + private + + def any_instance_recorder_not_found_for(id, klass); end + def proxy_not_found_for(id, object); end +end + +class RSpec::Mocks::NoCallbackInvocationStrategy + def call(_doubled_module); end +end + +class RSpec::Mocks::ObjectMethodReference < ::RSpec::Mocks::MethodReference + private + + def find_method(object); end + def method_defined?(object); end + def method_implemented?(object); end + def visibility_from(object); end + + class << self + def for(object_reference, method_name); end + end +end + +class RSpec::Mocks::ObjectReference + class << self + def for(object_module_or_name, allow_direct_object_refs = T.unsafe(nil)); end + + private + + def anonymous_module?(mod); end + def name_of(mod); end + end +end + +RSpec::Mocks::ObjectReference::MODULE_NAME_METHOD = T.let(T.unsafe(nil), UnboundMethod) + +class RSpec::Mocks::ObjectVerifyingDouble + include ::RSpec::Mocks::TestDouble + include ::RSpec::Mocks::VerifyingDouble + include ::RSpec::Mocks::ObjectVerifyingDoubleMethods +end + +module RSpec::Mocks::ObjectVerifyingDoubleMethods + include ::RSpec::Mocks::TestDouble + include ::RSpec::Mocks::VerifyingDouble + + def as_stubbed_const(options = T.unsafe(nil)); end + + private + + def __build_mock_proxy(order_group); end +end + +class RSpec::Mocks::OrderGroup + def initialize; end + + def clear; end + def consume; end + def empty?; end + def handle_order_constraint(expectation); end + def invoked(message); end + def ready_for?(expectation); end + def register(expectation); end + def verify_invocation_order(expectation); end + + private + + def expectation_for(message); end + def expectations_invoked_in_order?; end + def expected_invocations; end + def invoked_expectations; end + def remaining_expectations; end +end + +class RSpec::Mocks::OutsideOfExampleError < ::StandardError; end + +class RSpec::Mocks::PartialClassDoubleProxy < ::RSpec::Mocks::PartialDoubleProxy + include ::RSpec::Mocks::PartialClassDoubleProxyMethods +end + +module RSpec::Mocks::PartialClassDoubleProxyMethods + def initialize(source_space, *args); end + + def original_method_handle_for(message); end + + protected + + def method_double_from_ancestor_for(message); end + def original_unbound_method_handle_from_ancestor_for(message); end + def superclass_proxy; end +end + +class RSpec::Mocks::PartialDoubleProxy < ::RSpec::Mocks::Proxy + def add_simple_expectation(method_name, response, location); end + def add_simple_stub(method_name, response); end + def message_received(message, *args, **_arg2, &block); end + def original_method_handle_for(message); end + def reset; end + def visibility_for(method_name); end + + private + + def any_instance_class_recorder_observing_method?(klass, method_name); end +end + +class RSpec::Mocks::Proxy + def initialize(object, order_group, options = T.unsafe(nil)); end + + def add_message_expectation(method_name, opts = T.unsafe(nil), &block); end + def add_simple_expectation(method_name, response, location); end + def add_simple_stub(method_name, response); end + def add_stub(method_name, opts = T.unsafe(nil), &implementation); end + def as_null_object; end + def build_expectation(method_name); end + def check_for_unexpected_arguments(expectation); end + def ensure_can_be_proxied!(object); end + def ensure_implemented(*_args); end + def has_negative_expectation?(message); end + def message_received(message, *args, **_arg2, &block); end + def messages_arg_list; end + def method_double_if_exists_for_message(message); end + def null_object?; end + def object; end + def original_method_handle_for(_message); end + def prepended_modules_of_singleton_class; end + def raise_missing_default_stub_error(expectation, args_for_multiple_calls); end + def raise_unexpected_message_error(method_name, args); end + def received_message?(method_name, *args, &block); end + def record_message_received(message, *args, **_arg2, &block); end + def remove_stub(method_name); end + def remove_stub_if_present(method_name); end + def replay_received_message_on(expectation, &block); end + def reset; end + def verify; end + def visibility_for(_method_name); end + + private + + def find_almost_matching_expectation(method_name, *args, **_arg2); end + def find_almost_matching_stub(method_name, *args, **_arg2); end + def find_best_matching_expectation_for(method_name); end + def find_matching_expectation(method_name, *args, **_arg2); end + def find_matching_method_stub(method_name, *args, **_arg2); end + def method_double_for(message); end + + class << self + def prepended_modules_of(klass); end + end +end + +RSpec::Mocks::Proxy::DEFAULT_MESSAGE_EXPECTATION_OPTS = T.let(T.unsafe(nil), Hash) + +class RSpec::Mocks::Proxy::SpecificMessage < ::Struct + def ==(expectation); end + def args; end + def args=(_); end + def message; end + def message=(_); end + def object; end + def object=(_); end + + class << self + def [](*_arg0); end + def inspect; end + def keyword_init?; end + def members; end + def new(*_arg0); end + end +end + +class RSpec::Mocks::ProxyForNil < ::RSpec::Mocks::PartialDoubleProxy + def initialize(order_group); end + + def add_message_expectation(method_name, opts = T.unsafe(nil), &block); end + def add_stub(method_name, opts = T.unsafe(nil), &implementation); end + def disallow_expectations; end + def disallow_expectations=(_arg0); end + def warn_about_expectations; end + def warn_about_expectations=(_arg0); end + + private + + def raise_error(method_name); end + def set_expectation_behavior; end + def warn(method_name); end + def warn_or_raise!(method_name); end +end + +class RSpec::Mocks::RootSpace + def any_instance_proxy_for(*_args); end + def any_instance_recorder_for(*_args); end + def any_instance_recorders_from_ancestry_of(_object); end + def new_scope; end + def proxy_for(*_args); end + def register_constant_mutator(_mutator); end + def registered?(_object); end + def reset_all; end + def superclass_proxy_for(*_args); end + def verify_all; end + + private + + def raise_lifecycle_message; end +end + +class RSpec::Mocks::SimpleMessageExpectation + def initialize(message, response, error_generator, backtrace_line = T.unsafe(nil)); end + + def called_max_times?; end + def invoke(*_); end + def matches?(message, *_); end + def unadvise(_); end + def verify_messages_received; end +end + +class RSpec::Mocks::Space + def initialize; end + + def any_instance_mutex; end + def any_instance_proxy_for(klass); end + def any_instance_recorder_for(klass, only_return_existing = T.unsafe(nil)); end + def any_instance_recorders; end + def any_instance_recorders_from_ancestry_of(object); end + def constant_mutator_for(name); end + def ensure_registered(object); end + def new_scope; end + def proxies; end + def proxies_of(klass); end + def proxy_for(object); end + def proxy_mutex; end + def register_constant_mutator(mutator); end + def registered?(object); end + def reset_all; end + def superclass_proxy_for(klass); end + def verify_all; end + + private + + def any_instance_recorder_not_found_for(id, klass); end + def class_proxy_with_callback_verification_strategy(object, strategy); end + def id_for(object); end + def new_mutex; end + def proxy_not_found_for(id, object); end + def superclass_proxy_not_found_for(id, object); end +end + +class RSpec::Mocks::StubChain < ::RSpec::Mocks::MessageChain + private + + def expectation(object, message, &return_block); end + + class << self + def stub_chain_on(object, *chain, &blk); end + end +end + +module RSpec::Mocks::Syntax + class << self + def default_should_syntax_host; end + def disable_expect(syntax_host = T.unsafe(nil)); end + def disable_should(syntax_host = T.unsafe(nil)); end + def enable_expect(syntax_host = T.unsafe(nil)); end + def enable_should(syntax_host = T.unsafe(nil)); end + def expect_enabled?(syntax_host = T.unsafe(nil)); end + def should_enabled?(syntax_host = T.unsafe(nil)); end + def warn_about_should!; end + def warn_unless_should_configured(method_name, replacement = T.unsafe(nil)); end + end +end + +class RSpec::Mocks::TargetBase + include ::RSpec::Mocks::TargetDelegationInstanceMethods + extend ::RSpec::Mocks::TargetDelegationClassMethods + + def initialize(target); end +end + +module RSpec::Mocks::TargetDelegationClassMethods + def delegate_not_to(matcher_method, options = T.unsafe(nil)); end + def delegate_to(matcher_method); end + def disallow_negation(method_name); end +end + +module RSpec::Mocks::TargetDelegationInstanceMethods + def target; end + + private + + def define_matcher(matcher, name, &block); end + def matcher_allowed?(matcher); end + def raise_negation_unsupported(method_name, matcher); end + def raise_unsupported_matcher(method_name, matcher); end +end + +module RSpec::Mocks::TestDouble + def initialize(name = T.unsafe(nil), stubs = T.unsafe(nil)); end + + def ==(other); end + def __build_mock_proxy_unless_expired(order_group); end + def __disallow_further_usage!; end + def as_null_object; end + def freeze; end + def inspect; end + def null_object?; end + def respond_to?(message, incl_private = T.unsafe(nil)); end + def to_s; end + + private + + def __build_mock_proxy(order_group); end + def __mock_proxy; end + def __raise_expired_error; end + def assign_stubs(stubs); end + def initialize_copy(other); end + def method_missing(message, *args, &block); end +end + +module RSpec::Mocks::TestDoubleFormatter + class << self + def format(dbl, unwrap = T.unsafe(nil)); end + + private + + def name_desc(dbl); end + def type_desc(dbl); end + def verified_module_desc(dbl); end + end +end + +class RSpec::Mocks::TestDoubleProxy < ::RSpec::Mocks::Proxy + def reset; end +end + +class RSpec::Mocks::UnsupportedMatcherError < ::StandardError; end + +module RSpec::Mocks::VerifyingDouble + def initialize(doubled_module, *args); end + + def __send__(name, *args, **_arg2, &block); end + def method_missing(message, *args, &block); end + def respond_to?(message, include_private = T.unsafe(nil)); end + def send(name, *args, **_arg2, &block); end +end + +class RSpec::Mocks::VerifyingDoubleNotDefinedError < ::StandardError; end + +class RSpec::Mocks::VerifyingExistingClassNewMethodDouble < ::RSpec::Mocks::VerifyingExistingMethodDouble + def with_signature; end +end + +class RSpec::Mocks::VerifyingExistingMethodDouble < ::RSpec::Mocks::VerifyingMethodDouble + def initialize(object, method_name, proxy); end + + def unimplemented?; end + def with_signature; end + + class << self + def for(object, method_name, proxy); end + end +end + +class RSpec::Mocks::VerifyingMessageExpectation < ::RSpec::Mocks::MessageExpectation + def initialize(*args); end + + def method_reference; end + def method_reference=(_arg0); end + def with(*args, **_arg1, &block); end + + private + + def validate_expected_arguments!; end +end + +class RSpec::Mocks::VerifyingMethodDouble < ::RSpec::Mocks::MethodDouble + def initialize(object, method_name, proxy, method_reference); end + + def add_expectation(*args, &block); end + def add_stub(*args, &block); end + def message_expectation_class; end + def proxy_method_invoked(obj, *args, **_arg2, &block); end + def validate_arguments!(actual_args); end +end + +class RSpec::Mocks::VerifyingPartialClassDoubleProxy < ::RSpec::Mocks::VerifyingPartialDoubleProxy + include ::RSpec::Mocks::PartialClassDoubleProxyMethods +end + +class RSpec::Mocks::VerifyingPartialDoubleProxy < ::RSpec::Mocks::PartialDoubleProxy + include ::RSpec::Mocks::VerifyingProxyMethods + + def initialize(object, expectation_ordering, optional_callback_invocation_strategy = T.unsafe(nil)); end + + def ensure_implemented(_method_name); end + def method_reference; end +end + +class RSpec::Mocks::VerifyingProxy < ::RSpec::Mocks::TestDoubleProxy + include ::RSpec::Mocks::VerifyingProxyMethods + + def initialize(object, order_group, doubled_module, method_reference_class); end + + def method_reference; end + def validate_arguments!(method_name, args); end + def visibility_for(method_name); end +end + +module RSpec::Mocks::VerifyingProxyMethods + def add_message_expectation(method_name, opts = T.unsafe(nil), &block); end + def add_simple_stub(method_name, *args); end + def add_stub(method_name, opts = T.unsafe(nil), &implementation); end + def ensure_implemented(method_name); end + def ensure_publicly_implemented(method_name, _object); end +end + +module RSpec::Mocks::Version; end +RSpec::Mocks::Version::STRING = T.let(T.unsafe(nil), String) diff --git a/Library/Homebrew/sorbet/rbi/gems/rspec@3.13.2.rbi b/Library/Homebrew/sorbet/rbi/gems/rspec@3.13.2.rbi new file mode 100644 index 0000000000000..b66dfcbc85ffc --- /dev/null +++ b/Library/Homebrew/sorbet/rbi/gems/rspec@3.13.2.rbi @@ -0,0 +1,10 @@ +# typed: true + +# DO NOT EDIT MANUALLY +# This is an autogenerated file for types exported from the `rspec` gem. +# Please instead update this file by running `bin/tapioca gem rspec`. + + +module RSpec; end +module RSpec::Version; end +RSpec::Version::STRING = T.let(T.unsafe(nil), String) diff --git a/Library/Homebrew/sorbet/rbi/gems/rubocop@1.85.0.rbi b/Library/Homebrew/sorbet/rbi/gems/rubocop@1.85.0.rbi index 6a7b979c621ea..92d3aaaee6472 100644 --- a/Library/Homebrew/sorbet/rbi/gems/rubocop@1.85.0.rbi +++ b/Library/Homebrew/sorbet/rbi/gems/rubocop@1.85.0.rbi @@ -4117,6 +4117,37 @@ RuboCop::Plugin::OBSOLETE_INTERNAL_AFFAIRS_PLUGIN_NAME = T.let(T.unsafe(nil), St RuboCop::ProcessedSource = RuboCop::AST::ProcessedSource +module RuboCop::RSpec::ExpectOffense + def expect_correction(correction, loop: T.unsafe(nil), source: T.unsafe(nil)); end + def expect_no_corrections; end + def expect_no_offenses(source, file = T.unsafe(nil)); end + def expect_offense(source, file = T.unsafe(nil), severity: T.unsafe(nil), chomp: T.unsafe(nil), **replacements); end + def format_offense(source, **replacements); end + def parse_annotations(source, raise_error: T.unsafe(nil), **replacements); end + def parse_processed_source(source, file = T.unsafe(nil)); end + def set_formatter_options; end +end + +class RuboCop::RSpec::ExpectOffense::AnnotatedSource + def initialize(lines, annotations); end + + def ==(other); end + def inspect; end + def match_annotations?(other); end + def plain_source; end + def to_s; end + def with_offense_annotations(offenses); end + + protected + + def annotations; end + def lines; end + + class << self + def parse(annotated_source); end + end +end + RuboCop::RSpec::ExpectOffense::AnnotatedSource::ABBREV = T.let(T.unsafe(nil), String) RuboCop::RSpec::ExpectOffense::AnnotatedSource::ANNOTATION_PATTERN = T.let(T.unsafe(nil), Regexp) diff --git a/Library/Homebrew/sorbet/rbi/shims/rspec.rbi b/Library/Homebrew/sorbet/rbi/shims/rspec.rbi new file mode 100644 index 0000000000000..baf6cc19a8f31 --- /dev/null +++ b/Library/Homebrew/sorbet/rbi/shims/rspec.rbi @@ -0,0 +1,14 @@ +# typed: strict + +class RSpec::Core::ExampleGroup + # RSpec::Mocks::ExampleMethods includes ExpectHost which defines expect(target) + # with a required argument. Including RSpec::Matchers last places it higher in the + # MRO so RSpec::Matchers#expect(value = T.unsafe(nil), &block) takes precedence, + # allowing the block-only form: expect { }.not_to raise_error + # https://github.com/rspec/rspec/blob/rspec-expectations-v3.13.5/rspec-expectations/lib/rspec/expectations/syntax.rb#L72-L74 + include RSpec::Mocks::ExampleMethods + include RSpec::SharedContext + include RuboCop::RSpec::ExpectOffense + extend RuboCop::RSpec::ExpectOffense + include RSpec::Matchers +end diff --git a/Library/Homebrew/sorbet/rbi/upstream.rbi b/Library/Homebrew/sorbet/rbi/upstream.rbi index a8647479927ed..8118d771e01cd 100644 --- a/Library/Homebrew/sorbet/rbi/upstream.rbi +++ b/Library/Homebrew/sorbet/rbi/upstream.rbi @@ -16,7 +16,7 @@ class Integer end # https://github.com/sorbet/sorbet/pull/9847 -class IO # rubocop:todo Style/OneClassPerFile +class IO # Waits until IO is readable and returns a truthy value, or a falsy value when # times out. Returns a truthy value immediately when buffered data is available. # @@ -24,3 +24,9 @@ class IO # rubocop:todo Style/OneClassPerFile sig { params(timeout: T.nilable(T.any(Float, Integer, Rational))).returns(T.nilable(T.any(IO, T::Boolean))) } def wait_readable(timeout = nil); end end + +class RSpec::Core::ExampleGroup + include RSpec::SharedContext + include RSpec::Matchers + include RSpec::Mocks::ExampleMethods +end diff --git a/Library/Homebrew/sorbet/tapioca/compilers/rspec_custom_matchers.rb b/Library/Homebrew/sorbet/tapioca/compilers/rspec_custom_matchers.rb new file mode 100644 index 0000000000000..4bbc5df91add2 --- /dev/null +++ b/Library/Homebrew/sorbet/tapioca/compilers/rspec_custom_matchers.rb @@ -0,0 +1,185 @@ +# typed: strict +# frozen_string_literal: true + +require "rspec/matchers" + +module Tapioca + module Compilers + # Generates RBI stubs for custom RSpec matchers defined in test files. + # Custom matchers are defined via: + # - RSpec::Matchers.define :name do |args| + # - RSpec::Matchers.define_negated_matcher :new_name, :base + # - RSpec::Matchers.alias_matcher :new_name, :old_name + # - matcher :name do |args| (inside describe/context/shared_context blocks) + # - alias_matcher :new, :old (inside describe/context blocks) + # - define_negated_matcher :new, :base (inside describe/context blocks) + # + # All custom matchers are added to RSpec::Matchers so Sorbet recognises them in + # example groups, which include RSpec::Matchers automatically. + class RSpecCustomMatchers < Tapioca::Dsl::Compiler + BUILT_IN_MATCHER_METHODS = T.let( + RSpec::Matchers.instance_methods(false).to_set.freeze, + T::Set[Symbol], + ) + + ConstantType = type_member { { fixed: T::Module[T.anything] } } + + sig { override.returns(T::Enumerable[T::Module[T.anything]]) } + def self.gather_constants = [RSpec::Matchers] + + sig { override.void } + def decorate + matchers = collect_custom_matchers + return if matchers.empty? + + root.create_path(constant) do |mod| + matchers.each do |name, params, return_type| + mod.create_method(name, parameters: params, return_type:) + end + end + end + + private + + sig { returns(T::Array[[String, T::Array[RBI::TypedParam], String]]) } + def collect_custom_matchers + seen = T.let(Set.new, T::Set[String]) + matchers = T.let([], T::Array[[String, T::Array[RBI::TypedParam], String]]) + test_dir = File.expand_path("../../../test", __dir__) + + Dir.glob("#{test_dir}/**/*.rb").each do |file| + add_matchers_from_source(File.read(file), seen, matchers) + end + + matchers + end + + sig { + params( + source: String, + seen: T::Set[String], + matchers: T::Array[[String, T::Array[RBI::TypedParam], String]], + ).void + } + def add_matchers_from_source(source, seen, matchers) + scan_define(source, seen, matchers) + scan_negated(source, seen, matchers) + scan_alias(source, seen, matchers) + scan_matcher_dsl(source, seen, matchers) + end + + # Handles: RSpec::Matchers.define :name do |args| + sig { + params( + source: String, + seen: T::Set[String], + matchers: T::Array[[String, T::Array[RBI::TypedParam], String]], + ).void + } + def scan_define(source, seen, matchers) + source.scan(/^\s*RSpec::Matchers\.define\s+:(\w+)(?:[^\n]*do\s*\|([^|]*)\|)?/).each do |captures| + arr = T.cast(captures, T::Array[T.nilable(String)]) + name = arr[0] + args_str = arr[1] + next if name.nil? + next if seen.include?(name) || BUILT_IN_MATCHER_METHODS.include?(name.to_sym) + + seen.add(name) + matchers << [name, parse_block_params(args_str), "RSpec::Matchers::DSL::Matcher"] + end + end + + # Handles: (RSpec::Matchers.)?define_negated_matcher :new_name, :base + sig { + params( + source: String, + seen: T::Set[String], + matchers: T::Array[[String, T::Array[RBI::TypedParam], String]], + ).void + } + def scan_negated(source, seen, matchers) + source.scan(/^\s*(?:RSpec::Matchers\.)?define_negated_matcher\s+:(\w+),\s+:\w+/).each do |captures| + arr = T.cast(captures, T::Array[T.nilable(String)]) + name = arr[0] + next if name.nil? + next if seen.include?(name) || BUILT_IN_MATCHER_METHODS.include?(name.to_sym) + + seen.add(name) + matchers << [name, optional_expected_param, "RSpec::Matchers::AliasedNegatedMatcher"] + end + end + + # Handles: (RSpec::Matchers.)?alias_matcher :new_name, :old_name + sig { + params( + source: String, + seen: T::Set[String], + matchers: T::Array[[String, T::Array[RBI::TypedParam], String]], + ).void + } + def scan_alias(source, seen, matchers) + source.scan(/^\s*(?:RSpec::Matchers\.)?alias_matcher\s+:(\w+),\s+:\w+/).each do |captures| + arr = T.cast(captures, T::Array[T.nilable(String)]) + name = arr[0] + next if name.nil? + next if seen.include?(name) || BUILT_IN_MATCHER_METHODS.include?(name.to_sym) + + seen.add(name) + matchers << [name, optional_expected_param, "RSpec::Matchers::AliasedMatcherWithOperatorSupport"] + end + end + + # Handles: matcher :name do |args| (inside describe/context/shared_context with + # extend RSpec::Matchers::DSL) + sig { + params( + source: String, + seen: T::Set[String], + matchers: T::Array[[String, T::Array[RBI::TypedParam], String]], + ).void + } + def scan_matcher_dsl(source, seen, matchers) + source.scan(/^\s+matcher\s+:(\w+)(?:[^\n]*do\s*\|([^|]*)\|)?/).each do |captures| + arr = T.cast(captures, T::Array[T.nilable(String)]) + name = arr[0] + args_str = arr[1] + next if name.nil? + next if seen.include?(name) || BUILT_IN_MATCHER_METHODS.include?(name.to_sym) + + seen.add(name) + matchers << [name, parse_block_params(args_str), "RSpec::Matchers::DSL::Matcher"] + end + end + + # An optional `expected` parameter matching the signature of built-in matchers like `output`. + sig { returns(T::Array[RBI::TypedParam]) } + def optional_expected_param + [create_opt_param("expected", type: "T.untyped", default: "T.unsafe(nil)")] + end + + sig { params(args_str: T.nilable(String)).returns(T::Array[RBI::TypedParam]) } + def parse_block_params(args_str) + return [] if args_str.nil? || args_str.strip.empty? + + result = T.let([], T::Array[RBI::TypedParam]) + args_str.split(",").each do |arg| + arg = arg.strip + next if arg.empty? + + result << if arg.start_with?("**") + param_name = arg.delete_prefix("**") + param_name = "kwargs" if param_name.empty? + create_kw_rest_param(param_name, type: "T.untyped") + elsif arg.start_with?("*") + param_name = arg.delete_prefix("*") + param_name = "args" if param_name.empty? + create_rest_param(param_name, type: "T.untyped") + else + create_param(arg, type: "T.untyped") + end + end + result + end + end + end +end diff --git a/Library/Homebrew/sorbet/tapioca/compilers/rspec_matcher_delegator.rb b/Library/Homebrew/sorbet/tapioca/compilers/rspec_matcher_delegator.rb new file mode 100644 index 0000000000000..b561f9a2f2577 --- /dev/null +++ b/Library/Homebrew/sorbet/tapioca/compilers/rspec_matcher_delegator.rb @@ -0,0 +1,94 @@ +# typed: strict +# frozen_string_literal: true + +require "rspec/matchers" + +module Tapioca + module Compilers + # Generates RBI stubs for RSpec::Matchers::MatcherDelegator covering the + # methods it can respond to at runtime via method_missing delegation. + # + # MatcherDelegator wraps any matcher and forwards unknown calls to it. + # Rather than individual manual shims or a blanket T.untyped escape-hatch, + # this compiler enumerates every public method defined on a concrete + # RSpec::Matchers::BuiltIn subclass (but not already on BaseMatcher or + # MatcherDelegator itself) and declares it on MatcherDelegator. The result + # is that only methods which genuinely exist on some built-in matcher are + # allowed — e.g. `to_stdout`/`to_stderr` from Output, `by`/`from`/`to` + # from Change, `with`/`argument` from RespondTo, etc. Calls to methods + # that exist on no built-in matcher still raise a type error. + class RSpecMatcherDelegator < Tapioca::Dsl::Compiler + ConstantType = type_member { { fixed: T.class_of(RSpec::Matchers::MatcherDelegator) } } + + sig { override.returns(T::Enumerable[T.class_of(RSpec::Matchers::MatcherDelegator)]) } + def self.gather_constants = [RSpec::Matchers::MatcherDelegator] + + sig { override.void } + def decorate + methods = delegatable_methods + return if methods.empty? + + root.create_path(constant) do |klass| + methods.each do |method_name, params| + klass.create_method(method_name.to_s, parameters: params, return_type: "T.untyped") + end + end + end + + private + + # Returns a hash of method_name => typed params for every public method + # that is defined on some RSpec::Matchers::BuiltIn concrete subclass but + # is absent from BaseMatcher and MatcherDelegator. The first definition + # encountered (alphabetical by class name) wins for the parameter list. + sig { returns(T::Hash[Symbol, T::Array[RBI::TypedParam]]) } + def delegatable_methods + base_methods = RSpec::Matchers::BuiltIn::BaseMatcher.public_instance_methods.to_set + delegator_methods = constant.public_instance_methods.to_set + + result = T.let({}, T::Hash[Symbol, T::Array[RBI::TypedParam]]) + + RSpec::Matchers::BuiltIn.constants.sort.each do |const_name| + obj = T.cast(RSpec::Matchers::BuiltIn.const_get(const_name), T.untyped) + next if !obj.is_a?(Class) || !(obj < RSpec::Matchers::BuiltIn::BaseMatcher) + + obj.public_instance_methods(false).sort.each do |method_name| + next if base_methods.include?(method_name) + next if delegator_methods.include?(method_name) + next if result.key?(method_name) + + result[method_name] = params_from(T.unsafe(obj).instance_method(method_name)) + end + end + + result + end + + sig { params(method: UnboundMethod).returns(T::Array[RBI::TypedParam]) } + def params_from(method) + result = T.let([], T::Array[RBI::TypedParam]) + + method.parameters.each do |param_info| + type = T.cast(param_info[0], Symbol) + name = T.cast(param_info[1], T.nilable(Symbol)) + name_str = (name || :arg).to_s + + typed_param = case type + when :req then create_param(name_str, type: "T.untyped") + when :opt then create_opt_param(name_str, type: "T.untyped", default: "T.unsafe(nil)") + when :rest then create_rest_param(name_str, type: "T.untyped") + when :keyreq then create_kw_param(name_str, type: "T.untyped") + when :key then create_kw_opt_param(name_str, type: "T.untyped", default: "T.unsafe(nil)") + when :keyrest then create_kw_rest_param(name_str, type: "T.untyped") + when :block then create_block_param(name_str, type: "T.untyped") + else next + end + + result << typed_param + end + + result + end + end + end +end diff --git a/Library/Homebrew/sorbet/tapioca/config.yml b/Library/Homebrew/sorbet/tapioca/config.yml index 1368e0f701987..5efb76e1e5cef 100644 --- a/Library/Homebrew/sorbet/tapioca/config.yml +++ b/Library/Homebrew/sorbet/tapioca/config.yml @@ -23,9 +23,7 @@ gem: - public_suffix - redcarpet - rspec-github - - rspec-mocks - rspec-retry - - rspec - rspec_junit_formatter - rubocop-md - rubocop-performance diff --git a/Library/Homebrew/test/ENV_spec.rb b/Library/Homebrew/test/ENV_spec.rb index 1ee1ac45fff1e..3c4a6d38f52e0 100644 --- a/Library/Homebrew/test/ENV_spec.rb +++ b/Library/Homebrew/test/ENV_spec.rb @@ -1,3 +1,4 @@ +# typed: true # frozen_string_literal: true require "extend/ENV" diff --git a/Library/Homebrew/test/PATH_spec.rb b/Library/Homebrew/test/PATH_spec.rb index 84ef81fb706bc..990033b6a05d9 100644 --- a/Library/Homebrew/test/PATH_spec.rb +++ b/Library/Homebrew/test/PATH_spec.rb @@ -1,3 +1,4 @@ +# typed: true # frozen_string_literal: true require "PATH" diff --git a/Library/Homebrew/test/abstract_command_spec.rb b/Library/Homebrew/test/abstract_command_spec.rb index 3c24bb6b83c16..0bae738ec7ae8 100644 --- a/Library/Homebrew/test/abstract_command_spec.rb +++ b/Library/Homebrew/test/abstract_command_spec.rb @@ -1,3 +1,4 @@ +# typed: true # frozen_string_literal: true require "abstract_command" diff --git a/Library/Homebrew/test/api/cask/cask_struct_generator_spec.rb b/Library/Homebrew/test/api/cask/cask_struct_generator_spec.rb index 598a519e16802..2d03eca26ca40 100644 --- a/Library/Homebrew/test/api/cask/cask_struct_generator_spec.rb +++ b/Library/Homebrew/test/api/cask/cask_struct_generator_spec.rb @@ -1,3 +1,4 @@ +# typed: true # frozen_string_literal: true require "api" diff --git a/Library/Homebrew/test/api/cask_spec.rb b/Library/Homebrew/test/api/cask_spec.rb index 6b3d7d405bb30..84a96dffac67a 100644 --- a/Library/Homebrew/test/api/cask_spec.rb +++ b/Library/Homebrew/test/api/cask_spec.rb @@ -1,3 +1,4 @@ +# typed: true # frozen_string_literal: true require "api" diff --git a/Library/Homebrew/test/api/cask_struct_spec.rb b/Library/Homebrew/test/api/cask_struct_spec.rb index 0e88e2516d00e..6555d0168f4af 100644 --- a/Library/Homebrew/test/api/cask_struct_spec.rb +++ b/Library/Homebrew/test/api/cask_struct_spec.rb @@ -1,3 +1,4 @@ +# typed: true # frozen_string_literal: true require "api" diff --git a/Library/Homebrew/test/api/formula/formula_struct_generator_spec.rb b/Library/Homebrew/test/api/formula/formula_struct_generator_spec.rb index 057fb148dd6ac..9468acf43e3b1 100644 --- a/Library/Homebrew/test/api/formula/formula_struct_generator_spec.rb +++ b/Library/Homebrew/test/api/formula/formula_struct_generator_spec.rb @@ -1,3 +1,4 @@ +# typed: true # frozen_string_literal: true require "api" diff --git a/Library/Homebrew/test/api/formula_spec.rb b/Library/Homebrew/test/api/formula_spec.rb index 8b89d1916b99d..634af4246cdb4 100644 --- a/Library/Homebrew/test/api/formula_spec.rb +++ b/Library/Homebrew/test/api/formula_spec.rb @@ -1,3 +1,4 @@ +# typed: true # frozen_string_literal: true require "api" diff --git a/Library/Homebrew/test/api/formula_struct_spec.rb b/Library/Homebrew/test/api/formula_struct_spec.rb index 5500b3c0271db..99f797bb50086 100644 --- a/Library/Homebrew/test/api/formula_struct_spec.rb +++ b/Library/Homebrew/test/api/formula_struct_spec.rb @@ -1,3 +1,4 @@ +# typed: true # frozen_string_literal: true require "api" diff --git a/Library/Homebrew/test/api/internal_spec.rb b/Library/Homebrew/test/api/internal_spec.rb index 2e26d0713edeb..e6ccacbc5153d 100644 --- a/Library/Homebrew/test/api/internal_spec.rb +++ b/Library/Homebrew/test/api/internal_spec.rb @@ -1,3 +1,4 @@ +# typed: true # frozen_string_literal: true require "api/internal" diff --git a/Library/Homebrew/test/api_spec.rb b/Library/Homebrew/test/api_spec.rb index dbf590f73d488..2926145ede35c 100644 --- a/Library/Homebrew/test/api_spec.rb +++ b/Library/Homebrew/test/api_spec.rb @@ -1,3 +1,4 @@ +# typed: true # frozen_string_literal: true require "api" diff --git a/Library/Homebrew/test/attestation_spec.rb b/Library/Homebrew/test/attestation_spec.rb index 298e8d3a0a3e2..82f26f2431ec0 100644 --- a/Library/Homebrew/test/attestation_spec.rb +++ b/Library/Homebrew/test/attestation_spec.rb @@ -1,3 +1,4 @@ +# typed: true # frozen_string_literal: true require "diagnostic" diff --git a/Library/Homebrew/test/bash_spec.rb b/Library/Homebrew/test/bash_spec.rb index 9a23d1dc298de..b6be1cd8b9b70 100644 --- a/Library/Homebrew/test/bash_spec.rb +++ b/Library/Homebrew/test/bash_spec.rb @@ -1,3 +1,4 @@ +# typed: true # frozen_string_literal: true require "open3" diff --git a/Library/Homebrew/test/bottle_filename_spec.rb b/Library/Homebrew/test/bottle_filename_spec.rb index 68b7283afc0fc..0f35fbe7ac838 100644 --- a/Library/Homebrew/test/bottle_filename_spec.rb +++ b/Library/Homebrew/test/bottle_filename_spec.rb @@ -1,3 +1,4 @@ +# typed: true # frozen_string_literal: true require "formula" diff --git a/Library/Homebrew/test/bottle_spec.rb b/Library/Homebrew/test/bottle_spec.rb index 2e49cb3f612cd..3ce08ba920746 100644 --- a/Library/Homebrew/test/bottle_spec.rb +++ b/Library/Homebrew/test/bottle_spec.rb @@ -1,3 +1,4 @@ +# typed: true # frozen_string_literal: true require "bottle_specification" diff --git a/Library/Homebrew/test/bottle_specification_spec.rb b/Library/Homebrew/test/bottle_specification_spec.rb index 8c6128b03a241..3c6d5b824b622 100644 --- a/Library/Homebrew/test/bottle_specification_spec.rb +++ b/Library/Homebrew/test/bottle_specification_spec.rb @@ -1,3 +1,4 @@ +# typed: true # frozen_string_literal: true require "bottle_specification" diff --git a/Library/Homebrew/test/build_environment_spec.rb b/Library/Homebrew/test/build_environment_spec.rb index 7cdba09d73c77..23ba28be645b0 100644 --- a/Library/Homebrew/test/build_environment_spec.rb +++ b/Library/Homebrew/test/build_environment_spec.rb @@ -1,3 +1,4 @@ +# typed: true # frozen_string_literal: true require "build_environment" diff --git a/Library/Homebrew/test/build_options_spec.rb b/Library/Homebrew/test/build_options_spec.rb index f6fcc34bc78a5..7ed4d205c9dfb 100644 --- a/Library/Homebrew/test/build_options_spec.rb +++ b/Library/Homebrew/test/build_options_spec.rb @@ -1,3 +1,4 @@ +# typed: true # frozen_string_literal: true require "build_options" diff --git a/Library/Homebrew/test/bump_version_parser_spec.rb b/Library/Homebrew/test/bump_version_parser_spec.rb index 7f899448e7748..f06d9018e946b 100644 --- a/Library/Homebrew/test/bump_version_parser_spec.rb +++ b/Library/Homebrew/test/bump_version_parser_spec.rb @@ -1,3 +1,4 @@ +# typed: true # frozen_string_literal: true require "bump_version_parser" diff --git a/Library/Homebrew/test/bundle/brew_services_spec.rb b/Library/Homebrew/test/bundle/brew_services_spec.rb index 16b5ab179445c..4774cd85c532e 100644 --- a/Library/Homebrew/test/bundle/brew_services_spec.rb +++ b/Library/Homebrew/test/bundle/brew_services_spec.rb @@ -1,3 +1,4 @@ +# typed: true # frozen_string_literal: true require "bundle" diff --git a/Library/Homebrew/test/bundle/brewfile_spec.rb b/Library/Homebrew/test/bundle/brewfile_spec.rb index b4c33149d5872..445003e7e4a95 100644 --- a/Library/Homebrew/test/bundle/brewfile_spec.rb +++ b/Library/Homebrew/test/bundle/brewfile_spec.rb @@ -1,3 +1,4 @@ +# typed: true # frozen_string_literal: true require "bundle" diff --git a/Library/Homebrew/test/bundle/bundle_spec.rb b/Library/Homebrew/test/bundle/bundle_spec.rb index cddc6a1e0a561..5bff921021a37 100644 --- a/Library/Homebrew/test/bundle/bundle_spec.rb +++ b/Library/Homebrew/test/bundle/bundle_spec.rb @@ -1,3 +1,4 @@ +# typed: true # frozen_string_literal: true require "bundle" diff --git a/Library/Homebrew/test/bundle/cargo_dumper_spec.rb b/Library/Homebrew/test/bundle/cargo_dumper_spec.rb index 894abb6997f5d..4543081054fda 100644 --- a/Library/Homebrew/test/bundle/cargo_dumper_spec.rb +++ b/Library/Homebrew/test/bundle/cargo_dumper_spec.rb @@ -1,3 +1,4 @@ +# typed: true # frozen_string_literal: true require "bundle" diff --git a/Library/Homebrew/test/bundle/cargo_installer_spec.rb b/Library/Homebrew/test/bundle/cargo_installer_spec.rb index f0e43cecd10ea..25282b829ba94 100644 --- a/Library/Homebrew/test/bundle/cargo_installer_spec.rb +++ b/Library/Homebrew/test/bundle/cargo_installer_spec.rb @@ -1,3 +1,4 @@ +# typed: true # frozen_string_literal: true require "bundle" diff --git a/Library/Homebrew/test/bundle/cask_dumper_spec.rb b/Library/Homebrew/test/bundle/cask_dumper_spec.rb index 688fb9fe7ad80..f8c8bf562f3bc 100644 --- a/Library/Homebrew/test/bundle/cask_dumper_spec.rb +++ b/Library/Homebrew/test/bundle/cask_dumper_spec.rb @@ -1,3 +1,4 @@ +# typed: true # frozen_string_literal: true require "bundle" diff --git a/Library/Homebrew/test/bundle/cask_installer_spec.rb b/Library/Homebrew/test/bundle/cask_installer_spec.rb index 4d5d9ca1b068c..fd6daf72937f2 100644 --- a/Library/Homebrew/test/bundle/cask_installer_spec.rb +++ b/Library/Homebrew/test/bundle/cask_installer_spec.rb @@ -1,3 +1,4 @@ +# typed: true # frozen_string_literal: true require "bundle" diff --git a/Library/Homebrew/test/bundle/commands/add_spec.rb b/Library/Homebrew/test/bundle/commands/add_spec.rb index 31ceef3c5578c..73b2adc17d98d 100644 --- a/Library/Homebrew/test/bundle/commands/add_spec.rb +++ b/Library/Homebrew/test/bundle/commands/add_spec.rb @@ -1,3 +1,4 @@ +# typed: true # frozen_string_literal: true require "bundle" diff --git a/Library/Homebrew/test/bundle/commands/check_spec.rb b/Library/Homebrew/test/bundle/commands/check_spec.rb index 330e26968d1c9..94030e34d32ba 100644 --- a/Library/Homebrew/test/bundle/commands/check_spec.rb +++ b/Library/Homebrew/test/bundle/commands/check_spec.rb @@ -1,3 +1,4 @@ +# typed: true # frozen_string_literal: true require "bundle" diff --git a/Library/Homebrew/test/bundle/commands/cleanup_spec.rb b/Library/Homebrew/test/bundle/commands/cleanup_spec.rb index f5876470a4479..be23447e0d26d 100644 --- a/Library/Homebrew/test/bundle/commands/cleanup_spec.rb +++ b/Library/Homebrew/test/bundle/commands/cleanup_spec.rb @@ -1,3 +1,4 @@ +# typed: true # frozen_string_literal: true require "bundle" diff --git a/Library/Homebrew/test/bundle/commands/dump_spec.rb b/Library/Homebrew/test/bundle/commands/dump_spec.rb index 6aca0ebb1bafb..3fe129c3fa4d9 100644 --- a/Library/Homebrew/test/bundle/commands/dump_spec.rb +++ b/Library/Homebrew/test/bundle/commands/dump_spec.rb @@ -1,3 +1,4 @@ +# typed: true # frozen_string_literal: true require "bundle" diff --git a/Library/Homebrew/test/bundle/commands/exec_spec.rb b/Library/Homebrew/test/bundle/commands/exec_spec.rb index 16ce6803997ee..8ed4dfdfcb0f2 100644 --- a/Library/Homebrew/test/bundle/commands/exec_spec.rb +++ b/Library/Homebrew/test/bundle/commands/exec_spec.rb @@ -1,3 +1,4 @@ +# typed: true # frozen_string_literal: true require "bundle" diff --git a/Library/Homebrew/test/bundle/commands/install_spec.rb b/Library/Homebrew/test/bundle/commands/install_spec.rb index e66954e6ece3b..21b6821222739 100644 --- a/Library/Homebrew/test/bundle/commands/install_spec.rb +++ b/Library/Homebrew/test/bundle/commands/install_spec.rb @@ -1,3 +1,4 @@ +# typed: true # frozen_string_literal: true require "bundle" diff --git a/Library/Homebrew/test/bundle/commands/list_spec.rb b/Library/Homebrew/test/bundle/commands/list_spec.rb index 6d280056d6efb..7faf9d87cf484 100644 --- a/Library/Homebrew/test/bundle/commands/list_spec.rb +++ b/Library/Homebrew/test/bundle/commands/list_spec.rb @@ -1,3 +1,4 @@ +# typed: true # frozen_string_literal: true require "bundle" diff --git a/Library/Homebrew/test/bundle/commands/remove_spec.rb b/Library/Homebrew/test/bundle/commands/remove_spec.rb index 25c2c74c3fc39..1328295926735 100644 --- a/Library/Homebrew/test/bundle/commands/remove_spec.rb +++ b/Library/Homebrew/test/bundle/commands/remove_spec.rb @@ -1,3 +1,4 @@ +# typed: true # frozen_string_literal: true require "bundle" diff --git a/Library/Homebrew/test/bundle/dsl_spec.rb b/Library/Homebrew/test/bundle/dsl_spec.rb index ee93ce041eee1..66c43676d5b77 100644 --- a/Library/Homebrew/test/bundle/dsl_spec.rb +++ b/Library/Homebrew/test/bundle/dsl_spec.rb @@ -1,3 +1,4 @@ +# typed: true # frozen_string_literal: true require "bundle" diff --git a/Library/Homebrew/test/bundle/dumper_spec.rb b/Library/Homebrew/test/bundle/dumper_spec.rb index c1342b12b2331..73560f96dd218 100644 --- a/Library/Homebrew/test/bundle/dumper_spec.rb +++ b/Library/Homebrew/test/bundle/dumper_spec.rb @@ -1,3 +1,4 @@ +# typed: true # frozen_string_literal: true require "bundle" diff --git a/Library/Homebrew/test/bundle/flatpak_checker_spec.rb b/Library/Homebrew/test/bundle/flatpak_checker_spec.rb index bcb22c0598511..e9f7b046f9d68 100644 --- a/Library/Homebrew/test/bundle/flatpak_checker_spec.rb +++ b/Library/Homebrew/test/bundle/flatpak_checker_spec.rb @@ -1,3 +1,4 @@ +# typed: true # frozen_string_literal: true require "bundle" diff --git a/Library/Homebrew/test/bundle/flatpak_dumper_spec.rb b/Library/Homebrew/test/bundle/flatpak_dumper_spec.rb index ca58e647efab1..19aab4f5cd1f8 100644 --- a/Library/Homebrew/test/bundle/flatpak_dumper_spec.rb +++ b/Library/Homebrew/test/bundle/flatpak_dumper_spec.rb @@ -1,3 +1,4 @@ +# typed: true # frozen_string_literal: true require "bundle" diff --git a/Library/Homebrew/test/bundle/flatpak_installer_spec.rb b/Library/Homebrew/test/bundle/flatpak_installer_spec.rb index b890100975516..58be78b4b3989 100644 --- a/Library/Homebrew/test/bundle/flatpak_installer_spec.rb +++ b/Library/Homebrew/test/bundle/flatpak_installer_spec.rb @@ -1,3 +1,4 @@ +# typed: true # frozen_string_literal: true require "bundle" diff --git a/Library/Homebrew/test/bundle/formula_dumper_spec.rb b/Library/Homebrew/test/bundle/formula_dumper_spec.rb index 6782dd200edb3..f176130f91cc6 100644 --- a/Library/Homebrew/test/bundle/formula_dumper_spec.rb +++ b/Library/Homebrew/test/bundle/formula_dumper_spec.rb @@ -1,3 +1,4 @@ +# typed: true # frozen_string_literal: true require "bundle" diff --git a/Library/Homebrew/test/bundle/formula_installer_spec.rb b/Library/Homebrew/test/bundle/formula_installer_spec.rb index 1222cfcb5940b..7643e2d9f2562 100644 --- a/Library/Homebrew/test/bundle/formula_installer_spec.rb +++ b/Library/Homebrew/test/bundle/formula_installer_spec.rb @@ -1,3 +1,4 @@ +# typed: true # frozen_string_literal: true require "bundle" diff --git a/Library/Homebrew/test/bundle/go_dumper_spec.rb b/Library/Homebrew/test/bundle/go_dumper_spec.rb index 1070ccca93e01..1ceae925e0b2d 100644 --- a/Library/Homebrew/test/bundle/go_dumper_spec.rb +++ b/Library/Homebrew/test/bundle/go_dumper_spec.rb @@ -1,3 +1,4 @@ +# typed: true # frozen_string_literal: true require "bundle" diff --git a/Library/Homebrew/test/bundle/go_installer_spec.rb b/Library/Homebrew/test/bundle/go_installer_spec.rb index 9196df93bc4f2..688df71df60b3 100644 --- a/Library/Homebrew/test/bundle/go_installer_spec.rb +++ b/Library/Homebrew/test/bundle/go_installer_spec.rb @@ -1,3 +1,4 @@ +# typed: true # frozen_string_literal: true require "bundle" diff --git a/Library/Homebrew/test/bundle/installer_spec.rb b/Library/Homebrew/test/bundle/installer_spec.rb index 60e60311b3563..74325ebb0596e 100644 --- a/Library/Homebrew/test/bundle/installer_spec.rb +++ b/Library/Homebrew/test/bundle/installer_spec.rb @@ -1,3 +1,4 @@ +# typed: true # frozen_string_literal: true require "bundle" diff --git a/Library/Homebrew/test/bundle/mac_app_store_dumper_spec.rb b/Library/Homebrew/test/bundle/mac_app_store_dumper_spec.rb index 95525e804011c..663d38facec2f 100644 --- a/Library/Homebrew/test/bundle/mac_app_store_dumper_spec.rb +++ b/Library/Homebrew/test/bundle/mac_app_store_dumper_spec.rb @@ -1,3 +1,4 @@ +# typed: true # frozen_string_literal: true require "bundle" diff --git a/Library/Homebrew/test/bundle/mac_app_store_installer_spec.rb b/Library/Homebrew/test/bundle/mac_app_store_installer_spec.rb index 3c584424902ec..93a3198c4998d 100644 --- a/Library/Homebrew/test/bundle/mac_app_store_installer_spec.rb +++ b/Library/Homebrew/test/bundle/mac_app_store_installer_spec.rb @@ -1,3 +1,4 @@ +# typed: true # frozen_string_literal: true require "bundle" diff --git a/Library/Homebrew/test/bundle/remover_spec.rb b/Library/Homebrew/test/bundle/remover_spec.rb index 944f86582af9e..c38a93fecb342 100644 --- a/Library/Homebrew/test/bundle/remover_spec.rb +++ b/Library/Homebrew/test/bundle/remover_spec.rb @@ -1,3 +1,4 @@ +# typed: true # frozen_string_literal: true require "bundle" diff --git a/Library/Homebrew/test/bundle/skipper_spec.rb b/Library/Homebrew/test/bundle/skipper_spec.rb index 767765857f586..146d0f9431c87 100644 --- a/Library/Homebrew/test/bundle/skipper_spec.rb +++ b/Library/Homebrew/test/bundle/skipper_spec.rb @@ -1,3 +1,4 @@ +# typed: true # frozen_string_literal: true require "bundle" diff --git a/Library/Homebrew/test/bundle/tap_dumper_spec.rb b/Library/Homebrew/test/bundle/tap_dumper_spec.rb index b30df891ed33a..c82b6718b22ec 100644 --- a/Library/Homebrew/test/bundle/tap_dumper_spec.rb +++ b/Library/Homebrew/test/bundle/tap_dumper_spec.rb @@ -1,3 +1,4 @@ +# typed: true # frozen_string_literal: true require "bundle" diff --git a/Library/Homebrew/test/bundle/tap_installer_spec.rb b/Library/Homebrew/test/bundle/tap_installer_spec.rb index 34418d5bc13f2..1373668714a83 100644 --- a/Library/Homebrew/test/bundle/tap_installer_spec.rb +++ b/Library/Homebrew/test/bundle/tap_installer_spec.rb @@ -1,3 +1,4 @@ +# typed: true # frozen_string_literal: true require "bundle" diff --git a/Library/Homebrew/test/bundle/uv_checker_spec.rb b/Library/Homebrew/test/bundle/uv_checker_spec.rb index 901e89bd6d486..d0d9f1931cc4f 100644 --- a/Library/Homebrew/test/bundle/uv_checker_spec.rb +++ b/Library/Homebrew/test/bundle/uv_checker_spec.rb @@ -1,3 +1,4 @@ +# typed: true # frozen_string_literal: true require "bundle" diff --git a/Library/Homebrew/test/bundle/uv_dumper_spec.rb b/Library/Homebrew/test/bundle/uv_dumper_spec.rb index 88448556aab0a..0e8c5423945ca 100644 --- a/Library/Homebrew/test/bundle/uv_dumper_spec.rb +++ b/Library/Homebrew/test/bundle/uv_dumper_spec.rb @@ -1,3 +1,4 @@ +# typed: true # frozen_string_literal: true require "bundle" diff --git a/Library/Homebrew/test/bundle/uv_installer_spec.rb b/Library/Homebrew/test/bundle/uv_installer_spec.rb index 0ea77c6fa55cd..3d13a76b2fed2 100644 --- a/Library/Homebrew/test/bundle/uv_installer_spec.rb +++ b/Library/Homebrew/test/bundle/uv_installer_spec.rb @@ -1,3 +1,4 @@ +# typed: true # frozen_string_literal: true require "bundle" diff --git a/Library/Homebrew/test/bundle/vscode_extension_dumper_spec.rb b/Library/Homebrew/test/bundle/vscode_extension_dumper_spec.rb index 4394aa61ae0bf..cd9d37271870b 100644 --- a/Library/Homebrew/test/bundle/vscode_extension_dumper_spec.rb +++ b/Library/Homebrew/test/bundle/vscode_extension_dumper_spec.rb @@ -1,3 +1,4 @@ +# typed: true # frozen_string_literal: true require "bundle" diff --git a/Library/Homebrew/test/bundle/vscode_extension_installer_spec.rb b/Library/Homebrew/test/bundle/vscode_extension_installer_spec.rb index f51895e880ae6..327ef56715b87 100644 --- a/Library/Homebrew/test/bundle/vscode_extension_installer_spec.rb +++ b/Library/Homebrew/test/bundle/vscode_extension_installer_spec.rb @@ -1,3 +1,4 @@ +# typed: true # frozen_string_literal: true require "bundle" diff --git a/Library/Homebrew/test/bundle_version_spec.rb b/Library/Homebrew/test/bundle_version_spec.rb index 021400e55a808..60e17d3387b93 100644 --- a/Library/Homebrew/test/bundle_version_spec.rb +++ b/Library/Homebrew/test/bundle_version_spec.rb @@ -1,3 +1,4 @@ +# typed: true # frozen_string_literal: true require "bundle_version" diff --git a/Library/Homebrew/test/cache_store_spec.rb b/Library/Homebrew/test/cache_store_spec.rb index 3c4a785d92d7e..da42646167533 100644 --- a/Library/Homebrew/test/cache_store_spec.rb +++ b/Library/Homebrew/test/cache_store_spec.rb @@ -1,3 +1,4 @@ +# typed: true # frozen_string_literal: true require "cache_store" diff --git a/Library/Homebrew/test/cask/artifact/abstract_artifact_spec.rb b/Library/Homebrew/test/cask/artifact/abstract_artifact_spec.rb index 1bcde8ed7a17b..5e3c93c9fa690 100644 --- a/Library/Homebrew/test/cask/artifact/abstract_artifact_spec.rb +++ b/Library/Homebrew/test/cask/artifact/abstract_artifact_spec.rb @@ -1,3 +1,4 @@ +# typed: true # frozen_string_literal: true RSpec.describe Cask::Artifact::AbstractArtifact, :cask do diff --git a/Library/Homebrew/test/cask/artifact/alt_target_spec.rb b/Library/Homebrew/test/cask/artifact/alt_target_spec.rb index 0953c4aab6582..e36e2eec6e3b4 100644 --- a/Library/Homebrew/test/cask/artifact/alt_target_spec.rb +++ b/Library/Homebrew/test/cask/artifact/alt_target_spec.rb @@ -1,3 +1,4 @@ +# typed: true # frozen_string_literal: true RSpec.describe Cask::Artifact::App, :cask do diff --git a/Library/Homebrew/test/cask/artifact/app_spec.rb b/Library/Homebrew/test/cask/artifact/app_spec.rb index b4f0e800a35d7..d3d29e00744ab 100644 --- a/Library/Homebrew/test/cask/artifact/app_spec.rb +++ b/Library/Homebrew/test/cask/artifact/app_spec.rb @@ -1,3 +1,4 @@ +# typed: true # frozen_string_literal: true RSpec.describe Cask::Artifact::App, :cask do diff --git a/Library/Homebrew/test/cask/artifact/bashcompletion_spec.rb b/Library/Homebrew/test/cask/artifact/bashcompletion_spec.rb index b38ab728c3849..fe38e6df63715 100644 --- a/Library/Homebrew/test/cask/artifact/bashcompletion_spec.rb +++ b/Library/Homebrew/test/cask/artifact/bashcompletion_spec.rb @@ -1,3 +1,4 @@ +# typed: true # frozen_string_literal: true RSpec.describe Cask::Artifact::BashCompletion, :cask do diff --git a/Library/Homebrew/test/cask/artifact/binary_spec.rb b/Library/Homebrew/test/cask/artifact/binary_spec.rb index ea8ab47e2c231..88428a7db59d0 100644 --- a/Library/Homebrew/test/cask/artifact/binary_spec.rb +++ b/Library/Homebrew/test/cask/artifact/binary_spec.rb @@ -1,3 +1,4 @@ +# typed: true # frozen_string_literal: true RSpec.describe Cask::Artifact::Binary, :cask do diff --git a/Library/Homebrew/test/cask/artifact/fishlcompletion_spec.rb b/Library/Homebrew/test/cask/artifact/fishlcompletion_spec.rb index 72f97ecb30402..037e4163a607e 100644 --- a/Library/Homebrew/test/cask/artifact/fishlcompletion_spec.rb +++ b/Library/Homebrew/test/cask/artifact/fishlcompletion_spec.rb @@ -1,3 +1,4 @@ +# typed: true # frozen_string_literal: true RSpec.describe Cask::Artifact::FishCompletion, :cask do diff --git a/Library/Homebrew/test/cask/artifact/generic_artifact_spec.rb b/Library/Homebrew/test/cask/artifact/generic_artifact_spec.rb index d625a1693d777..c5086d700a471 100644 --- a/Library/Homebrew/test/cask/artifact/generic_artifact_spec.rb +++ b/Library/Homebrew/test/cask/artifact/generic_artifact_spec.rb @@ -1,3 +1,4 @@ +# typed: true # frozen_string_literal: true RSpec.describe Cask::Artifact::Artifact, :cask do diff --git a/Library/Homebrew/test/cask/artifact/installer_spec.rb b/Library/Homebrew/test/cask/artifact/installer_spec.rb index 95f30f748f430..e7d8bf60cd918 100644 --- a/Library/Homebrew/test/cask/artifact/installer_spec.rb +++ b/Library/Homebrew/test/cask/artifact/installer_spec.rb @@ -1,3 +1,4 @@ +# typed: true # frozen_string_literal: true RSpec.describe Cask::Artifact::Installer, :cask do diff --git a/Library/Homebrew/test/cask/artifact/manpage_spec.rb b/Library/Homebrew/test/cask/artifact/manpage_spec.rb index dc5e30a9ff218..f9c9ec199f96d 100644 --- a/Library/Homebrew/test/cask/artifact/manpage_spec.rb +++ b/Library/Homebrew/test/cask/artifact/manpage_spec.rb @@ -1,3 +1,4 @@ +# typed: true # frozen_string_literal: true RSpec.describe Cask::Artifact::Manpage, :cask do diff --git a/Library/Homebrew/test/cask/artifact/pkg_spec.rb b/Library/Homebrew/test/cask/artifact/pkg_spec.rb index 454e9eade47d3..1c003a4ae7852 100644 --- a/Library/Homebrew/test/cask/artifact/pkg_spec.rb +++ b/Library/Homebrew/test/cask/artifact/pkg_spec.rb @@ -1,3 +1,4 @@ +# typed: true # frozen_string_literal: true RSpec.describe Cask::Artifact::Pkg, :cask do diff --git a/Library/Homebrew/test/cask/artifact/postflight_block_spec.rb b/Library/Homebrew/test/cask/artifact/postflight_block_spec.rb index eb71b3a520028..9eb8f1124895a 100644 --- a/Library/Homebrew/test/cask/artifact/postflight_block_spec.rb +++ b/Library/Homebrew/test/cask/artifact/postflight_block_spec.rb @@ -1,3 +1,4 @@ +# typed: true # frozen_string_literal: true RSpec.describe Cask::Artifact::PostflightBlock, :cask do diff --git a/Library/Homebrew/test/cask/artifact/preflight_block_spec.rb b/Library/Homebrew/test/cask/artifact/preflight_block_spec.rb index 3c97212298268..98d4d3465c6c3 100644 --- a/Library/Homebrew/test/cask/artifact/preflight_block_spec.rb +++ b/Library/Homebrew/test/cask/artifact/preflight_block_spec.rb @@ -1,3 +1,4 @@ +# typed: true # frozen_string_literal: true RSpec.describe Cask::Artifact::PreflightBlock, :cask do diff --git a/Library/Homebrew/test/cask/artifact/relocated_spec.rb b/Library/Homebrew/test/cask/artifact/relocated_spec.rb index 3f317ab34b53c..361c66f6493cb 100644 --- a/Library/Homebrew/test/cask/artifact/relocated_spec.rb +++ b/Library/Homebrew/test/cask/artifact/relocated_spec.rb @@ -1,3 +1,4 @@ +# typed: true # frozen_string_literal: true require "cask/artifact/relocated" diff --git a/Library/Homebrew/test/cask/artifact/shared_examples/uninstall_zap.rb b/Library/Homebrew/test/cask/artifact/shared_examples/uninstall_zap.rb index b3bcf3066d6d1..e101796b39274 100644 --- a/Library/Homebrew/test/cask/artifact/shared_examples/uninstall_zap.rb +++ b/Library/Homebrew/test/cask/artifact/shared_examples/uninstall_zap.rb @@ -1,3 +1,4 @@ +# typed: true # frozen_string_literal: true require "benchmark" diff --git a/Library/Homebrew/test/cask/artifact/suite_spec.rb b/Library/Homebrew/test/cask/artifact/suite_spec.rb index 63448dfd058a1..571005f9b6495 100644 --- a/Library/Homebrew/test/cask/artifact/suite_spec.rb +++ b/Library/Homebrew/test/cask/artifact/suite_spec.rb @@ -1,3 +1,4 @@ +# typed: true # frozen_string_literal: true RSpec.describe Cask::Artifact::Suite, :cask do diff --git a/Library/Homebrew/test/cask/artifact/symlinked_spec.rb b/Library/Homebrew/test/cask/artifact/symlinked_spec.rb index 573310c14b036..8ed13afc5ed7b 100644 --- a/Library/Homebrew/test/cask/artifact/symlinked_spec.rb +++ b/Library/Homebrew/test/cask/artifact/symlinked_spec.rb @@ -1,3 +1,4 @@ +# typed: true # frozen_string_literal: true RSpec.describe Cask::Artifact::Symlinked, :cask do diff --git a/Library/Homebrew/test/cask/artifact/two_apps_correct_spec.rb b/Library/Homebrew/test/cask/artifact/two_apps_correct_spec.rb index 86636bf191e3c..fd484cdfc29f9 100644 --- a/Library/Homebrew/test/cask/artifact/two_apps_correct_spec.rb +++ b/Library/Homebrew/test/cask/artifact/two_apps_correct_spec.rb @@ -1,3 +1,4 @@ +# typed: true # frozen_string_literal: true RSpec.describe Cask::Artifact::App, :cask do diff --git a/Library/Homebrew/test/cask/artifact/uninstall_no_zap_spec.rb b/Library/Homebrew/test/cask/artifact/uninstall_no_zap_spec.rb index 2a42e5a8d3b19..2550aafd08220 100644 --- a/Library/Homebrew/test/cask/artifact/uninstall_no_zap_spec.rb +++ b/Library/Homebrew/test/cask/artifact/uninstall_no_zap_spec.rb @@ -1,3 +1,4 @@ +# typed: true # frozen_string_literal: true RSpec.describe Cask::Artifact::Zap, :cask do diff --git a/Library/Homebrew/test/cask/artifact/uninstall_spec.rb b/Library/Homebrew/test/cask/artifact/uninstall_spec.rb index 3affdac9e0ba7..439fdad3007fc 100644 --- a/Library/Homebrew/test/cask/artifact/uninstall_spec.rb +++ b/Library/Homebrew/test/cask/artifact/uninstall_spec.rb @@ -1,3 +1,4 @@ +# typed: true # frozen_string_literal: true require_relative "shared_examples/uninstall_zap" diff --git a/Library/Homebrew/test/cask/artifact/zap_spec.rb b/Library/Homebrew/test/cask/artifact/zap_spec.rb index 3ae2f40d96d8f..e719c4b3b2bf5 100644 --- a/Library/Homebrew/test/cask/artifact/zap_spec.rb +++ b/Library/Homebrew/test/cask/artifact/zap_spec.rb @@ -1,3 +1,4 @@ +# typed: true # frozen_string_literal: true require_relative "shared_examples/uninstall_zap" diff --git a/Library/Homebrew/test/cask/artifact/zshcompletion_spec.rb b/Library/Homebrew/test/cask/artifact/zshcompletion_spec.rb index a6250c7bc9aa4..c83e9c8c54507 100644 --- a/Library/Homebrew/test/cask/artifact/zshcompletion_spec.rb +++ b/Library/Homebrew/test/cask/artifact/zshcompletion_spec.rb @@ -1,3 +1,4 @@ +# typed: true # frozen_string_literal: true RSpec.describe Cask::Artifact::ZshCompletion, :cask do diff --git a/Library/Homebrew/test/cask/audit_spec.rb b/Library/Homebrew/test/cask/audit_spec.rb index b6fb2e3c56cc3..e389725f6326b 100644 --- a/Library/Homebrew/test/cask/audit_spec.rb +++ b/Library/Homebrew/test/cask/audit_spec.rb @@ -1,3 +1,4 @@ +# typed: true # frozen_string_literal: true require "cask/audit" diff --git a/Library/Homebrew/test/cask/cask_loader/from_api_loader_spec.rb b/Library/Homebrew/test/cask/cask_loader/from_api_loader_spec.rb index f471450df25b1..b6f6833d91bfe 100644 --- a/Library/Homebrew/test/cask/cask_loader/from_api_loader_spec.rb +++ b/Library/Homebrew/test/cask/cask_loader/from_api_loader_spec.rb @@ -1,3 +1,4 @@ +# typed: true # frozen_string_literal: true RSpec.describe Cask::CaskLoader::FromAPILoader, :cask do diff --git a/Library/Homebrew/test/cask/cask_loader/from_content_loader_spec.rb b/Library/Homebrew/test/cask/cask_loader/from_content_loader_spec.rb index ca97c8b9259c4..960fabd09aafb 100644 --- a/Library/Homebrew/test/cask/cask_loader/from_content_loader_spec.rb +++ b/Library/Homebrew/test/cask/cask_loader/from_content_loader_spec.rb @@ -1,3 +1,4 @@ +# typed: true # frozen_string_literal: true RSpec.describe Cask::CaskLoader::FromContentLoader do diff --git a/Library/Homebrew/test/cask/cask_loader/from_path_loader_spec.rb b/Library/Homebrew/test/cask/cask_loader/from_path_loader_spec.rb index 0322a42ba3c11..f16c6bdda5ba3 100644 --- a/Library/Homebrew/test/cask/cask_loader/from_path_loader_spec.rb +++ b/Library/Homebrew/test/cask/cask_loader/from_path_loader_spec.rb @@ -1,3 +1,4 @@ +# typed: true # frozen_string_literal: true RSpec.describe Cask::CaskLoader::FromPathLoader do diff --git a/Library/Homebrew/test/cask/cask_loader/from_tap_loader_spec.rb b/Library/Homebrew/test/cask/cask_loader/from_tap_loader_spec.rb index 4f01b7279cb50..ca1bd81e20395 100644 --- a/Library/Homebrew/test/cask/cask_loader/from_tap_loader_spec.rb +++ b/Library/Homebrew/test/cask/cask_loader/from_tap_loader_spec.rb @@ -1,3 +1,4 @@ +# typed: true # frozen_string_literal: true RSpec.describe Cask::CaskLoader::FromTapLoader do diff --git a/Library/Homebrew/test/cask/cask_loader/from_uri_loader_spec.rb b/Library/Homebrew/test/cask/cask_loader/from_uri_loader_spec.rb index f46ab3f598d1b..46d89ec02c274 100644 --- a/Library/Homebrew/test/cask/cask_loader/from_uri_loader_spec.rb +++ b/Library/Homebrew/test/cask/cask_loader/from_uri_loader_spec.rb @@ -1,3 +1,4 @@ +# typed: true # frozen_string_literal: true RSpec.describe Cask::CaskLoader::FromURILoader do diff --git a/Library/Homebrew/test/cask/cask_loader_spec.rb b/Library/Homebrew/test/cask/cask_loader_spec.rb index 4d3a91f275e88..9b7785d7ece02 100644 --- a/Library/Homebrew/test/cask/cask_loader_spec.rb +++ b/Library/Homebrew/test/cask/cask_loader_spec.rb @@ -1,3 +1,4 @@ +# typed: true # frozen_string_literal: true RSpec.describe Cask::CaskLoader, :cask do diff --git a/Library/Homebrew/test/cask/cask_spec.rb b/Library/Homebrew/test/cask/cask_spec.rb index cbbbf540da3f7..b917d5017f16a 100644 --- a/Library/Homebrew/test/cask/cask_spec.rb +++ b/Library/Homebrew/test/cask/cask_spec.rb @@ -1,3 +1,4 @@ +# typed: true # frozen_string_literal: true RSpec.describe Cask::Cask, :cask do diff --git a/Library/Homebrew/test/cask/config_spec.rb b/Library/Homebrew/test/cask/config_spec.rb index 732b0fa2f5a7b..839483fc0782f 100644 --- a/Library/Homebrew/test/cask/config_spec.rb +++ b/Library/Homebrew/test/cask/config_spec.rb @@ -1,3 +1,4 @@ +# typed: true # frozen_string_literal: true RSpec.describe Cask::Config, :cask do diff --git a/Library/Homebrew/test/cask/denylist_spec.rb b/Library/Homebrew/test/cask/denylist_spec.rb index af5c8ea9e75f9..b2013947783db 100644 --- a/Library/Homebrew/test/cask/denylist_spec.rb +++ b/Library/Homebrew/test/cask/denylist_spec.rb @@ -1,3 +1,4 @@ +# typed: true # frozen_string_literal: true require "cask/denylist" diff --git a/Library/Homebrew/test/cask/depends_on_spec.rb b/Library/Homebrew/test/cask/depends_on_spec.rb index c2f0373ddbecb..baeb9a0de4b25 100644 --- a/Library/Homebrew/test/cask/depends_on_spec.rb +++ b/Library/Homebrew/test/cask/depends_on_spec.rb @@ -1,3 +1,4 @@ +# typed: true # frozen_string_literal: true # TODO: this test should be named after the corresponding class, once diff --git a/Library/Homebrew/test/cask/download_spec.rb b/Library/Homebrew/test/cask/download_spec.rb index 09377902def05..60a5242431277 100644 --- a/Library/Homebrew/test/cask/download_spec.rb +++ b/Library/Homebrew/test/cask/download_spec.rb @@ -1,3 +1,4 @@ +# typed: true # frozen_string_literal: true RSpec.describe Cask::Download, :cask do diff --git a/Library/Homebrew/test/cask/dsl/caveats_spec.rb b/Library/Homebrew/test/cask/dsl/caveats_spec.rb index 3015935b5a4bb..44901945eb52b 100644 --- a/Library/Homebrew/test/cask/dsl/caveats_spec.rb +++ b/Library/Homebrew/test/cask/dsl/caveats_spec.rb @@ -1,3 +1,4 @@ +# typed: true # frozen_string_literal: true require "test/cask/dsl/shared_examples/base" diff --git a/Library/Homebrew/test/cask/dsl/container_spec.rb b/Library/Homebrew/test/cask/dsl/container_spec.rb index 1528a0409137d..9256e312661f2 100644 --- a/Library/Homebrew/test/cask/dsl/container_spec.rb +++ b/Library/Homebrew/test/cask/dsl/container_spec.rb @@ -1,3 +1,4 @@ +# typed: true # frozen_string_literal: true require "test/cask/dsl/shared_examples/base" diff --git a/Library/Homebrew/test/cask/dsl/postflight_spec.rb b/Library/Homebrew/test/cask/dsl/postflight_spec.rb index b8ba597746d47..7d5c62f7e4442 100644 --- a/Library/Homebrew/test/cask/dsl/postflight_spec.rb +++ b/Library/Homebrew/test/cask/dsl/postflight_spec.rb @@ -1,3 +1,4 @@ +# typed: true # frozen_string_literal: true require "test/cask/dsl/shared_examples/base" diff --git a/Library/Homebrew/test/cask/dsl/preflight_spec.rb b/Library/Homebrew/test/cask/dsl/preflight_spec.rb index 4ff7aa85596a8..adcac6fe70eb7 100644 --- a/Library/Homebrew/test/cask/dsl/preflight_spec.rb +++ b/Library/Homebrew/test/cask/dsl/preflight_spec.rb @@ -1,3 +1,4 @@ +# typed: true # frozen_string_literal: true require "test/cask/dsl/shared_examples/base" diff --git a/Library/Homebrew/test/cask/dsl/rename_spec.rb b/Library/Homebrew/test/cask/dsl/rename_spec.rb index 9b979cf2a5a04..6b1602b9855bc 100644 --- a/Library/Homebrew/test/cask/dsl/rename_spec.rb +++ b/Library/Homebrew/test/cask/dsl/rename_spec.rb @@ -1,3 +1,4 @@ +# typed: true # frozen_string_literal: true RSpec.describe Cask::DSL::Rename do diff --git a/Library/Homebrew/test/cask/dsl/shared_examples/base.rb b/Library/Homebrew/test/cask/dsl/shared_examples/base.rb index b7871d0215180..d37dbb9744f9e 100644 --- a/Library/Homebrew/test/cask/dsl/shared_examples/base.rb +++ b/Library/Homebrew/test/cask/dsl/shared_examples/base.rb @@ -1,3 +1,4 @@ +# typed: true # frozen_string_literal: true require "cask/dsl/base" diff --git a/Library/Homebrew/test/cask/dsl/shared_examples/staged.rb b/Library/Homebrew/test/cask/dsl/shared_examples/staged.rb index f89de5e186aa5..1ec46cf673702 100644 --- a/Library/Homebrew/test/cask/dsl/shared_examples/staged.rb +++ b/Library/Homebrew/test/cask/dsl/shared_examples/staged.rb @@ -1,3 +1,4 @@ +# typed: true # frozen_string_literal: true require "cask/staged" diff --git a/Library/Homebrew/test/cask/dsl/uninstall_postflight_spec.rb b/Library/Homebrew/test/cask/dsl/uninstall_postflight_spec.rb index bcb0b135f6043..fdc2404f15f77 100644 --- a/Library/Homebrew/test/cask/dsl/uninstall_postflight_spec.rb +++ b/Library/Homebrew/test/cask/dsl/uninstall_postflight_spec.rb @@ -1,3 +1,4 @@ +# typed: true # frozen_string_literal: true require "test/cask/dsl/shared_examples/base" diff --git a/Library/Homebrew/test/cask/dsl/uninstall_preflight_spec.rb b/Library/Homebrew/test/cask/dsl/uninstall_preflight_spec.rb index 9c7bec3aec035..440a24fe6941f 100644 --- a/Library/Homebrew/test/cask/dsl/uninstall_preflight_spec.rb +++ b/Library/Homebrew/test/cask/dsl/uninstall_preflight_spec.rb @@ -1,3 +1,4 @@ +# typed: true # frozen_string_literal: true require "test/cask/dsl/shared_examples/base" diff --git a/Library/Homebrew/test/cask/dsl/version_spec.rb b/Library/Homebrew/test/cask/dsl/version_spec.rb index 311329ce5471b..6083ce112367e 100644 --- a/Library/Homebrew/test/cask/dsl/version_spec.rb +++ b/Library/Homebrew/test/cask/dsl/version_spec.rb @@ -1,3 +1,4 @@ +# typed: true # frozen_string_literal: true RSpec.describe Cask::DSL::Version, :cask do diff --git a/Library/Homebrew/test/cask/dsl_spec.rb b/Library/Homebrew/test/cask/dsl_spec.rb index c153819beb627..b4c7240f44d38 100644 --- a/Library/Homebrew/test/cask/dsl_spec.rb +++ b/Library/Homebrew/test/cask/dsl_spec.rb @@ -1,3 +1,4 @@ +# typed: true # frozen_string_literal: true RSpec.describe Cask::DSL, :cask, :no_api do diff --git a/Library/Homebrew/test/cask/info_spec.rb b/Library/Homebrew/test/cask/info_spec.rb index 642f1f1c38968..3cfbd841b5ad1 100644 --- a/Library/Homebrew/test/cask/info_spec.rb +++ b/Library/Homebrew/test/cask/info_spec.rb @@ -1,3 +1,4 @@ +# typed: true # frozen_string_literal: true require "utils" diff --git a/Library/Homebrew/test/cask/installer_spec.rb b/Library/Homebrew/test/cask/installer_spec.rb index 0ffc61faa5ecb..fe7c38e48edd9 100644 --- a/Library/Homebrew/test/cask/installer_spec.rb +++ b/Library/Homebrew/test/cask/installer_spec.rb @@ -1,3 +1,4 @@ +# typed: true # frozen_string_literal: true RSpec.describe Cask::Installer, :cask do diff --git a/Library/Homebrew/test/cask/list_spec.rb b/Library/Homebrew/test/cask/list_spec.rb index 4214baab028b7..31504d2069200 100644 --- a/Library/Homebrew/test/cask/list_spec.rb +++ b/Library/Homebrew/test/cask/list_spec.rb @@ -1,3 +1,4 @@ +# typed: true # frozen_string_literal: true require "cask/list" diff --git a/Library/Homebrew/test/cask/macos_spec.rb b/Library/Homebrew/test/cask/macos_spec.rb index eb2e99fb53ded..19edccf3e4207 100644 --- a/Library/Homebrew/test/cask/macos_spec.rb +++ b/Library/Homebrew/test/cask/macos_spec.rb @@ -1,3 +1,4 @@ +# typed: true # frozen_string_literal: true RSpec.describe MacOS, :cask do diff --git a/Library/Homebrew/test/cask/migrator_spec.rb b/Library/Homebrew/test/cask/migrator_spec.rb index 93d6772d14bd0..ad14b09b99012 100644 --- a/Library/Homebrew/test/cask/migrator_spec.rb +++ b/Library/Homebrew/test/cask/migrator_spec.rb @@ -1,3 +1,4 @@ +# typed: true # frozen_string_literal: true require "cask/migrator" diff --git a/Library/Homebrew/test/cask/pkg_spec.rb b/Library/Homebrew/test/cask/pkg_spec.rb index 119b79513b563..200404887fe51 100644 --- a/Library/Homebrew/test/cask/pkg_spec.rb +++ b/Library/Homebrew/test/cask/pkg_spec.rb @@ -1,3 +1,4 @@ +# typed: true # frozen_string_literal: true RSpec.describe Cask::Pkg, :cask do diff --git a/Library/Homebrew/test/cask/reinstall_spec.rb b/Library/Homebrew/test/cask/reinstall_spec.rb index ff54f62b746bf..7cbb343047ca8 100644 --- a/Library/Homebrew/test/cask/reinstall_spec.rb +++ b/Library/Homebrew/test/cask/reinstall_spec.rb @@ -1,3 +1,4 @@ +# typed: true # frozen_string_literal: true require "cask/installer" diff --git a/Library/Homebrew/test/cask/tab_spec.rb b/Library/Homebrew/test/cask/tab_spec.rb index bbffba50b2d7d..69a9fb036bc3d 100644 --- a/Library/Homebrew/test/cask/tab_spec.rb +++ b/Library/Homebrew/test/cask/tab_spec.rb @@ -1,3 +1,4 @@ +# typed: true # frozen_string_literal: true require "cask" diff --git a/Library/Homebrew/test/cask/uninstall_spec.rb b/Library/Homebrew/test/cask/uninstall_spec.rb index 8e02b7594e6a3..c8a38948b2fa2 100644 --- a/Library/Homebrew/test/cask/uninstall_spec.rb +++ b/Library/Homebrew/test/cask/uninstall_spec.rb @@ -1,3 +1,4 @@ +# typed: true # frozen_string_literal: true require "cask/uninstall" diff --git a/Library/Homebrew/test/cask/upgrade_spec.rb b/Library/Homebrew/test/cask/upgrade_spec.rb index d7dc7972d524b..a7cc7de3d727f 100644 --- a/Library/Homebrew/test/cask/upgrade_spec.rb +++ b/Library/Homebrew/test/cask/upgrade_spec.rb @@ -1,3 +1,4 @@ +# typed: true # frozen_string_literal: true require "cask/upgrade" diff --git a/Library/Homebrew/test/cask/utils_spec.rb b/Library/Homebrew/test/cask/utils_spec.rb index 638fbaad987f4..4934f998806cd 100644 --- a/Library/Homebrew/test/cask/utils_spec.rb +++ b/Library/Homebrew/test/cask/utils_spec.rb @@ -1,3 +1,4 @@ +# typed: true # frozen_string_literal: true RSpec.describe Cask::Utils do diff --git a/Library/Homebrew/test/cask_dependent_spec.rb b/Library/Homebrew/test/cask_dependent_spec.rb index e6bd028110034..6c6c0aafecc1c 100644 --- a/Library/Homebrew/test/cask_dependent_spec.rb +++ b/Library/Homebrew/test/cask_dependent_spec.rb @@ -1,3 +1,4 @@ +# typed: true # frozen_string_literal: true require "cask/cask_loader" diff --git a/Library/Homebrew/test/caveats_spec.rb b/Library/Homebrew/test/caveats_spec.rb index 70e6b978bb856..e9c1cf544f6ab 100644 --- a/Library/Homebrew/test/caveats_spec.rb +++ b/Library/Homebrew/test/caveats_spec.rb @@ -1,3 +1,4 @@ +# typed: true # frozen_string_literal: true require "formula" diff --git a/Library/Homebrew/test/checksum_spec.rb b/Library/Homebrew/test/checksum_spec.rb index add806c02905e..a5292d220b349 100644 --- a/Library/Homebrew/test/checksum_spec.rb +++ b/Library/Homebrew/test/checksum_spec.rb @@ -1,3 +1,4 @@ +# typed: true # frozen_string_literal: true require "checksum" diff --git a/Library/Homebrew/test/checksum_verification_spec.rb b/Library/Homebrew/test/checksum_verification_spec.rb index 3664e419a1236..e12f5dcbafa50 100644 --- a/Library/Homebrew/test/checksum_verification_spec.rb +++ b/Library/Homebrew/test/checksum_verification_spec.rb @@ -1,3 +1,4 @@ +# typed: true # frozen_string_literal: true require "formula" diff --git a/Library/Homebrew/test/cleaner_spec.rb b/Library/Homebrew/test/cleaner_spec.rb index f5f51a29418b0..8fb21a6268b02 100644 --- a/Library/Homebrew/test/cleaner_spec.rb +++ b/Library/Homebrew/test/cleaner_spec.rb @@ -1,3 +1,4 @@ +# typed: true # frozen_string_literal: true require "cleaner" diff --git a/Library/Homebrew/test/cleanup_spec.rb b/Library/Homebrew/test/cleanup_spec.rb index f31e262670d17..444b36b89a9f4 100644 --- a/Library/Homebrew/test/cleanup_spec.rb +++ b/Library/Homebrew/test/cleanup_spec.rb @@ -1,3 +1,4 @@ +# typed: true # frozen_string_literal: true require "test/support/fixtures/testball" diff --git a/Library/Homebrew/test/cli/named_args_spec.rb b/Library/Homebrew/test/cli/named_args_spec.rb index 94a06d4df025e..894fb49380a16 100644 --- a/Library/Homebrew/test/cli/named_args_spec.rb +++ b/Library/Homebrew/test/cli/named_args_spec.rb @@ -1,3 +1,4 @@ +# typed: true # frozen_string_literal: true require "cli/named_args" diff --git a/Library/Homebrew/test/cli/parser_spec.rb b/Library/Homebrew/test/cli/parser_spec.rb index a44e466034b24..a597ed0ad9646 100644 --- a/Library/Homebrew/test/cli/parser_spec.rb +++ b/Library/Homebrew/test/cli/parser_spec.rb @@ -1,3 +1,4 @@ +# typed: true # frozen_string_literal: true require_relative "../../cli/parser" diff --git a/Library/Homebrew/test/cmd/--cache_spec.rb b/Library/Homebrew/test/cmd/--cache_spec.rb index d973d2ed8a49f..0a07d7d22b7c2 100644 --- a/Library/Homebrew/test/cmd/--cache_spec.rb +++ b/Library/Homebrew/test/cmd/--cache_spec.rb @@ -1,3 +1,4 @@ +# typed: true # frozen_string_literal: true require "cmd/--cache" diff --git a/Library/Homebrew/test/cmd/--caskroom_spec.rb b/Library/Homebrew/test/cmd/--caskroom_spec.rb index 4002f17e2dfb6..7d555216fc05b 100644 --- a/Library/Homebrew/test/cmd/--caskroom_spec.rb +++ b/Library/Homebrew/test/cmd/--caskroom_spec.rb @@ -1,3 +1,4 @@ +# typed: true # frozen_string_literal: true require "cmd/--caskroom" diff --git a/Library/Homebrew/test/cmd/--cellar_spec.rb b/Library/Homebrew/test/cmd/--cellar_spec.rb index 82eb47958c04b..f9240f28a8a91 100644 --- a/Library/Homebrew/test/cmd/--cellar_spec.rb +++ b/Library/Homebrew/test/cmd/--cellar_spec.rb @@ -1,3 +1,4 @@ +# typed: true # frozen_string_literal: true require "cmd/--cellar" diff --git a/Library/Homebrew/test/cmd/--env_spec.rb b/Library/Homebrew/test/cmd/--env_spec.rb index 9df3625a70208..0e5b2e878bae3 100644 --- a/Library/Homebrew/test/cmd/--env_spec.rb +++ b/Library/Homebrew/test/cmd/--env_spec.rb @@ -1,3 +1,4 @@ +# typed: true # frozen_string_literal: true require "cmd/--env" diff --git a/Library/Homebrew/test/cmd/--prefix_spec.rb b/Library/Homebrew/test/cmd/--prefix_spec.rb index 48efc0f51b070..973719f88e59e 100644 --- a/Library/Homebrew/test/cmd/--prefix_spec.rb +++ b/Library/Homebrew/test/cmd/--prefix_spec.rb @@ -1,3 +1,4 @@ +# typed: true # frozen_string_literal: true require "cmd/--prefix" diff --git a/Library/Homebrew/test/cmd/--repository_spec.rb b/Library/Homebrew/test/cmd/--repository_spec.rb index d26dd4342bf2f..7c0e97e77f02d 100644 --- a/Library/Homebrew/test/cmd/--repository_spec.rb +++ b/Library/Homebrew/test/cmd/--repository_spec.rb @@ -1,3 +1,4 @@ +# typed: true # frozen_string_literal: true RSpec.describe "brew --repository", type: :system do diff --git a/Library/Homebrew/test/cmd/--version_spec.rb b/Library/Homebrew/test/cmd/--version_spec.rb index 772fd5348cac2..e91244d44d602 100644 --- a/Library/Homebrew/test/cmd/--version_spec.rb +++ b/Library/Homebrew/test/cmd/--version_spec.rb @@ -1,3 +1,4 @@ +# typed: true # frozen_string_literal: true RSpec.describe "brew --version", type: :system do diff --git a/Library/Homebrew/test/cmd/alias_spec.rb b/Library/Homebrew/test/cmd/alias_spec.rb index d8985c0a8f707..ce54a7d412edf 100644 --- a/Library/Homebrew/test/cmd/alias_spec.rb +++ b/Library/Homebrew/test/cmd/alias_spec.rb @@ -1,3 +1,4 @@ +# typed: true # frozen_string_literal: true require "cmd/alias" diff --git a/Library/Homebrew/test/cmd/analytics_spec.rb b/Library/Homebrew/test/cmd/analytics_spec.rb index bd354451e93ea..fe3e19f147df1 100644 --- a/Library/Homebrew/test/cmd/analytics_spec.rb +++ b/Library/Homebrew/test/cmd/analytics_spec.rb @@ -1,3 +1,4 @@ +# typed: true # frozen_string_literal: true require "cmd/analytics" diff --git a/Library/Homebrew/test/cmd/autoremove_spec.rb b/Library/Homebrew/test/cmd/autoremove_spec.rb index 592325456faf3..b77d3b306b3a1 100644 --- a/Library/Homebrew/test/cmd/autoremove_spec.rb +++ b/Library/Homebrew/test/cmd/autoremove_spec.rb @@ -1,3 +1,4 @@ +# typed: true # frozen_string_literal: true require "cmd/autoremove" diff --git a/Library/Homebrew/test/cmd/bundle_spec.rb b/Library/Homebrew/test/cmd/bundle_spec.rb index 1c6d80a76c300..30aba81ce58ea 100644 --- a/Library/Homebrew/test/cmd/bundle_spec.rb +++ b/Library/Homebrew/test/cmd/bundle_spec.rb @@ -1,3 +1,4 @@ +# typed: true # frozen_string_literal: true require "cmd/bundle" diff --git a/Library/Homebrew/test/cmd/casks_spec.rb b/Library/Homebrew/test/cmd/casks_spec.rb index d70b5daf3417b..cc7e6a80b2e61 100644 --- a/Library/Homebrew/test/cmd/casks_spec.rb +++ b/Library/Homebrew/test/cmd/casks_spec.rb @@ -1,3 +1,4 @@ +# typed: true # frozen_string_literal: true RSpec.describe "brew casks", type: :system do diff --git a/Library/Homebrew/test/cmd/cleanup_spec.rb b/Library/Homebrew/test/cmd/cleanup_spec.rb index 098dc356d7131..ae8d4abcb17e3 100644 --- a/Library/Homebrew/test/cmd/cleanup_spec.rb +++ b/Library/Homebrew/test/cmd/cleanup_spec.rb @@ -1,3 +1,4 @@ +# typed: true # frozen_string_literal: true require "cmd/cleanup" diff --git a/Library/Homebrew/test/cmd/command-not-found-init_spec.rb b/Library/Homebrew/test/cmd/command-not-found-init_spec.rb index ceaaed4da596b..6314edfa86185 100644 --- a/Library/Homebrew/test/cmd/command-not-found-init_spec.rb +++ b/Library/Homebrew/test/cmd/command-not-found-init_spec.rb @@ -1,3 +1,4 @@ +# typed: true # frozen_string_literal: true require "cmd/shared_examples/args_parse" diff --git a/Library/Homebrew/test/cmd/command_spec.rb b/Library/Homebrew/test/cmd/command_spec.rb index c756c3792a103..9e7f837393dd1 100644 --- a/Library/Homebrew/test/cmd/command_spec.rb +++ b/Library/Homebrew/test/cmd/command_spec.rb @@ -1,3 +1,4 @@ +# typed: true # frozen_string_literal: true require "cmd/shared_examples/args_parse" diff --git a/Library/Homebrew/test/cmd/commands_spec.rb b/Library/Homebrew/test/cmd/commands_spec.rb index 9f7de67f11467..2ffe4874d63b8 100644 --- a/Library/Homebrew/test/cmd/commands_spec.rb +++ b/Library/Homebrew/test/cmd/commands_spec.rb @@ -1,3 +1,4 @@ +# typed: true # frozen_string_literal: true require "cmd/commands" diff --git a/Library/Homebrew/test/cmd/completions_spec.rb b/Library/Homebrew/test/cmd/completions_spec.rb index 6cc7cc2496765..6f9a2ae871b7b 100644 --- a/Library/Homebrew/test/cmd/completions_spec.rb +++ b/Library/Homebrew/test/cmd/completions_spec.rb @@ -1,3 +1,4 @@ +# typed: true # frozen_string_literal: true require "cmd/completions" diff --git a/Library/Homebrew/test/cmd/config_spec.rb b/Library/Homebrew/test/cmd/config_spec.rb index 9abdc634054de..1b0027c959071 100644 --- a/Library/Homebrew/test/cmd/config_spec.rb +++ b/Library/Homebrew/test/cmd/config_spec.rb @@ -1,3 +1,4 @@ +# typed: true # frozen_string_literal: true require "cmd/config" diff --git a/Library/Homebrew/test/cmd/custom-external-command_spec.rb b/Library/Homebrew/test/cmd/custom-external-command_spec.rb index cabfc5efd16fb..ef616de4b8fa2 100644 --- a/Library/Homebrew/test/cmd/custom-external-command_spec.rb +++ b/Library/Homebrew/test/cmd/custom-external-command_spec.rb @@ -1,3 +1,4 @@ +# typed: true # frozen_string_literal: true RSpec.describe "brew custom-external-command", :integration_test, type: :system do diff --git a/Library/Homebrew/test/cmd/deps_spec.rb b/Library/Homebrew/test/cmd/deps_spec.rb index 226c40d7cf3db..5936fdeef0304 100644 --- a/Library/Homebrew/test/cmd/deps_spec.rb +++ b/Library/Homebrew/test/cmd/deps_spec.rb @@ -1,3 +1,4 @@ +# typed: true # frozen_string_literal: true require "cmd/deps" diff --git a/Library/Homebrew/test/cmd/desc_spec.rb b/Library/Homebrew/test/cmd/desc_spec.rb index df296ce6f4c3a..e67f3d06c7626 100644 --- a/Library/Homebrew/test/cmd/desc_spec.rb +++ b/Library/Homebrew/test/cmd/desc_spec.rb @@ -1,3 +1,4 @@ +# typed: true # frozen_string_literal: true require "cmd/desc" diff --git a/Library/Homebrew/test/cmd/developer_spec.rb b/Library/Homebrew/test/cmd/developer_spec.rb index fcaefacdf8ae7..3c646e72fe9c2 100644 --- a/Library/Homebrew/test/cmd/developer_spec.rb +++ b/Library/Homebrew/test/cmd/developer_spec.rb @@ -1,3 +1,4 @@ +# typed: true # frozen_string_literal: true require "cmd/developer" diff --git a/Library/Homebrew/test/cmd/docs_spec.rb b/Library/Homebrew/test/cmd/docs_spec.rb index 6262e54cf4f27..7ec8869eff69a 100644 --- a/Library/Homebrew/test/cmd/docs_spec.rb +++ b/Library/Homebrew/test/cmd/docs_spec.rb @@ -1,3 +1,4 @@ +# typed: true # frozen_string_literal: true require "cmd/docs" diff --git a/Library/Homebrew/test/cmd/doctor_spec.rb b/Library/Homebrew/test/cmd/doctor_spec.rb index 2382cce8067ee..bc48c2d5bd253 100644 --- a/Library/Homebrew/test/cmd/doctor_spec.rb +++ b/Library/Homebrew/test/cmd/doctor_spec.rb @@ -1,3 +1,4 @@ +# typed: true # frozen_string_literal: true require "cmd/doctor" diff --git a/Library/Homebrew/test/cmd/fetch_spec.rb b/Library/Homebrew/test/cmd/fetch_spec.rb index b8a8241ca009b..030125bccda39 100644 --- a/Library/Homebrew/test/cmd/fetch_spec.rb +++ b/Library/Homebrew/test/cmd/fetch_spec.rb @@ -1,3 +1,4 @@ +# typed: true # frozen_string_literal: true require "cmd/fetch" diff --git a/Library/Homebrew/test/cmd/formulae_spec.rb b/Library/Homebrew/test/cmd/formulae_spec.rb index 714238aefa758..fadce0208bd2c 100644 --- a/Library/Homebrew/test/cmd/formulae_spec.rb +++ b/Library/Homebrew/test/cmd/formulae_spec.rb @@ -1,3 +1,4 @@ +# typed: true # frozen_string_literal: true RSpec.describe "brew formulae", type: :system do diff --git a/Library/Homebrew/test/cmd/gist-logs_spec.rb b/Library/Homebrew/test/cmd/gist-logs_spec.rb index 1b83ca3ad68d0..a6e62273e6195 100644 --- a/Library/Homebrew/test/cmd/gist-logs_spec.rb +++ b/Library/Homebrew/test/cmd/gist-logs_spec.rb @@ -1,3 +1,4 @@ +# typed: true # frozen_string_literal: true require "cmd/gist-logs" diff --git a/Library/Homebrew/test/cmd/help_spec.rb b/Library/Homebrew/test/cmd/help_spec.rb index 1301b5909da73..a446908b1e2f3 100644 --- a/Library/Homebrew/test/cmd/help_spec.rb +++ b/Library/Homebrew/test/cmd/help_spec.rb @@ -1,3 +1,4 @@ +# typed: true # frozen_string_literal: true require "cmd/help" diff --git a/Library/Homebrew/test/cmd/home_spec.rb b/Library/Homebrew/test/cmd/home_spec.rb index 5dfe5dde997b7..f990763c1abfd 100644 --- a/Library/Homebrew/test/cmd/home_spec.rb +++ b/Library/Homebrew/test/cmd/home_spec.rb @@ -1,3 +1,4 @@ +# typed: true # frozen_string_literal: true require "cmd/home" diff --git a/Library/Homebrew/test/cmd/info_spec.rb b/Library/Homebrew/test/cmd/info_spec.rb index 3ea10c010bc09..a2d90cf162632 100644 --- a/Library/Homebrew/test/cmd/info_spec.rb +++ b/Library/Homebrew/test/cmd/info_spec.rb @@ -1,3 +1,4 @@ +# typed: true # frozen_string_literal: true require "cmd/info" diff --git a/Library/Homebrew/test/cmd/install_spec.rb b/Library/Homebrew/test/cmd/install_spec.rb index 7086c28c6376a..a78b0a5c1f8c5 100644 --- a/Library/Homebrew/test/cmd/install_spec.rb +++ b/Library/Homebrew/test/cmd/install_spec.rb @@ -1,3 +1,4 @@ +# typed: true # frozen_string_literal: true require "cmd/install" diff --git a/Library/Homebrew/test/cmd/leaves_spec.rb b/Library/Homebrew/test/cmd/leaves_spec.rb index 69a19b8a7453a..9332c111690b7 100644 --- a/Library/Homebrew/test/cmd/leaves_spec.rb +++ b/Library/Homebrew/test/cmd/leaves_spec.rb @@ -1,3 +1,4 @@ +# typed: true # frozen_string_literal: true require "cmd/leaves" diff --git a/Library/Homebrew/test/cmd/link_spec.rb b/Library/Homebrew/test/cmd/link_spec.rb index 5827b8987e029..39a5e4c8278c7 100644 --- a/Library/Homebrew/test/cmd/link_spec.rb +++ b/Library/Homebrew/test/cmd/link_spec.rb @@ -1,3 +1,4 @@ +# typed: true # frozen_string_literal: true require "cmd/link" diff --git a/Library/Homebrew/test/cmd/list_spec.rb b/Library/Homebrew/test/cmd/list_spec.rb index 62ff3c8004d22..2431316152654 100644 --- a/Library/Homebrew/test/cmd/list_spec.rb +++ b/Library/Homebrew/test/cmd/list_spec.rb @@ -1,3 +1,4 @@ +# typed: true # frozen_string_literal: true require "cmd/list" diff --git a/Library/Homebrew/test/cmd/log_spec.rb b/Library/Homebrew/test/cmd/log_spec.rb index 4f91f9aeb2ed0..75ba722c7cc5a 100644 --- a/Library/Homebrew/test/cmd/log_spec.rb +++ b/Library/Homebrew/test/cmd/log_spec.rb @@ -1,3 +1,4 @@ +# typed: true # frozen_string_literal: true require "cmd/log" diff --git a/Library/Homebrew/test/cmd/mcp-server_spec.rb b/Library/Homebrew/test/cmd/mcp-server_spec.rb index 9a4ef1116f3a4..ce6089fd08823 100644 --- a/Library/Homebrew/test/cmd/mcp-server_spec.rb +++ b/Library/Homebrew/test/cmd/mcp-server_spec.rb @@ -1,3 +1,4 @@ +# typed: true # frozen_string_literal: true RSpec.describe "brew mcp-server", type: :system do diff --git a/Library/Homebrew/test/cmd/migrate_spec.rb b/Library/Homebrew/test/cmd/migrate_spec.rb index 913bfef6088c5..e5ba060693066 100644 --- a/Library/Homebrew/test/cmd/migrate_spec.rb +++ b/Library/Homebrew/test/cmd/migrate_spec.rb @@ -1,3 +1,4 @@ +# typed: true # frozen_string_literal: true require "cmd/migrate" diff --git a/Library/Homebrew/test/cmd/missing_spec.rb b/Library/Homebrew/test/cmd/missing_spec.rb index 3cb7353747962..a64d8503033c3 100644 --- a/Library/Homebrew/test/cmd/missing_spec.rb +++ b/Library/Homebrew/test/cmd/missing_spec.rb @@ -1,3 +1,4 @@ +# typed: true # frozen_string_literal: true require "cmd/missing" diff --git a/Library/Homebrew/test/cmd/nodenv-sync_spec.rb b/Library/Homebrew/test/cmd/nodenv-sync_spec.rb index 3f85ff760fd0d..4176921e20045 100644 --- a/Library/Homebrew/test/cmd/nodenv-sync_spec.rb +++ b/Library/Homebrew/test/cmd/nodenv-sync_spec.rb @@ -1,3 +1,4 @@ +# typed: true # frozen_string_literal: true require "cmd/nodenv-sync" diff --git a/Library/Homebrew/test/cmd/options_spec.rb b/Library/Homebrew/test/cmd/options_spec.rb index 53848baaf80bd..818b94330d688 100644 --- a/Library/Homebrew/test/cmd/options_spec.rb +++ b/Library/Homebrew/test/cmd/options_spec.rb @@ -1,3 +1,4 @@ +# typed: true # frozen_string_literal: true require "cmd/options" diff --git a/Library/Homebrew/test/cmd/outdated_spec.rb b/Library/Homebrew/test/cmd/outdated_spec.rb index c2af5d43b9aa2..7a5c156c321ce 100644 --- a/Library/Homebrew/test/cmd/outdated_spec.rb +++ b/Library/Homebrew/test/cmd/outdated_spec.rb @@ -1,3 +1,4 @@ +# typed: true # frozen_string_literal: true require "cmd/outdated" diff --git a/Library/Homebrew/test/cmd/pin_spec.rb b/Library/Homebrew/test/cmd/pin_spec.rb index 3bce4f9e9f958..9b9b4a5fa330d 100644 --- a/Library/Homebrew/test/cmd/pin_spec.rb +++ b/Library/Homebrew/test/cmd/pin_spec.rb @@ -1,3 +1,4 @@ +# typed: true # frozen_string_literal: true require "cmd/pin" diff --git a/Library/Homebrew/test/cmd/postinstall_spec.rb b/Library/Homebrew/test/cmd/postinstall_spec.rb index 4acab78340787..3fc74c2361317 100644 --- a/Library/Homebrew/test/cmd/postinstall_spec.rb +++ b/Library/Homebrew/test/cmd/postinstall_spec.rb @@ -1,3 +1,4 @@ +# typed: true # frozen_string_literal: true require "cmd/postinstall" diff --git a/Library/Homebrew/test/cmd/pyenv-sync_spec.rb b/Library/Homebrew/test/cmd/pyenv-sync_spec.rb index a462c2d917f80..0db1e4126d7e1 100644 --- a/Library/Homebrew/test/cmd/pyenv-sync_spec.rb +++ b/Library/Homebrew/test/cmd/pyenv-sync_spec.rb @@ -1,3 +1,4 @@ +# typed: true # frozen_string_literal: true require "cmd/pyenv-sync" diff --git a/Library/Homebrew/test/cmd/rbenv-sync_spec.rb b/Library/Homebrew/test/cmd/rbenv-sync_spec.rb index 7196f77e25c3e..5a277312c2efe 100644 --- a/Library/Homebrew/test/cmd/rbenv-sync_spec.rb +++ b/Library/Homebrew/test/cmd/rbenv-sync_spec.rb @@ -1,3 +1,4 @@ +# typed: true # frozen_string_literal: true require "cmd/rbenv-sync" diff --git a/Library/Homebrew/test/cmd/readall_spec.rb b/Library/Homebrew/test/cmd/readall_spec.rb index 00e2b78875b4c..c3da07064c543 100644 --- a/Library/Homebrew/test/cmd/readall_spec.rb +++ b/Library/Homebrew/test/cmd/readall_spec.rb @@ -1,3 +1,4 @@ +# typed: true # frozen_string_literal: true require "cmd/readall" diff --git a/Library/Homebrew/test/cmd/reinstall_spec.rb b/Library/Homebrew/test/cmd/reinstall_spec.rb index c2a2501964cac..2e92f6b7b2176 100644 --- a/Library/Homebrew/test/cmd/reinstall_spec.rb +++ b/Library/Homebrew/test/cmd/reinstall_spec.rb @@ -1,3 +1,4 @@ +# typed: true # frozen_string_literal: true require "extend/ENV" diff --git a/Library/Homebrew/test/cmd/search_spec.rb b/Library/Homebrew/test/cmd/search_spec.rb index 6efb80fe83d74..0cdcb9dce0c13 100644 --- a/Library/Homebrew/test/cmd/search_spec.rb +++ b/Library/Homebrew/test/cmd/search_spec.rb @@ -1,3 +1,4 @@ +# typed: true # frozen_string_literal: true require "cmd/search" diff --git a/Library/Homebrew/test/cmd/services_spec.rb b/Library/Homebrew/test/cmd/services_spec.rb index 0dcb18b88a5d9..61f3cbd3465e5 100644 --- a/Library/Homebrew/test/cmd/services_spec.rb +++ b/Library/Homebrew/test/cmd/services_spec.rb @@ -1,3 +1,4 @@ +# typed: true # frozen_string_literal: true require "cmd/services" diff --git a/Library/Homebrew/test/cmd/setup-ruby_spec.rb b/Library/Homebrew/test/cmd/setup-ruby_spec.rb index 7bff28754e2d5..188c2808f765f 100644 --- a/Library/Homebrew/test/cmd/setup-ruby_spec.rb +++ b/Library/Homebrew/test/cmd/setup-ruby_spec.rb @@ -1,3 +1,4 @@ +# typed: true # frozen_string_literal: true RSpec.describe "brew setup-ruby", type: :system do diff --git a/Library/Homebrew/test/cmd/shared_examples/args_parse.rb b/Library/Homebrew/test/cmd/shared_examples/args_parse.rb index 561cbcbfeb7c0..2a0d9832f0086 100644 --- a/Library/Homebrew/test/cmd/shared_examples/args_parse.rb +++ b/Library/Homebrew/test/cmd/shared_examples/args_parse.rb @@ -1,3 +1,4 @@ +# typed: true # frozen_string_literal: true RSpec.shared_examples "parseable arguments" do |command_name: nil| diff --git a/Library/Homebrew/test/cmd/shellenv_spec.rb b/Library/Homebrew/test/cmd/shellenv_spec.rb index 2a241b22702b2..9c6d4027115ae 100644 --- a/Library/Homebrew/test/cmd/shellenv_spec.rb +++ b/Library/Homebrew/test/cmd/shellenv_spec.rb @@ -1,3 +1,4 @@ +# typed: true # frozen_string_literal: true RSpec.describe "brew shellenv", type: :system do diff --git a/Library/Homebrew/test/cmd/source_spec.rb b/Library/Homebrew/test/cmd/source_spec.rb index 1aa40cfa9129e..758e2fd8699ad 100644 --- a/Library/Homebrew/test/cmd/source_spec.rb +++ b/Library/Homebrew/test/cmd/source_spec.rb @@ -1,3 +1,4 @@ +# typed: true # frozen_string_literal: true require "cmd/source" diff --git a/Library/Homebrew/test/cmd/tab_spec.rb b/Library/Homebrew/test/cmd/tab_spec.rb index db67e2ed9b43d..40f1522bb7613 100644 --- a/Library/Homebrew/test/cmd/tab_spec.rb +++ b/Library/Homebrew/test/cmd/tab_spec.rb @@ -1,3 +1,4 @@ +# typed: true # frozen_string_literal: true require "cmd/tab" diff --git a/Library/Homebrew/test/cmd/tap-info_spec.rb b/Library/Homebrew/test/cmd/tap-info_spec.rb index 78e96760daec7..c368868c26723 100644 --- a/Library/Homebrew/test/cmd/tap-info_spec.rb +++ b/Library/Homebrew/test/cmd/tap-info_spec.rb @@ -1,3 +1,4 @@ +# typed: true # frozen_string_literal: true require "cmd/shared_examples/args_parse" diff --git a/Library/Homebrew/test/cmd/tap_spec.rb b/Library/Homebrew/test/cmd/tap_spec.rb index b01d2ec937cbe..fb87717a1a54e 100644 --- a/Library/Homebrew/test/cmd/tap_spec.rb +++ b/Library/Homebrew/test/cmd/tap_spec.rb @@ -1,3 +1,4 @@ +# typed: true # frozen_string_literal: true require "cmd/shared_examples/args_parse" diff --git a/Library/Homebrew/test/cmd/unalias_spec.rb b/Library/Homebrew/test/cmd/unalias_spec.rb index 4a9d7994044c0..560c684dd3533 100644 --- a/Library/Homebrew/test/cmd/unalias_spec.rb +++ b/Library/Homebrew/test/cmd/unalias_spec.rb @@ -1,3 +1,4 @@ +# typed: true # frozen_string_literal: true require "cmd/unalias" diff --git a/Library/Homebrew/test/cmd/uninstall_spec.rb b/Library/Homebrew/test/cmd/uninstall_spec.rb index 22b3368252e79..cf23efd1e7452 100644 --- a/Library/Homebrew/test/cmd/uninstall_spec.rb +++ b/Library/Homebrew/test/cmd/uninstall_spec.rb @@ -1,3 +1,4 @@ +# typed: true # frozen_string_literal: true require "cmd/uninstall" diff --git a/Library/Homebrew/test/cmd/unlink_spec.rb b/Library/Homebrew/test/cmd/unlink_spec.rb index e00fd8311dfdf..f0f53531b9c27 100644 --- a/Library/Homebrew/test/cmd/unlink_spec.rb +++ b/Library/Homebrew/test/cmd/unlink_spec.rb @@ -1,3 +1,4 @@ +# typed: true # frozen_string_literal: true require "cmd/shared_examples/args_parse" diff --git a/Library/Homebrew/test/cmd/unpin_spec.rb b/Library/Homebrew/test/cmd/unpin_spec.rb index 1700a5c209a19..678d840053bc2 100644 --- a/Library/Homebrew/test/cmd/unpin_spec.rb +++ b/Library/Homebrew/test/cmd/unpin_spec.rb @@ -1,3 +1,4 @@ +# typed: true # frozen_string_literal: true require "cmd/shared_examples/args_parse" diff --git a/Library/Homebrew/test/cmd/untap_spec.rb b/Library/Homebrew/test/cmd/untap_spec.rb index 8100afc00e2cb..06ea83ae6fa53 100644 --- a/Library/Homebrew/test/cmd/untap_spec.rb +++ b/Library/Homebrew/test/cmd/untap_spec.rb @@ -1,3 +1,4 @@ +# typed: true # frozen_string_literal: true require "cmd/shared_examples/args_parse" diff --git a/Library/Homebrew/test/cmd/update-report_spec.rb b/Library/Homebrew/test/cmd/update-report_spec.rb index c849449c1de43..9d9e32adcf609 100644 --- a/Library/Homebrew/test/cmd/update-report_spec.rb +++ b/Library/Homebrew/test/cmd/update-report_spec.rb @@ -1,3 +1,4 @@ +# typed: true # frozen_string_literal: true require "cmd/update-report" diff --git a/Library/Homebrew/test/cmd/upgrade_spec.rb b/Library/Homebrew/test/cmd/upgrade_spec.rb index 4ae44f6dbdb4e..c877b01e73133 100644 --- a/Library/Homebrew/test/cmd/upgrade_spec.rb +++ b/Library/Homebrew/test/cmd/upgrade_spec.rb @@ -1,3 +1,4 @@ +# typed: true # frozen_string_literal: true require "cmd/shared_examples/args_parse" diff --git a/Library/Homebrew/test/cmd/uses_spec.rb b/Library/Homebrew/test/cmd/uses_spec.rb index 85a38abbfc0c7..60e7ac761cd79 100644 --- a/Library/Homebrew/test/cmd/uses_spec.rb +++ b/Library/Homebrew/test/cmd/uses_spec.rb @@ -1,3 +1,4 @@ +# typed: true # frozen_string_literal: true require "cli/named_args" diff --git a/Library/Homebrew/test/cmd/version-install_spec.rb b/Library/Homebrew/test/cmd/version-install_spec.rb index b48e52277a476..c528e530c65a9 100644 --- a/Library/Homebrew/test/cmd/version-install_spec.rb +++ b/Library/Homebrew/test/cmd/version-install_spec.rb @@ -1,3 +1,4 @@ +# typed: true # frozen_string_literal: true require "cmd/shared_examples/args_parse" diff --git a/Library/Homebrew/test/cmd/which-formula_spec.rb b/Library/Homebrew/test/cmd/which-formula_spec.rb index 28cfebf901b79..5c8764522463f 100644 --- a/Library/Homebrew/test/cmd/which-formula_spec.rb +++ b/Library/Homebrew/test/cmd/which-formula_spec.rb @@ -1,3 +1,4 @@ +# typed: true # frozen_string_literal: true require "cmd/shared_examples/args_parse" diff --git a/Library/Homebrew/test/commands_spec.rb b/Library/Homebrew/test/commands_spec.rb index 9226f383519b2..8b58e016f19d2 100644 --- a/Library/Homebrew/test/commands_spec.rb +++ b/Library/Homebrew/test/commands_spec.rb @@ -1,3 +1,4 @@ +# typed: true # frozen_string_literal: true require "commands" diff --git a/Library/Homebrew/test/compiler_failure_spec.rb b/Library/Homebrew/test/compiler_failure_spec.rb index a30870c4f9e2c..8278107a9e0a4 100644 --- a/Library/Homebrew/test/compiler_failure_spec.rb +++ b/Library/Homebrew/test/compiler_failure_spec.rb @@ -1,3 +1,4 @@ +# typed: true # frozen_string_literal: true require "compilers" diff --git a/Library/Homebrew/test/compiler_selector_spec.rb b/Library/Homebrew/test/compiler_selector_spec.rb index 91e3f5358f3fd..109f79e959c0f 100644 --- a/Library/Homebrew/test/compiler_selector_spec.rb +++ b/Library/Homebrew/test/compiler_selector_spec.rb @@ -1,3 +1,4 @@ +# typed: true # frozen_string_literal: true require "compilers" diff --git a/Library/Homebrew/test/completions_spec.rb b/Library/Homebrew/test/completions_spec.rb index 481ed03414a40..32a52b0404c5e 100644 --- a/Library/Homebrew/test/completions_spec.rb +++ b/Library/Homebrew/test/completions_spec.rb @@ -1,3 +1,4 @@ +# typed: true # frozen_string_literal: true require "completions" diff --git a/Library/Homebrew/test/cxxstdlib_spec.rb b/Library/Homebrew/test/cxxstdlib_spec.rb index b5bb1e780ccaa..02aea0b257b27 100644 --- a/Library/Homebrew/test/cxxstdlib_spec.rb +++ b/Library/Homebrew/test/cxxstdlib_spec.rb @@ -1,3 +1,4 @@ +# typed: true # frozen_string_literal: true require "formula" diff --git a/Library/Homebrew/test/dependable_spec.rb b/Library/Homebrew/test/dependable_spec.rb index 09943057f6a3a..703c2d19579de 100644 --- a/Library/Homebrew/test/dependable_spec.rb +++ b/Library/Homebrew/test/dependable_spec.rb @@ -1,3 +1,4 @@ +# typed: true # frozen_string_literal: true require "dependable" diff --git a/Library/Homebrew/test/dependencies_helpers_spec.rb b/Library/Homebrew/test/dependencies_helpers_spec.rb index 75dc834bd47f5..32774c5ea4d20 100644 --- a/Library/Homebrew/test/dependencies_helpers_spec.rb +++ b/Library/Homebrew/test/dependencies_helpers_spec.rb @@ -1,3 +1,4 @@ +# typed: true # frozen_string_literal: true require "dependencies_helpers" diff --git a/Library/Homebrew/test/dependencies_spec.rb b/Library/Homebrew/test/dependencies_spec.rb index 6f2c2e80a4d00..14d8a60334abd 100644 --- a/Library/Homebrew/test/dependencies_spec.rb +++ b/Library/Homebrew/test/dependencies_spec.rb @@ -1,3 +1,4 @@ +# typed: true # frozen_string_literal: true require "dependencies" diff --git a/Library/Homebrew/test/dependency_collector_spec.rb b/Library/Homebrew/test/dependency_collector_spec.rb index 5d7b84906d61a..e43b5c31b66ee 100644 --- a/Library/Homebrew/test/dependency_collector_spec.rb +++ b/Library/Homebrew/test/dependency_collector_spec.rb @@ -1,3 +1,4 @@ +# typed: true # frozen_string_literal: true require "dependency_collector" diff --git a/Library/Homebrew/test/dependency_expansion_spec.rb b/Library/Homebrew/test/dependency_expansion_spec.rb index 7876ecc50ec8d..ad68076d1cc3c 100644 --- a/Library/Homebrew/test/dependency_expansion_spec.rb +++ b/Library/Homebrew/test/dependency_expansion_spec.rb @@ -1,3 +1,4 @@ +# typed: true # frozen_string_literal: true require "dependency" diff --git a/Library/Homebrew/test/dependency_spec.rb b/Library/Homebrew/test/dependency_spec.rb index b7af10551b0c6..59f9657a14865 100644 --- a/Library/Homebrew/test/dependency_spec.rb +++ b/Library/Homebrew/test/dependency_spec.rb @@ -1,3 +1,4 @@ +# typed: true # frozen_string_literal: true require "dependency" diff --git a/Library/Homebrew/test/deprecate_disable_spec.rb b/Library/Homebrew/test/deprecate_disable_spec.rb index 0110e6e209bba..03ca294668e28 100644 --- a/Library/Homebrew/test/deprecate_disable_spec.rb +++ b/Library/Homebrew/test/deprecate_disable_spec.rb @@ -1,3 +1,4 @@ +# typed: true # frozen_string_literal: true require "deprecate_disable" diff --git a/Library/Homebrew/test/description_cache_store_spec.rb b/Library/Homebrew/test/description_cache_store_spec.rb index f5a3ccff17cae..d5389aaf5df26 100644 --- a/Library/Homebrew/test/description_cache_store_spec.rb +++ b/Library/Homebrew/test/description_cache_store_spec.rb @@ -1,3 +1,4 @@ +# typed: true # frozen_string_literal: true require "cmd/update-report" diff --git a/Library/Homebrew/test/descriptions_spec.rb b/Library/Homebrew/test/descriptions_spec.rb index 1bbfcf0ed12c8..1fa70d5289fec 100644 --- a/Library/Homebrew/test/descriptions_spec.rb +++ b/Library/Homebrew/test/descriptions_spec.rb @@ -1,3 +1,4 @@ +# typed: true # frozen_string_literal: true require "descriptions" diff --git a/Library/Homebrew/test/dev-cmd/audit_spec.rb b/Library/Homebrew/test/dev-cmd/audit_spec.rb index a27ca9e2e12a5..c2ab9f2816ad3 100644 --- a/Library/Homebrew/test/dev-cmd/audit_spec.rb +++ b/Library/Homebrew/test/dev-cmd/audit_spec.rb @@ -1,3 +1,4 @@ +# typed: true # frozen_string_literal: true require "dev-cmd/audit" diff --git a/Library/Homebrew/test/dev-cmd/bottle_spec.rb b/Library/Homebrew/test/dev-cmd/bottle_spec.rb index 84fd20938add2..00ec3ada244b4 100644 --- a/Library/Homebrew/test/dev-cmd/bottle_spec.rb +++ b/Library/Homebrew/test/dev-cmd/bottle_spec.rb @@ -1,3 +1,4 @@ +# typed: true # frozen_string_literal: true require "cmd/shared_examples/args_parse" diff --git a/Library/Homebrew/test/dev-cmd/bump-cask-pr_spec.rb b/Library/Homebrew/test/dev-cmd/bump-cask-pr_spec.rb index 8a9bf1f3b344e..eaf84a0138028 100644 --- a/Library/Homebrew/test/dev-cmd/bump-cask-pr_spec.rb +++ b/Library/Homebrew/test/dev-cmd/bump-cask-pr_spec.rb @@ -1,3 +1,4 @@ +# typed: true # frozen_string_literal: true require "cmd/shared_examples/args_parse" diff --git a/Library/Homebrew/test/dev-cmd/bump-formula-pr_spec.rb b/Library/Homebrew/test/dev-cmd/bump-formula-pr_spec.rb index 2bde7a8d2e4b9..89f2760d1fbe5 100644 --- a/Library/Homebrew/test/dev-cmd/bump-formula-pr_spec.rb +++ b/Library/Homebrew/test/dev-cmd/bump-formula-pr_spec.rb @@ -1,3 +1,4 @@ +# typed: true # frozen_string_literal: true require "cmd/shared_examples/args_parse" diff --git a/Library/Homebrew/test/dev-cmd/bump-revision_spec.rb b/Library/Homebrew/test/dev-cmd/bump-revision_spec.rb index e6d8d516cc3cb..2caab94797ee6 100644 --- a/Library/Homebrew/test/dev-cmd/bump-revision_spec.rb +++ b/Library/Homebrew/test/dev-cmd/bump-revision_spec.rb @@ -1,3 +1,4 @@ +# typed: true # frozen_string_literal: true require "cmd/shared_examples/args_parse" diff --git a/Library/Homebrew/test/dev-cmd/bump-unversioned-casks_spec.rb b/Library/Homebrew/test/dev-cmd/bump-unversioned-casks_spec.rb index 48250d51d4a8d..d50dcc2e6744f 100644 --- a/Library/Homebrew/test/dev-cmd/bump-unversioned-casks_spec.rb +++ b/Library/Homebrew/test/dev-cmd/bump-unversioned-casks_spec.rb @@ -1,3 +1,4 @@ +# typed: true # frozen_string_literal: true require "cmd/shared_examples/args_parse" diff --git a/Library/Homebrew/test/dev-cmd/bump_spec.rb b/Library/Homebrew/test/dev-cmd/bump_spec.rb index 49ea78efc45b3..450c0e7294aa9 100644 --- a/Library/Homebrew/test/dev-cmd/bump_spec.rb +++ b/Library/Homebrew/test/dev-cmd/bump_spec.rb @@ -1,3 +1,4 @@ +# typed: true # frozen_string_literal: true require "cmd/shared_examples/args_parse" diff --git a/Library/Homebrew/test/dev-cmd/cat_spec.rb b/Library/Homebrew/test/dev-cmd/cat_spec.rb index b3789b8856002..51156c860910d 100644 --- a/Library/Homebrew/test/dev-cmd/cat_spec.rb +++ b/Library/Homebrew/test/dev-cmd/cat_spec.rb @@ -1,3 +1,4 @@ +# typed: true # frozen_string_literal: true require "cmd/shared_examples/args_parse" diff --git a/Library/Homebrew/test/dev-cmd/contributions_spec.rb b/Library/Homebrew/test/dev-cmd/contributions_spec.rb index e49fc847d9e24..7fbf1e8d3f293 100644 --- a/Library/Homebrew/test/dev-cmd/contributions_spec.rb +++ b/Library/Homebrew/test/dev-cmd/contributions_spec.rb @@ -1,3 +1,4 @@ +# typed: true # frozen_string_literal: true require "cmd/shared_examples/args_parse" diff --git a/Library/Homebrew/test/dev-cmd/create_spec.rb b/Library/Homebrew/test/dev-cmd/create_spec.rb index 72b76b52f9348..393c5d01bc4bf 100644 --- a/Library/Homebrew/test/dev-cmd/create_spec.rb +++ b/Library/Homebrew/test/dev-cmd/create_spec.rb @@ -1,3 +1,4 @@ +# typed: true # frozen_string_literal: true require "cmd/shared_examples/args_parse" diff --git a/Library/Homebrew/test/dev-cmd/determine-test-runners_spec.rb b/Library/Homebrew/test/dev-cmd/determine-test-runners_spec.rb index 498ad3a79d8f4..e6bc3c01370a3 100644 --- a/Library/Homebrew/test/dev-cmd/determine-test-runners_spec.rb +++ b/Library/Homebrew/test/dev-cmd/determine-test-runners_spec.rb @@ -1,3 +1,4 @@ +# typed: true # frozen_string_literal: true require "dev-cmd/determine-test-runners" diff --git a/Library/Homebrew/test/dev-cmd/dispatch-build-bottle_spec.rb b/Library/Homebrew/test/dev-cmd/dispatch-build-bottle_spec.rb index 84c329bc3bdfb..8dd06dda70a18 100644 --- a/Library/Homebrew/test/dev-cmd/dispatch-build-bottle_spec.rb +++ b/Library/Homebrew/test/dev-cmd/dispatch-build-bottle_spec.rb @@ -1,3 +1,4 @@ +# typed: true # frozen_string_literal: true require "cmd/shared_examples/args_parse" diff --git a/Library/Homebrew/test/dev-cmd/edit_spec.rb b/Library/Homebrew/test/dev-cmd/edit_spec.rb index 0824976c6a902..dbaffe3b48a16 100644 --- a/Library/Homebrew/test/dev-cmd/edit_spec.rb +++ b/Library/Homebrew/test/dev-cmd/edit_spec.rb @@ -1,3 +1,4 @@ +# typed: true # frozen_string_literal: true require "cmd/shared_examples/args_parse" diff --git a/Library/Homebrew/test/dev-cmd/extract_spec.rb b/Library/Homebrew/test/dev-cmd/extract_spec.rb index 3a7ad97ff4d72..54d75f332c6f7 100644 --- a/Library/Homebrew/test/dev-cmd/extract_spec.rb +++ b/Library/Homebrew/test/dev-cmd/extract_spec.rb @@ -1,3 +1,4 @@ +# typed: true # frozen_string_literal: true require "cmd/shared_examples/args_parse" diff --git a/Library/Homebrew/test/dev-cmd/formula-analytics_spec.rb b/Library/Homebrew/test/dev-cmd/formula-analytics_spec.rb index 76704d290958f..51eb4f6f77592 100644 --- a/Library/Homebrew/test/dev-cmd/formula-analytics_spec.rb +++ b/Library/Homebrew/test/dev-cmd/formula-analytics_spec.rb @@ -1,3 +1,4 @@ +# typed: true # frozen_string_literal: true require "cmd/shared_examples/args_parse" diff --git a/Library/Homebrew/test/dev-cmd/formula_spec.rb b/Library/Homebrew/test/dev-cmd/formula_spec.rb index 59acf64bfa243..c5a81849d0e4e 100644 --- a/Library/Homebrew/test/dev-cmd/formula_spec.rb +++ b/Library/Homebrew/test/dev-cmd/formula_spec.rb @@ -1,3 +1,4 @@ +# typed: true # frozen_string_literal: true require "cmd/shared_examples/args_parse" diff --git a/Library/Homebrew/test/dev-cmd/generate-analytics-api_spec.rb b/Library/Homebrew/test/dev-cmd/generate-analytics-api_spec.rb index 1253d97206a82..eb28d36f18858 100644 --- a/Library/Homebrew/test/dev-cmd/generate-analytics-api_spec.rb +++ b/Library/Homebrew/test/dev-cmd/generate-analytics-api_spec.rb @@ -1,3 +1,4 @@ +# typed: true # frozen_string_literal: true require "cmd/shared_examples/args_parse" diff --git a/Library/Homebrew/test/dev-cmd/generate-cask-api_spec.rb b/Library/Homebrew/test/dev-cmd/generate-cask-api_spec.rb index 426c4b9cb113e..86329c7cf4c4a 100644 --- a/Library/Homebrew/test/dev-cmd/generate-cask-api_spec.rb +++ b/Library/Homebrew/test/dev-cmd/generate-cask-api_spec.rb @@ -1,3 +1,4 @@ +# typed: true # frozen_string_literal: true require "cmd/shared_examples/args_parse" diff --git a/Library/Homebrew/test/dev-cmd/generate-cask-ci-matrix_spec.rb b/Library/Homebrew/test/dev-cmd/generate-cask-ci-matrix_spec.rb index d2ccb110d4521..d32b9f57fd664 100644 --- a/Library/Homebrew/test/dev-cmd/generate-cask-ci-matrix_spec.rb +++ b/Library/Homebrew/test/dev-cmd/generate-cask-ci-matrix_spec.rb @@ -1,3 +1,4 @@ +# typed: true # frozen_string_literal: true require "cmd/shared_examples/args_parse" diff --git a/Library/Homebrew/test/dev-cmd/generate-formula-api_spec.rb b/Library/Homebrew/test/dev-cmd/generate-formula-api_spec.rb index 74136d6645a55..22e309b4a902d 100644 --- a/Library/Homebrew/test/dev-cmd/generate-formula-api_spec.rb +++ b/Library/Homebrew/test/dev-cmd/generate-formula-api_spec.rb @@ -1,3 +1,4 @@ +# typed: true # frozen_string_literal: true require "cmd/shared_examples/args_parse" diff --git a/Library/Homebrew/test/dev-cmd/generate-man-completions_spec.rb b/Library/Homebrew/test/dev-cmd/generate-man-completions_spec.rb index 6ac40d1af1572..938795f1cbce2 100644 --- a/Library/Homebrew/test/dev-cmd/generate-man-completions_spec.rb +++ b/Library/Homebrew/test/dev-cmd/generate-man-completions_spec.rb @@ -1,3 +1,4 @@ +# typed: true # frozen_string_literal: true require "cmd/shared_examples/args_parse" diff --git a/Library/Homebrew/test/dev-cmd/generate-zap_spec.rb b/Library/Homebrew/test/dev-cmd/generate-zap_spec.rb index 6ae89243fffdc..86abcdb01a1b3 100644 --- a/Library/Homebrew/test/dev-cmd/generate-zap_spec.rb +++ b/Library/Homebrew/test/dev-cmd/generate-zap_spec.rb @@ -1,3 +1,4 @@ +# typed: true # frozen_string_literal: true require "cmd/shared_examples/args_parse" diff --git a/Library/Homebrew/test/dev-cmd/install-bundler-gems_spec.rb b/Library/Homebrew/test/dev-cmd/install-bundler-gems_spec.rb index d7d33e739efeb..4d6f85ea01742 100644 --- a/Library/Homebrew/test/dev-cmd/install-bundler-gems_spec.rb +++ b/Library/Homebrew/test/dev-cmd/install-bundler-gems_spec.rb @@ -1,3 +1,4 @@ +# typed: true # frozen_string_literal: true require "cmd/shared_examples/args_parse" diff --git a/Library/Homebrew/test/dev-cmd/irb_spec.rb b/Library/Homebrew/test/dev-cmd/irb_spec.rb index 3b3dfecd8376f..fdb021310a29f 100644 --- a/Library/Homebrew/test/dev-cmd/irb_spec.rb +++ b/Library/Homebrew/test/dev-cmd/irb_spec.rb @@ -1,3 +1,4 @@ +# typed: true # frozen_string_literal: true require "cmd/shared_examples/args_parse" diff --git a/Library/Homebrew/test/dev-cmd/lgtm_spec.rb b/Library/Homebrew/test/dev-cmd/lgtm_spec.rb index 7980ad063ef1e..74385a2a7e297 100644 --- a/Library/Homebrew/test/dev-cmd/lgtm_spec.rb +++ b/Library/Homebrew/test/dev-cmd/lgtm_spec.rb @@ -1,3 +1,4 @@ +# typed: true # frozen_string_literal: true require "cmd/shared_examples/args_parse" diff --git a/Library/Homebrew/test/dev-cmd/linkage_spec.rb b/Library/Homebrew/test/dev-cmd/linkage_spec.rb index 86178eda06255..9afa50e21abe4 100644 --- a/Library/Homebrew/test/dev-cmd/linkage_spec.rb +++ b/Library/Homebrew/test/dev-cmd/linkage_spec.rb @@ -1,3 +1,4 @@ +# typed: true # frozen_string_literal: true require "cmd/shared_examples/args_parse" diff --git a/Library/Homebrew/test/dev-cmd/livecheck_spec.rb b/Library/Homebrew/test/dev-cmd/livecheck_spec.rb index e4cfa35649b67..bad84076d6a2d 100644 --- a/Library/Homebrew/test/dev-cmd/livecheck_spec.rb +++ b/Library/Homebrew/test/dev-cmd/livecheck_spec.rb @@ -1,3 +1,4 @@ +# typed: true # frozen_string_literal: true require "cmd/shared_examples/args_parse" diff --git a/Library/Homebrew/test/dev-cmd/pr-automerge_spec.rb b/Library/Homebrew/test/dev-cmd/pr-automerge_spec.rb index 8fda0193f3ad1..7269eac9aed5c 100644 --- a/Library/Homebrew/test/dev-cmd/pr-automerge_spec.rb +++ b/Library/Homebrew/test/dev-cmd/pr-automerge_spec.rb @@ -1,3 +1,4 @@ +# typed: true # frozen_string_literal: true require "cmd/shared_examples/args_parse" diff --git a/Library/Homebrew/test/dev-cmd/pr-publish_spec.rb b/Library/Homebrew/test/dev-cmd/pr-publish_spec.rb index 66384ab898937..0d67f7ec15387 100644 --- a/Library/Homebrew/test/dev-cmd/pr-publish_spec.rb +++ b/Library/Homebrew/test/dev-cmd/pr-publish_spec.rb @@ -1,3 +1,4 @@ +# typed: true # frozen_string_literal: true require "cmd/shared_examples/args_parse" diff --git a/Library/Homebrew/test/dev-cmd/pr-pull_spec.rb b/Library/Homebrew/test/dev-cmd/pr-pull_spec.rb index a79ed7eb360d4..54d4f9b15a569 100644 --- a/Library/Homebrew/test/dev-cmd/pr-pull_spec.rb +++ b/Library/Homebrew/test/dev-cmd/pr-pull_spec.rb @@ -1,3 +1,4 @@ +# typed: true # frozen_string_literal: true require "dev-cmd/pr-pull" diff --git a/Library/Homebrew/test/dev-cmd/pr-upload_spec.rb b/Library/Homebrew/test/dev-cmd/pr-upload_spec.rb index 2f4774f4d19a9..da979ecc17ffe 100644 --- a/Library/Homebrew/test/dev-cmd/pr-upload_spec.rb +++ b/Library/Homebrew/test/dev-cmd/pr-upload_spec.rb @@ -1,3 +1,4 @@ +# typed: true # frozen_string_literal: true require "cmd/shared_examples/args_parse" diff --git a/Library/Homebrew/test/dev-cmd/prof_spec.rb b/Library/Homebrew/test/dev-cmd/prof_spec.rb index 4956f971ece2a..be6fda4800d06 100644 --- a/Library/Homebrew/test/dev-cmd/prof_spec.rb +++ b/Library/Homebrew/test/dev-cmd/prof_spec.rb @@ -1,3 +1,4 @@ +# typed: true # frozen_string_literal: true require "cmd/shared_examples/args_parse" diff --git a/Library/Homebrew/test/dev-cmd/release_spec.rb b/Library/Homebrew/test/dev-cmd/release_spec.rb index 000cc693c8a40..fca66fb56d507 100644 --- a/Library/Homebrew/test/dev-cmd/release_spec.rb +++ b/Library/Homebrew/test/dev-cmd/release_spec.rb @@ -1,3 +1,4 @@ +# typed: true # frozen_string_literal: true require "cmd/shared_examples/args_parse" diff --git a/Library/Homebrew/test/dev-cmd/ruby_spec.rb b/Library/Homebrew/test/dev-cmd/ruby_spec.rb index 02833b4ad6510..49b9a0650feee 100644 --- a/Library/Homebrew/test/dev-cmd/ruby_spec.rb +++ b/Library/Homebrew/test/dev-cmd/ruby_spec.rb @@ -1,3 +1,4 @@ +# typed: true # frozen_string_literal: true require "cmd/shared_examples/args_parse" diff --git a/Library/Homebrew/test/dev-cmd/sh_spec.rb b/Library/Homebrew/test/dev-cmd/sh_spec.rb index 60c4c206f238f..573b7e0eee97d 100644 --- a/Library/Homebrew/test/dev-cmd/sh_spec.rb +++ b/Library/Homebrew/test/dev-cmd/sh_spec.rb @@ -1,3 +1,4 @@ +# typed: true # frozen_string_literal: true require "cmd/shared_examples/args_parse" diff --git a/Library/Homebrew/test/dev-cmd/style_spec.rb b/Library/Homebrew/test/dev-cmd/style_spec.rb index 0b8f2edaf3573..caddaf66d8ed9 100644 --- a/Library/Homebrew/test/dev-cmd/style_spec.rb +++ b/Library/Homebrew/test/dev-cmd/style_spec.rb @@ -1,3 +1,4 @@ +# typed: true # frozen_string_literal: true require "cmd/shared_examples/args_parse" diff --git a/Library/Homebrew/test/dev-cmd/tap-new_spec.rb b/Library/Homebrew/test/dev-cmd/tap-new_spec.rb index 8b535dd0ff743..4ebe6bc09432d 100644 --- a/Library/Homebrew/test/dev-cmd/tap-new_spec.rb +++ b/Library/Homebrew/test/dev-cmd/tap-new_spec.rb @@ -1,3 +1,4 @@ +# typed: true # frozen_string_literal: true require "cmd/shared_examples/args_parse" diff --git a/Library/Homebrew/test/dev-cmd/test_spec.rb b/Library/Homebrew/test/dev-cmd/test_spec.rb index 0eb0dc8b2151f..424717ba35676 100644 --- a/Library/Homebrew/test/dev-cmd/test_spec.rb +++ b/Library/Homebrew/test/dev-cmd/test_spec.rb @@ -1,3 +1,4 @@ +# typed: true # frozen_string_literal: true require "cmd/shared_examples/args_parse" diff --git a/Library/Homebrew/test/dev-cmd/tests_spec.rb b/Library/Homebrew/test/dev-cmd/tests_spec.rb index eef6e0aec1811..3448b3e1c7c86 100644 --- a/Library/Homebrew/test/dev-cmd/tests_spec.rb +++ b/Library/Homebrew/test/dev-cmd/tests_spec.rb @@ -1,3 +1,4 @@ +# typed: true # frozen_string_literal: true require "cmd/shared_examples/args_parse" diff --git a/Library/Homebrew/test/dev-cmd/typecheck_spec.rb b/Library/Homebrew/test/dev-cmd/typecheck_spec.rb index 255f1a9edae6b..b6d953b6650da 100644 --- a/Library/Homebrew/test/dev-cmd/typecheck_spec.rb +++ b/Library/Homebrew/test/dev-cmd/typecheck_spec.rb @@ -1,3 +1,4 @@ +# typed: true # frozen_string_literal: true require "cmd/shared_examples/args_parse" diff --git a/Library/Homebrew/test/dev-cmd/unbottled_spec.rb b/Library/Homebrew/test/dev-cmd/unbottled_spec.rb index f209b17ca6a11..1d97f1224c16e 100644 --- a/Library/Homebrew/test/dev-cmd/unbottled_spec.rb +++ b/Library/Homebrew/test/dev-cmd/unbottled_spec.rb @@ -1,3 +1,4 @@ +# typed: true # frozen_string_literal: true require "cmd/shared_examples/args_parse" diff --git a/Library/Homebrew/test/dev-cmd/unpack_spec.rb b/Library/Homebrew/test/dev-cmd/unpack_spec.rb index b31e2200603a4..0d099278bd7de 100644 --- a/Library/Homebrew/test/dev-cmd/unpack_spec.rb +++ b/Library/Homebrew/test/dev-cmd/unpack_spec.rb @@ -1,3 +1,4 @@ +# typed: true # frozen_string_literal: true require "cmd/shared_examples/args_parse" diff --git a/Library/Homebrew/test/dev-cmd/update-license-data_spec.rb b/Library/Homebrew/test/dev-cmd/update-license-data_spec.rb index e4505c604f4b1..fba9eed009a2c 100644 --- a/Library/Homebrew/test/dev-cmd/update-license-data_spec.rb +++ b/Library/Homebrew/test/dev-cmd/update-license-data_spec.rb @@ -1,3 +1,4 @@ +# typed: true # frozen_string_literal: true require "cmd/shared_examples/args_parse" diff --git a/Library/Homebrew/test/dev-cmd/update-maintainers_spec.rb b/Library/Homebrew/test/dev-cmd/update-maintainers_spec.rb index 2b953c399fe34..336483cde8972 100644 --- a/Library/Homebrew/test/dev-cmd/update-maintainers_spec.rb +++ b/Library/Homebrew/test/dev-cmd/update-maintainers_spec.rb @@ -1,3 +1,4 @@ +# typed: true # frozen_string_literal: true require "cmd/shared_examples/args_parse" diff --git a/Library/Homebrew/test/dev-cmd/update-perl-resources_spec.rb b/Library/Homebrew/test/dev-cmd/update-perl-resources_spec.rb index cec9170c24dc8..5d3e033d980db 100644 --- a/Library/Homebrew/test/dev-cmd/update-perl-resources_spec.rb +++ b/Library/Homebrew/test/dev-cmd/update-perl-resources_spec.rb @@ -1,3 +1,4 @@ +# typed: true # frozen_string_literal: true require "cmd/shared_examples/args_parse" diff --git a/Library/Homebrew/test/dev-cmd/update-python-resources_spec.rb b/Library/Homebrew/test/dev-cmd/update-python-resources_spec.rb index 2487d8eced3f8..69e0e52134f93 100644 --- a/Library/Homebrew/test/dev-cmd/update-python-resources_spec.rb +++ b/Library/Homebrew/test/dev-cmd/update-python-resources_spec.rb @@ -1,3 +1,4 @@ +# typed: true # frozen_string_literal: true require "cmd/shared_examples/args_parse" diff --git a/Library/Homebrew/test/dev-cmd/update-sponsors_spec.rb b/Library/Homebrew/test/dev-cmd/update-sponsors_spec.rb index a9354f7ee8aa1..6923f20dcd4da 100644 --- a/Library/Homebrew/test/dev-cmd/update-sponsors_spec.rb +++ b/Library/Homebrew/test/dev-cmd/update-sponsors_spec.rb @@ -1,3 +1,4 @@ +# typed: true # frozen_string_literal: true require "cmd/shared_examples/args_parse" diff --git a/Library/Homebrew/test/dev-cmd/update-test_spec.rb b/Library/Homebrew/test/dev-cmd/update-test_spec.rb index 2ac5b8fd603e6..92f068584a734 100644 --- a/Library/Homebrew/test/dev-cmd/update-test_spec.rb +++ b/Library/Homebrew/test/dev-cmd/update-test_spec.rb @@ -1,3 +1,4 @@ +# typed: true # frozen_string_literal: true require "cmd/shared_examples/args_parse" diff --git a/Library/Homebrew/test/dev-cmd/vendor-gems_spec.rb b/Library/Homebrew/test/dev-cmd/vendor-gems_spec.rb index f2183c524e52c..9c713c7b955ac 100644 --- a/Library/Homebrew/test/dev-cmd/vendor-gems_spec.rb +++ b/Library/Homebrew/test/dev-cmd/vendor-gems_spec.rb @@ -1,3 +1,4 @@ +# typed: true # frozen_string_literal: true require "cmd/shared_examples/args_parse" diff --git a/Library/Homebrew/test/dev-cmd/verify_spec.rb b/Library/Homebrew/test/dev-cmd/verify_spec.rb index 4dbf72cc81054..a2e8301c4b208 100644 --- a/Library/Homebrew/test/dev-cmd/verify_spec.rb +++ b/Library/Homebrew/test/dev-cmd/verify_spec.rb @@ -1,3 +1,4 @@ +# typed: true # frozen_string_literal: true require "cmd/shared_examples/args_parse" diff --git a/Library/Homebrew/test/dev-cmd/which-update_spec.rb b/Library/Homebrew/test/dev-cmd/which-update_spec.rb index 7a20cd923a785..d97c535443008 100644 --- a/Library/Homebrew/test/dev-cmd/which-update_spec.rb +++ b/Library/Homebrew/test/dev-cmd/which-update_spec.rb @@ -1,3 +1,4 @@ +# typed: true # frozen_string_literal: true require "cmd/shared_examples/args_parse" diff --git a/Library/Homebrew/test/diagnostic_checks_spec.rb b/Library/Homebrew/test/diagnostic_checks_spec.rb index 6249670651a12..f97bcf7050829 100644 --- a/Library/Homebrew/test/diagnostic_checks_spec.rb +++ b/Library/Homebrew/test/diagnostic_checks_spec.rb @@ -1,3 +1,4 @@ +# typed: true # frozen_string_literal: true require "diagnostic" diff --git a/Library/Homebrew/test/download_strategies/abstract_spec.rb b/Library/Homebrew/test/download_strategies/abstract_spec.rb index 6a3c9c401a0bd..34aa656df852c 100644 --- a/Library/Homebrew/test/download_strategies/abstract_spec.rb +++ b/Library/Homebrew/test/download_strategies/abstract_spec.rb @@ -1,3 +1,4 @@ +# typed: true # frozen_string_literal: true require "download_strategy" diff --git a/Library/Homebrew/test/download_strategies/curl_github_packages_spec.rb b/Library/Homebrew/test/download_strategies/curl_github_packages_spec.rb index 0868a77aa121c..a7564ae872b25 100644 --- a/Library/Homebrew/test/download_strategies/curl_github_packages_spec.rb +++ b/Library/Homebrew/test/download_strategies/curl_github_packages_spec.rb @@ -1,3 +1,4 @@ +# typed: true # frozen_string_literal: true require "download_strategy" diff --git a/Library/Homebrew/test/download_strategies/curl_post_spec.rb b/Library/Homebrew/test/download_strategies/curl_post_spec.rb index 121334fbcaf09..621d554aaa6e4 100644 --- a/Library/Homebrew/test/download_strategies/curl_post_spec.rb +++ b/Library/Homebrew/test/download_strategies/curl_post_spec.rb @@ -1,3 +1,4 @@ +# typed: true # frozen_string_literal: true require "download_strategy" diff --git a/Library/Homebrew/test/download_strategies/curl_spec.rb b/Library/Homebrew/test/download_strategies/curl_spec.rb index d40dfbe5013f2..3a1e8e0339017 100644 --- a/Library/Homebrew/test/download_strategies/curl_spec.rb +++ b/Library/Homebrew/test/download_strategies/curl_spec.rb @@ -1,3 +1,4 @@ +# typed: true # frozen_string_literal: true require "download_strategy" diff --git a/Library/Homebrew/test/download_strategies/detector_spec.rb b/Library/Homebrew/test/download_strategies/detector_spec.rb index 5e87822e5adec..7e230ea262c10 100644 --- a/Library/Homebrew/test/download_strategies/detector_spec.rb +++ b/Library/Homebrew/test/download_strategies/detector_spec.rb @@ -1,3 +1,4 @@ +# typed: true # frozen_string_literal: true require "download_strategy" diff --git a/Library/Homebrew/test/download_strategies/git_spec.rb b/Library/Homebrew/test/download_strategies/git_spec.rb index 42f1fdaeb4847..f8766602c4307 100644 --- a/Library/Homebrew/test/download_strategies/git_spec.rb +++ b/Library/Homebrew/test/download_strategies/git_spec.rb @@ -1,3 +1,4 @@ +# typed: true # frozen_string_literal: true require "download_strategy" diff --git a/Library/Homebrew/test/download_strategies/github_git_spec.rb b/Library/Homebrew/test/download_strategies/github_git_spec.rb index 27ef115257093..129b25c20f288 100644 --- a/Library/Homebrew/test/download_strategies/github_git_spec.rb +++ b/Library/Homebrew/test/download_strategies/github_git_spec.rb @@ -1,3 +1,4 @@ +# typed: true # frozen_string_literal: true require "download_strategy" diff --git a/Library/Homebrew/test/download_strategies/subversion_spec.rb b/Library/Homebrew/test/download_strategies/subversion_spec.rb index 79cb20dc6a69f..aae306b15ac80 100644 --- a/Library/Homebrew/test/download_strategies/subversion_spec.rb +++ b/Library/Homebrew/test/download_strategies/subversion_spec.rb @@ -1,3 +1,4 @@ +# typed: true # frozen_string_literal: true require "download_strategy" diff --git a/Library/Homebrew/test/download_strategies/vcs_spec.rb b/Library/Homebrew/test/download_strategies/vcs_spec.rb index 5bc2100e4883f..bc8aebb6a1be3 100644 --- a/Library/Homebrew/test/download_strategies/vcs_spec.rb +++ b/Library/Homebrew/test/download_strategies/vcs_spec.rb @@ -1,3 +1,4 @@ +# typed: true # frozen_string_literal: true require "download_strategy" diff --git a/Library/Homebrew/test/env_config_spec.rb b/Library/Homebrew/test/env_config_spec.rb index d0d938f96ed5b..06d04769e5c2d 100644 --- a/Library/Homebrew/test/env_config_spec.rb +++ b/Library/Homebrew/test/env_config_spec.rb @@ -1,3 +1,4 @@ +# typed: true # frozen_string_literal: true require "diagnostic" diff --git a/Library/Homebrew/test/error_during_execution_spec.rb b/Library/Homebrew/test/error_during_execution_spec.rb index 5309667105c85..4fc649cd125d7 100644 --- a/Library/Homebrew/test/error_during_execution_spec.rb +++ b/Library/Homebrew/test/error_during_execution_spec.rb @@ -1,3 +1,4 @@ +# typed: true # frozen_string_literal: true RSpec.describe ErrorDuringExecution do diff --git a/Library/Homebrew/test/exceptions_spec.rb b/Library/Homebrew/test/exceptions_spec.rb index e01b95a82bc35..9c14f792a7505 100644 --- a/Library/Homebrew/test/exceptions_spec.rb +++ b/Library/Homebrew/test/exceptions_spec.rb @@ -1,3 +1,4 @@ +# typed: true # frozen_string_literal: true require "exceptions" diff --git a/Library/Homebrew/test/extend/array_spec.rb b/Library/Homebrew/test/extend/array_spec.rb index a008a4e7019bf..fb9a3e3624c0e 100644 --- a/Library/Homebrew/test/extend/array_spec.rb +++ b/Library/Homebrew/test/extend/array_spec.rb @@ -1,3 +1,4 @@ +# typed: true # frozen_string_literal: true require "extend/array" diff --git a/Library/Homebrew/test/extend/blank_spec.rb b/Library/Homebrew/test/extend/blank_spec.rb index 0b80d56f01406..7a7840a9ad7cd 100644 --- a/Library/Homebrew/test/extend/blank_spec.rb +++ b/Library/Homebrew/test/extend/blank_spec.rb @@ -1,3 +1,4 @@ +# typed: true # frozen_string_literal: true require "extend/blank" diff --git a/Library/Homebrew/test/extend/kernel_spec.rb b/Library/Homebrew/test/extend/kernel_spec.rb index c91d608fa5b23..8fde0146a3d98 100644 --- a/Library/Homebrew/test/extend/kernel_spec.rb +++ b/Library/Homebrew/test/extend/kernel_spec.rb @@ -1,3 +1,4 @@ +# typed: true # frozen_string_literal: true RSpec.describe Kernel do diff --git a/Library/Homebrew/test/extend/pathname/write_mkpath_extension_spec.rb b/Library/Homebrew/test/extend/pathname/write_mkpath_extension_spec.rb index edbff3b79fc1b..d5376cb1eed55 100644 --- a/Library/Homebrew/test/extend/pathname/write_mkpath_extension_spec.rb +++ b/Library/Homebrew/test/extend/pathname/write_mkpath_extension_spec.rb @@ -1,3 +1,4 @@ +# typed: true # frozen_string_literal: true require "extend/pathname/write_mkpath_extension" diff --git a/Library/Homebrew/test/formatter_spec.rb b/Library/Homebrew/test/formatter_spec.rb index 2b4de3148414c..c488c553836c6 100644 --- a/Library/Homebrew/test/formatter_spec.rb +++ b/Library/Homebrew/test/formatter_spec.rb @@ -1,3 +1,4 @@ +# typed: true # frozen_string_literal: true require "utils/formatter" diff --git a/Library/Homebrew/test/formula_auditor_spec.rb b/Library/Homebrew/test/formula_auditor_spec.rb index abebc95787b60..fc94099c08cde 100644 --- a/Library/Homebrew/test/formula_auditor_spec.rb +++ b/Library/Homebrew/test/formula_auditor_spec.rb @@ -1,3 +1,4 @@ +# typed: true # frozen_string_literal: true require "formula_auditor" diff --git a/Library/Homebrew/test/formula_creator_spec.rb b/Library/Homebrew/test/formula_creator_spec.rb index ab1fd26f10ed4..1a133d680809d 100644 --- a/Library/Homebrew/test/formula_creator_spec.rb +++ b/Library/Homebrew/test/formula_creator_spec.rb @@ -1,3 +1,4 @@ +# typed: true # frozen_string_literal: true require "formula_creator" diff --git a/Library/Homebrew/test/formula_info_spec.rb b/Library/Homebrew/test/formula_info_spec.rb index d76fd0fa4bec6..e4a5ff1eaaf31 100644 --- a/Library/Homebrew/test/formula_info_spec.rb +++ b/Library/Homebrew/test/formula_info_spec.rb @@ -1,3 +1,4 @@ +# typed: true # frozen_string_literal: true require "formula_info" diff --git a/Library/Homebrew/test/formula_installer_bottle_spec.rb b/Library/Homebrew/test/formula_installer_bottle_spec.rb index 0f4e4eee6afb7..a3e5384fa7f3a 100644 --- a/Library/Homebrew/test/formula_installer_bottle_spec.rb +++ b/Library/Homebrew/test/formula_installer_bottle_spec.rb @@ -1,3 +1,4 @@ +# typed: true # frozen_string_literal: true require "formula" diff --git a/Library/Homebrew/test/formula_installer_spec.rb b/Library/Homebrew/test/formula_installer_spec.rb index f33cc58f4e6cd..861914c23d318 100644 --- a/Library/Homebrew/test/formula_installer_spec.rb +++ b/Library/Homebrew/test/formula_installer_spec.rb @@ -1,3 +1,4 @@ +# typed: true # frozen_string_literal: true require "formula" diff --git a/Library/Homebrew/test/formula_pin_spec.rb b/Library/Homebrew/test/formula_pin_spec.rb index 900f663896ba2..4b087046501ff 100644 --- a/Library/Homebrew/test/formula_pin_spec.rb +++ b/Library/Homebrew/test/formula_pin_spec.rb @@ -1,3 +1,4 @@ +# typed: true # frozen_string_literal: true require "formula_pin" diff --git a/Library/Homebrew/test/formula_spec.rb b/Library/Homebrew/test/formula_spec.rb index 847c2de7c9259..795c974bbc758 100644 --- a/Library/Homebrew/test/formula_spec.rb +++ b/Library/Homebrew/test/formula_spec.rb @@ -1,3 +1,4 @@ +# typed: true # frozen_string_literal: true require "test/support/fixtures/testball" diff --git a/Library/Homebrew/test/formula_spec_selection_spec.rb b/Library/Homebrew/test/formula_spec_selection_spec.rb index 72f565a48ac11..cc2ae74a827a4 100644 --- a/Library/Homebrew/test/formula_spec_selection_spec.rb +++ b/Library/Homebrew/test/formula_spec_selection_spec.rb @@ -1,3 +1,4 @@ +# typed: true # frozen_string_literal: true require "formula" diff --git a/Library/Homebrew/test/formula_validation_spec.rb b/Library/Homebrew/test/formula_validation_spec.rb index 96a5a682b1bce..38ffc479728e7 100644 --- a/Library/Homebrew/test/formula_validation_spec.rb +++ b/Library/Homebrew/test/formula_validation_spec.rb @@ -1,3 +1,4 @@ +# typed: true # frozen_string_literal: true require "formula" diff --git a/Library/Homebrew/test/formulary_spec.rb b/Library/Homebrew/test/formulary_spec.rb index 97267f9e1e1a2..8af558e2a0b7b 100644 --- a/Library/Homebrew/test/formulary_spec.rb +++ b/Library/Homebrew/test/formulary_spec.rb @@ -1,3 +1,4 @@ +# typed: true # frozen_string_literal: true require "formula" diff --git a/Library/Homebrew/test/free_port_spec.rb b/Library/Homebrew/test/free_port_spec.rb index 2bfec00c2fb37..18d8681876c48 100644 --- a/Library/Homebrew/test/free_port_spec.rb +++ b/Library/Homebrew/test/free_port_spec.rb @@ -1,3 +1,4 @@ +# typed: true # frozen_string_literal: true require "socket" diff --git a/Library/Homebrew/test/git_repository_spec.rb b/Library/Homebrew/test/git_repository_spec.rb index b967f70ed8589..d7bb38939b503 100644 --- a/Library/Homebrew/test/git_repository_spec.rb +++ b/Library/Homebrew/test/git_repository_spec.rb @@ -1,3 +1,4 @@ +# typed: true # frozen_string_literal: true require "git_repository" diff --git a/Library/Homebrew/test/github_runner_matrix_spec.rb b/Library/Homebrew/test/github_runner_matrix_spec.rb index 0bdf4c188df4c..b2e59c4cf0c37 100644 --- a/Library/Homebrew/test/github_runner_matrix_spec.rb +++ b/Library/Homebrew/test/github_runner_matrix_spec.rb @@ -1,3 +1,4 @@ +# typed: true # frozen_string_literal: true require "github_runner_matrix" diff --git a/Library/Homebrew/test/github_runner_spec.rb b/Library/Homebrew/test/github_runner_spec.rb index 3e35126ba9594..87acf4ec9c530 100644 --- a/Library/Homebrew/test/github_runner_spec.rb +++ b/Library/Homebrew/test/github_runner_spec.rb @@ -1,3 +1,4 @@ +# typed: true # frozen_string_literal: true require "github_runner" diff --git a/Library/Homebrew/test/global_spec.rb b/Library/Homebrew/test/global_spec.rb index a28374ef21a46..e4a0416f1c9b1 100644 --- a/Library/Homebrew/test/global_spec.rb +++ b/Library/Homebrew/test/global_spec.rb @@ -1,3 +1,4 @@ +# typed: true # frozen_string_literal: true RSpec.describe Homebrew, :integration_test do diff --git a/Library/Homebrew/test/hardware/cpu_spec.rb b/Library/Homebrew/test/hardware/cpu_spec.rb index 6bf63294d24b8..f10a1b2a5e864 100644 --- a/Library/Homebrew/test/hardware/cpu_spec.rb +++ b/Library/Homebrew/test/hardware/cpu_spec.rb @@ -1,3 +1,4 @@ +# typed: true # frozen_string_literal: true require "hardware" diff --git a/Library/Homebrew/test/head_software_spec_spec.rb b/Library/Homebrew/test/head_software_spec_spec.rb index c67314fe17917..57b4935f53513 100644 --- a/Library/Homebrew/test/head_software_spec_spec.rb +++ b/Library/Homebrew/test/head_software_spec_spec.rb @@ -1,3 +1,4 @@ +# typed: true # frozen_string_literal: true require "head_software_spec" diff --git a/Library/Homebrew/test/homebrew_spec.rb b/Library/Homebrew/test/homebrew_spec.rb index 39fc2ba517e01..8a3b418b1ea0d 100644 --- a/Library/Homebrew/test/homebrew_spec.rb +++ b/Library/Homebrew/test/homebrew_spec.rb @@ -1,3 +1,4 @@ +# typed: true # frozen_string_literal: true require "homebrew" diff --git a/Library/Homebrew/test/installed_dependents_spec.rb b/Library/Homebrew/test/installed_dependents_spec.rb index 67ee906955fba..38e9e8dd018a1 100644 --- a/Library/Homebrew/test/installed_dependents_spec.rb +++ b/Library/Homebrew/test/installed_dependents_spec.rb @@ -1,3 +1,4 @@ +# typed: true # frozen_string_literal: true require "installed_dependents" diff --git a/Library/Homebrew/test/keg_only_reason_spec.rb b/Library/Homebrew/test/keg_only_reason_spec.rb index 9835239450065..1f3e8591f4ac9 100644 --- a/Library/Homebrew/test/keg_only_reason_spec.rb +++ b/Library/Homebrew/test/keg_only_reason_spec.rb @@ -1,3 +1,4 @@ +# typed: true # frozen_string_literal: true require "keg_only_reason" diff --git a/Library/Homebrew/test/keg_relocate/binary_relocation_spec.rb b/Library/Homebrew/test/keg_relocate/binary_relocation_spec.rb index 652eac1168d79..2d9140b137248 100644 --- a/Library/Homebrew/test/keg_relocate/binary_relocation_spec.rb +++ b/Library/Homebrew/test/keg_relocate/binary_relocation_spec.rb @@ -1,3 +1,4 @@ +# typed: true # frozen_string_literal: true require "keg_relocate" diff --git a/Library/Homebrew/test/keg_relocate/grep_spec.rb b/Library/Homebrew/test/keg_relocate/grep_spec.rb index 1f834de7ec723..b8c6caedc9a99 100644 --- a/Library/Homebrew/test/keg_relocate/grep_spec.rb +++ b/Library/Homebrew/test/keg_relocate/grep_spec.rb @@ -1,3 +1,4 @@ +# typed: true # frozen_string_literal: true require "keg_relocate" diff --git a/Library/Homebrew/test/keg_relocate/relocation_spec.rb b/Library/Homebrew/test/keg_relocate/relocation_spec.rb index f256ed4c56255..b00b843512936 100644 --- a/Library/Homebrew/test/keg_relocate/relocation_spec.rb +++ b/Library/Homebrew/test/keg_relocate/relocation_spec.rb @@ -1,3 +1,4 @@ +# typed: true # frozen_string_literal: true require "keg_relocate" diff --git a/Library/Homebrew/test/keg_relocate/text_spec.rb b/Library/Homebrew/test/keg_relocate/text_spec.rb index 8a53cbbf70240..90dbd972bb1fb 100644 --- a/Library/Homebrew/test/keg_relocate/text_spec.rb +++ b/Library/Homebrew/test/keg_relocate/text_spec.rb @@ -1,3 +1,4 @@ +# typed: true # frozen_string_literal: true require "keg_relocate" diff --git a/Library/Homebrew/test/keg_spec.rb b/Library/Homebrew/test/keg_spec.rb index 783f3e0e4328b..0eb313a41dcb5 100644 --- a/Library/Homebrew/test/keg_spec.rb +++ b/Library/Homebrew/test/keg_spec.rb @@ -1,3 +1,4 @@ +# typed: true # frozen_string_literal: true require "keg" diff --git a/Library/Homebrew/test/language/java_spec.rb b/Library/Homebrew/test/language/java_spec.rb index a61b2c5dd3f7b..846fabf44b961 100644 --- a/Library/Homebrew/test/language/java_spec.rb +++ b/Library/Homebrew/test/language/java_spec.rb @@ -1,3 +1,4 @@ +# typed: true # frozen_string_literal: true require "language/java" diff --git a/Library/Homebrew/test/language/node/shebang_spec.rb b/Library/Homebrew/test/language/node/shebang_spec.rb index eefb1fe0b8c2f..ff41e28589e1f 100644 --- a/Library/Homebrew/test/language/node/shebang_spec.rb +++ b/Library/Homebrew/test/language/node/shebang_spec.rb @@ -1,3 +1,4 @@ +# typed: true # frozen_string_literal: true require "language/node" diff --git a/Library/Homebrew/test/language/node_spec.rb b/Library/Homebrew/test/language/node_spec.rb index 7ab96f87458bc..23197edc646a8 100644 --- a/Library/Homebrew/test/language/node_spec.rb +++ b/Library/Homebrew/test/language/node_spec.rb @@ -1,3 +1,4 @@ +# typed: true # frozen_string_literal: true require "language/node" diff --git a/Library/Homebrew/test/language/perl/shebang_spec.rb b/Library/Homebrew/test/language/perl/shebang_spec.rb index cab3d2b2d0393..f983597bc2768 100644 --- a/Library/Homebrew/test/language/perl/shebang_spec.rb +++ b/Library/Homebrew/test/language/perl/shebang_spec.rb @@ -1,3 +1,4 @@ +# typed: true # frozen_string_literal: true require "language/perl" diff --git a/Library/Homebrew/test/language/php/shebang_spec.rb b/Library/Homebrew/test/language/php/shebang_spec.rb index 47589e0b61758..1f9f4486a1b2d 100644 --- a/Library/Homebrew/test/language/php/shebang_spec.rb +++ b/Library/Homebrew/test/language/php/shebang_spec.rb @@ -1,3 +1,4 @@ +# typed: true # frozen_string_literal: true require "language/php" diff --git a/Library/Homebrew/test/language/python/shebang_spec.rb b/Library/Homebrew/test/language/python/shebang_spec.rb index 7ba87c06e092c..b371a75c5980b 100644 --- a/Library/Homebrew/test/language/python/shebang_spec.rb +++ b/Library/Homebrew/test/language/python/shebang_spec.rb @@ -1,3 +1,4 @@ +# typed: true # frozen_string_literal: true require "language/python" diff --git a/Library/Homebrew/test/language/python/virtualenv_spec.rb b/Library/Homebrew/test/language/python/virtualenv_spec.rb index 4915699801979..79563a3182cc6 100644 --- a/Library/Homebrew/test/language/python/virtualenv_spec.rb +++ b/Library/Homebrew/test/language/python/virtualenv_spec.rb @@ -1,3 +1,4 @@ +# typed: true # frozen_string_literal: true require "language/python" diff --git a/Library/Homebrew/test/language/python_spec.rb b/Library/Homebrew/test/language/python_spec.rb index d7472a91c1a1f..86ebe14839d86 100644 --- a/Library/Homebrew/test/language/python_spec.rb +++ b/Library/Homebrew/test/language/python_spec.rb @@ -1,3 +1,4 @@ +# typed: true # frozen_string_literal: true require "language/python" diff --git a/Library/Homebrew/test/lazy_object_spec.rb b/Library/Homebrew/test/lazy_object_spec.rb index 6fe87bcdfbe8a..9bed6dacd9644 100644 --- a/Library/Homebrew/test/lazy_object_spec.rb +++ b/Library/Homebrew/test/lazy_object_spec.rb @@ -1,3 +1,4 @@ +# typed: true # frozen_string_literal: true require "lazy_object" diff --git a/Library/Homebrew/test/linkage_cache_store_spec.rb b/Library/Homebrew/test/linkage_cache_store_spec.rb index fd3beab76ff60..b5d31f8aff5cb 100644 --- a/Library/Homebrew/test/linkage_cache_store_spec.rb +++ b/Library/Homebrew/test/linkage_cache_store_spec.rb @@ -1,3 +1,4 @@ +# typed: true # frozen_string_literal: true require "linkage_cache_store" diff --git a/Library/Homebrew/test/linux_runner_spec_spec.rb b/Library/Homebrew/test/linux_runner_spec_spec.rb index 4e89a4a076d20..106319302cbed 100644 --- a/Library/Homebrew/test/linux_runner_spec_spec.rb +++ b/Library/Homebrew/test/linux_runner_spec_spec.rb @@ -1,3 +1,4 @@ +# typed: true # frozen_string_literal: true require "linux_runner_spec" diff --git a/Library/Homebrew/test/livecheck/livecheck_spec.rb b/Library/Homebrew/test/livecheck/livecheck_spec.rb index 2371b1358d816..52f61ab5b749c 100644 --- a/Library/Homebrew/test/livecheck/livecheck_spec.rb +++ b/Library/Homebrew/test/livecheck/livecheck_spec.rb @@ -1,3 +1,4 @@ +# typed: true # frozen_string_literal: true require "livecheck/livecheck" diff --git a/Library/Homebrew/test/livecheck/livecheck_version_spec.rb b/Library/Homebrew/test/livecheck/livecheck_version_spec.rb index b5c38fd78f665..4c1e5c80413ce 100644 --- a/Library/Homebrew/test/livecheck/livecheck_version_spec.rb +++ b/Library/Homebrew/test/livecheck/livecheck_version_spec.rb @@ -1,3 +1,4 @@ +# typed: true # frozen_string_literal: true require "livecheck/livecheck_version" diff --git a/Library/Homebrew/test/livecheck/options_spec.rb b/Library/Homebrew/test/livecheck/options_spec.rb index 43212c4e8f3cf..9a8305e660bdb 100644 --- a/Library/Homebrew/test/livecheck/options_spec.rb +++ b/Library/Homebrew/test/livecheck/options_spec.rb @@ -1,3 +1,4 @@ +# typed: true # frozen_string_literal: true require "livecheck/options" diff --git a/Library/Homebrew/test/livecheck/skip_conditions_spec.rb b/Library/Homebrew/test/livecheck/skip_conditions_spec.rb index 203ea9752f2ee..fc147fc003e9e 100644 --- a/Library/Homebrew/test/livecheck/skip_conditions_spec.rb +++ b/Library/Homebrew/test/livecheck/skip_conditions_spec.rb @@ -1,3 +1,4 @@ +# typed: true # frozen_string_literal: true require "livecheck/livecheck" diff --git a/Library/Homebrew/test/livecheck/strategy/apache_spec.rb b/Library/Homebrew/test/livecheck/strategy/apache_spec.rb index 5656868c402f9..e4dca8ccdad5e 100644 --- a/Library/Homebrew/test/livecheck/strategy/apache_spec.rb +++ b/Library/Homebrew/test/livecheck/strategy/apache_spec.rb @@ -1,3 +1,4 @@ +# typed: true # frozen_string_literal: true require "livecheck/strategy" diff --git a/Library/Homebrew/test/livecheck/strategy/bitbucket_spec.rb b/Library/Homebrew/test/livecheck/strategy/bitbucket_spec.rb index b54ff11b9962e..cbe9dbe19f82b 100644 --- a/Library/Homebrew/test/livecheck/strategy/bitbucket_spec.rb +++ b/Library/Homebrew/test/livecheck/strategy/bitbucket_spec.rb @@ -1,3 +1,4 @@ +# typed: true # frozen_string_literal: true require "livecheck/strategy" diff --git a/Library/Homebrew/test/livecheck/strategy/cpan_spec.rb b/Library/Homebrew/test/livecheck/strategy/cpan_spec.rb index a19417942d25c..47717747beff8 100644 --- a/Library/Homebrew/test/livecheck/strategy/cpan_spec.rb +++ b/Library/Homebrew/test/livecheck/strategy/cpan_spec.rb @@ -1,3 +1,4 @@ +# typed: true # frozen_string_literal: true require "livecheck/strategy" diff --git a/Library/Homebrew/test/livecheck/strategy/crate_spec.rb b/Library/Homebrew/test/livecheck/strategy/crate_spec.rb index a43e08671c7a9..7bbfe24ceeccd 100644 --- a/Library/Homebrew/test/livecheck/strategy/crate_spec.rb +++ b/Library/Homebrew/test/livecheck/strategy/crate_spec.rb @@ -1,3 +1,4 @@ +# typed: true # frozen_string_literal: true require "livecheck/strategy" diff --git a/Library/Homebrew/test/livecheck/strategy/electron_builder_spec.rb b/Library/Homebrew/test/livecheck/strategy/electron_builder_spec.rb index 395ba0b2a3d75..a10809bd93b40 100644 --- a/Library/Homebrew/test/livecheck/strategy/electron_builder_spec.rb +++ b/Library/Homebrew/test/livecheck/strategy/electron_builder_spec.rb @@ -1,3 +1,4 @@ +# typed: true # frozen_string_literal: true require "livecheck/strategy" diff --git a/Library/Homebrew/test/livecheck/strategy/extract_plist_spec.rb b/Library/Homebrew/test/livecheck/strategy/extract_plist_spec.rb index 41bef25de12ba..57307589591b3 100644 --- a/Library/Homebrew/test/livecheck/strategy/extract_plist_spec.rb +++ b/Library/Homebrew/test/livecheck/strategy/extract_plist_spec.rb @@ -1,3 +1,4 @@ +# typed: true # frozen_string_literal: true require "livecheck/strategy" diff --git a/Library/Homebrew/test/livecheck/strategy/git_spec.rb b/Library/Homebrew/test/livecheck/strategy/git_spec.rb index 4767554d423bf..bb776325f6c75 100644 --- a/Library/Homebrew/test/livecheck/strategy/git_spec.rb +++ b/Library/Homebrew/test/livecheck/strategy/git_spec.rb @@ -1,3 +1,4 @@ +# typed: true # frozen_string_literal: true require "livecheck/strategy" diff --git a/Library/Homebrew/test/livecheck/strategy/github_latest_spec.rb b/Library/Homebrew/test/livecheck/strategy/github_latest_spec.rb index 5abe5f2b93a19..eb0395aeb044d 100644 --- a/Library/Homebrew/test/livecheck/strategy/github_latest_spec.rb +++ b/Library/Homebrew/test/livecheck/strategy/github_latest_spec.rb @@ -1,3 +1,4 @@ +# typed: true # frozen_string_literal: true require "livecheck/strategy" diff --git a/Library/Homebrew/test/livecheck/strategy/github_releases_spec.rb b/Library/Homebrew/test/livecheck/strategy/github_releases_spec.rb index bd8e5f8df5f18..6f1b2c4a1c91c 100644 --- a/Library/Homebrew/test/livecheck/strategy/github_releases_spec.rb +++ b/Library/Homebrew/test/livecheck/strategy/github_releases_spec.rb @@ -1,3 +1,4 @@ +# typed: true # frozen_string_literal: true require "livecheck/strategy" diff --git a/Library/Homebrew/test/livecheck/strategy/gnome_spec.rb b/Library/Homebrew/test/livecheck/strategy/gnome_spec.rb index 827304d10c6a2..40420d8e0335a 100644 --- a/Library/Homebrew/test/livecheck/strategy/gnome_spec.rb +++ b/Library/Homebrew/test/livecheck/strategy/gnome_spec.rb @@ -1,3 +1,4 @@ +# typed: true # frozen_string_literal: true require "livecheck/strategy" diff --git a/Library/Homebrew/test/livecheck/strategy/gnu_spec.rb b/Library/Homebrew/test/livecheck/strategy/gnu_spec.rb index 1e4ddcae6c9d0..d3783a84559d8 100644 --- a/Library/Homebrew/test/livecheck/strategy/gnu_spec.rb +++ b/Library/Homebrew/test/livecheck/strategy/gnu_spec.rb @@ -1,3 +1,4 @@ +# typed: true # frozen_string_literal: true require "livecheck/strategy" diff --git a/Library/Homebrew/test/livecheck/strategy/hackage_spec.rb b/Library/Homebrew/test/livecheck/strategy/hackage_spec.rb index 94e44f044a3b7..e08b15943bdaa 100644 --- a/Library/Homebrew/test/livecheck/strategy/hackage_spec.rb +++ b/Library/Homebrew/test/livecheck/strategy/hackage_spec.rb @@ -1,3 +1,4 @@ +# typed: true # frozen_string_literal: true require "livecheck/strategy" diff --git a/Library/Homebrew/test/livecheck/strategy/header_match_spec.rb b/Library/Homebrew/test/livecheck/strategy/header_match_spec.rb index af90c4ffc139f..be47857413ea4 100644 --- a/Library/Homebrew/test/livecheck/strategy/header_match_spec.rb +++ b/Library/Homebrew/test/livecheck/strategy/header_match_spec.rb @@ -1,3 +1,4 @@ +# typed: true # frozen_string_literal: true require "livecheck/strategy" diff --git a/Library/Homebrew/test/livecheck/strategy/json_spec.rb b/Library/Homebrew/test/livecheck/strategy/json_spec.rb index 44d205085ed21..c3239a3732763 100644 --- a/Library/Homebrew/test/livecheck/strategy/json_spec.rb +++ b/Library/Homebrew/test/livecheck/strategy/json_spec.rb @@ -1,3 +1,4 @@ +# typed: true # frozen_string_literal: true require "livecheck/strategy" diff --git a/Library/Homebrew/test/livecheck/strategy/launchpad_spec.rb b/Library/Homebrew/test/livecheck/strategy/launchpad_spec.rb index f37e76e18fcc3..affe728885cfc 100644 --- a/Library/Homebrew/test/livecheck/strategy/launchpad_spec.rb +++ b/Library/Homebrew/test/livecheck/strategy/launchpad_spec.rb @@ -1,3 +1,4 @@ +# typed: true # frozen_string_literal: true require "livecheck/strategy" diff --git a/Library/Homebrew/test/livecheck/strategy/npm_spec.rb b/Library/Homebrew/test/livecheck/strategy/npm_spec.rb index 0f5dab6fb7885..12e3b7f318ba7 100644 --- a/Library/Homebrew/test/livecheck/strategy/npm_spec.rb +++ b/Library/Homebrew/test/livecheck/strategy/npm_spec.rb @@ -1,3 +1,4 @@ +# typed: true # frozen_string_literal: true require "livecheck/strategy" diff --git a/Library/Homebrew/test/livecheck/strategy/page_match_spec.rb b/Library/Homebrew/test/livecheck/strategy/page_match_spec.rb index 4a2a3c6624862..1067160f2330e 100644 --- a/Library/Homebrew/test/livecheck/strategy/page_match_spec.rb +++ b/Library/Homebrew/test/livecheck/strategy/page_match_spec.rb @@ -1,3 +1,4 @@ +# typed: true # frozen_string_literal: true require "livecheck/strategy" diff --git a/Library/Homebrew/test/livecheck/strategy/pypi_spec.rb b/Library/Homebrew/test/livecheck/strategy/pypi_spec.rb index 0430febb33017..3940c712319b3 100644 --- a/Library/Homebrew/test/livecheck/strategy/pypi_spec.rb +++ b/Library/Homebrew/test/livecheck/strategy/pypi_spec.rb @@ -1,3 +1,4 @@ +# typed: true # frozen_string_literal: true require "livecheck/strategy" diff --git a/Library/Homebrew/test/livecheck/strategy/sourceforge_spec.rb b/Library/Homebrew/test/livecheck/strategy/sourceforge_spec.rb index 648aa88cdd485..8bb9a777952cc 100644 --- a/Library/Homebrew/test/livecheck/strategy/sourceforge_spec.rb +++ b/Library/Homebrew/test/livecheck/strategy/sourceforge_spec.rb @@ -1,3 +1,4 @@ +# typed: true # frozen_string_literal: true require "livecheck/strategy" diff --git a/Library/Homebrew/test/livecheck/strategy/sparkle_spec.rb b/Library/Homebrew/test/livecheck/strategy/sparkle_spec.rb index 726b6b4525bea..2aeb4b02d8e90 100644 --- a/Library/Homebrew/test/livecheck/strategy/sparkle_spec.rb +++ b/Library/Homebrew/test/livecheck/strategy/sparkle_spec.rb @@ -1,3 +1,4 @@ +# typed: true # frozen_string_literal: true require "livecheck/strategy" diff --git a/Library/Homebrew/test/livecheck/strategy/xml_spec.rb b/Library/Homebrew/test/livecheck/strategy/xml_spec.rb index a105c4013389c..5159c8d27ab6d 100644 --- a/Library/Homebrew/test/livecheck/strategy/xml_spec.rb +++ b/Library/Homebrew/test/livecheck/strategy/xml_spec.rb @@ -1,3 +1,4 @@ +# typed: true # frozen_string_literal: true require "livecheck/strategy" diff --git a/Library/Homebrew/test/livecheck/strategy/xorg_spec.rb b/Library/Homebrew/test/livecheck/strategy/xorg_spec.rb index af196782d46f1..d08914f86dccb 100644 --- a/Library/Homebrew/test/livecheck/strategy/xorg_spec.rb +++ b/Library/Homebrew/test/livecheck/strategy/xorg_spec.rb @@ -1,3 +1,4 @@ +# typed: true # frozen_string_literal: true require "livecheck/strategy" diff --git a/Library/Homebrew/test/livecheck/strategy/yaml_spec.rb b/Library/Homebrew/test/livecheck/strategy/yaml_spec.rb index 69a436f7b441a..c39af51d2b02a 100644 --- a/Library/Homebrew/test/livecheck/strategy/yaml_spec.rb +++ b/Library/Homebrew/test/livecheck/strategy/yaml_spec.rb @@ -1,3 +1,4 @@ +# typed: true # frozen_string_literal: true require "livecheck/strategy" diff --git a/Library/Homebrew/test/livecheck/strategy_spec.rb b/Library/Homebrew/test/livecheck/strategy_spec.rb index 822bcbca9edbc..fb38c3d8ee696 100644 --- a/Library/Homebrew/test/livecheck/strategy_spec.rb +++ b/Library/Homebrew/test/livecheck/strategy_spec.rb @@ -1,3 +1,4 @@ +# typed: true # frozen_string_literal: true require "livecheck/strategy" diff --git a/Library/Homebrew/test/livecheck_spec.rb b/Library/Homebrew/test/livecheck_spec.rb index 5fac5edb9a539..bf4cd7f230603 100644 --- a/Library/Homebrew/test/livecheck_spec.rb +++ b/Library/Homebrew/test/livecheck_spec.rb @@ -1,3 +1,4 @@ +# typed: true # frozen_string_literal: true require "formula" diff --git a/Library/Homebrew/test/locale_spec.rb b/Library/Homebrew/test/locale_spec.rb index 42d65a612b872..6be9dff695dbf 100644 --- a/Library/Homebrew/test/locale_spec.rb +++ b/Library/Homebrew/test/locale_spec.rb @@ -1,3 +1,4 @@ +# typed: true # frozen_string_literal: true require "locale" diff --git a/Library/Homebrew/test/lock_file_spec.rb b/Library/Homebrew/test/lock_file_spec.rb index 7f141e4463491..e6384701af6cc 100644 --- a/Library/Homebrew/test/lock_file_spec.rb +++ b/Library/Homebrew/test/lock_file_spec.rb @@ -1,3 +1,4 @@ +# typed: true # frozen_string_literal: true require "lock_file" diff --git a/Library/Homebrew/test/macos_runner_spec_spec.rb b/Library/Homebrew/test/macos_runner_spec_spec.rb index 9f881787ce217..28fe9f32ea5c3 100644 --- a/Library/Homebrew/test/macos_runner_spec_spec.rb +++ b/Library/Homebrew/test/macos_runner_spec_spec.rb @@ -1,3 +1,4 @@ +# typed: true # frozen_string_literal: true require "macos_runner_spec" diff --git a/Library/Homebrew/test/macos_version_spec.rb b/Library/Homebrew/test/macos_version_spec.rb index 33229cec8fabb..0c1a7a3b923ff 100644 --- a/Library/Homebrew/test/macos_version_spec.rb +++ b/Library/Homebrew/test/macos_version_spec.rb @@ -1,3 +1,4 @@ +# typed: true # frozen_string_literal: true require "macos_version" diff --git a/Library/Homebrew/test/mcp_server_spec.rb b/Library/Homebrew/test/mcp_server_spec.rb index 5e15987b3e5fa..f137fb80aef08 100644 --- a/Library/Homebrew/test/mcp_server_spec.rb +++ b/Library/Homebrew/test/mcp_server_spec.rb @@ -1,3 +1,4 @@ +# typed: true # frozen_string_literal: true require "mcp_server" diff --git a/Library/Homebrew/test/messages_spec.rb b/Library/Homebrew/test/messages_spec.rb index 412e5d6764a8b..f98516ae84eb4 100644 --- a/Library/Homebrew/test/messages_spec.rb +++ b/Library/Homebrew/test/messages_spec.rb @@ -1,3 +1,4 @@ +# typed: true # frozen_string_literal: true require "messages" diff --git a/Library/Homebrew/test/migrator_spec.rb b/Library/Homebrew/test/migrator_spec.rb index aea9541ebabaa..c6fb06ee2ab63 100644 --- a/Library/Homebrew/test/migrator_spec.rb +++ b/Library/Homebrew/test/migrator_spec.rb @@ -1,3 +1,4 @@ +# typed: true # frozen_string_literal: true require "migrator" diff --git a/Library/Homebrew/test/missing_formula_spec.rb b/Library/Homebrew/test/missing_formula_spec.rb index 477aac7daa523..b74c46e580bc9 100644 --- a/Library/Homebrew/test/missing_formula_spec.rb +++ b/Library/Homebrew/test/missing_formula_spec.rb @@ -1,3 +1,4 @@ +# typed: true # frozen_string_literal: true require "missing_formula" diff --git a/Library/Homebrew/test/options/deprecated_option_spec.rb b/Library/Homebrew/test/options/deprecated_option_spec.rb index 154a91367ee0d..410e3a708c49d 100644 --- a/Library/Homebrew/test/options/deprecated_option_spec.rb +++ b/Library/Homebrew/test/options/deprecated_option_spec.rb @@ -1,3 +1,4 @@ +# typed: true # frozen_string_literal: true require "options" diff --git a/Library/Homebrew/test/options/option_spec.rb b/Library/Homebrew/test/options/option_spec.rb index 0c7781b647053..559dc9231d707 100644 --- a/Library/Homebrew/test/options/option_spec.rb +++ b/Library/Homebrew/test/options/option_spec.rb @@ -1,3 +1,4 @@ +# typed: true # frozen_string_literal: true require "options" diff --git a/Library/Homebrew/test/options_spec.rb b/Library/Homebrew/test/options_spec.rb index 8969d6de5ad9a..6f77915031330 100644 --- a/Library/Homebrew/test/options_spec.rb +++ b/Library/Homebrew/test/options_spec.rb @@ -1,3 +1,4 @@ +# typed: true # frozen_string_literal: true require "options" diff --git a/Library/Homebrew/test/os/linux/dependency_collector_spec.rb b/Library/Homebrew/test/os/linux/dependency_collector_spec.rb index ed609833e6144..1f04f26f15b82 100644 --- a/Library/Homebrew/test/os/linux/dependency_collector_spec.rb +++ b/Library/Homebrew/test/os/linux/dependency_collector_spec.rb @@ -1,3 +1,4 @@ +# typed: true # frozen_string_literal: true require "dependency_collector" diff --git a/Library/Homebrew/test/os/linux/diagnostic_spec.rb b/Library/Homebrew/test/os/linux/diagnostic_spec.rb index 00877b239c84e..9461115cbe9d4 100644 --- a/Library/Homebrew/test/os/linux/diagnostic_spec.rb +++ b/Library/Homebrew/test/os/linux/diagnostic_spec.rb @@ -1,3 +1,4 @@ +# typed: true # frozen_string_literal: true require "diagnostic" diff --git a/Library/Homebrew/test/os/linux/elf_spec.rb b/Library/Homebrew/test/os/linux/elf_spec.rb index 6bcf15f0a97cd..701036a85ce83 100644 --- a/Library/Homebrew/test/os/linux/elf_spec.rb +++ b/Library/Homebrew/test/os/linux/elf_spec.rb @@ -1,3 +1,4 @@ +# typed: true # frozen_string_literal: true RSpec.describe OS::Linux::Elf do diff --git a/Library/Homebrew/test/os/linux/formula_installer_spec.rb b/Library/Homebrew/test/os/linux/formula_installer_spec.rb index f5c47599de1e9..6dde8789a46a7 100644 --- a/Library/Homebrew/test/os/linux/formula_installer_spec.rb +++ b/Library/Homebrew/test/os/linux/formula_installer_spec.rb @@ -1,3 +1,4 @@ +# typed: true # frozen_string_literal: true require "formula_installer" diff --git a/Library/Homebrew/test/os/linux/formula_spec.rb b/Library/Homebrew/test/os/linux/formula_spec.rb index c8116bf178218..468969823c7d9 100644 --- a/Library/Homebrew/test/os/linux/formula_spec.rb +++ b/Library/Homebrew/test/os/linux/formula_spec.rb @@ -1,3 +1,4 @@ +# typed: true # frozen_string_literal: true require "test/support/fixtures/testball" diff --git a/Library/Homebrew/test/os/linux/ld_spec.rb b/Library/Homebrew/test/os/linux/ld_spec.rb index 76361c63c5ebc..cbfc4e679020f 100644 --- a/Library/Homebrew/test/os/linux/ld_spec.rb +++ b/Library/Homebrew/test/os/linux/ld_spec.rb @@ -1,3 +1,4 @@ +# typed: true # frozen_string_literal: true require "os/linux/ld" diff --git a/Library/Homebrew/test/os/linux/libstdcxx_spec.rb b/Library/Homebrew/test/os/linux/libstdcxx_spec.rb index 5f6200064e79a..2f6ef5766e3f2 100644 --- a/Library/Homebrew/test/os/linux/libstdcxx_spec.rb +++ b/Library/Homebrew/test/os/linux/libstdcxx_spec.rb @@ -1,3 +1,4 @@ +# typed: true # frozen_string_literal: true require "os/linux/libstdcxx" diff --git a/Library/Homebrew/test/os/linux/pathname_spec.rb b/Library/Homebrew/test/os/linux/pathname_spec.rb index 7ff902ca57169..680cbb3fcad60 100644 --- a/Library/Homebrew/test/os/linux/pathname_spec.rb +++ b/Library/Homebrew/test/os/linux/pathname_spec.rb @@ -1,3 +1,4 @@ +# typed: true # frozen_string_literal: true require "extend/pathname" diff --git a/Library/Homebrew/test/os/linux_spec.rb b/Library/Homebrew/test/os/linux_spec.rb index 70650c39ad543..7b52307a9b3a3 100644 --- a/Library/Homebrew/test/os/linux_spec.rb +++ b/Library/Homebrew/test/os/linux_spec.rb @@ -1,3 +1,4 @@ +# typed: true # frozen_string_literal: true require "locale" diff --git a/Library/Homebrew/test/os/mac/dependency_collector_spec.rb b/Library/Homebrew/test/os/mac/dependency_collector_spec.rb index d4336395a89b6..d84bfe3a2e9f9 100644 --- a/Library/Homebrew/test/os/mac/dependency_collector_spec.rb +++ b/Library/Homebrew/test/os/mac/dependency_collector_spec.rb @@ -1,3 +1,4 @@ +# typed: true # frozen_string_literal: true require "dependency_collector" diff --git a/Library/Homebrew/test/os/mac/diagnostic_spec.rb b/Library/Homebrew/test/os/mac/diagnostic_spec.rb index 13969fa819ca0..89e40c20489fa 100644 --- a/Library/Homebrew/test/os/mac/diagnostic_spec.rb +++ b/Library/Homebrew/test/os/mac/diagnostic_spec.rb @@ -1,3 +1,4 @@ +# typed: true # frozen_string_literal: true require "diagnostic" diff --git a/Library/Homebrew/test/os/mac/formula_installer_spec.rb b/Library/Homebrew/test/os/mac/formula_installer_spec.rb index 21b83da6c361d..9bd807689d0aa 100644 --- a/Library/Homebrew/test/os/mac/formula_installer_spec.rb +++ b/Library/Homebrew/test/os/mac/formula_installer_spec.rb @@ -1,3 +1,4 @@ +# typed: true # frozen_string_literal: true require "formula_installer" diff --git a/Library/Homebrew/test/os/mac/formula_spec.rb b/Library/Homebrew/test/os/mac/formula_spec.rb index a1ce7bad3f086..ce1cfc9f2b683 100644 --- a/Library/Homebrew/test/os/mac/formula_spec.rb +++ b/Library/Homebrew/test/os/mac/formula_spec.rb @@ -1,3 +1,4 @@ +# typed: true # frozen_string_literal: true require "test/support/fixtures/testball" diff --git a/Library/Homebrew/test/os/mac/keg_spec.rb b/Library/Homebrew/test/os/mac/keg_spec.rb index b87beb5d4a0c6..a7ebd07583d80 100644 --- a/Library/Homebrew/test/os/mac/keg_spec.rb +++ b/Library/Homebrew/test/os/mac/keg_spec.rb @@ -1,3 +1,4 @@ +# typed: true # frozen_string_literal: true require "keg" diff --git a/Library/Homebrew/test/os/mac/mach_spec.rb b/Library/Homebrew/test/os/mac/mach_spec.rb index edcfd922e0c12..a43defac3eab4 100644 --- a/Library/Homebrew/test/os/mac/mach_spec.rb +++ b/Library/Homebrew/test/os/mac/mach_spec.rb @@ -1,3 +1,4 @@ +# typed: true # frozen_string_literal: true RSpec.describe MachOShim do diff --git a/Library/Homebrew/test/os/mac/pkgconfig_spec.rb b/Library/Homebrew/test/os/mac/pkgconfig_spec.rb index 4c7d559b05b60..2555280377b51 100644 --- a/Library/Homebrew/test/os/mac/pkgconfig_spec.rb +++ b/Library/Homebrew/test/os/mac/pkgconfig_spec.rb @@ -1,3 +1,4 @@ +# typed: true # frozen_string_literal: true # These tests assume the needed SDKs are correctly installed, i.e. `brew doctor` passes. diff --git a/Library/Homebrew/test/os/mac/sdk_spec.rb b/Library/Homebrew/test/os/mac/sdk_spec.rb index 8ea6f8e12c05c..1b8172d900211 100644 --- a/Library/Homebrew/test/os/mac/sdk_spec.rb +++ b/Library/Homebrew/test/os/mac/sdk_spec.rb @@ -1,3 +1,4 @@ +# typed: true # frozen_string_literal: true RSpec.describe OS::Mac::CLTSDKLocator do diff --git a/Library/Homebrew/test/os/mac_spec.rb b/Library/Homebrew/test/os/mac_spec.rb index 996c8d19286b3..522ea112cebdc 100644 --- a/Library/Homebrew/test/os/mac_spec.rb +++ b/Library/Homebrew/test/os/mac_spec.rb @@ -1,3 +1,4 @@ +# typed: true # frozen_string_literal: true require "locale" diff --git a/Library/Homebrew/test/os/os_spec.rb b/Library/Homebrew/test/os/os_spec.rb index 0dd0463bf7830..871c044a713b9 100644 --- a/Library/Homebrew/test/os/os_spec.rb +++ b/Library/Homebrew/test/os/os_spec.rb @@ -1,3 +1,4 @@ +# typed: true # frozen_string_literal: true RSpec.describe OS do diff --git a/Library/Homebrew/test/patch_spec.rb b/Library/Homebrew/test/patch_spec.rb index a6343de3cb4d4..9a2b607a0bb58 100644 --- a/Library/Homebrew/test/patch_spec.rb +++ b/Library/Homebrew/test/patch_spec.rb @@ -1,3 +1,4 @@ +# typed: true # frozen_string_literal: true require "patch" diff --git a/Library/Homebrew/test/patching_spec.rb b/Library/Homebrew/test/patching_spec.rb index c4818cc250928..a369c51759d96 100644 --- a/Library/Homebrew/test/patching_spec.rb +++ b/Library/Homebrew/test/patching_spec.rb @@ -1,3 +1,4 @@ +# typed: true # frozen_string_literal: true require "formula" diff --git a/Library/Homebrew/test/pathname_spec.rb b/Library/Homebrew/test/pathname_spec.rb index 746c4b361bc1c..2bef1acf230ca 100644 --- a/Library/Homebrew/test/pathname_spec.rb +++ b/Library/Homebrew/test/pathname_spec.rb @@ -1,3 +1,4 @@ +# typed: true # frozen_string_literal: true require "extend/pathname" diff --git a/Library/Homebrew/test/pkg_version_spec.rb b/Library/Homebrew/test/pkg_version_spec.rb index cbcc2f4393bec..7cd5912b6481f 100644 --- a/Library/Homebrew/test/pkg_version_spec.rb +++ b/Library/Homebrew/test/pkg_version_spec.rb @@ -1,3 +1,4 @@ +# typed: true # frozen_string_literal: true require "pkg_version" diff --git a/Library/Homebrew/test/requirement_spec.rb b/Library/Homebrew/test/requirement_spec.rb index 67f5427397283..6fe6783aeb4f5 100644 --- a/Library/Homebrew/test/requirement_spec.rb +++ b/Library/Homebrew/test/requirement_spec.rb @@ -1,3 +1,4 @@ +# typed: true # frozen_string_literal: true require "extend/ENV" diff --git a/Library/Homebrew/test/requirements/arch_requirement_spec.rb b/Library/Homebrew/test/requirements/arch_requirement_spec.rb index bb0480a2a3292..fbb9f193e4577 100644 --- a/Library/Homebrew/test/requirements/arch_requirement_spec.rb +++ b/Library/Homebrew/test/requirements/arch_requirement_spec.rb @@ -1,3 +1,4 @@ +# typed: true # frozen_string_literal: true require "requirements/arch_requirement" diff --git a/Library/Homebrew/test/requirements/codesign_requirement_spec.rb b/Library/Homebrew/test/requirements/codesign_requirement_spec.rb index 00f101310c3eb..7352487969227 100644 --- a/Library/Homebrew/test/requirements/codesign_requirement_spec.rb +++ b/Library/Homebrew/test/requirements/codesign_requirement_spec.rb @@ -1,3 +1,4 @@ +# typed: true # frozen_string_literal: true require "requirements/codesign_requirement" diff --git a/Library/Homebrew/test/requirements/linux_requirement_spec.rb b/Library/Homebrew/test/requirements/linux_requirement_spec.rb index ce67fd6e57563..56c7a649307f4 100644 --- a/Library/Homebrew/test/requirements/linux_requirement_spec.rb +++ b/Library/Homebrew/test/requirements/linux_requirement_spec.rb @@ -1,3 +1,4 @@ +# typed: true # frozen_string_literal: true require "requirements/linux_requirement" diff --git a/Library/Homebrew/test/requirements/macos_requirement_spec.rb b/Library/Homebrew/test/requirements/macos_requirement_spec.rb index 963b2fce594c0..98c7acdafa12d 100644 --- a/Library/Homebrew/test/requirements/macos_requirement_spec.rb +++ b/Library/Homebrew/test/requirements/macos_requirement_spec.rb @@ -1,3 +1,4 @@ +# typed: true # frozen_string_literal: true require "requirements/macos_requirement" diff --git a/Library/Homebrew/test/requirements_spec.rb b/Library/Homebrew/test/requirements_spec.rb index f7c6eca53684b..98c0086dac8ee 100644 --- a/Library/Homebrew/test/requirements_spec.rb +++ b/Library/Homebrew/test/requirements_spec.rb @@ -1,3 +1,4 @@ +# typed: true # frozen_string_literal: true require "requirements" diff --git a/Library/Homebrew/test/resource_spec.rb b/Library/Homebrew/test/resource_spec.rb index 0b58c443f53fd..22ddee0f25add 100644 --- a/Library/Homebrew/test/resource_spec.rb +++ b/Library/Homebrew/test/resource_spec.rb @@ -1,3 +1,4 @@ +# typed: true # frozen_string_literal: true require "resource" diff --git a/Library/Homebrew/test/rubocop_spec.rb b/Library/Homebrew/test/rubocop_spec.rb index 1e0dcf23b80a2..6981c6ea06d11 100644 --- a/Library/Homebrew/test/rubocop_spec.rb +++ b/Library/Homebrew/test/rubocop_spec.rb @@ -1,3 +1,4 @@ +# typed: true # frozen_string_literal: true require "open3" diff --git a/Library/Homebrew/test/rubocops/blank_spec.rb b/Library/Homebrew/test/rubocops/blank_spec.rb index ee3fc32a080fd..a467e1d16a017 100644 --- a/Library/Homebrew/test/rubocops/blank_spec.rb +++ b/Library/Homebrew/test/rubocops/blank_spec.rb @@ -1,3 +1,4 @@ +# typed: true # frozen_string_literal: true require "rubocops/blank" diff --git a/Library/Homebrew/test/rubocops/bottle/bottle_digest_indentation_spec.rb b/Library/Homebrew/test/rubocops/bottle/bottle_digest_indentation_spec.rb index ea116ca67033b..0137ebfcefc5d 100644 --- a/Library/Homebrew/test/rubocops/bottle/bottle_digest_indentation_spec.rb +++ b/Library/Homebrew/test/rubocops/bottle/bottle_digest_indentation_spec.rb @@ -1,3 +1,4 @@ +# typed: true # frozen_string_literal: true require "rubocops/bottle" diff --git a/Library/Homebrew/test/rubocops/bottle/bottle_format_spec.rb b/Library/Homebrew/test/rubocops/bottle/bottle_format_spec.rb index 3f6b4853d141f..1a419d559c539 100644 --- a/Library/Homebrew/test/rubocops/bottle/bottle_format_spec.rb +++ b/Library/Homebrew/test/rubocops/bottle/bottle_format_spec.rb @@ -1,3 +1,4 @@ +# typed: true # frozen_string_literal: true require "rubocops/bottle" diff --git a/Library/Homebrew/test/rubocops/bottle/bottle_order_spec.rb b/Library/Homebrew/test/rubocops/bottle/bottle_order_spec.rb index 94209b7ea95fc..4a19e16d12942 100644 --- a/Library/Homebrew/test/rubocops/bottle/bottle_order_spec.rb +++ b/Library/Homebrew/test/rubocops/bottle/bottle_order_spec.rb @@ -1,3 +1,4 @@ +# typed: true # frozen_string_literal: true require "rubocops/bottle" diff --git a/Library/Homebrew/test/rubocops/bottle/bottle_tag_indentation_spec.rb b/Library/Homebrew/test/rubocops/bottle/bottle_tag_indentation_spec.rb index 8bc13448aa1de..dee6e766139e7 100644 --- a/Library/Homebrew/test/rubocops/bottle/bottle_tag_indentation_spec.rb +++ b/Library/Homebrew/test/rubocops/bottle/bottle_tag_indentation_spec.rb @@ -1,3 +1,4 @@ +# typed: true # frozen_string_literal: true require "rubocops/bottle" diff --git a/Library/Homebrew/test/rubocops/cask/array_alphabetization_spec.rb b/Library/Homebrew/test/rubocops/cask/array_alphabetization_spec.rb index f8eefda314d80..87453d02c79fe 100644 --- a/Library/Homebrew/test/rubocops/cask/array_alphabetization_spec.rb +++ b/Library/Homebrew/test/rubocops/cask/array_alphabetization_spec.rb @@ -1,3 +1,4 @@ +# typed: true # frozen_string_literal: true require "rubocops/rubocop-cask" diff --git a/Library/Homebrew/test/rubocops/cask/deprecate_disable_unsigned_reason_spec.rb b/Library/Homebrew/test/rubocops/cask/deprecate_disable_unsigned_reason_spec.rb index 53359c7de63dd..3aa724001a201 100644 --- a/Library/Homebrew/test/rubocops/cask/deprecate_disable_unsigned_reason_spec.rb +++ b/Library/Homebrew/test/rubocops/cask/deprecate_disable_unsigned_reason_spec.rb @@ -1,3 +1,4 @@ +# typed: true # frozen_string_literal: true require "rubocops/rubocop-cask" diff --git a/Library/Homebrew/test/rubocops/cask/desc_spec.rb b/Library/Homebrew/test/rubocops/cask/desc_spec.rb index 3867c6514f2e9..ecb55b025ba35 100644 --- a/Library/Homebrew/test/rubocops/cask/desc_spec.rb +++ b/Library/Homebrew/test/rubocops/cask/desc_spec.rb @@ -1,3 +1,4 @@ +# typed: true # frozen_string_literal: true require "rubocops/rubocop-cask" diff --git a/Library/Homebrew/test/rubocops/cask/discontinued_spec.rb b/Library/Homebrew/test/rubocops/cask/discontinued_spec.rb index a1b3a82afa362..8ac51240d9962 100644 --- a/Library/Homebrew/test/rubocops/cask/discontinued_spec.rb +++ b/Library/Homebrew/test/rubocops/cask/discontinued_spec.rb @@ -1,3 +1,4 @@ +# typed: true # frozen_string_literal: true require "rubocops/rubocop-cask" diff --git a/Library/Homebrew/test/rubocops/cask/homepage_url_styling_spec.rb b/Library/Homebrew/test/rubocops/cask/homepage_url_styling_spec.rb index 28b4978856326..f30faa2fc2998 100644 --- a/Library/Homebrew/test/rubocops/cask/homepage_url_styling_spec.rb +++ b/Library/Homebrew/test/rubocops/cask/homepage_url_styling_spec.rb @@ -1,3 +1,4 @@ +# typed: true # frozen_string_literal: true require "rubocops/rubocop-cask" diff --git a/Library/Homebrew/test/rubocops/cask/no_autobump.rb b/Library/Homebrew/test/rubocops/cask/no_autobump.rb index c97fe0c13bbd2..f5073d7c1d8e7 100644 --- a/Library/Homebrew/test/rubocops/cask/no_autobump.rb +++ b/Library/Homebrew/test/rubocops/cask/no_autobump.rb @@ -1,3 +1,4 @@ +# typed: true # frozen_string_literal: true require "rubocops/rubocop-cask" diff --git a/Library/Homebrew/test/rubocops/cask/no_overrides_spec.rb b/Library/Homebrew/test/rubocops/cask/no_overrides_spec.rb index 0da76c44e7ded..851085eebcd6f 100644 --- a/Library/Homebrew/test/rubocops/cask/no_overrides_spec.rb +++ b/Library/Homebrew/test/rubocops/cask/no_overrides_spec.rb @@ -1,3 +1,4 @@ +# typed: true # frozen_string_literal: true require "rubocops/rubocop-cask" diff --git a/Library/Homebrew/test/rubocops/cask/on_system_conditionals_spec.rb b/Library/Homebrew/test/rubocops/cask/on_system_conditionals_spec.rb index faf34bf0499f6..4e1429fd9b566 100644 --- a/Library/Homebrew/test/rubocops/cask/on_system_conditionals_spec.rb +++ b/Library/Homebrew/test/rubocops/cask/on_system_conditionals_spec.rb @@ -1,3 +1,4 @@ +# typed: true # frozen_string_literal: true require "rubocops/rubocop-cask" diff --git a/Library/Homebrew/test/rubocops/cask/shared_filelist_glob_spec.rb b/Library/Homebrew/test/rubocops/cask/shared_filelist_glob_spec.rb index 55151c9f6f838..55b015b7bcf12 100644 --- a/Library/Homebrew/test/rubocops/cask/shared_filelist_glob_spec.rb +++ b/Library/Homebrew/test/rubocops/cask/shared_filelist_glob_spec.rb @@ -1,3 +1,4 @@ +# typed: true # frozen_string_literal: true require "rubocops/rubocop-cask" diff --git a/Library/Homebrew/test/rubocops/cask/stanza_grouping_spec.rb b/Library/Homebrew/test/rubocops/cask/stanza_grouping_spec.rb index 3afc606736a6f..a69c4d7a023cc 100644 --- a/Library/Homebrew/test/rubocops/cask/stanza_grouping_spec.rb +++ b/Library/Homebrew/test/rubocops/cask/stanza_grouping_spec.rb @@ -1,3 +1,4 @@ +# typed: true # frozen_string_literal: true require "rubocops/rubocop-cask" diff --git a/Library/Homebrew/test/rubocops/cask/stanza_order_spec.rb b/Library/Homebrew/test/rubocops/cask/stanza_order_spec.rb index 4fd41e18dab68..d807ebb3d06df 100644 --- a/Library/Homebrew/test/rubocops/cask/stanza_order_spec.rb +++ b/Library/Homebrew/test/rubocops/cask/stanza_order_spec.rb @@ -1,3 +1,4 @@ +# typed: true # frozen_string_literal: true require "rubocops/rubocop-cask" diff --git a/Library/Homebrew/test/rubocops/cask/uninstall_methods_order_spec.rb b/Library/Homebrew/test/rubocops/cask/uninstall_methods_order_spec.rb index c5f40aaf2f83e..bfc26938de2a7 100644 --- a/Library/Homebrew/test/rubocops/cask/uninstall_methods_order_spec.rb +++ b/Library/Homebrew/test/rubocops/cask/uninstall_methods_order_spec.rb @@ -1,3 +1,4 @@ +# typed: true # frozen_string_literal: true require "rubocops/rubocop-cask" diff --git a/Library/Homebrew/test/rubocops/cask/url_legacy_comma_separators_spec.rb b/Library/Homebrew/test/rubocops/cask/url_legacy_comma_separators_spec.rb index 1fe0e63c3b9a5..24d6c3641b1ab 100644 --- a/Library/Homebrew/test/rubocops/cask/url_legacy_comma_separators_spec.rb +++ b/Library/Homebrew/test/rubocops/cask/url_legacy_comma_separators_spec.rb @@ -1,3 +1,4 @@ +# typed: true # frozen_string_literal: true require "rubocops/rubocop-cask" diff --git a/Library/Homebrew/test/rubocops/cask/url_spec.rb b/Library/Homebrew/test/rubocops/cask/url_spec.rb index 29cb31c1e4325..3c63d02c60e09 100644 --- a/Library/Homebrew/test/rubocops/cask/url_spec.rb +++ b/Library/Homebrew/test/rubocops/cask/url_spec.rb @@ -1,3 +1,4 @@ +# typed: true # frozen_string_literal: true require "rubocops/rubocop-cask" diff --git a/Library/Homebrew/test/rubocops/cask/variables_spec.rb b/Library/Homebrew/test/rubocops/cask/variables_spec.rb index b597a584eee7a..3d4779da32106 100644 --- a/Library/Homebrew/test/rubocops/cask/variables_spec.rb +++ b/Library/Homebrew/test/rubocops/cask/variables_spec.rb @@ -1,3 +1,4 @@ +# typed: true # frozen_string_literal: true require "rubocops/rubocop-cask" diff --git a/Library/Homebrew/test/rubocops/caveats_spec.rb b/Library/Homebrew/test/rubocops/caveats_spec.rb index 7524d7df54975..87b08eb1c7bcc 100644 --- a/Library/Homebrew/test/rubocops/caveats_spec.rb +++ b/Library/Homebrew/test/rubocops/caveats_spec.rb @@ -1,3 +1,4 @@ +# typed: true # frozen_string_literal: true require "rubocops/caveats" diff --git a/Library/Homebrew/test/rubocops/checksum/checksum_case_spec.rb b/Library/Homebrew/test/rubocops/checksum/checksum_case_spec.rb index 612a0b5383e7c..b88e2ee47d6a0 100644 --- a/Library/Homebrew/test/rubocops/checksum/checksum_case_spec.rb +++ b/Library/Homebrew/test/rubocops/checksum/checksum_case_spec.rb @@ -1,3 +1,4 @@ +# typed: true # frozen_string_literal: true require "rubocops/checksum" diff --git a/Library/Homebrew/test/rubocops/checksum/checksum_spec.rb b/Library/Homebrew/test/rubocops/checksum/checksum_spec.rb index b82593f96b9fd..2043776260079 100644 --- a/Library/Homebrew/test/rubocops/checksum/checksum_spec.rb +++ b/Library/Homebrew/test/rubocops/checksum/checksum_spec.rb @@ -1,3 +1,4 @@ +# typed: true # frozen_string_literal: true require "rubocops/checksum" diff --git a/Library/Homebrew/test/rubocops/class/class_name_spec.rb b/Library/Homebrew/test/rubocops/class/class_name_spec.rb index 7bef8957f991f..532e497d1bdbb 100644 --- a/Library/Homebrew/test/rubocops/class/class_name_spec.rb +++ b/Library/Homebrew/test/rubocops/class/class_name_spec.rb @@ -1,3 +1,4 @@ +# typed: true # frozen_string_literal: true require "rubocops/class" diff --git a/Library/Homebrew/test/rubocops/class/test_present.rb b/Library/Homebrew/test/rubocops/class/test_present.rb index 106863ac88bd5..117608cfe2dbb 100644 --- a/Library/Homebrew/test/rubocops/class/test_present.rb +++ b/Library/Homebrew/test/rubocops/class/test_present.rb @@ -1,3 +1,4 @@ +# typed: true # frozen_string_literal: true require "rubocops/class" diff --git a/Library/Homebrew/test/rubocops/class/test_spec.rb b/Library/Homebrew/test/rubocops/class/test_spec.rb index deb36fc66feb3..8770fc49ad993 100644 --- a/Library/Homebrew/test/rubocops/class/test_spec.rb +++ b/Library/Homebrew/test/rubocops/class/test_spec.rb @@ -1,3 +1,4 @@ +# typed: true # frozen_string_literal: true require "rubocops/class" diff --git a/Library/Homebrew/test/rubocops/compact_blank_spec.rb b/Library/Homebrew/test/rubocops/compact_blank_spec.rb index 5e0917f95c91b..4334056317c2f 100644 --- a/Library/Homebrew/test/rubocops/compact_blank_spec.rb +++ b/Library/Homebrew/test/rubocops/compact_blank_spec.rb @@ -1,3 +1,4 @@ +# typed: true # frozen_string_literal: true require "rubocops/compact_blank" diff --git a/Library/Homebrew/test/rubocops/components_order_spec.rb b/Library/Homebrew/test/rubocops/components_order_spec.rb index 0fc399eca1b13..4dd95abff5dde 100644 --- a/Library/Homebrew/test/rubocops/components_order_spec.rb +++ b/Library/Homebrew/test/rubocops/components_order_spec.rb @@ -1,3 +1,4 @@ +# typed: true # frozen_string_literal: true require "rubocops/components_order" diff --git a/Library/Homebrew/test/rubocops/components_redundancy_spec.rb b/Library/Homebrew/test/rubocops/components_redundancy_spec.rb index 73b66318c908f..66c06f8da7956 100644 --- a/Library/Homebrew/test/rubocops/components_redundancy_spec.rb +++ b/Library/Homebrew/test/rubocops/components_redundancy_spec.rb @@ -1,3 +1,4 @@ +# typed: true # frozen_string_literal: true require "rubocops/components_redundancy" diff --git a/Library/Homebrew/test/rubocops/conflicts_spec.rb b/Library/Homebrew/test/rubocops/conflicts_spec.rb index 21967136db5e8..9e58e6161d7a3 100644 --- a/Library/Homebrew/test/rubocops/conflicts_spec.rb +++ b/Library/Homebrew/test/rubocops/conflicts_spec.rb @@ -1,3 +1,4 @@ +# typed: true # frozen_string_literal: true require "rubocops/conflicts" diff --git a/Library/Homebrew/test/rubocops/dependency_order_spec.rb b/Library/Homebrew/test/rubocops/dependency_order_spec.rb index 80a465a93826a..06d95af39989a 100644 --- a/Library/Homebrew/test/rubocops/dependency_order_spec.rb +++ b/Library/Homebrew/test/rubocops/dependency_order_spec.rb @@ -1,3 +1,4 @@ +# typed: true # frozen_string_literal: true require "rubocops/dependency_order" diff --git a/Library/Homebrew/test/rubocops/deprecate_disable/date_spec.rb b/Library/Homebrew/test/rubocops/deprecate_disable/date_spec.rb index d613f0a73320c..a614a5a8533d5 100644 --- a/Library/Homebrew/test/rubocops/deprecate_disable/date_spec.rb +++ b/Library/Homebrew/test/rubocops/deprecate_disable/date_spec.rb @@ -1,3 +1,4 @@ +# typed: true # frozen_string_literal: true require "rubocops/deprecate_disable" diff --git a/Library/Homebrew/test/rubocops/deprecate_disable/reason_spec.rb b/Library/Homebrew/test/rubocops/deprecate_disable/reason_spec.rb index 067c8c4bed007..a89e6a44d98d5 100644 --- a/Library/Homebrew/test/rubocops/deprecate_disable/reason_spec.rb +++ b/Library/Homebrew/test/rubocops/deprecate_disable/reason_spec.rb @@ -1,3 +1,4 @@ +# typed: true # frozen_string_literal: true require "rubocops/deprecate_disable" diff --git a/Library/Homebrew/test/rubocops/desc_spec.rb b/Library/Homebrew/test/rubocops/desc_spec.rb index 173e07033de02..f81f7fe4564be 100644 --- a/Library/Homebrew/test/rubocops/desc_spec.rb +++ b/Library/Homebrew/test/rubocops/desc_spec.rb @@ -1,3 +1,4 @@ +# typed: true # frozen_string_literal: true require "rubocops/desc" diff --git a/Library/Homebrew/test/rubocops/disable_comment_spec.rb b/Library/Homebrew/test/rubocops/disable_comment_spec.rb index 0c3e0d28583de..3bd94161c0232 100644 --- a/Library/Homebrew/test/rubocops/disable_comment_spec.rb +++ b/Library/Homebrew/test/rubocops/disable_comment_spec.rb @@ -1,3 +1,4 @@ +# typed: true # frozen_string_literal: true require "rubocops/disable_comment" diff --git a/Library/Homebrew/test/rubocops/exec_shell_metacharacters_spec.rb b/Library/Homebrew/test/rubocops/exec_shell_metacharacters_spec.rb index 2f5c4ab4f185a..84ee6a584b019 100644 --- a/Library/Homebrew/test/rubocops/exec_shell_metacharacters_spec.rb +++ b/Library/Homebrew/test/rubocops/exec_shell_metacharacters_spec.rb @@ -1,3 +1,4 @@ +# typed: true # frozen_string_literal: true require "rubocops/shell_commands" diff --git a/Library/Homebrew/test/rubocops/files_spec.rb b/Library/Homebrew/test/rubocops/files_spec.rb index d6f9505fb5989..fa6b27ae4f1bc 100644 --- a/Library/Homebrew/test/rubocops/files_spec.rb +++ b/Library/Homebrew/test/rubocops/files_spec.rb @@ -1,3 +1,4 @@ +# typed: true # frozen_string_literal: true require "rubocops/files" diff --git a/Library/Homebrew/test/rubocops/homepage_spec.rb b/Library/Homebrew/test/rubocops/homepage_spec.rb index 76998a17fbf36..3a467be9b5655 100644 --- a/Library/Homebrew/test/rubocops/homepage_spec.rb +++ b/Library/Homebrew/test/rubocops/homepage_spec.rb @@ -1,3 +1,4 @@ +# typed: true # frozen_string_literal: true require "rubocops/homepage" diff --git a/Library/Homebrew/test/rubocops/install_bundler_gems_spec.rb b/Library/Homebrew/test/rubocops/install_bundler_gems_spec.rb index 032ddd5c25d84..45d0e8b2c11f8 100644 --- a/Library/Homebrew/test/rubocops/install_bundler_gems_spec.rb +++ b/Library/Homebrew/test/rubocops/install_bundler_gems_spec.rb @@ -1,3 +1,4 @@ +# typed: true # frozen_string_literal: true require "rubocops/install_bundler_gems" diff --git a/Library/Homebrew/test/rubocops/io_read_spec.rb b/Library/Homebrew/test/rubocops/io_read_spec.rb index e26571a726a68..e2d110bb9d618 100644 --- a/Library/Homebrew/test/rubocops/io_read_spec.rb +++ b/Library/Homebrew/test/rubocops/io_read_spec.rb @@ -1,3 +1,4 @@ +# typed: true # frozen_string_literal: true require "rubocops/io_read" diff --git a/Library/Homebrew/test/rubocops/keg_only_spec.rb b/Library/Homebrew/test/rubocops/keg_only_spec.rb index 98d365b90daa5..56016911edc2a 100644 --- a/Library/Homebrew/test/rubocops/keg_only_spec.rb +++ b/Library/Homebrew/test/rubocops/keg_only_spec.rb @@ -1,3 +1,4 @@ +# typed: true # frozen_string_literal: true require "rubocops/keg_only" diff --git a/Library/Homebrew/test/rubocops/lines/class_inheritance_spec.rb b/Library/Homebrew/test/rubocops/lines/class_inheritance_spec.rb index 37903507f046a..9c81b0c35a4a4 100644 --- a/Library/Homebrew/test/rubocops/lines/class_inheritance_spec.rb +++ b/Library/Homebrew/test/rubocops/lines/class_inheritance_spec.rb @@ -1,3 +1,4 @@ +# typed: true # frozen_string_literal: true require "rubocops/lines" diff --git a/Library/Homebrew/test/rubocops/lines/full_dependency_check_spec.rb b/Library/Homebrew/test/rubocops/lines/full_dependency_check_spec.rb index fb2f34bd2bed2..1fb0c6f7cdb9e 100644 --- a/Library/Homebrew/test/rubocops/lines/full_dependency_check_spec.rb +++ b/Library/Homebrew/test/rubocops/lines/full_dependency_check_spec.rb @@ -1,3 +1,4 @@ +# typed: true # frozen_string_literal: true require "rubocops/lines" diff --git a/Library/Homebrew/test/rubocops/lines/generate_completions_spec.rb b/Library/Homebrew/test/rubocops/lines/generate_completions_spec.rb index 244e6665ff1ef..a6710965d1b85 100644 --- a/Library/Homebrew/test/rubocops/lines/generate_completions_spec.rb +++ b/Library/Homebrew/test/rubocops/lines/generate_completions_spec.rb @@ -1,3 +1,4 @@ +# typed: true # frozen_string_literal: true require "rubocops/lines" diff --git a/Library/Homebrew/test/rubocops/lines/quictls_check_spec.rb b/Library/Homebrew/test/rubocops/lines/quictls_check_spec.rb index 81150a2dee1fb..401d0429d6fc3 100644 --- a/Library/Homebrew/test/rubocops/lines/quictls_check_spec.rb +++ b/Library/Homebrew/test/rubocops/lines/quictls_check_spec.rb @@ -1,3 +1,4 @@ +# typed: true # frozen_string_literal: true require "rubocops/lines" diff --git a/Library/Homebrew/test/rubocops/lines_spec.rb b/Library/Homebrew/test/rubocops/lines_spec.rb index d7501035875b8..24e16a36ab5fc 100644 --- a/Library/Homebrew/test/rubocops/lines_spec.rb +++ b/Library/Homebrew/test/rubocops/lines_spec.rb @@ -1,3 +1,4 @@ +# typed: true # frozen_string_literal: true require "rubocops/lines" diff --git a/Library/Homebrew/test/rubocops/livecheck/regex_case_insensitive_spec.rb b/Library/Homebrew/test/rubocops/livecheck/regex_case_insensitive_spec.rb index 8ab10c3ed9ecf..c143a57e69df7 100644 --- a/Library/Homebrew/test/rubocops/livecheck/regex_case_insensitive_spec.rb +++ b/Library/Homebrew/test/rubocops/livecheck/regex_case_insensitive_spec.rb @@ -1,3 +1,4 @@ +# typed: true # frozen_string_literal: true require "rubocops/livecheck" diff --git a/Library/Homebrew/test/rubocops/livecheck/regex_extension_spec.rb b/Library/Homebrew/test/rubocops/livecheck/regex_extension_spec.rb index 24d4cc7f1c8ee..575e03183e332 100644 --- a/Library/Homebrew/test/rubocops/livecheck/regex_extension_spec.rb +++ b/Library/Homebrew/test/rubocops/livecheck/regex_extension_spec.rb @@ -1,3 +1,4 @@ +# typed: true # frozen_string_literal: true require "rubocops/livecheck" diff --git a/Library/Homebrew/test/rubocops/livecheck/regex_if_page_match_spec.rb b/Library/Homebrew/test/rubocops/livecheck/regex_if_page_match_spec.rb index 715d8a0896180..9051ac4999168 100644 --- a/Library/Homebrew/test/rubocops/livecheck/regex_if_page_match_spec.rb +++ b/Library/Homebrew/test/rubocops/livecheck/regex_if_page_match_spec.rb @@ -1,3 +1,4 @@ +# typed: true # frozen_string_literal: true require "rubocops/livecheck" diff --git a/Library/Homebrew/test/rubocops/livecheck/regex_parentheses_spec.rb b/Library/Homebrew/test/rubocops/livecheck/regex_parentheses_spec.rb index 42e76de5f1e35..d667df4af8f47 100644 --- a/Library/Homebrew/test/rubocops/livecheck/regex_parentheses_spec.rb +++ b/Library/Homebrew/test/rubocops/livecheck/regex_parentheses_spec.rb @@ -1,3 +1,4 @@ +# typed: true # frozen_string_literal: true require "rubocops/livecheck" diff --git a/Library/Homebrew/test/rubocops/livecheck/skip_spec.rb b/Library/Homebrew/test/rubocops/livecheck/skip_spec.rb index 0afc224aec06b..123dfe9ad12fe 100644 --- a/Library/Homebrew/test/rubocops/livecheck/skip_spec.rb +++ b/Library/Homebrew/test/rubocops/livecheck/skip_spec.rb @@ -1,3 +1,4 @@ +# typed: true # frozen_string_literal: true require "rubocops/livecheck" diff --git a/Library/Homebrew/test/rubocops/livecheck/url_provided_spec.rb b/Library/Homebrew/test/rubocops/livecheck/url_provided_spec.rb index cd16f0725e6de..340d7057312a8 100644 --- a/Library/Homebrew/test/rubocops/livecheck/url_provided_spec.rb +++ b/Library/Homebrew/test/rubocops/livecheck/url_provided_spec.rb @@ -1,3 +1,4 @@ +# typed: true # frozen_string_literal: true require "rubocops/livecheck" diff --git a/Library/Homebrew/test/rubocops/livecheck/url_symbol_spec.rb b/Library/Homebrew/test/rubocops/livecheck/url_symbol_spec.rb index ec6e17d8b296e..bf720030e502b 100644 --- a/Library/Homebrew/test/rubocops/livecheck/url_symbol_spec.rb +++ b/Library/Homebrew/test/rubocops/livecheck/url_symbol_spec.rb @@ -1,3 +1,4 @@ +# typed: true # frozen_string_literal: true require "rubocops/livecheck" diff --git a/Library/Homebrew/test/rubocops/move_to_extend_os_spec.rb b/Library/Homebrew/test/rubocops/move_to_extend_os_spec.rb index a20b0d949e149..669a8eefda397 100644 --- a/Library/Homebrew/test/rubocops/move_to_extend_os_spec.rb +++ b/Library/Homebrew/test/rubocops/move_to_extend_os_spec.rb @@ -1,3 +1,4 @@ +# typed: true # frozen_string_literal: true require "rubocops/move_to_extend_os" diff --git a/Library/Homebrew/test/rubocops/negate_include_spec.rb b/Library/Homebrew/test/rubocops/negate_include_spec.rb index 0d3799913f991..956f69a0f59b2 100644 --- a/Library/Homebrew/test/rubocops/negate_include_spec.rb +++ b/Library/Homebrew/test/rubocops/negate_include_spec.rb @@ -1,3 +1,4 @@ +# typed: true # frozen_string_literal: true require "rubocops/negate_include" diff --git a/Library/Homebrew/test/rubocops/no_autobump.rb b/Library/Homebrew/test/rubocops/no_autobump.rb index 2b66a853983bf..e292cb70f49e5 100644 --- a/Library/Homebrew/test/rubocops/no_autobump.rb +++ b/Library/Homebrew/test/rubocops/no_autobump.rb @@ -1,3 +1,4 @@ +# typed: true # frozen_string_literal: true require "rubocops/no_autobump" diff --git a/Library/Homebrew/test/rubocops/no_fileutils_rmrf_spec.rb b/Library/Homebrew/test/rubocops/no_fileutils_rmrf_spec.rb index bc8b4aa99f6fa..a9b3a5ce74734 100644 --- a/Library/Homebrew/test/rubocops/no_fileutils_rmrf_spec.rb +++ b/Library/Homebrew/test/rubocops/no_fileutils_rmrf_spec.rb @@ -1,3 +1,4 @@ +# typed: true # frozen_string_literal: true require "rubocops/no_fileutils_rmrf" diff --git a/Library/Homebrew/test/rubocops/options_spec.rb b/Library/Homebrew/test/rubocops/options_spec.rb index 4a8d0396b8895..9b16a5ce2e51d 100644 --- a/Library/Homebrew/test/rubocops/options_spec.rb +++ b/Library/Homebrew/test/rubocops/options_spec.rb @@ -1,3 +1,4 @@ +# typed: true # frozen_string_literal: true require "rubocops/options" diff --git a/Library/Homebrew/test/rubocops/patches_spec.rb b/Library/Homebrew/test/rubocops/patches_spec.rb index 1fc7e23eadc04..f9dc09a7767c7 100644 --- a/Library/Homebrew/test/rubocops/patches_spec.rb +++ b/Library/Homebrew/test/rubocops/patches_spec.rb @@ -1,3 +1,4 @@ +# typed: true # frozen_string_literal: true require "rubocops/patches" diff --git a/Library/Homebrew/test/rubocops/presence_spec.rb b/Library/Homebrew/test/rubocops/presence_spec.rb index 9d2dd7b4864d1..428654066568f 100644 --- a/Library/Homebrew/test/rubocops/presence_spec.rb +++ b/Library/Homebrew/test/rubocops/presence_spec.rb @@ -1,3 +1,4 @@ +# typed: true # frozen_string_literal: true require "rubocops/presence" diff --git a/Library/Homebrew/test/rubocops/present_spec.rb b/Library/Homebrew/test/rubocops/present_spec.rb index 1c2264583284e..a601f39ce055f 100644 --- a/Library/Homebrew/test/rubocops/present_spec.rb +++ b/Library/Homebrew/test/rubocops/present_spec.rb @@ -1,3 +1,4 @@ +# typed: true # frozen_string_literal: true require "rubocops/present" diff --git a/Library/Homebrew/test/rubocops/provided_by_macos_spec.rb b/Library/Homebrew/test/rubocops/provided_by_macos_spec.rb index f43d070b4625d..53ac218083d4d 100644 --- a/Library/Homebrew/test/rubocops/provided_by_macos_spec.rb +++ b/Library/Homebrew/test/rubocops/provided_by_macos_spec.rb @@ -1,3 +1,4 @@ +# typed: true # frozen_string_literal: true require "rubocops/uses_from_macos" diff --git a/Library/Homebrew/test/rubocops/resource_requires_dependencies_spec.rb b/Library/Homebrew/test/rubocops/resource_requires_dependencies_spec.rb index 1b970522e2861..95fee2409a809 100644 --- a/Library/Homebrew/test/rubocops/resource_requires_dependencies_spec.rb +++ b/Library/Homebrew/test/rubocops/resource_requires_dependencies_spec.rb @@ -1,3 +1,4 @@ +# typed: true # frozen_string_literal: true require "rubocops/resource_requires_dependencies" diff --git a/Library/Homebrew/test/rubocops/safe_navigation_with_blank_spec.rb b/Library/Homebrew/test/rubocops/safe_navigation_with_blank_spec.rb index 0b057fbeceadf..03b9257b28a2a 100644 --- a/Library/Homebrew/test/rubocops/safe_navigation_with_blank_spec.rb +++ b/Library/Homebrew/test/rubocops/safe_navigation_with_blank_spec.rb @@ -1,3 +1,4 @@ +# typed: true # frozen_string_literal: true require "rubocops/safe_navigation_with_blank" diff --git a/Library/Homebrew/test/rubocops/service_spec.rb b/Library/Homebrew/test/rubocops/service_spec.rb index aa04b7355c19c..c5d277d718c9c 100644 --- a/Library/Homebrew/test/rubocops/service_spec.rb +++ b/Library/Homebrew/test/rubocops/service_spec.rb @@ -1,3 +1,4 @@ +# typed: true # frozen_string_literal: true require "rubocops/service" diff --git a/Library/Homebrew/test/rubocops/shell_commands_spec.rb b/Library/Homebrew/test/rubocops/shell_commands_spec.rb index 6d0e1734ff0c2..1cc9da22b9674 100644 --- a/Library/Homebrew/test/rubocops/shell_commands_spec.rb +++ b/Library/Homebrew/test/rubocops/shell_commands_spec.rb @@ -1,3 +1,4 @@ +# typed: true # frozen_string_literal: true require "rubocops/shell_commands" diff --git a/Library/Homebrew/test/rubocops/text/assert_statements_spec.rb b/Library/Homebrew/test/rubocops/text/assert_statements_spec.rb index 240e1ff1d9c60..8c64b7447dcc4 100644 --- a/Library/Homebrew/test/rubocops/text/assert_statements_spec.rb +++ b/Library/Homebrew/test/rubocops/text/assert_statements_spec.rb @@ -1,3 +1,4 @@ +# typed: true # frozen_string_literal: true require "rubocops/lines" diff --git a/Library/Homebrew/test/rubocops/text/comments_spec.rb b/Library/Homebrew/test/rubocops/text/comments_spec.rb index 3b1817c473b29..8e6a4baa12db4 100644 --- a/Library/Homebrew/test/rubocops/text/comments_spec.rb +++ b/Library/Homebrew/test/rubocops/text/comments_spec.rb @@ -1,3 +1,4 @@ +# typed: true # frozen_string_literal: true require "rubocops/lines" diff --git a/Library/Homebrew/test/rubocops/text/license_arrays_spec.rb b/Library/Homebrew/test/rubocops/text/license_arrays_spec.rb index c009b84c13da5..8db7e0b45fc07 100644 --- a/Library/Homebrew/test/rubocops/text/license_arrays_spec.rb +++ b/Library/Homebrew/test/rubocops/text/license_arrays_spec.rb @@ -1,3 +1,4 @@ +# typed: true # frozen_string_literal: true require "rubocops/lines" diff --git a/Library/Homebrew/test/rubocops/text/licenses_spec.rb b/Library/Homebrew/test/rubocops/text/licenses_spec.rb index d45c2445bbab7..15cb8e0c84dbb 100644 --- a/Library/Homebrew/test/rubocops/text/licenses_spec.rb +++ b/Library/Homebrew/test/rubocops/text/licenses_spec.rb @@ -1,3 +1,4 @@ +# typed: true # frozen_string_literal: true require "rubocops/lines" diff --git a/Library/Homebrew/test/rubocops/text/macos_on_linux_spec.rb b/Library/Homebrew/test/rubocops/text/macos_on_linux_spec.rb index c34022e04d534..55f3bb7072251 100644 --- a/Library/Homebrew/test/rubocops/text/macos_on_linux_spec.rb +++ b/Library/Homebrew/test/rubocops/text/macos_on_linux_spec.rb @@ -1,3 +1,4 @@ +# typed: true # frozen_string_literal: true require "rubocops/lines" diff --git a/Library/Homebrew/test/rubocops/text/make_check_spec.rb b/Library/Homebrew/test/rubocops/text/make_check_spec.rb index 274f4576009b8..68b9b2d5dff89 100644 --- a/Library/Homebrew/test/rubocops/text/make_check_spec.rb +++ b/Library/Homebrew/test/rubocops/text/make_check_spec.rb @@ -1,3 +1,4 @@ +# typed: true # frozen_string_literal: true require "rubocops/lines" diff --git a/Library/Homebrew/test/rubocops/text/miscellaneous_spec.rb b/Library/Homebrew/test/rubocops/text/miscellaneous_spec.rb index cd3b567220d70..58ea4c6af5685 100644 --- a/Library/Homebrew/test/rubocops/text/miscellaneous_spec.rb +++ b/Library/Homebrew/test/rubocops/text/miscellaneous_spec.rb @@ -1,3 +1,4 @@ +# typed: true # frozen_string_literal: true require "rubocops/lines" diff --git a/Library/Homebrew/test/rubocops/text/mpi_check_spec.rb b/Library/Homebrew/test/rubocops/text/mpi_check_spec.rb index 0ccedc8c52a57..8d8b604bc0abb 100644 --- a/Library/Homebrew/test/rubocops/text/mpi_check_spec.rb +++ b/Library/Homebrew/test/rubocops/text/mpi_check_spec.rb @@ -1,3 +1,4 @@ +# typed: true # frozen_string_literal: true require "rubocops/lines" diff --git a/Library/Homebrew/test/rubocops/text/on_system_conditionals_spec.rb b/Library/Homebrew/test/rubocops/text/on_system_conditionals_spec.rb index aec211e200f62..21a4b88bec9b5 100644 --- a/Library/Homebrew/test/rubocops/text/on_system_conditionals_spec.rb +++ b/Library/Homebrew/test/rubocops/text/on_system_conditionals_spec.rb @@ -1,3 +1,4 @@ +# typed: true # frozen_string_literal: true require "rubocops/lines" diff --git a/Library/Homebrew/test/rubocops/text/option_declarations_spec.rb b/Library/Homebrew/test/rubocops/text/option_declarations_spec.rb index 34f4b668a7c82..cecc5295e6e4f 100644 --- a/Library/Homebrew/test/rubocops/text/option_declarations_spec.rb +++ b/Library/Homebrew/test/rubocops/text/option_declarations_spec.rb @@ -1,3 +1,4 @@ +# typed: true # frozen_string_literal: true require "rubocops/lines" diff --git a/Library/Homebrew/test/rubocops/text/python_versions_spec.rb b/Library/Homebrew/test/rubocops/text/python_versions_spec.rb index 0a6fcbe96038b..32618a9c6c14c 100644 --- a/Library/Homebrew/test/rubocops/text/python_versions_spec.rb +++ b/Library/Homebrew/test/rubocops/text/python_versions_spec.rb @@ -1,3 +1,4 @@ +# typed: true # frozen_string_literal: true require "rubocops/lines" diff --git a/Library/Homebrew/test/rubocops/text/safe_popen_commands_spec.rb b/Library/Homebrew/test/rubocops/text/safe_popen_commands_spec.rb index f8d8d7b13ac2e..82e8428b697cf 100644 --- a/Library/Homebrew/test/rubocops/text/safe_popen_commands_spec.rb +++ b/Library/Homebrew/test/rubocops/text/safe_popen_commands_spec.rb @@ -1,3 +1,4 @@ +# typed: true # frozen_string_literal: true require "rubocops/lines" diff --git a/Library/Homebrew/test/rubocops/text/shell_variables_spec.rb b/Library/Homebrew/test/rubocops/text/shell_variables_spec.rb index aa7c7b91004d9..871bae0bf7cff 100644 --- a/Library/Homebrew/test/rubocops/text/shell_variables_spec.rb +++ b/Library/Homebrew/test/rubocops/text/shell_variables_spec.rb @@ -1,3 +1,4 @@ +# typed: true # frozen_string_literal: true require "rubocops/lines" diff --git a/Library/Homebrew/test/rubocops/text/std_npm_args_spec.rb b/Library/Homebrew/test/rubocops/text/std_npm_args_spec.rb index 2c5ea62337a08..0484c8427fe0e 100644 --- a/Library/Homebrew/test/rubocops/text/std_npm_args_spec.rb +++ b/Library/Homebrew/test/rubocops/text/std_npm_args_spec.rb @@ -1,3 +1,4 @@ +# typed: true # frozen_string_literal: true require "rubocops/lines" diff --git a/Library/Homebrew/test/rubocops/text/strict_spec.rb b/Library/Homebrew/test/rubocops/text/strict_spec.rb index b57143c46be5e..246b27a72e4ab 100644 --- a/Library/Homebrew/test/rubocops/text/strict_spec.rb +++ b/Library/Homebrew/test/rubocops/text/strict_spec.rb @@ -1,3 +1,4 @@ +# typed: true # frozen_string_literal: true require "rubocops/text" diff --git a/Library/Homebrew/test/rubocops/text_spec.rb b/Library/Homebrew/test/rubocops/text_spec.rb index 8a8ca38e0b4d0..e0fcd3bde429e 100644 --- a/Library/Homebrew/test/rubocops/text_spec.rb +++ b/Library/Homebrew/test/rubocops/text_spec.rb @@ -1,3 +1,4 @@ +# typed: true # frozen_string_literal: true require "rubocops/text" diff --git a/Library/Homebrew/test/rubocops/urls/git_spec.rb b/Library/Homebrew/test/rubocops/urls/git_spec.rb index 329b3b8d86b81..c88209ce7205a 100644 --- a/Library/Homebrew/test/rubocops/urls/git_spec.rb +++ b/Library/Homebrew/test/rubocops/urls/git_spec.rb @@ -1,3 +1,4 @@ +# typed: true # frozen_string_literal: true require "rubocops/urls" diff --git a/Library/Homebrew/test/rubocops/urls/git_strict_spec.rb b/Library/Homebrew/test/rubocops/urls/git_strict_spec.rb index 5015133cda12c..afb15e13a09c0 100644 --- a/Library/Homebrew/test/rubocops/urls/git_strict_spec.rb +++ b/Library/Homebrew/test/rubocops/urls/git_strict_spec.rb @@ -1,3 +1,4 @@ +# typed: true # frozen_string_literal: true require "rubocops/urls" diff --git a/Library/Homebrew/test/rubocops/urls/http_spec.rb b/Library/Homebrew/test/rubocops/urls/http_spec.rb index bd50b28575fa4..96c9f7d56ae33 100644 --- a/Library/Homebrew/test/rubocops/urls/http_spec.rb +++ b/Library/Homebrew/test/rubocops/urls/http_spec.rb @@ -1,3 +1,4 @@ +# typed: true # frozen_string_literal: true require "rubocops/urls" diff --git a/Library/Homebrew/test/rubocops/urls/pypi_spec.rb b/Library/Homebrew/test/rubocops/urls/pypi_spec.rb index a7f35253f9517..7c7fcd25e6b23 100644 --- a/Library/Homebrew/test/rubocops/urls/pypi_spec.rb +++ b/Library/Homebrew/test/rubocops/urls/pypi_spec.rb @@ -1,3 +1,4 @@ +# typed: true # frozen_string_literal: true require "rubocops/urls" diff --git a/Library/Homebrew/test/rubocops/urls_spec.rb b/Library/Homebrew/test/rubocops/urls_spec.rb index d3dfec4481852..fedeed4f950d3 100644 --- a/Library/Homebrew/test/rubocops/urls_spec.rb +++ b/Library/Homebrew/test/rubocops/urls_spec.rb @@ -1,3 +1,4 @@ +# typed: true # frozen_string_literal: true require "rubocops/urls" diff --git a/Library/Homebrew/test/rubocops/uses_from_macos_spec.rb b/Library/Homebrew/test/rubocops/uses_from_macos_spec.rb index 7bd5e15349598..dc6ee36990374 100644 --- a/Library/Homebrew/test/rubocops/uses_from_macos_spec.rb +++ b/Library/Homebrew/test/rubocops/uses_from_macos_spec.rb @@ -1,3 +1,4 @@ +# typed: true # frozen_string_literal: true require "rubocops/uses_from_macos" diff --git a/Library/Homebrew/test/rubocops/version_spec.rb b/Library/Homebrew/test/rubocops/version_spec.rb index 1f8329db49ad0..5ca08c41b98e1 100644 --- a/Library/Homebrew/test/rubocops/version_spec.rb +++ b/Library/Homebrew/test/rubocops/version_spec.rb @@ -1,3 +1,4 @@ +# typed: true # frozen_string_literal: true require "rubocops/version" diff --git a/Library/Homebrew/test/rubocops/zero_zero_zero_zero_spec.rb b/Library/Homebrew/test/rubocops/zero_zero_zero_zero_spec.rb index 96aafc012506e..59dd6f692b071 100644 --- a/Library/Homebrew/test/rubocops/zero_zero_zero_zero_spec.rb +++ b/Library/Homebrew/test/rubocops/zero_zero_zero_zero_spec.rb @@ -1,3 +1,4 @@ +# typed: true # frozen_string_literal: true require "rubocops/zero_zero_zero_zero" diff --git a/Library/Homebrew/test/sandbox_spec.rb b/Library/Homebrew/test/sandbox_spec.rb index 2ff8be591327a..c854ad09db901 100644 --- a/Library/Homebrew/test/sandbox_spec.rb +++ b/Library/Homebrew/test/sandbox_spec.rb @@ -1,3 +1,4 @@ +# typed: true # frozen_string_literal: true require "sandbox" diff --git a/Library/Homebrew/test/sbom_spec.rb b/Library/Homebrew/test/sbom_spec.rb index adf79fb7d81ef..e187921f69255 100644 --- a/Library/Homebrew/test/sbom_spec.rb +++ b/Library/Homebrew/test/sbom_spec.rb @@ -1,3 +1,4 @@ +# typed: true # frozen_string_literal: true require "sbom" diff --git a/Library/Homebrew/test/search_spec.rb b/Library/Homebrew/test/search_spec.rb index 22ff624cb1071..9d0be126b3002 100644 --- a/Library/Homebrew/test/search_spec.rb +++ b/Library/Homebrew/test/search_spec.rb @@ -1,3 +1,4 @@ +# typed: true # frozen_string_literal: true require "search" diff --git a/Library/Homebrew/test/service_spec.rb b/Library/Homebrew/test/service_spec.rb index adf6b284b3fcb..f78ee86412ee5 100644 --- a/Library/Homebrew/test/service_spec.rb +++ b/Library/Homebrew/test/service_spec.rb @@ -1,3 +1,4 @@ +# typed: true # frozen_string_literal: true require "formula" diff --git a/Library/Homebrew/test/services/cli_spec.rb b/Library/Homebrew/test/services/cli_spec.rb index c1fb2f78d7d6b..959342adf6f22 100644 --- a/Library/Homebrew/test/services/cli_spec.rb +++ b/Library/Homebrew/test/services/cli_spec.rb @@ -1,3 +1,4 @@ +# typed: true # frozen_string_literal: true require "services/cli" diff --git a/Library/Homebrew/test/services/commands/cleanup_spec.rb b/Library/Homebrew/test/services/commands/cleanup_spec.rb index a6d019e9a48fb..5bf6cfe2de685 100644 --- a/Library/Homebrew/test/services/commands/cleanup_spec.rb +++ b/Library/Homebrew/test/services/commands/cleanup_spec.rb @@ -1,3 +1,4 @@ +# typed: true # frozen_string_literal: true require "services/commands/cleanup" diff --git a/Library/Homebrew/test/services/commands/info_spec.rb b/Library/Homebrew/test/services/commands/info_spec.rb index 788f22929942e..a2245ca659d86 100644 --- a/Library/Homebrew/test/services/commands/info_spec.rb +++ b/Library/Homebrew/test/services/commands/info_spec.rb @@ -1,3 +1,4 @@ +# typed: true # frozen_string_literal: true require "services/commands/info" diff --git a/Library/Homebrew/test/services/commands/list_spec.rb b/Library/Homebrew/test/services/commands/list_spec.rb index 208ee06143678..dd2ace84ea59e 100644 --- a/Library/Homebrew/test/services/commands/list_spec.rb +++ b/Library/Homebrew/test/services/commands/list_spec.rb @@ -1,3 +1,4 @@ +# typed: true # frozen_string_literal: true require "services/commands/list" diff --git a/Library/Homebrew/test/services/commands/restart_spec.rb b/Library/Homebrew/test/services/commands/restart_spec.rb index a43738ea4cbe7..280c0246d035a 100644 --- a/Library/Homebrew/test/services/commands/restart_spec.rb +++ b/Library/Homebrew/test/services/commands/restart_spec.rb @@ -1,3 +1,4 @@ +# typed: true # frozen_string_literal: true require "services/commands/restart" diff --git a/Library/Homebrew/test/services/formula_wrapper_spec.rb b/Library/Homebrew/test/services/formula_wrapper_spec.rb index cff06fca4c599..67f2811960cb9 100644 --- a/Library/Homebrew/test/services/formula_wrapper_spec.rb +++ b/Library/Homebrew/test/services/formula_wrapper_spec.rb @@ -1,3 +1,4 @@ +# typed: true # frozen_string_literal: true require "services/system" diff --git a/Library/Homebrew/test/services/formulae_spec.rb b/Library/Homebrew/test/services/formulae_spec.rb index d6b08c33ed4e4..247cf06266a98 100644 --- a/Library/Homebrew/test/services/formulae_spec.rb +++ b/Library/Homebrew/test/services/formulae_spec.rb @@ -1,3 +1,4 @@ +# typed: true # frozen_string_literal: true require "services/formulae" diff --git a/Library/Homebrew/test/services/system/systemctl_spec.rb b/Library/Homebrew/test/services/system/systemctl_spec.rb index 88d95c7e6dbda..7c06980e8ec96 100644 --- a/Library/Homebrew/test/services/system/systemctl_spec.rb +++ b/Library/Homebrew/test/services/system/systemctl_spec.rb @@ -1,3 +1,4 @@ +# typed: true # frozen_string_literal: true require "services/system" diff --git a/Library/Homebrew/test/services/system_spec.rb b/Library/Homebrew/test/services/system_spec.rb index c3eb5964871bf..9c37f93237b3f 100644 --- a/Library/Homebrew/test/services/system_spec.rb +++ b/Library/Homebrew/test/services/system_spec.rb @@ -1,3 +1,4 @@ +# typed: true # frozen_string_literal: true require "services/system" diff --git a/Library/Homebrew/test/settings_spec.rb b/Library/Homebrew/test/settings_spec.rb index a1a2a409fac03..01825f8710d87 100644 --- a/Library/Homebrew/test/settings_spec.rb +++ b/Library/Homebrew/test/settings_spec.rb @@ -1,3 +1,4 @@ +# typed: true # frozen_string_literal: true require "settings" diff --git a/Library/Homebrew/test/simulate_system_spec.rb b/Library/Homebrew/test/simulate_system_spec.rb index c0856fe39789f..c5ca222a790a0 100644 --- a/Library/Homebrew/test/simulate_system_spec.rb +++ b/Library/Homebrew/test/simulate_system_spec.rb @@ -1,3 +1,4 @@ +# typed: true # frozen_string_literal: true require "settings" diff --git a/Library/Homebrew/test/software_spec_spec.rb b/Library/Homebrew/test/software_spec_spec.rb index b538c24c5b36b..1ea73c9f1ee3e 100644 --- a/Library/Homebrew/test/software_spec_spec.rb +++ b/Library/Homebrew/test/software_spec_spec.rb @@ -1,3 +1,4 @@ +# typed: true # frozen_string_literal: true require "software_spec" diff --git a/Library/Homebrew/test/sorbet/tapioca/config_spec.rb b/Library/Homebrew/test/sorbet/tapioca/config_spec.rb index bb37b78ad8b30..d4c63b5498ef5 100644 --- a/Library/Homebrew/test/sorbet/tapioca/config_spec.rb +++ b/Library/Homebrew/test/sorbet/tapioca/config_spec.rb @@ -1,3 +1,4 @@ +# typed: true # frozen_string_literal: true require "bundler" diff --git a/Library/Homebrew/test/spec_helper.rb b/Library/Homebrew/test/spec_helper.rb index 613ee0173368f..0fa4306d6d20c 100644 --- a/Library/Homebrew/test/spec_helper.rb +++ b/Library/Homebrew/test/spec_helper.rb @@ -1,3 +1,4 @@ +# typed: true # frozen_string_literal: true if ENV["HOMEBREW_TESTS_COVERAGE"] diff --git a/Library/Homebrew/test/style_spec.rb b/Library/Homebrew/test/style_spec.rb index 69060352c331f..b5b35e5efc4b1 100644 --- a/Library/Homebrew/test/style_spec.rb +++ b/Library/Homebrew/test/style_spec.rb @@ -1,3 +1,4 @@ +# typed: true # frozen_string_literal: true require "style" diff --git a/Library/Homebrew/test/support/extend/cachable.rb b/Library/Homebrew/test/support/extend/cachable.rb index 748b0f7ed4003..fa745d5627f3e 100644 --- a/Library/Homebrew/test/support/extend/cachable.rb +++ b/Library/Homebrew/test/support/extend/cachable.rb @@ -1,3 +1,4 @@ +# typed: true # frozen_string_literal: true raise "This needs to be required before Cachable gets loaded normally." if defined?(Cachable) diff --git a/Library/Homebrew/test/support/fixtures/cask/Casks/adobe-air.rb b/Library/Homebrew/test/support/fixtures/cask/Casks/adobe-air.rb index 7d2dcf3c2376c..2ca0ec2f35a93 100644 --- a/Library/Homebrew/test/support/fixtures/cask/Casks/adobe-air.rb +++ b/Library/Homebrew/test/support/fixtures/cask/Casks/adobe-air.rb @@ -1,3 +1,5 @@ +# typed: true + cask "adobe-air" do version "1.2.3" sha256 "8c62a2b791cf5f0da6066a0a4b6e85f62949cd60975da062df44adf887f4370b" diff --git a/Library/Homebrew/test/support/fixtures/cask/Casks/adobe-illustrator.rb b/Library/Homebrew/test/support/fixtures/cask/Casks/adobe-illustrator.rb index 8cedf957f41ef..2b2e990ae6585 100644 --- a/Library/Homebrew/test/support/fixtures/cask/Casks/adobe-illustrator.rb +++ b/Library/Homebrew/test/support/fixtures/cask/Casks/adobe-illustrator.rb @@ -1,3 +1,5 @@ +# typed: true + cask "adobe-illustrator" do version "1.2.3" sha256 "8c62a2b791cf5f0da6066a0a4b6e85f62949cd60975da062df44adf887f4370b" diff --git a/Library/Homebrew/test/support/fixtures/cask/Casks/appdir-interpolation.rb b/Library/Homebrew/test/support/fixtures/cask/Casks/appdir-interpolation.rb index 9ad8f2be4b0eb..1917d401bf11b 100644 --- a/Library/Homebrew/test/support/fixtures/cask/Casks/appdir-interpolation.rb +++ b/Library/Homebrew/test/support/fixtures/cask/Casks/appdir-interpolation.rb @@ -1,3 +1,5 @@ +# typed: true + cask "appdir-interpolation" do version "2.61" sha256 "e44ffa103fbf83f55c8d0b1bea309a43b2880798dae8620b1ee8da5e1095ec68" diff --git a/Library/Homebrew/test/support/fixtures/cask/Casks/arch-arm-only.rb b/Library/Homebrew/test/support/fixtures/cask/Casks/arch-arm-only.rb index d6bc73d35ed3b..a11b4146df469 100644 --- a/Library/Homebrew/test/support/fixtures/cask/Casks/arch-arm-only.rb +++ b/Library/Homebrew/test/support/fixtures/cask/Casks/arch-arm-only.rb @@ -1,3 +1,5 @@ +# typed: true + cask "arch-arm-only" do arch arm: "-arm" diff --git a/Library/Homebrew/test/support/fixtures/cask/Casks/auto-updates.rb b/Library/Homebrew/test/support/fixtures/cask/Casks/auto-updates.rb index 35e1b2c9d56a0..14fd8a8b5f159 100644 --- a/Library/Homebrew/test/support/fixtures/cask/Casks/auto-updates.rb +++ b/Library/Homebrew/test/support/fixtures/cask/Casks/auto-updates.rb @@ -1,3 +1,5 @@ +# typed: true + cask "auto-updates" do version "2.61" sha256 "5633c3a0f2e572cbf021507dec78c50998b398c343232bdfc7e26221d0a5db4d" diff --git a/Library/Homebrew/test/support/fixtures/cask/Casks/bad-checksum.rb b/Library/Homebrew/test/support/fixtures/cask/Casks/bad-checksum.rb index af3a4a98db5f0..afe5b85705342 100644 --- a/Library/Homebrew/test/support/fixtures/cask/Casks/bad-checksum.rb +++ b/Library/Homebrew/test/support/fixtures/cask/Casks/bad-checksum.rb @@ -1,3 +1,5 @@ +# typed: true + cask "bad-checksum" do version "1.2.3" sha256 "badbadbadbadbadbadbadbadbadbadbadbadbadbadbadbadbadbadbadbadbadb" diff --git a/Library/Homebrew/test/support/fixtures/cask/Casks/bad-checksum2.rb b/Library/Homebrew/test/support/fixtures/cask/Casks/bad-checksum2.rb index 0e99fb424387b..2b490f5deb984 100644 --- a/Library/Homebrew/test/support/fixtures/cask/Casks/bad-checksum2.rb +++ b/Library/Homebrew/test/support/fixtures/cask/Casks/bad-checksum2.rb @@ -1,3 +1,5 @@ +# typed: true + cask "bad-checksum2" do version "1.2.3" sha256 "badbadbadbadbadbadbadbadbadbadbadbadbadbadbadbadbadbadbadbadbadb" diff --git a/Library/Homebrew/test/support/fixtures/cask/Casks/basic-cask.rb b/Library/Homebrew/test/support/fixtures/cask/Casks/basic-cask.rb index 56f8f27224f66..2e233168a2165 100644 --- a/Library/Homebrew/test/support/fixtures/cask/Casks/basic-cask.rb +++ b/Library/Homebrew/test/support/fixtures/cask/Casks/basic-cask.rb @@ -1,3 +1,5 @@ +# typed: true + cask "basic-cask" do version "1.2.3" sha256 "8c62a2b791cf5f0da6066a0a4b6e85f62949cd60975da062df44adf887f4370b" diff --git a/Library/Homebrew/test/support/fixtures/cask/Casks/compat/with-depends-on-macos-string.rb b/Library/Homebrew/test/support/fixtures/cask/Casks/compat/with-depends-on-macos-string.rb index 0d33222c22eb3..732dfb1f7e932 100644 --- a/Library/Homebrew/test/support/fixtures/cask/Casks/compat/with-depends-on-macos-string.rb +++ b/Library/Homebrew/test/support/fixtures/cask/Casks/compat/with-depends-on-macos-string.rb @@ -1,3 +1,5 @@ +# typed: true + cask "with-depends-on-macos-string" do version "1.2.3" sha256 "67cdb8a02803ef37fdbf7e0be205863172e41a561ca446cd84f0d7ab35a99d94" diff --git a/Library/Homebrew/test/support/fixtures/cask/Casks/container-7z.rb b/Library/Homebrew/test/support/fixtures/cask/Casks/container-7z.rb index 8b2dca0b8a154..25899af992ad5 100644 --- a/Library/Homebrew/test/support/fixtures/cask/Casks/container-7z.rb +++ b/Library/Homebrew/test/support/fixtures/cask/Casks/container-7z.rb @@ -1,3 +1,5 @@ +# typed: true + cask "container-7z" do version "1.2.3" sha256 "3f9542ace85ed5f88549e2d0ea82210f8ddc87e0defbb78469d3aed719b3c964" diff --git a/Library/Homebrew/test/support/fixtures/cask/Casks/container-apfs-dmg.rb b/Library/Homebrew/test/support/fixtures/cask/Casks/container-apfs-dmg.rb index 6fc863207b98f..0d29de45ea224 100644 --- a/Library/Homebrew/test/support/fixtures/cask/Casks/container-apfs-dmg.rb +++ b/Library/Homebrew/test/support/fixtures/cask/Casks/container-apfs-dmg.rb @@ -1,3 +1,5 @@ +# typed: true + cask "container-apfs-dmg" do version "1.2.3" sha256 "0630aa1145e8c3fa77aeb6ec414fee35204e90f224d6d06cb23e18a4d6112a5d" diff --git a/Library/Homebrew/test/support/fixtures/cask/Casks/container-bzip2.rb b/Library/Homebrew/test/support/fixtures/cask/Casks/container-bzip2.rb index 49d54be605551..594cdc4790cb4 100644 --- a/Library/Homebrew/test/support/fixtures/cask/Casks/container-bzip2.rb +++ b/Library/Homebrew/test/support/fixtures/cask/Casks/container-bzip2.rb @@ -1,3 +1,5 @@ +# typed: true + cask "container-bzip2" do version "1.2.3" sha256 "eaf67b3a62cb9275f96e45d05c70b94bef9ef1dae344083e93eda6b0b388a61c" diff --git a/Library/Homebrew/test/support/fixtures/cask/Casks/container-cab.rb b/Library/Homebrew/test/support/fixtures/cask/Casks/container-cab.rb index 59082d7a6310f..6a7a08af56d2b 100644 --- a/Library/Homebrew/test/support/fixtures/cask/Casks/container-cab.rb +++ b/Library/Homebrew/test/support/fixtures/cask/Casks/container-cab.rb @@ -1,3 +1,5 @@ +# typed: true + cask "container-cab" do version "1.2.3" sha256 "c267f5cebb14814c8e612a8b7d2bda02aec913f869509b6f1d3883427c0f552b" diff --git a/Library/Homebrew/test/support/fixtures/cask/Casks/container-dmg.rb b/Library/Homebrew/test/support/fixtures/cask/Casks/container-dmg.rb index 7b1ebb8feaf94..055675039d4f1 100644 --- a/Library/Homebrew/test/support/fixtures/cask/Casks/container-dmg.rb +++ b/Library/Homebrew/test/support/fixtures/cask/Casks/container-dmg.rb @@ -1,3 +1,5 @@ +# typed: true + cask "container-dmg" do version "1.2.3" sha256 "74d89d4fa5cef175cf43666ce11fefa3741aa1522114042ac75e656be37141a1" diff --git a/Library/Homebrew/test/support/fixtures/cask/Casks/container-gzip.rb b/Library/Homebrew/test/support/fixtures/cask/Casks/container-gzip.rb index 96f86f416fa1d..692a70c1f433d 100644 --- a/Library/Homebrew/test/support/fixtures/cask/Casks/container-gzip.rb +++ b/Library/Homebrew/test/support/fixtures/cask/Casks/container-gzip.rb @@ -1,3 +1,5 @@ +# typed: true + cask "container-gzip" do version "1.2.3" sha256 "fa4ebb5246583c4b6e62e1df4e3b71b4e38a1d7d91c025665827195d36214b20" diff --git a/Library/Homebrew/test/support/fixtures/cask/Casks/container-pkg.rb b/Library/Homebrew/test/support/fixtures/cask/Casks/container-pkg.rb index 2dd02e2db3327..caf9fd97ef0c5 100644 --- a/Library/Homebrew/test/support/fixtures/cask/Casks/container-pkg.rb +++ b/Library/Homebrew/test/support/fixtures/cask/Casks/container-pkg.rb @@ -1,3 +1,5 @@ +# typed: true + cask "container-pkg" do version "1.2.3" sha256 "611c50c8a2a2098951d2cd0fd54787ed81b92cd97b4b08bd7cba17f1e1d8e40b" diff --git a/Library/Homebrew/test/support/fixtures/cask/Casks/container-tar-gz.rb b/Library/Homebrew/test/support/fixtures/cask/Casks/container-tar-gz.rb index 3a4a03f4e488c..45d129d33c2ce 100644 --- a/Library/Homebrew/test/support/fixtures/cask/Casks/container-tar-gz.rb +++ b/Library/Homebrew/test/support/fixtures/cask/Casks/container-tar-gz.rb @@ -1,3 +1,5 @@ +# typed: true + cask "container-tar-gz" do version "1.2.3" sha256 "fab685fabf73d5a9382581ce8698fce9408f5feaa49fa10d9bc6c510493300f5" diff --git a/Library/Homebrew/test/support/fixtures/cask/Casks/container-xar.rb b/Library/Homebrew/test/support/fixtures/cask/Casks/container-xar.rb index 6da86517a0091..01d0718256ea8 100644 --- a/Library/Homebrew/test/support/fixtures/cask/Casks/container-xar.rb +++ b/Library/Homebrew/test/support/fixtures/cask/Casks/container-xar.rb @@ -1,3 +1,5 @@ +# typed: true + cask "container-xar" do version "1.2.3" sha256 "5bb8e09a6fc630ebeaf266b1fd2d15e2ae7d32d7e4da6668a8093426fa1ba509" diff --git a/Library/Homebrew/test/support/fixtures/cask/Casks/devmate-with-livecheck.rb b/Library/Homebrew/test/support/fixtures/cask/Casks/devmate-with-livecheck.rb index d2274ea9b76ea..4757cfde389a5 100644 --- a/Library/Homebrew/test/support/fixtures/cask/Casks/devmate-with-livecheck.rb +++ b/Library/Homebrew/test/support/fixtures/cask/Casks/devmate-with-livecheck.rb @@ -1,3 +1,5 @@ +# typed: true + cask "devmate-with-livecheck" do version "1.0" sha256 "a69e7357bea014f4c14ac9699274f559086844ffa46563c4619bf1addfd72ad9" diff --git a/Library/Homebrew/test/support/fixtures/cask/Casks/devmate-without-livecheck.rb b/Library/Homebrew/test/support/fixtures/cask/Casks/devmate-without-livecheck.rb index 37c845f1f43c2..ad098b07623b8 100644 --- a/Library/Homebrew/test/support/fixtures/cask/Casks/devmate-without-livecheck.rb +++ b/Library/Homebrew/test/support/fixtures/cask/Casks/devmate-without-livecheck.rb @@ -1,3 +1,5 @@ +# typed: true + cask "devmate-without-livecheck" do version "1.0" sha256 "a69e7357bea014f4c14ac9699274f559086844ffa46563c4619bf1addfd72ad9" diff --git a/Library/Homebrew/test/support/fixtures/cask/Casks/everything.rb b/Library/Homebrew/test/support/fixtures/cask/Casks/everything.rb index 2f8279dc7e58a..b747d4733e8a9 100644 --- a/Library/Homebrew/test/support/fixtures/cask/Casks/everything.rb +++ b/Library/Homebrew/test/support/fixtures/cask/Casks/everything.rb @@ -1,3 +1,5 @@ +# typed: true + # Used to test cask hash generation. cask "everything" do version "1.2.3" diff --git a/Library/Homebrew/test/support/fixtures/cask/Casks/generic-artifact-absolute-target.rb b/Library/Homebrew/test/support/fixtures/cask/Casks/generic-artifact-absolute-target.rb index d35cf81382c17..158e5daa1cd37 100644 --- a/Library/Homebrew/test/support/fixtures/cask/Casks/generic-artifact-absolute-target.rb +++ b/Library/Homebrew/test/support/fixtures/cask/Casks/generic-artifact-absolute-target.rb @@ -1,3 +1,5 @@ +# typed: true + cask "generic-artifact-absolute-target" do artifact "Caffeine.app", target: "#{appdir}/Caffeine.app" end diff --git a/Library/Homebrew/test/support/fixtures/cask/Casks/generic-artifact-relative-target.rb b/Library/Homebrew/test/support/fixtures/cask/Casks/generic-artifact-relative-target.rb index e804ffd270dff..06023efe84f93 100644 --- a/Library/Homebrew/test/support/fixtures/cask/Casks/generic-artifact-relative-target.rb +++ b/Library/Homebrew/test/support/fixtures/cask/Casks/generic-artifact-relative-target.rb @@ -1,3 +1,5 @@ +# typed: true + cask "generic-artifact-relative-target" do version "1.2.3" sha256 "d5b2dfbef7ea28c25f7a77cd7fa14d013d82b626db1d82e00e25822464ba19e2" diff --git a/Library/Homebrew/test/support/fixtures/cask/Casks/generic-artifact-user-relative-target.rb b/Library/Homebrew/test/support/fixtures/cask/Casks/generic-artifact-user-relative-target.rb index 4cfb484fc34a4..182a527e0fbf8 100644 --- a/Library/Homebrew/test/support/fixtures/cask/Casks/generic-artifact-user-relative-target.rb +++ b/Library/Homebrew/test/support/fixtures/cask/Casks/generic-artifact-user-relative-target.rb @@ -1,3 +1,5 @@ +# typed: true + cask "generic-artifact-user-relative-target" do version "1.2.3" sha256 "d5b2dfbef7ea28c25f7a77cd7fa14d013d82b626db1d82e00e25822464ba19e2" diff --git a/Library/Homebrew/test/support/fixtures/cask/Casks/hockeyapp-with-livecheck.rb b/Library/Homebrew/test/support/fixtures/cask/Casks/hockeyapp-with-livecheck.rb index 3d718ce2430bd..05001661b35a2 100644 --- a/Library/Homebrew/test/support/fixtures/cask/Casks/hockeyapp-with-livecheck.rb +++ b/Library/Homebrew/test/support/fixtures/cask/Casks/hockeyapp-with-livecheck.rb @@ -1,3 +1,5 @@ +# typed: true + cask "hockeyapp-with-livecheck" do version "1.0,123" sha256 "a69e7357bea014f4c14ac9699274f559086844ffa46563c4619bf1addfd72ad9" diff --git a/Library/Homebrew/test/support/fixtures/cask/Casks/hockeyapp-without-livecheck.rb b/Library/Homebrew/test/support/fixtures/cask/Casks/hockeyapp-without-livecheck.rb index 4058156c3cba7..95ad44b5de383 100644 --- a/Library/Homebrew/test/support/fixtures/cask/Casks/hockeyapp-without-livecheck.rb +++ b/Library/Homebrew/test/support/fixtures/cask/Casks/hockeyapp-without-livecheck.rb @@ -1,3 +1,5 @@ +# typed: true + cask "hockeyapp-without-livecheck" do version "1.0,123" sha256 "a69e7357bea014f4c14ac9699274f559086844ffa46563c4619bf1addfd72ad9" diff --git a/Library/Homebrew/test/support/fixtures/cask/Casks/installer-with-uninstall.rb b/Library/Homebrew/test/support/fixtures/cask/Casks/installer-with-uninstall.rb index 4d1893d44b436..2dad8d539c79f 100644 --- a/Library/Homebrew/test/support/fixtures/cask/Casks/installer-with-uninstall.rb +++ b/Library/Homebrew/test/support/fixtures/cask/Casks/installer-with-uninstall.rb @@ -1,3 +1,5 @@ +# typed: true + cask "installer-with-uninstall" do version "1.2.3" sha256 "67cdb8a02803ef37fdbf7e0be205863172e41a561ca446cd84f0d7ab35a99d94" diff --git a/Library/Homebrew/test/support/fixtures/cask/Casks/invalid-sha256.rb b/Library/Homebrew/test/support/fixtures/cask/Casks/invalid-sha256.rb index d2c6809eeccad..39e1299006541 100644 --- a/Library/Homebrew/test/support/fixtures/cask/Casks/invalid-sha256.rb +++ b/Library/Homebrew/test/support/fixtures/cask/Casks/invalid-sha256.rb @@ -1,3 +1,5 @@ +# typed: true + cask "invalid-sha256" do version "1.2.3" sha256 "not a valid shasum" diff --git a/Library/Homebrew/test/support/fixtures/cask/Casks/invalid/invalid-conflicts-with-key.rb b/Library/Homebrew/test/support/fixtures/cask/Casks/invalid/invalid-conflicts-with-key.rb index 9a8974d72561f..1c3e173cbff45 100644 --- a/Library/Homebrew/test/support/fixtures/cask/Casks/invalid/invalid-conflicts-with-key.rb +++ b/Library/Homebrew/test/support/fixtures/cask/Casks/invalid/invalid-conflicts-with-key.rb @@ -1,3 +1,5 @@ +# typed: true + cask "invalid-conflicts-with-key" do version "1.2.3" sha256 "67cdb8a02803ef37fdbf7e0be205863172e41a561ca446cd84f0d7ab35a99d94" diff --git a/Library/Homebrew/test/support/fixtures/cask/Casks/invalid/invalid-depends-on-arch-value.rb b/Library/Homebrew/test/support/fixtures/cask/Casks/invalid/invalid-depends-on-arch-value.rb index dc9bfdc8357e6..e983dd39c3c65 100644 --- a/Library/Homebrew/test/support/fixtures/cask/Casks/invalid/invalid-depends-on-arch-value.rb +++ b/Library/Homebrew/test/support/fixtures/cask/Casks/invalid/invalid-depends-on-arch-value.rb @@ -1,3 +1,5 @@ +# typed: true + cask "invalid-depends-on-arch-value" do version "1.2.3" sha256 "67cdb8a02803ef37fdbf7e0be205863172e41a561ca446cd84f0d7ab35a99d94" diff --git a/Library/Homebrew/test/support/fixtures/cask/Casks/invalid/invalid-depends-on-key.rb b/Library/Homebrew/test/support/fixtures/cask/Casks/invalid/invalid-depends-on-key.rb index 346bed45d87d4..5969936485478 100644 --- a/Library/Homebrew/test/support/fixtures/cask/Casks/invalid/invalid-depends-on-key.rb +++ b/Library/Homebrew/test/support/fixtures/cask/Casks/invalid/invalid-depends-on-key.rb @@ -1,3 +1,5 @@ +# typed: true + cask "invalid-depends-on-key" do version "1.2.3" sha256 "67cdb8a02803ef37fdbf7e0be205863172e41a561ca446cd84f0d7ab35a99d94" diff --git a/Library/Homebrew/test/support/fixtures/cask/Casks/invalid/invalid-depends-on-macos-bad-release.rb b/Library/Homebrew/test/support/fixtures/cask/Casks/invalid/invalid-depends-on-macos-bad-release.rb index cc1cb02870033..1f4f628b50194 100644 --- a/Library/Homebrew/test/support/fixtures/cask/Casks/invalid/invalid-depends-on-macos-bad-release.rb +++ b/Library/Homebrew/test/support/fixtures/cask/Casks/invalid/invalid-depends-on-macos-bad-release.rb @@ -1,3 +1,5 @@ +# typed: true + cask "invalid-depends-on-macos-bad-release" do version "1.2.3" sha256 "67cdb8a02803ef37fdbf7e0be205863172e41a561ca446cd84f0d7ab35a99d94" diff --git a/Library/Homebrew/test/support/fixtures/cask/Casks/invalid/invalid-depends-on-macos-conflicting-forms.rb b/Library/Homebrew/test/support/fixtures/cask/Casks/invalid/invalid-depends-on-macos-conflicting-forms.rb index 0127575266c81..e20164e8608b1 100644 --- a/Library/Homebrew/test/support/fixtures/cask/Casks/invalid/invalid-depends-on-macos-conflicting-forms.rb +++ b/Library/Homebrew/test/support/fixtures/cask/Casks/invalid/invalid-depends-on-macos-conflicting-forms.rb @@ -1,3 +1,4 @@ +# typed: true # frozen_string_literal: true cask "invalid-depends-on-macos-conflicting-forms" do diff --git a/Library/Homebrew/test/support/fixtures/cask/Casks/invalid/invalid-generic-artifact-no-target.rb b/Library/Homebrew/test/support/fixtures/cask/Casks/invalid/invalid-generic-artifact-no-target.rb index 91c6318f76baf..b225285875f38 100644 --- a/Library/Homebrew/test/support/fixtures/cask/Casks/invalid/invalid-generic-artifact-no-target.rb +++ b/Library/Homebrew/test/support/fixtures/cask/Casks/invalid/invalid-generic-artifact-no-target.rb @@ -1,3 +1,5 @@ +# typed: true + cask "invalid-generic-artifact-no-target" do version "1.2.3" sha256 "67cdb8a02803ef37fdbf7e0be205863172e41a561ca446cd84f0d7ab35a99d94" diff --git a/Library/Homebrew/test/support/fixtures/cask/Casks/invalid/invalid-header-format.rb b/Library/Homebrew/test/support/fixtures/cask/Casks/invalid/invalid-header-format.rb index 91f77d9e2bcd6..4d294ab78e202 100644 --- a/Library/Homebrew/test/support/fixtures/cask/Casks/invalid/invalid-header-format.rb +++ b/Library/Homebrew/test/support/fixtures/cask/Casks/invalid/invalid-header-format.rb @@ -1,3 +1,5 @@ +# typed: true + cask "invalid-header-format", :invalid do version "1.2.3" sha256 "67cdb8a02803ef37fdbf7e0be205863172e41a561ca446cd84f0d7ab35a99d94" diff --git a/Library/Homebrew/test/support/fixtures/cask/Casks/invalid/invalid-header-token-mismatch.rb b/Library/Homebrew/test/support/fixtures/cask/Casks/invalid/invalid-header-token-mismatch.rb index 9e46d590c0b7c..1f2ebe2d95b3f 100644 --- a/Library/Homebrew/test/support/fixtures/cask/Casks/invalid/invalid-header-token-mismatch.rb +++ b/Library/Homebrew/test/support/fixtures/cask/Casks/invalid/invalid-header-token-mismatch.rb @@ -1,3 +1,5 @@ +# typed: true + cask "invalid-header-token-mismatch-this-text-does-not-belong" do version "1.2.3" sha256 "67cdb8a02803ef37fdbf7e0be205863172e41a561ca446cd84f0d7ab35a99d94" diff --git a/Library/Homebrew/test/support/fixtures/cask/Casks/invalid/invalid-header-version.rb b/Library/Homebrew/test/support/fixtures/cask/Casks/invalid/invalid-header-version.rb index 6bcc927db64fe..d645f9ebb70a5 100644 --- a/Library/Homebrew/test/support/fixtures/cask/Casks/invalid/invalid-header-version.rb +++ b/Library/Homebrew/test/support/fixtures/cask/Casks/invalid/invalid-header-version.rb @@ -1,3 +1,5 @@ +# typed: true + cask "invalid-header-version" do version "1.2.3" sha256 "67cdb8a02803ef37fdbf7e0be205863172e41a561ca446cd84f0d7ab35a99d94" diff --git a/Library/Homebrew/test/support/fixtures/cask/Casks/invalid/invalid-manpage-no-section.rb b/Library/Homebrew/test/support/fixtures/cask/Casks/invalid/invalid-manpage-no-section.rb index ee9743e61d95d..3fda6644cc3e2 100644 --- a/Library/Homebrew/test/support/fixtures/cask/Casks/invalid/invalid-manpage-no-section.rb +++ b/Library/Homebrew/test/support/fixtures/cask/Casks/invalid/invalid-manpage-no-section.rb @@ -1,3 +1,5 @@ +# typed: true + cask "invalid-manpage-no-section" do version "1.2.3" sha256 "68b7e71a2ca7585b004f52652749589941e3029ff0884e8aa3b099594e0282c0" diff --git a/Library/Homebrew/test/support/fixtures/cask/Casks/invalid/invalid-stage-only-conflict.rb b/Library/Homebrew/test/support/fixtures/cask/Casks/invalid/invalid-stage-only-conflict.rb index e94969fbe9251..0c80f063d1f65 100644 --- a/Library/Homebrew/test/support/fixtures/cask/Casks/invalid/invalid-stage-only-conflict.rb +++ b/Library/Homebrew/test/support/fixtures/cask/Casks/invalid/invalid-stage-only-conflict.rb @@ -1,3 +1,5 @@ +# typed: true + cask "invalid-stage-only-conflict" do version "2.61" sha256 "e44ffa103fbf83f55c8d0b1bea309a43b2880798dae8620b1ee8da5e1095ec68" diff --git a/Library/Homebrew/test/support/fixtures/cask/Casks/invalid/invalid-two-arch.rb b/Library/Homebrew/test/support/fixtures/cask/Casks/invalid/invalid-two-arch.rb index 117e59c3bc1c4..a9fa5287b4e32 100644 --- a/Library/Homebrew/test/support/fixtures/cask/Casks/invalid/invalid-two-arch.rb +++ b/Library/Homebrew/test/support/fixtures/cask/Casks/invalid/invalid-two-arch.rb @@ -1,3 +1,5 @@ +# typed: true + cask "invalid-two-arch" do arch arm: "arm", intel: "intel" arch arm: "amd64", intel: "x86_64" diff --git a/Library/Homebrew/test/support/fixtures/cask/Casks/invalid/invalid-two-homepage.rb b/Library/Homebrew/test/support/fixtures/cask/Casks/invalid/invalid-two-homepage.rb index b7325149a55ed..4cf50ef84aa26 100644 --- a/Library/Homebrew/test/support/fixtures/cask/Casks/invalid/invalid-two-homepage.rb +++ b/Library/Homebrew/test/support/fixtures/cask/Casks/invalid/invalid-two-homepage.rb @@ -1,3 +1,5 @@ +# typed: true + cask "invalid-two-homepage" do version "1.2.3" sha256 "67cdb8a02803ef37fdbf7e0be205863172e41a561ca446cd84f0d7ab35a99d94" diff --git a/Library/Homebrew/test/support/fixtures/cask/Casks/invalid/invalid-two-url.rb b/Library/Homebrew/test/support/fixtures/cask/Casks/invalid/invalid-two-url.rb index b8b4e731cce96..864f82cc224c7 100644 --- a/Library/Homebrew/test/support/fixtures/cask/Casks/invalid/invalid-two-url.rb +++ b/Library/Homebrew/test/support/fixtures/cask/Casks/invalid/invalid-two-url.rb @@ -1,3 +1,5 @@ +# typed: true + cask "invalid-two-url" do version "1.2.3" sha256 "67cdb8a02803ef37fdbf7e0be205863172e41a561ca446cd84f0d7ab35a99d94" diff --git a/Library/Homebrew/test/support/fixtures/cask/Casks/invalid/invalid-two-version.rb b/Library/Homebrew/test/support/fixtures/cask/Casks/invalid/invalid-two-version.rb index f952d94e60d7a..83d1f0547253a 100644 --- a/Library/Homebrew/test/support/fixtures/cask/Casks/invalid/invalid-two-version.rb +++ b/Library/Homebrew/test/support/fixtures/cask/Casks/invalid/invalid-two-version.rb @@ -1,3 +1,5 @@ +# typed: true + cask "invalid-two-version" do version "1.2.3" version "2.0" diff --git a/Library/Homebrew/test/support/fixtures/cask/Casks/latest-with-auto-updates.rb b/Library/Homebrew/test/support/fixtures/cask/Casks/latest-with-auto-updates.rb index bb650430e18e2..9eaccfb58e9a3 100644 --- a/Library/Homebrew/test/support/fixtures/cask/Casks/latest-with-auto-updates.rb +++ b/Library/Homebrew/test/support/fixtures/cask/Casks/latest-with-auto-updates.rb @@ -1,3 +1,5 @@ +# typed: true + cask "latest-with-auto-updates" do version :latest sha256 :no_check diff --git a/Library/Homebrew/test/support/fixtures/cask/Casks/latest-with-livecheck-skip.rb b/Library/Homebrew/test/support/fixtures/cask/Casks/latest-with-livecheck-skip.rb index fdc233aa8e2a4..41dbe97a717fa 100644 --- a/Library/Homebrew/test/support/fixtures/cask/Casks/latest-with-livecheck-skip.rb +++ b/Library/Homebrew/test/support/fixtures/cask/Casks/latest-with-livecheck-skip.rb @@ -1,3 +1,5 @@ +# typed: true + cask "latest-with-livecheck-skip" do version :latest sha256 :no_check diff --git a/Library/Homebrew/test/support/fixtures/cask/Casks/latest-with-livecheck.rb b/Library/Homebrew/test/support/fixtures/cask/Casks/latest-with-livecheck.rb index f65ef898ce8fd..d9f275ee62056 100644 --- a/Library/Homebrew/test/support/fixtures/cask/Casks/latest-with-livecheck.rb +++ b/Library/Homebrew/test/support/fixtures/cask/Casks/latest-with-livecheck.rb @@ -1,3 +1,5 @@ +# typed: true + cask "latest-with-livecheck" do version :latest sha256 :no_check diff --git a/Library/Homebrew/test/support/fixtures/cask/Casks/latest.rb b/Library/Homebrew/test/support/fixtures/cask/Casks/latest.rb index 2f886bc4bac14..2055a232cb7d2 100644 --- a/Library/Homebrew/test/support/fixtures/cask/Casks/latest.rb +++ b/Library/Homebrew/test/support/fixtures/cask/Casks/latest.rb @@ -1,3 +1,5 @@ +# typed: true + cask "latest" do version :latest sha256 :no_check diff --git a/Library/Homebrew/test/support/fixtures/cask/Casks/livecheck/livecheck-deprecated-reference.rb b/Library/Homebrew/test/support/fixtures/cask/Casks/livecheck/livecheck-deprecated-reference.rb index 8cc3718465c06..b53fa9f60951d 100644 --- a/Library/Homebrew/test/support/fixtures/cask/Casks/livecheck/livecheck-deprecated-reference.rb +++ b/Library/Homebrew/test/support/fixtures/cask/Casks/livecheck/livecheck-deprecated-reference.rb @@ -1,3 +1,5 @@ +# typed: true + cask "livecheck-deprecated-reference" do version "1.2.3" sha256 "8c62a2b791cf5f0da6066a0a4b6e85f62949cd60975da062df44adf887f4370b" diff --git a/Library/Homebrew/test/support/fixtures/cask/Casks/livecheck/livecheck-deprecated.rb b/Library/Homebrew/test/support/fixtures/cask/Casks/livecheck/livecheck-deprecated.rb index 3b74884991268..cb476b7481914 100644 --- a/Library/Homebrew/test/support/fixtures/cask/Casks/livecheck/livecheck-deprecated.rb +++ b/Library/Homebrew/test/support/fixtures/cask/Casks/livecheck/livecheck-deprecated.rb @@ -1,3 +1,5 @@ +# typed: true + cask "livecheck-deprecated" do version "1.2.3" sha256 "8c62a2b791cf5f0da6066a0a4b6e85f62949cd60975da062df44adf887f4370b" diff --git a/Library/Homebrew/test/support/fixtures/cask/Casks/livecheck/livecheck-disabled-reference.rb b/Library/Homebrew/test/support/fixtures/cask/Casks/livecheck/livecheck-disabled-reference.rb index 6218d47134c4b..b700575ddf87d 100644 --- a/Library/Homebrew/test/support/fixtures/cask/Casks/livecheck/livecheck-disabled-reference.rb +++ b/Library/Homebrew/test/support/fixtures/cask/Casks/livecheck/livecheck-disabled-reference.rb @@ -1,3 +1,5 @@ +# typed: true + cask "livecheck-disabled-reference" do version "1.2.3" sha256 "8c62a2b791cf5f0da6066a0a4b6e85f62949cd60975da062df44adf887f4370b" diff --git a/Library/Homebrew/test/support/fixtures/cask/Casks/livecheck/livecheck-disabled.rb b/Library/Homebrew/test/support/fixtures/cask/Casks/livecheck/livecheck-disabled.rb index 57982f3f9f20e..e6e7907386c97 100644 --- a/Library/Homebrew/test/support/fixtures/cask/Casks/livecheck/livecheck-disabled.rb +++ b/Library/Homebrew/test/support/fixtures/cask/Casks/livecheck/livecheck-disabled.rb @@ -1,3 +1,5 @@ +# typed: true + cask "livecheck-disabled" do version "1.2.3" sha256 "8c62a2b791cf5f0da6066a0a4b6e85f62949cd60975da062df44adf887f4370b" diff --git a/Library/Homebrew/test/support/fixtures/cask/Casks/livecheck/livecheck-extract-plist-with-url.rb b/Library/Homebrew/test/support/fixtures/cask/Casks/livecheck/livecheck-extract-plist-with-url.rb index 070d76a10670c..a0389ef35a94e 100644 --- a/Library/Homebrew/test/support/fixtures/cask/Casks/livecheck/livecheck-extract-plist-with-url.rb +++ b/Library/Homebrew/test/support/fixtures/cask/Casks/livecheck/livecheck-extract-plist-with-url.rb @@ -1,3 +1,5 @@ +# typed: true + cask "livecheck-extract-plist-with-url" do version "1.2.3" sha256 "78c670559a609f5d89a5d75eee49e2a2dab48aa3ea36906d14d5f7104e483bb9" diff --git a/Library/Homebrew/test/support/fixtures/cask/Casks/livecheck/livecheck-extract-plist.rb b/Library/Homebrew/test/support/fixtures/cask/Casks/livecheck/livecheck-extract-plist.rb index 4c2c5f6652615..ce456a4412775 100644 --- a/Library/Homebrew/test/support/fixtures/cask/Casks/livecheck/livecheck-extract-plist.rb +++ b/Library/Homebrew/test/support/fixtures/cask/Casks/livecheck/livecheck-extract-plist.rb @@ -1,3 +1,5 @@ +# typed: true + cask "livecheck-extract-plist" do version "1.2.3" sha256 "78c670559a609f5d89a5d75eee49e2a2dab48aa3ea36906d14d5f7104e483bb9" diff --git a/Library/Homebrew/test/support/fixtures/cask/Casks/livecheck/livecheck-installer-manual.rb b/Library/Homebrew/test/support/fixtures/cask/Casks/livecheck/livecheck-installer-manual.rb index fe38c3ce095a8..8651c53c300fc 100644 --- a/Library/Homebrew/test/support/fixtures/cask/Casks/livecheck/livecheck-installer-manual.rb +++ b/Library/Homebrew/test/support/fixtures/cask/Casks/livecheck/livecheck-installer-manual.rb @@ -1,3 +1,5 @@ +# typed: true + cask "livecheck-installer-manual" do version "1.2.3" sha256 "78c670559a609f5d89a5d75eee49e2a2dab48aa3ea36906d14d5f7104e483bb9" diff --git a/Library/Homebrew/test/support/fixtures/cask/Casks/livecheck/livecheck-skip-reference.rb b/Library/Homebrew/test/support/fixtures/cask/Casks/livecheck/livecheck-skip-reference.rb index a6e32926c95dc..f9252b5acb49c 100644 --- a/Library/Homebrew/test/support/fixtures/cask/Casks/livecheck/livecheck-skip-reference.rb +++ b/Library/Homebrew/test/support/fixtures/cask/Casks/livecheck/livecheck-skip-reference.rb @@ -1,3 +1,5 @@ +# typed: true + cask "livecheck-skip-reference" do version "1.2.3" sha256 "8c62a2b791cf5f0da6066a0a4b6e85f62949cd60975da062df44adf887f4370b" diff --git a/Library/Homebrew/test/support/fixtures/cask/Casks/livecheck/livecheck-skip.rb b/Library/Homebrew/test/support/fixtures/cask/Casks/livecheck/livecheck-skip.rb index 7b841ed505ced..8298a2a353377 100644 --- a/Library/Homebrew/test/support/fixtures/cask/Casks/livecheck/livecheck-skip.rb +++ b/Library/Homebrew/test/support/fixtures/cask/Casks/livecheck/livecheck-skip.rb @@ -1,3 +1,5 @@ +# typed: true + cask "livecheck-skip" do version "1.2.3" sha256 "8c62a2b791cf5f0da6066a0a4b6e85f62949cd60975da062df44adf887f4370b" diff --git a/Library/Homebrew/test/support/fixtures/cask/Casks/livecheck/livecheck-throttle-reference.rb b/Library/Homebrew/test/support/fixtures/cask/Casks/livecheck/livecheck-throttle-reference.rb index 951181989bf48..787d90c2ee785 100644 --- a/Library/Homebrew/test/support/fixtures/cask/Casks/livecheck/livecheck-throttle-reference.rb +++ b/Library/Homebrew/test/support/fixtures/cask/Casks/livecheck/livecheck-throttle-reference.rb @@ -1,3 +1,5 @@ +# typed: true + cask "livecheck-throttle-reference" do version "1.2.5" sha256 "8c62a2b791cf5f0da6066a0a4b6e85f62949cd60975da062df44adf887f4370b" diff --git a/Library/Homebrew/test/support/fixtures/cask/Casks/livecheck/livecheck-throttle.rb b/Library/Homebrew/test/support/fixtures/cask/Casks/livecheck/livecheck-throttle.rb index 457b97146ce7c..0777109da916e 100644 --- a/Library/Homebrew/test/support/fixtures/cask/Casks/livecheck/livecheck-throttle.rb +++ b/Library/Homebrew/test/support/fixtures/cask/Casks/livecheck/livecheck-throttle.rb @@ -1,3 +1,5 @@ +# typed: true + cask "livecheck-throttle" do version "1.2.5" sha256 "8c62a2b791cf5f0da6066a0a4b6e85f62949cd60975da062df44adf887f4370b" diff --git a/Library/Homebrew/test/support/fixtures/cask/Casks/livecheck/livecheck-url-unversioned-reference.rb b/Library/Homebrew/test/support/fixtures/cask/Casks/livecheck/livecheck-url-unversioned-reference.rb index 5531bbfda6149..a0e64f5fae888 100644 --- a/Library/Homebrew/test/support/fixtures/cask/Casks/livecheck/livecheck-url-unversioned-reference.rb +++ b/Library/Homebrew/test/support/fixtures/cask/Casks/livecheck/livecheck-url-unversioned-reference.rb @@ -1,3 +1,5 @@ +# typed: true + cask "livecheck-url-unversioned-reference" do version "1.2.3" sha256 "8c62a2b791cf5f0da6066a0a4b6e85f62949cd60975da062df44adf887f4370b" diff --git a/Library/Homebrew/test/support/fixtures/cask/Casks/livecheck/livecheck-url-unversioned.rb b/Library/Homebrew/test/support/fixtures/cask/Casks/livecheck/livecheck-url-unversioned.rb index 8208a26590d27..0de6e42fcc51f 100644 --- a/Library/Homebrew/test/support/fixtures/cask/Casks/livecheck/livecheck-url-unversioned.rb +++ b/Library/Homebrew/test/support/fixtures/cask/Casks/livecheck/livecheck-url-unversioned.rb @@ -1,3 +1,5 @@ +# typed: true + cask "livecheck-url-unversioned" do version "1.2.3" sha256 "8c62a2b791cf5f0da6066a0a4b6e85f62949cd60975da062df44adf887f4370b" diff --git a/Library/Homebrew/test/support/fixtures/cask/Casks/livecheck/livecheck-version-latest-reference.rb b/Library/Homebrew/test/support/fixtures/cask/Casks/livecheck/livecheck-version-latest-reference.rb index 15bcf0f3685f9..9bdcc1522cde9 100644 --- a/Library/Homebrew/test/support/fixtures/cask/Casks/livecheck/livecheck-version-latest-reference.rb +++ b/Library/Homebrew/test/support/fixtures/cask/Casks/livecheck/livecheck-version-latest-reference.rb @@ -1,3 +1,5 @@ +# typed: true + cask "livecheck-version-latest-reference" do version :latest sha256 :no_check diff --git a/Library/Homebrew/test/support/fixtures/cask/Casks/livecheck/livecheck-version-latest.rb b/Library/Homebrew/test/support/fixtures/cask/Casks/livecheck/livecheck-version-latest.rb index 3e892077e1992..0afb107cd19ec 100644 --- a/Library/Homebrew/test/support/fixtures/cask/Casks/livecheck/livecheck-version-latest.rb +++ b/Library/Homebrew/test/support/fixtures/cask/Casks/livecheck/livecheck-version-latest.rb @@ -1,3 +1,5 @@ +# typed: true + cask "livecheck-version-latest" do version :latest sha256 :no_check diff --git a/Library/Homebrew/test/support/fixtures/cask/Casks/local-caffeine.rb b/Library/Homebrew/test/support/fixtures/cask/Casks/local-caffeine.rb index 4a1c3d54fbdfd..2822f33bf70c2 100644 --- a/Library/Homebrew/test/support/fixtures/cask/Casks/local-caffeine.rb +++ b/Library/Homebrew/test/support/fixtures/cask/Casks/local-caffeine.rb @@ -1,3 +1,5 @@ +# typed: true + cask "local-caffeine" do version "1.2.3" sha256 "67cdb8a02803ef37fdbf7e0be205863172e41a561ca446cd84f0d7ab35a99d94" diff --git a/Library/Homebrew/test/support/fixtures/cask/Casks/local-transmission-zip.rb b/Library/Homebrew/test/support/fixtures/cask/Casks/local-transmission-zip.rb index 82d2a532f5d52..5b17d3ec7b017 100644 --- a/Library/Homebrew/test/support/fixtures/cask/Casks/local-transmission-zip.rb +++ b/Library/Homebrew/test/support/fixtures/cask/Casks/local-transmission-zip.rb @@ -1,3 +1,5 @@ +# typed: true + cask "local-transmission-zip" do version "2.61" sha256 "5e96aeb365aa8fabd51bb0d85f5f2bfe0135d392bb2f4120aa6b8171415906da" diff --git a/Library/Homebrew/test/support/fixtures/cask/Casks/local-transmission.rb b/Library/Homebrew/test/support/fixtures/cask/Casks/local-transmission.rb index a4820e1c552ba..94d73ec1e8b23 100644 --- a/Library/Homebrew/test/support/fixtures/cask/Casks/local-transmission.rb +++ b/Library/Homebrew/test/support/fixtures/cask/Casks/local-transmission.rb @@ -1,3 +1,5 @@ +# typed: true + cask "local-transmission" do version "2.61" sha256 "e44ffa103fbf83f55c8d0b1bea309a43b2880798dae8620b1ee8da5e1095ec68" diff --git a/Library/Homebrew/test/support/fixtures/cask/Casks/many-artifacts.rb b/Library/Homebrew/test/support/fixtures/cask/Casks/many-artifacts.rb index a488fd35f1d96..24d1f13011aeb 100644 --- a/Library/Homebrew/test/support/fixtures/cask/Casks/many-artifacts.rb +++ b/Library/Homebrew/test/support/fixtures/cask/Casks/many-artifacts.rb @@ -1,3 +1,5 @@ +# typed: true + cask "many-artifacts" do version "1.2.3" sha256 "8c62a2b791cf5f0da6066a0a4b6e85f62949cd60975da062df44adf887f4370b" diff --git a/Library/Homebrew/test/support/fixtures/cask/Casks/many-renames.rb b/Library/Homebrew/test/support/fixtures/cask/Casks/many-renames.rb index 8e1bef281e2d1..e14ec7715f879 100644 --- a/Library/Homebrew/test/support/fixtures/cask/Casks/many-renames.rb +++ b/Library/Homebrew/test/support/fixtures/cask/Casks/many-renames.rb @@ -1,3 +1,5 @@ +# typed: true + cask "many-renames" do version "1.2.3" sha256 "8c62a2b791cf5f0da6066a0a4b6e85f62949cd60975da062df44adf887f4370b" diff --git a/Library/Homebrew/test/support/fixtures/cask/Casks/missing-checksum.rb b/Library/Homebrew/test/support/fixtures/cask/Casks/missing-checksum.rb index 8bfee251e1ff4..51810cdc4a8c0 100644 --- a/Library/Homebrew/test/support/fixtures/cask/Casks/missing-checksum.rb +++ b/Library/Homebrew/test/support/fixtures/cask/Casks/missing-checksum.rb @@ -1,3 +1,5 @@ +# typed: true + cask "missing-checksum" do version "1.2.3" diff --git a/Library/Homebrew/test/support/fixtures/cask/Casks/missing-homepage.rb b/Library/Homebrew/test/support/fixtures/cask/Casks/missing-homepage.rb index 6701d8515ae6f..c9c9cc8fb7cfa 100644 --- a/Library/Homebrew/test/support/fixtures/cask/Casks/missing-homepage.rb +++ b/Library/Homebrew/test/support/fixtures/cask/Casks/missing-homepage.rb @@ -1,3 +1,5 @@ +# typed: true + cask "missing-homepage" do version "1.2.3" diff --git a/Library/Homebrew/test/support/fixtures/cask/Casks/missing-name.rb b/Library/Homebrew/test/support/fixtures/cask/Casks/missing-name.rb index 594ea292286f3..72b099921a69f 100644 --- a/Library/Homebrew/test/support/fixtures/cask/Casks/missing-name.rb +++ b/Library/Homebrew/test/support/fixtures/cask/Casks/missing-name.rb @@ -1,3 +1,5 @@ +# typed: true + cask "missing-name" do version "1.2.3" diff --git a/Library/Homebrew/test/support/fixtures/cask/Casks/missing-sha256.rb b/Library/Homebrew/test/support/fixtures/cask/Casks/missing-sha256.rb index 7694834727399..bacb16b7e12b0 100644 --- a/Library/Homebrew/test/support/fixtures/cask/Casks/missing-sha256.rb +++ b/Library/Homebrew/test/support/fixtures/cask/Casks/missing-sha256.rb @@ -1,3 +1,5 @@ +# typed: true + cask "missing-sha256" do version "1.2.3" diff --git a/Library/Homebrew/test/support/fixtures/cask/Casks/missing-url.rb b/Library/Homebrew/test/support/fixtures/cask/Casks/missing-url.rb index 2febb8a9c1b4d..7fb568e77a998 100644 --- a/Library/Homebrew/test/support/fixtures/cask/Casks/missing-url.rb +++ b/Library/Homebrew/test/support/fixtures/cask/Casks/missing-url.rb @@ -1,3 +1,5 @@ +# typed: true + cask "missing-url" do version "1.2.3" diff --git a/Library/Homebrew/test/support/fixtures/cask/Casks/missing-version.rb b/Library/Homebrew/test/support/fixtures/cask/Casks/missing-version.rb index d87e40df29f42..77320f3bfef95 100644 --- a/Library/Homebrew/test/support/fixtures/cask/Casks/missing-version.rb +++ b/Library/Homebrew/test/support/fixtures/cask/Casks/missing-version.rb @@ -1,3 +1,5 @@ +# typed: true + cask "missing-version" do url "https://brew.sh/TestCask.dmg" homepage "https://brew.sh/" diff --git a/Library/Homebrew/test/support/fixtures/cask/Casks/multiple-versions.rb b/Library/Homebrew/test/support/fixtures/cask/Casks/multiple-versions.rb index fea39877d6770..6c4a633b31119 100644 --- a/Library/Homebrew/test/support/fixtures/cask/Casks/multiple-versions.rb +++ b/Library/Homebrew/test/support/fixtures/cask/Casks/multiple-versions.rb @@ -1,3 +1,5 @@ +# typed: true + cask "multiple-versions" do arch arm: "arm", intel: "intel" platform = on_arch_conditional arm: "darwin-arm64", intel: "darwin" diff --git a/Library/Homebrew/test/support/fixtures/cask/Casks/naked-executable.rb b/Library/Homebrew/test/support/fixtures/cask/Casks/naked-executable.rb index bb27d403d6e79..25d2acd5e3b66 100644 --- a/Library/Homebrew/test/support/fixtures/cask/Casks/naked-executable.rb +++ b/Library/Homebrew/test/support/fixtures/cask/Casks/naked-executable.rb @@ -1,3 +1,5 @@ +# typed: true + cask "naked-executable" do version "1.2.3" sha256 "306c6ca7407560340797866e077e053627ad409277d1b9da58106fce4cf717cb" diff --git a/Library/Homebrew/test/support/fixtures/cask/Casks/nested-app.rb b/Library/Homebrew/test/support/fixtures/cask/Casks/nested-app.rb index abb0574398d7f..f1e3c86c9e902 100644 --- a/Library/Homebrew/test/support/fixtures/cask/Casks/nested-app.rb +++ b/Library/Homebrew/test/support/fixtures/cask/Casks/nested-app.rb @@ -1,3 +1,5 @@ +# typed: true + cask "nested-app" do version "1.2.3" sha256 "69034d000fabf804a6e140c8c632f8ce8a3bf303f5f7db2fb0cd86e3aeed9e67" diff --git a/Library/Homebrew/test/support/fixtures/cask/Casks/no-checksum.rb b/Library/Homebrew/test/support/fixtures/cask/Casks/no-checksum.rb index 151e9e04f5148..044b7f2dd66c9 100644 --- a/Library/Homebrew/test/support/fixtures/cask/Casks/no-checksum.rb +++ b/Library/Homebrew/test/support/fixtures/cask/Casks/no-checksum.rb @@ -1,3 +1,5 @@ +# typed: true + cask "no-checksum" do version "1.2.3" sha256 :no_check diff --git a/Library/Homebrew/test/support/fixtures/cask/Casks/no-dsl-version.rb b/Library/Homebrew/test/support/fixtures/cask/Casks/no-dsl-version.rb index e45bf760cc881..1069fc115b026 100644 --- a/Library/Homebrew/test/support/fixtures/cask/Casks/no-dsl-version.rb +++ b/Library/Homebrew/test/support/fixtures/cask/Casks/no-dsl-version.rb @@ -1,3 +1,5 @@ +# typed: true + cask "no-dsl-version" do version "1.2.3" sha256 "8c62a2b791cf5f0da6066a0a4b6e85f62949cd60975da062df44adf887f4370b" diff --git a/Library/Homebrew/test/support/fixtures/cask/Casks/osdn-urls.rb b/Library/Homebrew/test/support/fixtures/cask/Casks/osdn-urls.rb index 569859db53c50..adfb40c452e28 100644 --- a/Library/Homebrew/test/support/fixtures/cask/Casks/osdn-urls.rb +++ b/Library/Homebrew/test/support/fixtures/cask/Casks/osdn-urls.rb @@ -1,3 +1,5 @@ +# typed: true + cask "osdn-urls" do version "1.2.3" diff --git a/Library/Homebrew/test/support/fixtures/cask/Casks/outdated/auto-updates.rb b/Library/Homebrew/test/support/fixtures/cask/Casks/outdated/auto-updates.rb index c2863c3e4fb0a..51255f5c38ffc 100644 --- a/Library/Homebrew/test/support/fixtures/cask/Casks/outdated/auto-updates.rb +++ b/Library/Homebrew/test/support/fixtures/cask/Casks/outdated/auto-updates.rb @@ -1,3 +1,5 @@ +# typed: true + cask "auto-updates" do version "2.57" sha256 "5633c3a0f2e572cbf021507dec78c50998b398c343232bdfc7e26221d0a5db4d" diff --git a/Library/Homebrew/test/support/fixtures/cask/Casks/outdated/bad-checksum.rb b/Library/Homebrew/test/support/fixtures/cask/Casks/outdated/bad-checksum.rb index 40b91ce4229bc..2ce5276b9e928 100644 --- a/Library/Homebrew/test/support/fixtures/cask/Casks/outdated/bad-checksum.rb +++ b/Library/Homebrew/test/support/fixtures/cask/Casks/outdated/bad-checksum.rb @@ -1,3 +1,5 @@ +# typed: true + cask "bad-checksum" do version "1.2.2" sha256 "67cdb8a02803ef37fdbf7e0be205863172e41a561ca446cd84f0d7ab35a99d94" diff --git a/Library/Homebrew/test/support/fixtures/cask/Casks/outdated/bad-checksum2.rb b/Library/Homebrew/test/support/fixtures/cask/Casks/outdated/bad-checksum2.rb index 6bbdb259a431e..cf4de11d96cd8 100644 --- a/Library/Homebrew/test/support/fixtures/cask/Casks/outdated/bad-checksum2.rb +++ b/Library/Homebrew/test/support/fixtures/cask/Casks/outdated/bad-checksum2.rb @@ -1,3 +1,5 @@ +# typed: true + cask "bad-checksum2" do version "1.2.2" sha256 "fab685fabf73d5a9382581ce8698fce9408f5feaa49fa10d9bc6c510493300f5" diff --git a/Library/Homebrew/test/support/fixtures/cask/Casks/outdated/local-caffeine.rb b/Library/Homebrew/test/support/fixtures/cask/Casks/outdated/local-caffeine.rb index e6801eb98404e..96c989d19199a 100644 --- a/Library/Homebrew/test/support/fixtures/cask/Casks/outdated/local-caffeine.rb +++ b/Library/Homebrew/test/support/fixtures/cask/Casks/outdated/local-caffeine.rb @@ -1,3 +1,5 @@ +# typed: true + cask "local-caffeine" do version "1.2.2" sha256 "67cdb8a02803ef37fdbf7e0be205863172e41a561ca446cd84f0d7ab35a99d94" diff --git a/Library/Homebrew/test/support/fixtures/cask/Casks/outdated/local-transmission-zip.rb b/Library/Homebrew/test/support/fixtures/cask/Casks/outdated/local-transmission-zip.rb index 1a820be177a5f..3fcbe1e4ae523 100644 --- a/Library/Homebrew/test/support/fixtures/cask/Casks/outdated/local-transmission-zip.rb +++ b/Library/Homebrew/test/support/fixtures/cask/Casks/outdated/local-transmission-zip.rb @@ -1,3 +1,5 @@ +# typed: true + cask "local-transmission-zip" do version "2.60" sha256 "5e96aeb365aa8fabd51bb0d85f5f2bfe0135d392bb2f4120aa6b8171415906da" diff --git a/Library/Homebrew/test/support/fixtures/cask/Casks/outdated/local-transmission.rb b/Library/Homebrew/test/support/fixtures/cask/Casks/outdated/local-transmission.rb index aeb994147981b..7df0f3288a6a3 100644 --- a/Library/Homebrew/test/support/fixtures/cask/Casks/outdated/local-transmission.rb +++ b/Library/Homebrew/test/support/fixtures/cask/Casks/outdated/local-transmission.rb @@ -1,3 +1,5 @@ +# typed: true + cask "local-transmission" do version "2.60" sha256 "e44ffa103fbf83f55c8d0b1bea309a43b2880798dae8620b1ee8da5e1095ec68" diff --git a/Library/Homebrew/test/support/fixtures/cask/Casks/outdated/renamed-app.rb b/Library/Homebrew/test/support/fixtures/cask/Casks/outdated/renamed-app.rb index e93b90cb8eb3f..8257c8bccb46b 100644 --- a/Library/Homebrew/test/support/fixtures/cask/Casks/outdated/renamed-app.rb +++ b/Library/Homebrew/test/support/fixtures/cask/Casks/outdated/renamed-app.rb @@ -1,3 +1,5 @@ +# typed: true + cask "renamed-app" do version "1.0.0" sha256 "cf001ed6c81820e049dc7a353957dab8936b91f1956ee74ff0b3eb59791f1ad9" diff --git a/Library/Homebrew/test/support/fixtures/cask/Casks/outdated/version-latest.rb b/Library/Homebrew/test/support/fixtures/cask/Casks/outdated/version-latest.rb index c4389c42530a2..b96bc7ba626c5 100644 --- a/Library/Homebrew/test/support/fixtures/cask/Casks/outdated/version-latest.rb +++ b/Library/Homebrew/test/support/fixtures/cask/Casks/outdated/version-latest.rb @@ -1,3 +1,5 @@ +# typed: true + cask "version-latest" do version :latest sha256 :no_check diff --git a/Library/Homebrew/test/support/fixtures/cask/Casks/outdated/will-fail-if-upgraded.rb b/Library/Homebrew/test/support/fixtures/cask/Casks/outdated/will-fail-if-upgraded.rb index 6cb17a6cfccd3..be5a8c2f07334 100644 --- a/Library/Homebrew/test/support/fixtures/cask/Casks/outdated/will-fail-if-upgraded.rb +++ b/Library/Homebrew/test/support/fixtures/cask/Casks/outdated/will-fail-if-upgraded.rb @@ -1,3 +1,5 @@ +# typed: true + cask "will-fail-if-upgraded" do version "1.2.2" sha256 "fab685fabf73d5a9382581ce8698fce9408f5feaa49fa10d9bc6c510493300f5" diff --git a/Library/Homebrew/test/support/fixtures/cask/Casks/pkg-without-uninstall.rb b/Library/Homebrew/test/support/fixtures/cask/Casks/pkg-without-uninstall.rb index b88c8066e5679..6efb3d701f15a 100644 --- a/Library/Homebrew/test/support/fixtures/cask/Casks/pkg-without-uninstall.rb +++ b/Library/Homebrew/test/support/fixtures/cask/Casks/pkg-without-uninstall.rb @@ -1,3 +1,5 @@ +# typed: true + cask "pkg-without-uninstall" do version "1.2.3" sha256 "8c62a2b791cf5f0da6066a0a4b6e85f62949cd60975da062df44adf887f4370b" diff --git a/Library/Homebrew/test/support/fixtures/cask/Casks/placeholders.rb b/Library/Homebrew/test/support/fixtures/cask/Casks/placeholders.rb index 81b4548b9b5fc..23c776baa6103 100644 --- a/Library/Homebrew/test/support/fixtures/cask/Casks/placeholders.rb +++ b/Library/Homebrew/test/support/fixtures/cask/Casks/placeholders.rb @@ -1,3 +1,5 @@ +# typed: true + cask "placeholders" do version "2.61" sha256 "e44ffa103fbf83f55c8d0b1bea309a43b2880798dae8620b1ee8da5e1095ec68" diff --git a/Library/Homebrew/test/support/fixtures/cask/Casks/renamed-app.rb b/Library/Homebrew/test/support/fixtures/cask/Casks/renamed-app.rb index 3e1f367fa54d2..245233e41eb3f 100644 --- a/Library/Homebrew/test/support/fixtures/cask/Casks/renamed-app.rb +++ b/Library/Homebrew/test/support/fixtures/cask/Casks/renamed-app.rb @@ -1,3 +1,5 @@ +# typed: true + cask "renamed-app" do version "2.0.0" sha256 "9f88a6f3d8a7977cd3c116c56ee7a20a3c69e838a1d4946f815a926a57883299" diff --git a/Library/Homebrew/test/support/fixtures/cask/Casks/sha256-arch.rb b/Library/Homebrew/test/support/fixtures/cask/Casks/sha256-arch.rb index 1e109bf48ee2f..3c0bf69b11d0b 100644 --- a/Library/Homebrew/test/support/fixtures/cask/Casks/sha256-arch.rb +++ b/Library/Homebrew/test/support/fixtures/cask/Casks/sha256-arch.rb @@ -1,3 +1,5 @@ +# typed: true + cask "sha256-arch" do arch arm: "arm", intel: "intel" diff --git a/Library/Homebrew/test/support/fixtures/cask/Casks/sha256-for-empty-string.rb b/Library/Homebrew/test/support/fixtures/cask/Casks/sha256-for-empty-string.rb index a3daf6eb9bd8b..9c72408eca05e 100644 --- a/Library/Homebrew/test/support/fixtures/cask/Casks/sha256-for-empty-string.rb +++ b/Library/Homebrew/test/support/fixtures/cask/Casks/sha256-for-empty-string.rb @@ -1,3 +1,5 @@ +# typed: true + cask "sha256-for-empty-string" do version "1.2.3" sha256 "e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855" diff --git a/Library/Homebrew/test/support/fixtures/cask/Casks/sha256-os.rb b/Library/Homebrew/test/support/fixtures/cask/Casks/sha256-os.rb index 213330f17bd24..419e8a3bc6adc 100644 --- a/Library/Homebrew/test/support/fixtures/cask/Casks/sha256-os.rb +++ b/Library/Homebrew/test/support/fixtures/cask/Casks/sha256-os.rb @@ -1,3 +1,5 @@ +# typed: true + cask "sha256-os" do arch arm: "arm", intel: "intel" os macos: "darwin", linux: "linux" diff --git a/Library/Homebrew/test/support/fixtures/cask/Casks/sourceforge-correct-url-format.rb b/Library/Homebrew/test/support/fixtures/cask/Casks/sourceforge-correct-url-format.rb index 8546dfb7514ae..f14a3851cc97b 100644 --- a/Library/Homebrew/test/support/fixtures/cask/Casks/sourceforge-correct-url-format.rb +++ b/Library/Homebrew/test/support/fixtures/cask/Casks/sourceforge-correct-url-format.rb @@ -1,3 +1,5 @@ +# typed: true + cask "sourceforge-correct-url-format" do version "1.2.3" diff --git a/Library/Homebrew/test/support/fixtures/cask/Casks/sourceforge-incorrect-url-format.rb b/Library/Homebrew/test/support/fixtures/cask/Casks/sourceforge-incorrect-url-format.rb index 365db0fe83a90..b759fc774e62d 100644 --- a/Library/Homebrew/test/support/fixtures/cask/Casks/sourceforge-incorrect-url-format.rb +++ b/Library/Homebrew/test/support/fixtures/cask/Casks/sourceforge-incorrect-url-format.rb @@ -1,3 +1,5 @@ +# typed: true + cask "sourceforge-incorrect-url-format" do version "1.2.3" diff --git a/Library/Homebrew/test/support/fixtures/cask/Casks/sourceforge-version-latest-correct-url-format.rb b/Library/Homebrew/test/support/fixtures/cask/Casks/sourceforge-version-latest-correct-url-format.rb index 49801ce2a0e82..fa18d48548cee 100644 --- a/Library/Homebrew/test/support/fixtures/cask/Casks/sourceforge-version-latest-correct-url-format.rb +++ b/Library/Homebrew/test/support/fixtures/cask/Casks/sourceforge-version-latest-correct-url-format.rb @@ -1,3 +1,5 @@ +# typed: true + cask "sourceforge-version-latest-correct-url-format" do version :latest diff --git a/Library/Homebrew/test/support/fixtures/cask/Casks/sourceforge-with-livecheck.rb b/Library/Homebrew/test/support/fixtures/cask/Casks/sourceforge-with-livecheck.rb index 5c42cec2f2695..f7b6ede4bce7a 100644 --- a/Library/Homebrew/test/support/fixtures/cask/Casks/sourceforge-with-livecheck.rb +++ b/Library/Homebrew/test/support/fixtures/cask/Casks/sourceforge-with-livecheck.rb @@ -1,3 +1,5 @@ +# typed: true + cask "sourceforge-with-livecheck" do version "1.2.3" diff --git a/Library/Homebrew/test/support/fixtures/cask/Casks/stage-only.rb b/Library/Homebrew/test/support/fixtures/cask/Casks/stage-only.rb index 5c29e7a75edd5..be8d45b4ab4bb 100644 --- a/Library/Homebrew/test/support/fixtures/cask/Casks/stage-only.rb +++ b/Library/Homebrew/test/support/fixtures/cask/Casks/stage-only.rb @@ -1,3 +1,5 @@ +# typed: true + cask "stage-only" do version "2.61" sha256 "e44ffa103fbf83f55c8d0b1bea309a43b2880798dae8620b1ee8da5e1095ec68" diff --git a/Library/Homebrew/test/support/fixtures/cask/Casks/test-opera-mail.rb b/Library/Homebrew/test/support/fixtures/cask/Casks/test-opera-mail.rb index 6c005620e0c46..442cf6317d3e5 100644 --- a/Library/Homebrew/test/support/fixtures/cask/Casks/test-opera-mail.rb +++ b/Library/Homebrew/test/support/fixtures/cask/Casks/test-opera-mail.rb @@ -1,3 +1,5 @@ +# typed: true + cask "test-opera-mail" do version "1.0" sha256 "afd192e308f8ea8ddb3d426fd6663d97078570417ee78b8e1fa15f515ae3d677" diff --git a/Library/Homebrew/test/support/fixtures/cask/Casks/test-opera.rb b/Library/Homebrew/test/support/fixtures/cask/Casks/test-opera.rb index 4c3888c6d290e..b3c1644832b0f 100644 --- a/Library/Homebrew/test/support/fixtures/cask/Casks/test-opera.rb +++ b/Library/Homebrew/test/support/fixtures/cask/Casks/test-opera.rb @@ -1,3 +1,5 @@ +# typed: true + cask "test-opera" do version "19.0.1326.47" sha256 "7b91f20ab754f7b3fef8dc346e0393917e11676b74c8f577408841619f76040a" diff --git a/Library/Homebrew/test/support/fixtures/cask/Casks/version-colon.rb b/Library/Homebrew/test/support/fixtures/cask/Casks/version-colon.rb index c3285282c5f92..a1562e8d82de5 100644 --- a/Library/Homebrew/test/support/fixtures/cask/Casks/version-colon.rb +++ b/Library/Homebrew/test/support/fixtures/cask/Casks/version-colon.rb @@ -1,3 +1,5 @@ +# typed: true + cask "version-colon" do version "1.2.3:1003" sha256 :no_check diff --git a/Library/Homebrew/test/support/fixtures/cask/Casks/version-latest-string.rb b/Library/Homebrew/test/support/fixtures/cask/Casks/version-latest-string.rb index 1b2d6c401d13e..7fd8b09fbc611 100644 --- a/Library/Homebrew/test/support/fixtures/cask/Casks/version-latest-string.rb +++ b/Library/Homebrew/test/support/fixtures/cask/Casks/version-latest-string.rb @@ -1,3 +1,5 @@ +# typed: true + cask "version-latest-string" do version "latest" sha256 :no_check diff --git a/Library/Homebrew/test/support/fixtures/cask/Casks/version-latest-with-checksum.rb b/Library/Homebrew/test/support/fixtures/cask/Casks/version-latest-with-checksum.rb index 4d2f35957fcc3..8daaf7986619f 100644 --- a/Library/Homebrew/test/support/fixtures/cask/Casks/version-latest-with-checksum.rb +++ b/Library/Homebrew/test/support/fixtures/cask/Casks/version-latest-with-checksum.rb @@ -1,3 +1,5 @@ +# typed: true + cask "version-latest-with-checksum" do version :latest sha256 "67cdb8a02803ef37fdbf7e0be205863172e41a561ca446cd84f0d7ab35a99d94" diff --git a/Library/Homebrew/test/support/fixtures/cask/Casks/version-latest.rb b/Library/Homebrew/test/support/fixtures/cask/Casks/version-latest.rb index 355856180e6a8..4501908eec995 100644 --- a/Library/Homebrew/test/support/fixtures/cask/Casks/version-latest.rb +++ b/Library/Homebrew/test/support/fixtures/cask/Casks/version-latest.rb @@ -1,3 +1,5 @@ +# typed: true + cask "version-latest" do version :latest sha256 :no_check diff --git a/Library/Homebrew/test/support/fixtures/cask/Casks/will-fail-if-upgraded.rb b/Library/Homebrew/test/support/fixtures/cask/Casks/will-fail-if-upgraded.rb index 5587fa98f5f7b..f0083cd22049d 100644 --- a/Library/Homebrew/test/support/fixtures/cask/Casks/will-fail-if-upgraded.rb +++ b/Library/Homebrew/test/support/fixtures/cask/Casks/will-fail-if-upgraded.rb @@ -1,3 +1,5 @@ +# typed: true + cask "will-fail-if-upgraded" do version "1.2.3" sha256 "5e96aeb365aa8fabd51bb0d85f5f2bfe0135d392bb2f4120aa6b8171415906da" diff --git a/Library/Homebrew/test/support/fixtures/cask/Casks/with-allow-untrusted.rb b/Library/Homebrew/test/support/fixtures/cask/Casks/with-allow-untrusted.rb index 1d688a170c092..01cb378cf4ee3 100644 --- a/Library/Homebrew/test/support/fixtures/cask/Casks/with-allow-untrusted.rb +++ b/Library/Homebrew/test/support/fixtures/cask/Casks/with-allow-untrusted.rb @@ -1,3 +1,5 @@ +# typed: true + cask "with-allow-untrusted" do version "1.2.3" sha256 "8c62a2b791cf5f0da6066a0a4b6e85f62949cd60975da062df44adf887f4370b" diff --git a/Library/Homebrew/test/support/fixtures/cask/Casks/with-alt-target.rb b/Library/Homebrew/test/support/fixtures/cask/Casks/with-alt-target.rb index 15af2b4c83b8b..47c78d5f3f12a 100644 --- a/Library/Homebrew/test/support/fixtures/cask/Casks/with-alt-target.rb +++ b/Library/Homebrew/test/support/fixtures/cask/Casks/with-alt-target.rb @@ -1,3 +1,5 @@ +# typed: true + cask "with-alt-target" do version "1.2.3" sha256 "67cdb8a02803ef37fdbf7e0be205863172e41a561ca446cd84f0d7ab35a99d94" diff --git a/Library/Homebrew/test/support/fixtures/cask/Casks/with-auto-updates.rb b/Library/Homebrew/test/support/fixtures/cask/Casks/with-auto-updates.rb index 308751bf6b8c0..542ed661b40aa 100644 --- a/Library/Homebrew/test/support/fixtures/cask/Casks/with-auto-updates.rb +++ b/Library/Homebrew/test/support/fixtures/cask/Casks/with-auto-updates.rb @@ -1,3 +1,5 @@ +# typed: true + cask "with-auto-updates" do version "1.0" sha256 "e5be907a51cd0d5b128532284afe1c913608c584936a5e55d94c75a9f48c4322" diff --git a/Library/Homebrew/test/support/fixtures/cask/Casks/with-autodetected-manpage-section.rb b/Library/Homebrew/test/support/fixtures/cask/Casks/with-autodetected-manpage-section.rb index 00eff60a6ca11..d18d27918cf9d 100644 --- a/Library/Homebrew/test/support/fixtures/cask/Casks/with-autodetected-manpage-section.rb +++ b/Library/Homebrew/test/support/fixtures/cask/Casks/with-autodetected-manpage-section.rb @@ -1,3 +1,5 @@ +# typed: true + cask "with-autodetected-manpage-section" do version "1.2.3" sha256 "1f078d5fbbaf44b05d0389b14a15f6704e0e5f8f663bc38153a4d685e38baad5" diff --git a/Library/Homebrew/test/support/fixtures/cask/Casks/with-binary.rb b/Library/Homebrew/test/support/fixtures/cask/Casks/with-binary.rb index 831d4eacd526a..ace7ff3738bb7 100644 --- a/Library/Homebrew/test/support/fixtures/cask/Casks/with-binary.rb +++ b/Library/Homebrew/test/support/fixtures/cask/Casks/with-binary.rb @@ -1,3 +1,5 @@ +# typed: true + cask "with-binary" do version "1.2.3" sha256 "d5b2dfbef7ea28c25f7a77cd7fa14d013d82b626db1d82e00e25822464ba19e2" diff --git a/Library/Homebrew/test/support/fixtures/cask/Casks/with-caveats.rb b/Library/Homebrew/test/support/fixtures/cask/Casks/with-caveats.rb index 9df2be5119bb2..6df8a2ac8a8d4 100644 --- a/Library/Homebrew/test/support/fixtures/cask/Casks/with-caveats.rb +++ b/Library/Homebrew/test/support/fixtures/cask/Casks/with-caveats.rb @@ -1,3 +1,5 @@ +# typed: true + cask "with-caveats" do version "1.2.3" sha256 "67cdb8a02803ef37fdbf7e0be205863172e41a561ca446cd84f0d7ab35a99d94" diff --git a/Library/Homebrew/test/support/fixtures/cask/Casks/with-choices.rb b/Library/Homebrew/test/support/fixtures/cask/Casks/with-choices.rb index 15832738e1411..d37cdec188431 100644 --- a/Library/Homebrew/test/support/fixtures/cask/Casks/with-choices.rb +++ b/Library/Homebrew/test/support/fixtures/cask/Casks/with-choices.rb @@ -1,3 +1,5 @@ +# typed: true + cask "with-choices" do version "1.2.3" sha256 "8c62a2b791cf5f0da6066a0a4b6e85f62949cd60975da062df44adf887f4370b" diff --git a/Library/Homebrew/test/support/fixtures/cask/Casks/with-conditional-caveats.rb b/Library/Homebrew/test/support/fixtures/cask/Casks/with-conditional-caveats.rb index 4ca1b07ec5590..823273b3aab82 100644 --- a/Library/Homebrew/test/support/fixtures/cask/Casks/with-conditional-caveats.rb +++ b/Library/Homebrew/test/support/fixtures/cask/Casks/with-conditional-caveats.rb @@ -1,3 +1,5 @@ +# typed: true + cask "with-conditional-caveats" do version "1.2.3" sha256 "67cdb8a02803ef37fdbf7e0be205863172e41a561ca446cd84f0d7ab35a99d94" diff --git a/Library/Homebrew/test/support/fixtures/cask/Casks/with-conflicts-with.rb b/Library/Homebrew/test/support/fixtures/cask/Casks/with-conflicts-with.rb index 9986a5d039bf1..99bd858f226ea 100644 --- a/Library/Homebrew/test/support/fixtures/cask/Casks/with-conflicts-with.rb +++ b/Library/Homebrew/test/support/fixtures/cask/Casks/with-conflicts-with.rb @@ -1,3 +1,5 @@ +# typed: true + cask "with-conflicts-with" do version "1.2.3" sha256 "67cdb8a02803ef37fdbf7e0be205863172e41a561ca446cd84f0d7ab35a99d94" diff --git a/Library/Homebrew/test/support/fixtures/cask/Casks/with-depends-on-arch.rb b/Library/Homebrew/test/support/fixtures/cask/Casks/with-depends-on-arch.rb index 062d8df871e76..5dd1ebe21b958 100644 --- a/Library/Homebrew/test/support/fixtures/cask/Casks/with-depends-on-arch.rb +++ b/Library/Homebrew/test/support/fixtures/cask/Casks/with-depends-on-arch.rb @@ -1,3 +1,5 @@ +# typed: true + cask "with-depends-on-arch" do version "1.2.3" sha256 "67cdb8a02803ef37fdbf7e0be205863172e41a561ca446cd84f0d7ab35a99d94" diff --git a/Library/Homebrew/test/support/fixtures/cask/Casks/with-depends-on-cask-cyclic-helper.rb b/Library/Homebrew/test/support/fixtures/cask/Casks/with-depends-on-cask-cyclic-helper.rb index 8e7986fa76d74..7fde3a8d95a05 100644 --- a/Library/Homebrew/test/support/fixtures/cask/Casks/with-depends-on-cask-cyclic-helper.rb +++ b/Library/Homebrew/test/support/fixtures/cask/Casks/with-depends-on-cask-cyclic-helper.rb @@ -1,3 +1,5 @@ +# typed: true + cask "with-depends-on-cask-cyclic-helper" do version "1.2.3" sha256 "67cdb8a02803ef37fdbf7e0be205863172e41a561ca446cd84f0d7ab35a99d94" diff --git a/Library/Homebrew/test/support/fixtures/cask/Casks/with-depends-on-cask-cyclic.rb b/Library/Homebrew/test/support/fixtures/cask/Casks/with-depends-on-cask-cyclic.rb index e1c324567c031..fa62b29f25e5f 100644 --- a/Library/Homebrew/test/support/fixtures/cask/Casks/with-depends-on-cask-cyclic.rb +++ b/Library/Homebrew/test/support/fixtures/cask/Casks/with-depends-on-cask-cyclic.rb @@ -1,3 +1,5 @@ +# typed: true + cask "with-depends-on-cask-cyclic" do version "1.2.3" sha256 "67cdb8a02803ef37fdbf7e0be205863172e41a561ca446cd84f0d7ab35a99d94" diff --git a/Library/Homebrew/test/support/fixtures/cask/Casks/with-depends-on-cask-multiple.rb b/Library/Homebrew/test/support/fixtures/cask/Casks/with-depends-on-cask-multiple.rb index 0490f2f02a5ab..192eab29b6e61 100644 --- a/Library/Homebrew/test/support/fixtures/cask/Casks/with-depends-on-cask-multiple.rb +++ b/Library/Homebrew/test/support/fixtures/cask/Casks/with-depends-on-cask-multiple.rb @@ -1,3 +1,5 @@ +# typed: true + cask "with-depends-on-cask-multiple" do version "1.2.3" sha256 "67cdb8a02803ef37fdbf7e0be205863172e41a561ca446cd84f0d7ab35a99d94" diff --git a/Library/Homebrew/test/support/fixtures/cask/Casks/with-depends-on-cask.rb b/Library/Homebrew/test/support/fixtures/cask/Casks/with-depends-on-cask.rb index 295fda903b673..ceecc43ae97a9 100644 --- a/Library/Homebrew/test/support/fixtures/cask/Casks/with-depends-on-cask.rb +++ b/Library/Homebrew/test/support/fixtures/cask/Casks/with-depends-on-cask.rb @@ -1,3 +1,5 @@ +# typed: true + cask "with-depends-on-cask" do version "1.2.3" sha256 "67cdb8a02803ef37fdbf7e0be205863172e41a561ca446cd84f0d7ab35a99d94" diff --git a/Library/Homebrew/test/support/fixtures/cask/Casks/with-depends-on-everything.rb b/Library/Homebrew/test/support/fixtures/cask/Casks/with-depends-on-everything.rb index f4e661df0f47d..1ca0b8c13c193 100644 --- a/Library/Homebrew/test/support/fixtures/cask/Casks/with-depends-on-everything.rb +++ b/Library/Homebrew/test/support/fixtures/cask/Casks/with-depends-on-everything.rb @@ -1,3 +1,5 @@ +# typed: true + cask "with-depends-on-everything" do version "1.2.3" sha256 "67cdb8a02803ef37fdbf7e0be205863172e41a561ca446cd84f0d7ab35a99d94" diff --git a/Library/Homebrew/test/support/fixtures/cask/Casks/with-depends-on-formula-multiple.rb b/Library/Homebrew/test/support/fixtures/cask/Casks/with-depends-on-formula-multiple.rb index c3ce42aa7cbc4..d62c2d686e7df 100644 --- a/Library/Homebrew/test/support/fixtures/cask/Casks/with-depends-on-formula-multiple.rb +++ b/Library/Homebrew/test/support/fixtures/cask/Casks/with-depends-on-formula-multiple.rb @@ -1,3 +1,5 @@ +# typed: true + cask "with-depends-on-formula-multiple" do version "1.2.3" sha256 "67cdb8a02803ef37fdbf7e0be205863172e41a561ca446cd84f0d7ab35a99d94" diff --git a/Library/Homebrew/test/support/fixtures/cask/Casks/with-depends-on-formula.rb b/Library/Homebrew/test/support/fixtures/cask/Casks/with-depends-on-formula.rb index 3d3be94474bf3..2a9faa8145392 100644 --- a/Library/Homebrew/test/support/fixtures/cask/Casks/with-depends-on-formula.rb +++ b/Library/Homebrew/test/support/fixtures/cask/Casks/with-depends-on-formula.rb @@ -1,3 +1,5 @@ +# typed: true + cask "with-depends-on-formula" do version "1.2.3" sha256 "67cdb8a02803ef37fdbf7e0be205863172e41a561ca446cd84f0d7ab35a99d94" diff --git a/Library/Homebrew/test/support/fixtures/cask/Casks/with-depends-on-macos-array.rb b/Library/Homebrew/test/support/fixtures/cask/Casks/with-depends-on-macos-array.rb index fb899ab46e2af..1cb94e324a6d2 100644 --- a/Library/Homebrew/test/support/fixtures/cask/Casks/with-depends-on-macos-array.rb +++ b/Library/Homebrew/test/support/fixtures/cask/Casks/with-depends-on-macos-array.rb @@ -1,3 +1,4 @@ +# typed: true # frozen_string_literal: true cask "with-depends-on-macos-array" do diff --git a/Library/Homebrew/test/support/fixtures/cask/Casks/with-depends-on-macos-comparison.rb b/Library/Homebrew/test/support/fixtures/cask/Casks/with-depends-on-macos-comparison.rb index 1d1112a987d13..49edb1affa004 100644 --- a/Library/Homebrew/test/support/fixtures/cask/Casks/with-depends-on-macos-comparison.rb +++ b/Library/Homebrew/test/support/fixtures/cask/Casks/with-depends-on-macos-comparison.rb @@ -1,3 +1,4 @@ +# typed: true # frozen_string_literal: true cask "with-depends-on-macos-comparison" do diff --git a/Library/Homebrew/test/support/fixtures/cask/Casks/with-depends-on-macos-failure.rb b/Library/Homebrew/test/support/fixtures/cask/Casks/with-depends-on-macos-failure.rb index a65cde70d0b8a..124b537057220 100644 --- a/Library/Homebrew/test/support/fixtures/cask/Casks/with-depends-on-macos-failure.rb +++ b/Library/Homebrew/test/support/fixtures/cask/Casks/with-depends-on-macos-failure.rb @@ -1,3 +1,5 @@ +# typed: true + cask "with-depends-on-macos-failure" do # guarantee a mismatched release on_big_sur :or_older do diff --git a/Library/Homebrew/test/support/fixtures/cask/Casks/with-depends-on-macos-symbol.rb b/Library/Homebrew/test/support/fixtures/cask/Casks/with-depends-on-macos-symbol.rb index 048419cd9eb95..43fab7536a5e9 100644 --- a/Library/Homebrew/test/support/fixtures/cask/Casks/with-depends-on-macos-symbol.rb +++ b/Library/Homebrew/test/support/fixtures/cask/Casks/with-depends-on-macos-symbol.rb @@ -1,3 +1,5 @@ +# typed: true + cask "with-depends-on-macos-symbol" do version "1.2.3" sha256 "67cdb8a02803ef37fdbf7e0be205863172e41a561ca446cd84f0d7ab35a99d94" diff --git a/Library/Homebrew/test/support/fixtures/cask/Casks/with-embedded-binary.rb b/Library/Homebrew/test/support/fixtures/cask/Casks/with-embedded-binary.rb index 69a1ac2d1ae8d..f4dd7c659de92 100644 --- a/Library/Homebrew/test/support/fixtures/cask/Casks/with-embedded-binary.rb +++ b/Library/Homebrew/test/support/fixtures/cask/Casks/with-embedded-binary.rb @@ -1,3 +1,5 @@ +# typed: true + cask "with-embedded-binary" do version "1.2.3" sha256 "fe052d3e77d92676775fd916ddb8942e72a565b844ea7f6d055474c99bb4e47b" diff --git a/Library/Homebrew/test/support/fixtures/cask/Casks/with-generic-artifact.rb b/Library/Homebrew/test/support/fixtures/cask/Casks/with-generic-artifact.rb index d4840107c0959..72a7dd4c7c8ad 100644 --- a/Library/Homebrew/test/support/fixtures/cask/Casks/with-generic-artifact.rb +++ b/Library/Homebrew/test/support/fixtures/cask/Casks/with-generic-artifact.rb @@ -1,3 +1,5 @@ +# typed: true + cask "with-generic-artifact" do version "1.2.3" sha256 "67cdb8a02803ef37fdbf7e0be205863172e41a561ca446cd84f0d7ab35a99d94" diff --git a/Library/Homebrew/test/support/fixtures/cask/Casks/with-installable.rb b/Library/Homebrew/test/support/fixtures/cask/Casks/with-installable.rb index 67d58c52d24ea..86a44d85c3478 100644 --- a/Library/Homebrew/test/support/fixtures/cask/Casks/with-installable.rb +++ b/Library/Homebrew/test/support/fixtures/cask/Casks/with-installable.rb @@ -1,3 +1,5 @@ +# typed: true + cask "with-installable" do version "1.2.3" sha256 "8c62a2b791cf5f0da6066a0a4b6e85f62949cd60975da062df44adf887f4370b" diff --git a/Library/Homebrew/test/support/fixtures/cask/Casks/with-installer-manual.rb b/Library/Homebrew/test/support/fixtures/cask/Casks/with-installer-manual.rb index 5c9aab5fd38db..2b6475fa9b77b 100644 --- a/Library/Homebrew/test/support/fixtures/cask/Casks/with-installer-manual.rb +++ b/Library/Homebrew/test/support/fixtures/cask/Casks/with-installer-manual.rb @@ -1,3 +1,5 @@ +# typed: true + cask "with-installer-manual" do version "1.2.3" sha256 "67cdb8a02803ef37fdbf7e0be205863172e41a561ca446cd84f0d7ab35a99d94" diff --git a/Library/Homebrew/test/support/fixtures/cask/Casks/with-installer-script.rb b/Library/Homebrew/test/support/fixtures/cask/Casks/with-installer-script.rb index 42b933787b75d..7cee11aa5365f 100644 --- a/Library/Homebrew/test/support/fixtures/cask/Casks/with-installer-script.rb +++ b/Library/Homebrew/test/support/fixtures/cask/Casks/with-installer-script.rb @@ -1,3 +1,5 @@ +# typed: true + cask "with-installer-script" do version "1.2.3" sha256 "67cdb8a02803ef37fdbf7e0be205863172e41a561ca446cd84f0d7ab35a99d94" diff --git a/Library/Homebrew/test/support/fixtures/cask/Casks/with-languages.rb b/Library/Homebrew/test/support/fixtures/cask/Casks/with-languages.rb index 09649ba656be5..b1cccd7c7330c 100644 --- a/Library/Homebrew/test/support/fixtures/cask/Casks/with-languages.rb +++ b/Library/Homebrew/test/support/fixtures/cask/Casks/with-languages.rb @@ -1,3 +1,5 @@ +# typed: true + cask "with-languages" do version "1.2.3" diff --git a/Library/Homebrew/test/support/fixtures/cask/Casks/with-macosx-dir.rb b/Library/Homebrew/test/support/fixtures/cask/Casks/with-macosx-dir.rb index b02e74e98dd59..00db790a88fee 100644 --- a/Library/Homebrew/test/support/fixtures/cask/Casks/with-macosx-dir.rb +++ b/Library/Homebrew/test/support/fixtures/cask/Casks/with-macosx-dir.rb @@ -1,3 +1,5 @@ +# typed: true + cask "with-macosx-dir" do version "1.2.3" sha256 "5633c3a0f2e572cbf021507dec78c50998b398c343232bdfc7e26221d0a5db4d" diff --git a/Library/Homebrew/test/support/fixtures/cask/Casks/with-many-languages.rb b/Library/Homebrew/test/support/fixtures/cask/Casks/with-many-languages.rb index 401fe113fc39b..d65087139989c 100644 --- a/Library/Homebrew/test/support/fixtures/cask/Casks/with-many-languages.rb +++ b/Library/Homebrew/test/support/fixtures/cask/Casks/with-many-languages.rb @@ -1,3 +1,5 @@ +# typed: true + cask "with-many-languages" do version "1.2.3" diff --git a/Library/Homebrew/test/support/fixtures/cask/Casks/with-non-executable-binary.rb b/Library/Homebrew/test/support/fixtures/cask/Casks/with-non-executable-binary.rb index 2e4886462aad0..1a4cbe0c017e7 100644 --- a/Library/Homebrew/test/support/fixtures/cask/Casks/with-non-executable-binary.rb +++ b/Library/Homebrew/test/support/fixtures/cask/Casks/with-non-executable-binary.rb @@ -1,3 +1,5 @@ +# typed: true + cask "with-non-executable-binary" do version "1.2.3" sha256 "306c6ca7407560340797866e077e053627ad409277d1b9da58106fce4cf717cb" diff --git a/Library/Homebrew/test/support/fixtures/cask/Casks/with-pkgutil-zap.rb b/Library/Homebrew/test/support/fixtures/cask/Casks/with-pkgutil-zap.rb index 560d5cd581e61..9507de6bcc717 100644 --- a/Library/Homebrew/test/support/fixtures/cask/Casks/with-pkgutil-zap.rb +++ b/Library/Homebrew/test/support/fixtures/cask/Casks/with-pkgutil-zap.rb @@ -1,3 +1,5 @@ +# typed: true + cask "with-pkgutil-zap" do version "1.2.3" sha256 "8c62a2b791cf5f0da6066a0a4b6e85f62949cd60975da062df44adf887f4370b" diff --git a/Library/Homebrew/test/support/fixtures/cask/Casks/with-postflight-multi.rb b/Library/Homebrew/test/support/fixtures/cask/Casks/with-postflight-multi.rb index 7fb1bec47668b..6518091295879 100644 --- a/Library/Homebrew/test/support/fixtures/cask/Casks/with-postflight-multi.rb +++ b/Library/Homebrew/test/support/fixtures/cask/Casks/with-postflight-multi.rb @@ -1,3 +1,5 @@ +# typed: true + cask "with-postflight-multi" do version "1.2.3" sha256 "8c62a2b791cf5f0da6066a0a4b6e85f62949cd60975da062df44adf887f4370b" diff --git a/Library/Homebrew/test/support/fixtures/cask/Casks/with-postflight.rb b/Library/Homebrew/test/support/fixtures/cask/Casks/with-postflight.rb index a4b3bf701c9a8..273436dfc348b 100644 --- a/Library/Homebrew/test/support/fixtures/cask/Casks/with-postflight.rb +++ b/Library/Homebrew/test/support/fixtures/cask/Casks/with-postflight.rb @@ -1,3 +1,5 @@ +# typed: true + cask "with-postflight" do version "1.2.3" sha256 "8c62a2b791cf5f0da6066a0a4b6e85f62949cd60975da062df44adf887f4370b" diff --git a/Library/Homebrew/test/support/fixtures/cask/Casks/with-preflight-multi.rb b/Library/Homebrew/test/support/fixtures/cask/Casks/with-preflight-multi.rb index 3732c141bab6a..039d4dc340122 100644 --- a/Library/Homebrew/test/support/fixtures/cask/Casks/with-preflight-multi.rb +++ b/Library/Homebrew/test/support/fixtures/cask/Casks/with-preflight-multi.rb @@ -1,3 +1,5 @@ +# typed: true + cask "with-preflight-multi" do version "1.2.3" sha256 "8c62a2b791cf5f0da6066a0a4b6e85f62949cd60975da062df44adf887f4370b" diff --git a/Library/Homebrew/test/support/fixtures/cask/Casks/with-preflight.rb b/Library/Homebrew/test/support/fixtures/cask/Casks/with-preflight.rb index 1da7ed88e6c7d..21ffef2fb036e 100644 --- a/Library/Homebrew/test/support/fixtures/cask/Casks/with-preflight.rb +++ b/Library/Homebrew/test/support/fixtures/cask/Casks/with-preflight.rb @@ -1,3 +1,5 @@ +# typed: true + cask "with-preflight" do version "1.2.3" sha256 "8c62a2b791cf5f0da6066a0a4b6e85f62949cd60975da062df44adf887f4370b" diff --git a/Library/Homebrew/test/support/fixtures/cask/Casks/with-shellcompletion-long.rb b/Library/Homebrew/test/support/fixtures/cask/Casks/with-shellcompletion-long.rb index 8a0e80ad30fd1..ebae13dd216e0 100644 --- a/Library/Homebrew/test/support/fixtures/cask/Casks/with-shellcompletion-long.rb +++ b/Library/Homebrew/test/support/fixtures/cask/Casks/with-shellcompletion-long.rb @@ -1,3 +1,5 @@ +# typed: true + cask "with-shellcompletion-long" do version "1.2.3" sha256 "957978d9b30adfda8e1f914ba8c8019e016545c8f7e16c6ab0234d189fac8146" diff --git a/Library/Homebrew/test/support/fixtures/cask/Casks/with-shellcompletion.rb b/Library/Homebrew/test/support/fixtures/cask/Casks/with-shellcompletion.rb index 54f518dd4cf08..b43a9b01e2a30 100644 --- a/Library/Homebrew/test/support/fixtures/cask/Casks/with-shellcompletion.rb +++ b/Library/Homebrew/test/support/fixtures/cask/Casks/with-shellcompletion.rb @@ -1,3 +1,5 @@ +# typed: true + cask "with-shellcompletion" do version "1.2.3" sha256 "957978d9b30adfda8e1f914ba8c8019e016545c8f7e16c6ab0234d189fac8146" diff --git a/Library/Homebrew/test/support/fixtures/cask/Casks/with-suite.rb b/Library/Homebrew/test/support/fixtures/cask/Casks/with-suite.rb index 0a976d1970d51..4a2bab5cf1420 100644 --- a/Library/Homebrew/test/support/fixtures/cask/Casks/with-suite.rb +++ b/Library/Homebrew/test/support/fixtures/cask/Casks/with-suite.rb @@ -1,3 +1,5 @@ +# typed: true + cask "with-suite" do version "1.2.3" sha256 "d95dcc12d4e5be0bc3cb9793c4b7e7f69a25f0b3c7418494b0c883957e6eeae4" diff --git a/Library/Homebrew/test/support/fixtures/cask/Casks/with-two-apps-correct.rb b/Library/Homebrew/test/support/fixtures/cask/Casks/with-two-apps-correct.rb index 31093c90c0da0..295a5ff726db7 100644 --- a/Library/Homebrew/test/support/fixtures/cask/Casks/with-two-apps-correct.rb +++ b/Library/Homebrew/test/support/fixtures/cask/Casks/with-two-apps-correct.rb @@ -1,3 +1,5 @@ +# typed: true + cask "with-two-apps-correct" do version "1.2.3" sha256 "3178fbfd1ea5d87a2a0662a4eb599ebc9a03888e73f37538d9f3f6ee69d2368e" diff --git a/Library/Homebrew/test/support/fixtures/cask/Casks/with-two-apps-subdir.rb b/Library/Homebrew/test/support/fixtures/cask/Casks/with-two-apps-subdir.rb index 5f273e6ac7b98..40106ef5f0625 100644 --- a/Library/Homebrew/test/support/fixtures/cask/Casks/with-two-apps-subdir.rb +++ b/Library/Homebrew/test/support/fixtures/cask/Casks/with-two-apps-subdir.rb @@ -1,3 +1,5 @@ +# typed: true + cask "with-two-apps-subdir" do version "1.2.3" sha256 "d687c22a21c02bd8f07da9302c8292b93a04df9a929e3f04d09aea6c76f75c65" diff --git a/Library/Homebrew/test/support/fixtures/cask/Casks/with-uninstall-both-on-upgrade.rb b/Library/Homebrew/test/support/fixtures/cask/Casks/with-uninstall-both-on-upgrade.rb index d2ccccc837173..fdf8e3d73c52b 100644 --- a/Library/Homebrew/test/support/fixtures/cask/Casks/with-uninstall-both-on-upgrade.rb +++ b/Library/Homebrew/test/support/fixtures/cask/Casks/with-uninstall-both-on-upgrade.rb @@ -1,3 +1,5 @@ +# typed: true + cask "with-uninstall-both-on-upgrade" do version "1.2.3" sha256 "8c62a2b791cf5f0da6066a0a4b6e85f62949cd60975da062df44adf887f4370b" diff --git a/Library/Homebrew/test/support/fixtures/cask/Casks/with-uninstall-delete.rb b/Library/Homebrew/test/support/fixtures/cask/Casks/with-uninstall-delete.rb index d38206c3c1919..1e59169e7f986 100644 --- a/Library/Homebrew/test/support/fixtures/cask/Casks/with-uninstall-delete.rb +++ b/Library/Homebrew/test/support/fixtures/cask/Casks/with-uninstall-delete.rb @@ -1,3 +1,5 @@ +# typed: true + cask "with-uninstall-delete" do version "1.2.3" sha256 "8c62a2b791cf5f0da6066a0a4b6e85f62949cd60975da062df44adf887f4370b" diff --git a/Library/Homebrew/test/support/fixtures/cask/Casks/with-uninstall-early-script.rb b/Library/Homebrew/test/support/fixtures/cask/Casks/with-uninstall-early-script.rb index 8795d86c69cc2..adf9823e6c9ba 100644 --- a/Library/Homebrew/test/support/fixtures/cask/Casks/with-uninstall-early-script.rb +++ b/Library/Homebrew/test/support/fixtures/cask/Casks/with-uninstall-early-script.rb @@ -1,3 +1,5 @@ +# typed: true + cask "with-uninstall-early-script" do version "1.2.3" sha256 "8c62a2b791cf5f0da6066a0a4b6e85f62949cd60975da062df44adf887f4370b" diff --git a/Library/Homebrew/test/support/fixtures/cask/Casks/with-uninstall-kext.rb b/Library/Homebrew/test/support/fixtures/cask/Casks/with-uninstall-kext.rb index ea2a12cb295ed..a0eb2c9105719 100644 --- a/Library/Homebrew/test/support/fixtures/cask/Casks/with-uninstall-kext.rb +++ b/Library/Homebrew/test/support/fixtures/cask/Casks/with-uninstall-kext.rb @@ -1,3 +1,5 @@ +# typed: true + cask "with-uninstall-kext" do version "1.2.3" sha256 "8c62a2b791cf5f0da6066a0a4b6e85f62949cd60975da062df44adf887f4370b" diff --git a/Library/Homebrew/test/support/fixtures/cask/Casks/with-uninstall-launchctl-wildcard.rb b/Library/Homebrew/test/support/fixtures/cask/Casks/with-uninstall-launchctl-wildcard.rb index 89d14231b6893..4bad382ec6695 100644 --- a/Library/Homebrew/test/support/fixtures/cask/Casks/with-uninstall-launchctl-wildcard.rb +++ b/Library/Homebrew/test/support/fixtures/cask/Casks/with-uninstall-launchctl-wildcard.rb @@ -1,3 +1,5 @@ +# typed: true + cask "with-uninstall-launchctl-wildcard" do version "1.2.3" sha256 "8c62a2b791cf5f0da6066a0a4b6e85f62949cd60975da062df44adf887f4370b" diff --git a/Library/Homebrew/test/support/fixtures/cask/Casks/with-uninstall-launchctl.rb b/Library/Homebrew/test/support/fixtures/cask/Casks/with-uninstall-launchctl.rb index f30cfb4ac488d..37a53d5a84d11 100644 --- a/Library/Homebrew/test/support/fixtures/cask/Casks/with-uninstall-launchctl.rb +++ b/Library/Homebrew/test/support/fixtures/cask/Casks/with-uninstall-launchctl.rb @@ -1,3 +1,5 @@ +# typed: true + cask "with-uninstall-launchctl" do version "1.2.3" sha256 "8c62a2b791cf5f0da6066a0a4b6e85f62949cd60975da062df44adf887f4370b" diff --git a/Library/Homebrew/test/support/fixtures/cask/Casks/with-uninstall-login-item.rb b/Library/Homebrew/test/support/fixtures/cask/Casks/with-uninstall-login-item.rb index 14c52cab6d2f1..e267d6947d62f 100644 --- a/Library/Homebrew/test/support/fixtures/cask/Casks/with-uninstall-login-item.rb +++ b/Library/Homebrew/test/support/fixtures/cask/Casks/with-uninstall-login-item.rb @@ -1,3 +1,5 @@ +# typed: true + cask "with-uninstall-login-item" do version "1.2.3" sha256 "8c62a2b791cf5f0da6066a0a4b6e85f62949cd60975da062df44adf887f4370b" diff --git a/Library/Homebrew/test/support/fixtures/cask/Casks/with-uninstall-multi.rb b/Library/Homebrew/test/support/fixtures/cask/Casks/with-uninstall-multi.rb index e7b34bed96e80..c3ceb92e7bf97 100644 --- a/Library/Homebrew/test/support/fixtures/cask/Casks/with-uninstall-multi.rb +++ b/Library/Homebrew/test/support/fixtures/cask/Casks/with-uninstall-multi.rb @@ -1,3 +1,5 @@ +# typed: true + cask "with-uninstall-multi" do version "1.2.3" sha256 "8c62a2b791cf5f0da6066a0a4b6e85f62949cd60975da062df44adf887f4370b" diff --git a/Library/Homebrew/test/support/fixtures/cask/Casks/with-uninstall-pkgutil.rb b/Library/Homebrew/test/support/fixtures/cask/Casks/with-uninstall-pkgutil.rb index 85565cbd8d697..fdd9b162c25bd 100644 --- a/Library/Homebrew/test/support/fixtures/cask/Casks/with-uninstall-pkgutil.rb +++ b/Library/Homebrew/test/support/fixtures/cask/Casks/with-uninstall-pkgutil.rb @@ -1,3 +1,5 @@ +# typed: true + cask "with-uninstall-pkgutil" do version "1.2.3" sha256 "8c62a2b791cf5f0da6066a0a4b6e85f62949cd60975da062df44adf887f4370b" diff --git a/Library/Homebrew/test/support/fixtures/cask/Casks/with-uninstall-postflight-multi.rb b/Library/Homebrew/test/support/fixtures/cask/Casks/with-uninstall-postflight-multi.rb index 4da9516966a74..ea456f59450b4 100644 --- a/Library/Homebrew/test/support/fixtures/cask/Casks/with-uninstall-postflight-multi.rb +++ b/Library/Homebrew/test/support/fixtures/cask/Casks/with-uninstall-postflight-multi.rb @@ -1,3 +1,5 @@ +# typed: true + cask "with-uninstall-postflight-multi" do version "1.2.3" sha256 "8c62a2b791cf5f0da6066a0a4b6e85f62949cd60975da062df44adf887f4370b" diff --git a/Library/Homebrew/test/support/fixtures/cask/Casks/with-uninstall-postflight.rb b/Library/Homebrew/test/support/fixtures/cask/Casks/with-uninstall-postflight.rb index b07760d0995f7..4a26e225e94db 100644 --- a/Library/Homebrew/test/support/fixtures/cask/Casks/with-uninstall-postflight.rb +++ b/Library/Homebrew/test/support/fixtures/cask/Casks/with-uninstall-postflight.rb @@ -1,3 +1,5 @@ +# typed: true + cask "with-uninstall-postflight" do version "1.2.3" sha256 "8c62a2b791cf5f0da6066a0a4b6e85f62949cd60975da062df44adf887f4370b" diff --git a/Library/Homebrew/test/support/fixtures/cask/Casks/with-uninstall-preflight-multi.rb b/Library/Homebrew/test/support/fixtures/cask/Casks/with-uninstall-preflight-multi.rb index 7bf6bbf9facb7..95ca788cc1335 100644 --- a/Library/Homebrew/test/support/fixtures/cask/Casks/with-uninstall-preflight-multi.rb +++ b/Library/Homebrew/test/support/fixtures/cask/Casks/with-uninstall-preflight-multi.rb @@ -1,3 +1,5 @@ +# typed: true + cask "with-uninstall-preflight-multi" do version "1.2.3" sha256 "8c62a2b791cf5f0da6066a0a4b6e85f62949cd60975da062df44adf887f4370b" diff --git a/Library/Homebrew/test/support/fixtures/cask/Casks/with-uninstall-preflight.rb b/Library/Homebrew/test/support/fixtures/cask/Casks/with-uninstall-preflight.rb index 2af130cca8fab..9792c6457583b 100644 --- a/Library/Homebrew/test/support/fixtures/cask/Casks/with-uninstall-preflight.rb +++ b/Library/Homebrew/test/support/fixtures/cask/Casks/with-uninstall-preflight.rb @@ -1,3 +1,5 @@ +# typed: true + cask "with-uninstall-preflight" do version "1.2.3" sha256 "8c62a2b791cf5f0da6066a0a4b6e85f62949cd60975da062df44adf887f4370b" diff --git a/Library/Homebrew/test/support/fixtures/cask/Casks/with-uninstall-quit-on-upgrade.rb b/Library/Homebrew/test/support/fixtures/cask/Casks/with-uninstall-quit-on-upgrade.rb index b9d7d1b6e1abe..0de4472dbc2fa 100644 --- a/Library/Homebrew/test/support/fixtures/cask/Casks/with-uninstall-quit-on-upgrade.rb +++ b/Library/Homebrew/test/support/fixtures/cask/Casks/with-uninstall-quit-on-upgrade.rb @@ -1,3 +1,5 @@ +# typed: true + cask "with-uninstall-quit-on-upgrade" do version "1.2.3" sha256 "8c62a2b791cf5f0da6066a0a4b6e85f62949cd60975da062df44adf887f4370b" diff --git a/Library/Homebrew/test/support/fixtures/cask/Casks/with-uninstall-quit-only-on-upgrade.rb b/Library/Homebrew/test/support/fixtures/cask/Casks/with-uninstall-quit-only-on-upgrade.rb index 0eba0b69dea42..341c7306b231e 100644 --- a/Library/Homebrew/test/support/fixtures/cask/Casks/with-uninstall-quit-only-on-upgrade.rb +++ b/Library/Homebrew/test/support/fixtures/cask/Casks/with-uninstall-quit-only-on-upgrade.rb @@ -1,3 +1,5 @@ +# typed: true + cask "with-uninstall-quit-only-on-upgrade" do version "1.2.3" sha256 "8c62a2b791cf5f0da6066a0a4b6e85f62949cd60975da062df44adf887f4370b" diff --git a/Library/Homebrew/test/support/fixtures/cask/Casks/with-uninstall-quit.rb b/Library/Homebrew/test/support/fixtures/cask/Casks/with-uninstall-quit.rb index bb19722e61540..afb2e774fe1df 100644 --- a/Library/Homebrew/test/support/fixtures/cask/Casks/with-uninstall-quit.rb +++ b/Library/Homebrew/test/support/fixtures/cask/Casks/with-uninstall-quit.rb @@ -1,3 +1,5 @@ +# typed: true + cask "with-uninstall-quit" do version "1.2.3" sha256 "8c62a2b791cf5f0da6066a0a4b6e85f62949cd60975da062df44adf887f4370b" diff --git a/Library/Homebrew/test/support/fixtures/cask/Casks/with-uninstall-rmdir.rb b/Library/Homebrew/test/support/fixtures/cask/Casks/with-uninstall-rmdir.rb index b7135a6fe5ee9..7c1f59c535396 100644 --- a/Library/Homebrew/test/support/fixtures/cask/Casks/with-uninstall-rmdir.rb +++ b/Library/Homebrew/test/support/fixtures/cask/Casks/with-uninstall-rmdir.rb @@ -1,3 +1,5 @@ +# typed: true + cask "with-uninstall-rmdir" do version "1.2.3" sha256 "8c62a2b791cf5f0da6066a0a4b6e85f62949cd60975da062df44adf887f4370b" diff --git a/Library/Homebrew/test/support/fixtures/cask/Casks/with-uninstall-script-app.rb b/Library/Homebrew/test/support/fixtures/cask/Casks/with-uninstall-script-app.rb index 70ec4b2252dbc..e9957a89ea781 100644 --- a/Library/Homebrew/test/support/fixtures/cask/Casks/with-uninstall-script-app.rb +++ b/Library/Homebrew/test/support/fixtures/cask/Casks/with-uninstall-script-app.rb @@ -1,3 +1,5 @@ +# typed: true + cask "with-uninstall-script-app" do version "1.2.3" sha256 "5633c3a0f2e572cbf021507dec78c50998b398c343232bdfc7e26221d0a5db4d" diff --git a/Library/Homebrew/test/support/fixtures/cask/Casks/with-uninstall-script-user-relative.rb b/Library/Homebrew/test/support/fixtures/cask/Casks/with-uninstall-script-user-relative.rb index 4ad95b53f8a97..f3059eff41068 100644 --- a/Library/Homebrew/test/support/fixtures/cask/Casks/with-uninstall-script-user-relative.rb +++ b/Library/Homebrew/test/support/fixtures/cask/Casks/with-uninstall-script-user-relative.rb @@ -1,3 +1,5 @@ +# typed: true + cask "with-uninstall-script-user-relative" do version "1.2.3" sha256 "5633c3a0f2e572cbf021507dec78c50998b398c343232bdfc7e26221d0a5db4d" diff --git a/Library/Homebrew/test/support/fixtures/cask/Casks/with-uninstall-script.rb b/Library/Homebrew/test/support/fixtures/cask/Casks/with-uninstall-script.rb index f9463bd82ce03..bb80f59866865 100644 --- a/Library/Homebrew/test/support/fixtures/cask/Casks/with-uninstall-script.rb +++ b/Library/Homebrew/test/support/fixtures/cask/Casks/with-uninstall-script.rb @@ -1,3 +1,5 @@ +# typed: true + cask "with-uninstall-script" do version "1.2.3" sha256 "8c62a2b791cf5f0da6066a0a4b6e85f62949cd60975da062df44adf887f4370b" diff --git a/Library/Homebrew/test/support/fixtures/cask/Casks/with-uninstall-signal-on-upgrade.rb b/Library/Homebrew/test/support/fixtures/cask/Casks/with-uninstall-signal-on-upgrade.rb index 19b1bbb705cba..d294add9ae169 100644 --- a/Library/Homebrew/test/support/fixtures/cask/Casks/with-uninstall-signal-on-upgrade.rb +++ b/Library/Homebrew/test/support/fixtures/cask/Casks/with-uninstall-signal-on-upgrade.rb @@ -1,3 +1,5 @@ +# typed: true + cask "with-uninstall-signal-on-upgrade" do version "1.2.3" sha256 "8c62a2b791cf5f0da6066a0a4b6e85f62949cd60975da062df44adf887f4370b" diff --git a/Library/Homebrew/test/support/fixtures/cask/Casks/with-uninstall-signal.rb b/Library/Homebrew/test/support/fixtures/cask/Casks/with-uninstall-signal.rb index fabb158e7056c..658cdbc933915 100644 --- a/Library/Homebrew/test/support/fixtures/cask/Casks/with-uninstall-signal.rb +++ b/Library/Homebrew/test/support/fixtures/cask/Casks/with-uninstall-signal.rb @@ -1,3 +1,5 @@ +# typed: true + cask "with-uninstall-signal" do version "1.2.3" sha256 "8c62a2b791cf5f0da6066a0a4b6e85f62949cd60975da062df44adf887f4370b" diff --git a/Library/Homebrew/test/support/fixtures/cask/Casks/with-uninstall-trash.rb b/Library/Homebrew/test/support/fixtures/cask/Casks/with-uninstall-trash.rb index 9fa108133b041..b86f750563ab5 100644 --- a/Library/Homebrew/test/support/fixtures/cask/Casks/with-uninstall-trash.rb +++ b/Library/Homebrew/test/support/fixtures/cask/Casks/with-uninstall-trash.rb @@ -1,3 +1,5 @@ +# typed: true + cask "with-uninstall-trash" do version "1.2.3" sha256 "8c62a2b791cf5f0da6066a0a4b6e85f62949cd60975da062df44adf887f4370b" diff --git a/Library/Homebrew/test/support/fixtures/cask/Casks/with-zap-delete.rb b/Library/Homebrew/test/support/fixtures/cask/Casks/with-zap-delete.rb index 1e7f57ea1f4b3..4a2db79a512df 100644 --- a/Library/Homebrew/test/support/fixtures/cask/Casks/with-zap-delete.rb +++ b/Library/Homebrew/test/support/fixtures/cask/Casks/with-zap-delete.rb @@ -1,3 +1,5 @@ +# typed: true + cask "with-zap-delete" do version "1.2.3" sha256 "8c62a2b791cf5f0da6066a0a4b6e85f62949cd60975da062df44adf887f4370b" diff --git a/Library/Homebrew/test/support/fixtures/cask/Casks/with-zap-early-script.rb b/Library/Homebrew/test/support/fixtures/cask/Casks/with-zap-early-script.rb index b49500faee393..3183d187247cd 100644 --- a/Library/Homebrew/test/support/fixtures/cask/Casks/with-zap-early-script.rb +++ b/Library/Homebrew/test/support/fixtures/cask/Casks/with-zap-early-script.rb @@ -1,3 +1,5 @@ +# typed: true + cask "with-zap-early-script" do version "1.2.3" sha256 "8c62a2b791cf5f0da6066a0a4b6e85f62949cd60975da062df44adf887f4370b" diff --git a/Library/Homebrew/test/support/fixtures/cask/Casks/with-zap-kext.rb b/Library/Homebrew/test/support/fixtures/cask/Casks/with-zap-kext.rb index ba90728b3add9..010303f7fa0e2 100644 --- a/Library/Homebrew/test/support/fixtures/cask/Casks/with-zap-kext.rb +++ b/Library/Homebrew/test/support/fixtures/cask/Casks/with-zap-kext.rb @@ -1,3 +1,5 @@ +# typed: true + cask "with-zap-kext" do version "1.2.3" sha256 "8c62a2b791cf5f0da6066a0a4b6e85f62949cd60975da062df44adf887f4370b" diff --git a/Library/Homebrew/test/support/fixtures/cask/Casks/with-zap-launchctl-wildcard.rb b/Library/Homebrew/test/support/fixtures/cask/Casks/with-zap-launchctl-wildcard.rb index 598dc549a7bf2..49f33a96af5fd 100644 --- a/Library/Homebrew/test/support/fixtures/cask/Casks/with-zap-launchctl-wildcard.rb +++ b/Library/Homebrew/test/support/fixtures/cask/Casks/with-zap-launchctl-wildcard.rb @@ -1,3 +1,5 @@ +# typed: true + cask "with-zap-launchctl-wildcard" do version "1.2.3" sha256 "8c62a2b791cf5f0da6066a0a4b6e85f62949cd60975da062df44adf887f4370b" diff --git a/Library/Homebrew/test/support/fixtures/cask/Casks/with-zap-launchctl.rb b/Library/Homebrew/test/support/fixtures/cask/Casks/with-zap-launchctl.rb index 44a792bb0ad85..34116e9bafd9f 100644 --- a/Library/Homebrew/test/support/fixtures/cask/Casks/with-zap-launchctl.rb +++ b/Library/Homebrew/test/support/fixtures/cask/Casks/with-zap-launchctl.rb @@ -1,3 +1,5 @@ +# typed: true + cask "with-zap-launchctl" do version "1.2.3" sha256 "8c62a2b791cf5f0da6066a0a4b6e85f62949cd60975da062df44adf887f4370b" diff --git a/Library/Homebrew/test/support/fixtures/cask/Casks/with-zap-login-item.rb b/Library/Homebrew/test/support/fixtures/cask/Casks/with-zap-login-item.rb index 7e6678af8007f..ed38cdb596b48 100644 --- a/Library/Homebrew/test/support/fixtures/cask/Casks/with-zap-login-item.rb +++ b/Library/Homebrew/test/support/fixtures/cask/Casks/with-zap-login-item.rb @@ -1,3 +1,5 @@ +# typed: true + cask "with-zap-login-item" do version "1.2.3" sha256 "8c62a2b791cf5f0da6066a0a4b6e85f62949cd60975da062df44adf887f4370b" diff --git a/Library/Homebrew/test/support/fixtures/cask/Casks/with-zap-multi.rb b/Library/Homebrew/test/support/fixtures/cask/Casks/with-zap-multi.rb index 68fe837d4512a..2abeb486f9e0c 100644 --- a/Library/Homebrew/test/support/fixtures/cask/Casks/with-zap-multi.rb +++ b/Library/Homebrew/test/support/fixtures/cask/Casks/with-zap-multi.rb @@ -1,3 +1,5 @@ +# typed: true + cask "with-zap-multi" do version "1.2.3" sha256 "8c62a2b791cf5f0da6066a0a4b6e85f62949cd60975da062df44adf887f4370b" diff --git a/Library/Homebrew/test/support/fixtures/cask/Casks/with-zap-pkgutil.rb b/Library/Homebrew/test/support/fixtures/cask/Casks/with-zap-pkgutil.rb index cf89e2c943ed9..2d65046399b34 100644 --- a/Library/Homebrew/test/support/fixtures/cask/Casks/with-zap-pkgutil.rb +++ b/Library/Homebrew/test/support/fixtures/cask/Casks/with-zap-pkgutil.rb @@ -1,3 +1,5 @@ +# typed: true + cask "with-zap-pkgutil" do version "1.2.3" sha256 "8c62a2b791cf5f0da6066a0a4b6e85f62949cd60975da062df44adf887f4370b" diff --git a/Library/Homebrew/test/support/fixtures/cask/Casks/with-zap-quit.rb b/Library/Homebrew/test/support/fixtures/cask/Casks/with-zap-quit.rb index 1d7ac6b8d8e10..12d4096be22b4 100644 --- a/Library/Homebrew/test/support/fixtures/cask/Casks/with-zap-quit.rb +++ b/Library/Homebrew/test/support/fixtures/cask/Casks/with-zap-quit.rb @@ -1,3 +1,5 @@ +# typed: true + cask "with-zap-quit" do version "1.2.3" sha256 "8c62a2b791cf5f0da6066a0a4b6e85f62949cd60975da062df44adf887f4370b" diff --git a/Library/Homebrew/test/support/fixtures/cask/Casks/with-zap-rmdir.rb b/Library/Homebrew/test/support/fixtures/cask/Casks/with-zap-rmdir.rb index 0c7a72cecc5f7..67a7e13609532 100644 --- a/Library/Homebrew/test/support/fixtures/cask/Casks/with-zap-rmdir.rb +++ b/Library/Homebrew/test/support/fixtures/cask/Casks/with-zap-rmdir.rb @@ -1,3 +1,5 @@ +# typed: true + cask "with-zap-rmdir" do version "1.2.3" sha256 "8c62a2b791cf5f0da6066a0a4b6e85f62949cd60975da062df44adf887f4370b" diff --git a/Library/Homebrew/test/support/fixtures/cask/Casks/with-zap-script.rb b/Library/Homebrew/test/support/fixtures/cask/Casks/with-zap-script.rb index de0b55e9dec81..f4ab7b62b9580 100644 --- a/Library/Homebrew/test/support/fixtures/cask/Casks/with-zap-script.rb +++ b/Library/Homebrew/test/support/fixtures/cask/Casks/with-zap-script.rb @@ -1,3 +1,5 @@ +# typed: true + cask "with-zap-script" do version "1.2.3" sha256 "8c62a2b791cf5f0da6066a0a4b6e85f62949cd60975da062df44adf887f4370b" diff --git a/Library/Homebrew/test/support/fixtures/cask/Casks/with-zap-signal.rb b/Library/Homebrew/test/support/fixtures/cask/Casks/with-zap-signal.rb index 86aa943f39fd1..b1e2988626660 100644 --- a/Library/Homebrew/test/support/fixtures/cask/Casks/with-zap-signal.rb +++ b/Library/Homebrew/test/support/fixtures/cask/Casks/with-zap-signal.rb @@ -1,3 +1,5 @@ +# typed: true + cask "with-zap-signal" do version "1.2.3" sha256 "8c62a2b791cf5f0da6066a0a4b6e85f62949cd60975da062df44adf887f4370b" diff --git a/Library/Homebrew/test/support/fixtures/cask/Casks/with-zap-trash.rb b/Library/Homebrew/test/support/fixtures/cask/Casks/with-zap-trash.rb index 4cd1c150117d6..37666f164beda 100644 --- a/Library/Homebrew/test/support/fixtures/cask/Casks/with-zap-trash.rb +++ b/Library/Homebrew/test/support/fixtures/cask/Casks/with-zap-trash.rb @@ -1,3 +1,5 @@ +# typed: true + cask "with-zap-trash" do version "1.2.3" sha256 "8c62a2b791cf5f0da6066a0a4b6e85f62949cd60975da062df44adf887f4370b" diff --git a/Library/Homebrew/test/support/fixtures/cask/Casks/with-zap.rb b/Library/Homebrew/test/support/fixtures/cask/Casks/with-zap.rb index 69f49f5dcfb70..321c0bbac6cc1 100644 --- a/Library/Homebrew/test/support/fixtures/cask/Casks/with-zap.rb +++ b/Library/Homebrew/test/support/fixtures/cask/Casks/with-zap.rb @@ -1,3 +1,5 @@ +# typed: true + cask "with-zap" do version "1.2.3" sha256 "8c62a2b791cf5f0da6066a0a4b6e85f62949cd60975da062df44adf887f4370b" diff --git a/Library/Homebrew/test/support/fixtures/cask/Casks/without-languages.rb b/Library/Homebrew/test/support/fixtures/cask/Casks/without-languages.rb index 6d3ae3a0e3bfb..5ea5697908023 100644 --- a/Library/Homebrew/test/support/fixtures/cask/Casks/without-languages.rb +++ b/Library/Homebrew/test/support/fixtures/cask/Casks/without-languages.rb @@ -1,3 +1,5 @@ +# typed: true + cask "without-languages" do version "1.2.3" sha256 "67cdb8a02803ef37fdbf7e0be205863172e41a561ca446cd84f0d7ab35a99d94" diff --git a/Library/Homebrew/test/support/fixtures/third-party/Casks/pharo.rb b/Library/Homebrew/test/support/fixtures/third-party/Casks/pharo.rb index 0c16f1e8beab6..a344a7314e132 100644 --- a/Library/Homebrew/test/support/fixtures/third-party/Casks/pharo.rb +++ b/Library/Homebrew/test/support/fixtures/third-party/Casks/pharo.rb @@ -1,3 +1,5 @@ +# typed: true + cask "pharo" do version "1.2.3" sha256 "8c62a2b791cf5f0da6066a0a4b6e85f62949cd60975da062df44adf887f4370b" diff --git a/Library/Homebrew/test/support/fixtures/third-party/Casks/third-party-cask.rb b/Library/Homebrew/test/support/fixtures/third-party/Casks/third-party-cask.rb index 2979305a29d8a..f6ac47ca45af5 100644 --- a/Library/Homebrew/test/support/fixtures/third-party/Casks/third-party-cask.rb +++ b/Library/Homebrew/test/support/fixtures/third-party/Casks/third-party-cask.rb @@ -1,3 +1,5 @@ +# typed: true + cask "third-party-cask" do version "1.2.3" sha256 "8c62a2b791cf5f0da6066a0a4b6e85f62949cd60975da062df44adf887f4370b" diff --git a/Library/Homebrew/test/support/helper/cask.rb b/Library/Homebrew/test/support/helper/cask.rb index fa5ee7a65b7e2..9b622a9d03518 100644 --- a/Library/Homebrew/test/support/helper/cask.rb +++ b/Library/Homebrew/test/support/helper/cask.rb @@ -1,3 +1,4 @@ +# typed: true # frozen_string_literal: true require "cask/cask_loader" diff --git a/Library/Homebrew/test/support/helper/formula.rb b/Library/Homebrew/test/support/helper/formula.rb index 848ab5000e4b8..b1c5a738a19a5 100644 --- a/Library/Homebrew/test/support/helper/formula.rb +++ b/Library/Homebrew/test/support/helper/formula.rb @@ -1,3 +1,4 @@ +# typed: true # frozen_string_literal: true require "formulary" diff --git a/Library/Homebrew/test/support/helper/mktmpdir.rb b/Library/Homebrew/test/support/helper/mktmpdir.rb index 6cb369c4142c9..1bc7572303fb4 100644 --- a/Library/Homebrew/test/support/helper/mktmpdir.rb +++ b/Library/Homebrew/test/support/helper/mktmpdir.rb @@ -1,3 +1,4 @@ +# typed: true # frozen_string_literal: true module Test diff --git a/Library/Homebrew/test/support/helper/spec/shared_context/homebrew_cask.rb b/Library/Homebrew/test/support/helper/spec/shared_context/homebrew_cask.rb index 0eb124b1be484..651e2edca9578 100644 --- a/Library/Homebrew/test/support/helper/spec/shared_context/homebrew_cask.rb +++ b/Library/Homebrew/test/support/helper/spec/shared_context/homebrew_cask.rb @@ -1,3 +1,4 @@ +# typed: true # frozen_string_literal: true require "cask/config" diff --git a/Library/Homebrew/test/support/helper/spec/shared_context/integration_test.rb b/Library/Homebrew/test/support/helper/spec/shared_context/integration_test.rb index 5a0e716d7d9be..b0b83c9cd7732 100644 --- a/Library/Homebrew/test/support/helper/spec/shared_context/integration_test.rb +++ b/Library/Homebrew/test/support/helper/spec/shared_context/integration_test.rb @@ -1,3 +1,4 @@ +# typed: true # frozen_string_literal: true require "open3" diff --git a/Library/Homebrew/test/support/helper/spec/shared_examples/formulae_exist.rb b/Library/Homebrew/test/support/helper/spec/shared_examples/formulae_exist.rb index 184c34b541a6e..c5464d3d72993 100644 --- a/Library/Homebrew/test/support/helper/spec/shared_examples/formulae_exist.rb +++ b/Library/Homebrew/test/support/helper/spec/shared_examples/formulae_exist.rb @@ -1,3 +1,4 @@ +# typed: true # frozen_string_literal: true RSpec.shared_examples "formulae exist" do |array| diff --git a/Library/Homebrew/test/system_command_result_spec.rb b/Library/Homebrew/test/system_command_result_spec.rb index d06df27fd8b50..ce8d671020a3f 100644 --- a/Library/Homebrew/test/system_command_result_spec.rb +++ b/Library/Homebrew/test/system_command_result_spec.rb @@ -1,3 +1,4 @@ +# typed: true # frozen_string_literal: true require "system_command" diff --git a/Library/Homebrew/test/system_command_spec.rb b/Library/Homebrew/test/system_command_spec.rb index 1884f390498d5..1252800dbd551 100644 --- a/Library/Homebrew/test/system_command_spec.rb +++ b/Library/Homebrew/test/system_command_spec.rb @@ -1,3 +1,4 @@ +# typed: true # frozen_string_literal: true require "system_command" diff --git a/Library/Homebrew/test/tab_spec.rb b/Library/Homebrew/test/tab_spec.rb index 30d1be41bd25b..719a571b629f7 100644 --- a/Library/Homebrew/test/tab_spec.rb +++ b/Library/Homebrew/test/tab_spec.rb @@ -1,3 +1,4 @@ +# typed: true # frozen_string_literal: true require "tab" diff --git a/Library/Homebrew/test/tap_auditor_spec.rb b/Library/Homebrew/test/tap_auditor_spec.rb index 0b45b339b2f0b..f354eb6014681 100644 --- a/Library/Homebrew/test/tap_auditor_spec.rb +++ b/Library/Homebrew/test/tap_auditor_spec.rb @@ -1,3 +1,4 @@ +# typed: true # frozen_string_literal: true require "tap_auditor" diff --git a/Library/Homebrew/test/tap_spec.rb b/Library/Homebrew/test/tap_spec.rb index 7254331624a00..7f65e37225937 100644 --- a/Library/Homebrew/test/tap_spec.rb +++ b/Library/Homebrew/test/tap_spec.rb @@ -1,3 +1,4 @@ +# typed: true # frozen_string_literal: true RSpec.describe Tap do diff --git a/Library/Homebrew/test/test_bot/bottles_fetch_spec.rb b/Library/Homebrew/test/test_bot/bottles_fetch_spec.rb index 36b34d03f7a0e..b2c0c93934654 100644 --- a/Library/Homebrew/test/test_bot/bottles_fetch_spec.rb +++ b/Library/Homebrew/test/test_bot/bottles_fetch_spec.rb @@ -1,3 +1,4 @@ +# typed: true # frozen_string_literal: true require "test_bot" diff --git a/Library/Homebrew/test/test_bot/formulae_spec.rb b/Library/Homebrew/test/test_bot/formulae_spec.rb index 2abce088ba35a..71fab3aee947b 100644 --- a/Library/Homebrew/test/test_bot/formulae_spec.rb +++ b/Library/Homebrew/test/test_bot/formulae_spec.rb @@ -1,3 +1,4 @@ +# typed: true # frozen_string_literal: true require "test_bot" diff --git a/Library/Homebrew/test/test_bot/junit_spec.rb b/Library/Homebrew/test/test_bot/junit_spec.rb index 24945d6a50d87..9b793c5318c89 100644 --- a/Library/Homebrew/test/test_bot/junit_spec.rb +++ b/Library/Homebrew/test/test_bot/junit_spec.rb @@ -1,3 +1,4 @@ +# typed: true # frozen_string_literal: true require "test_bot" diff --git a/Library/Homebrew/test/test_bot/setup_spec.rb b/Library/Homebrew/test/test_bot/setup_spec.rb index 4cfaec5f10eaa..819fbe465ebcb 100644 --- a/Library/Homebrew/test/test_bot/setup_spec.rb +++ b/Library/Homebrew/test/test_bot/setup_spec.rb @@ -1,3 +1,4 @@ +# typed: true # frozen_string_literal: true require "dev-cmd/test-bot" diff --git a/Library/Homebrew/test/test_bot/step_spec.rb b/Library/Homebrew/test/test_bot/step_spec.rb index bd2bdce8564e4..0e22caa13248b 100644 --- a/Library/Homebrew/test/test_bot/step_spec.rb +++ b/Library/Homebrew/test/test_bot/step_spec.rb @@ -1,3 +1,4 @@ +# typed: true # frozen_string_literal: true require "test_bot" diff --git a/Library/Homebrew/test/test_bot/test_cleanup_spec.rb b/Library/Homebrew/test/test_bot/test_cleanup_spec.rb index 8c3fb7c031f5f..ccd153fc15c9b 100644 --- a/Library/Homebrew/test/test_bot/test_cleanup_spec.rb +++ b/Library/Homebrew/test/test_bot/test_cleanup_spec.rb @@ -1,3 +1,4 @@ +# typed: true # frozen_string_literal: true require "dev-cmd/test-bot" diff --git a/Library/Homebrew/test/test_bot/test_formulae_spec.rb b/Library/Homebrew/test/test_bot/test_formulae_spec.rb index 263ee8b422146..f9a6e39925c04 100644 --- a/Library/Homebrew/test/test_bot/test_formulae_spec.rb +++ b/Library/Homebrew/test/test_bot/test_formulae_spec.rb @@ -1,3 +1,4 @@ +# typed: true # frozen_string_literal: true require "test_bot" diff --git a/Library/Homebrew/test/test_bot/test_spec.rb b/Library/Homebrew/test/test_bot/test_spec.rb index 3d454c701a553..3b5a6275fdaf5 100644 --- a/Library/Homebrew/test/test_bot/test_spec.rb +++ b/Library/Homebrew/test/test_bot/test_spec.rb @@ -1,3 +1,4 @@ +# typed: true # frozen_string_literal: true require "test_bot" diff --git a/Library/Homebrew/test/test_runner_formula_spec.rb b/Library/Homebrew/test/test_runner_formula_spec.rb index 0010992ee4108..83aae9daff3a6 100644 --- a/Library/Homebrew/test/test_runner_formula_spec.rb +++ b/Library/Homebrew/test/test_runner_formula_spec.rb @@ -1,3 +1,4 @@ +# typed: true # frozen_string_literal: true require "test_runner_formula" diff --git a/Library/Homebrew/test/uninstall_spec.rb b/Library/Homebrew/test/uninstall_spec.rb index 30ecd504b13ea..c1caac2b25247 100644 --- a/Library/Homebrew/test/uninstall_spec.rb +++ b/Library/Homebrew/test/uninstall_spec.rb @@ -1,3 +1,4 @@ +# typed: true # frozen_string_literal: true require "uninstall" diff --git a/Library/Homebrew/test/unlink_spec.rb b/Library/Homebrew/test/unlink_spec.rb index 7729d1ad7229f..5984c6a95cb45 100644 --- a/Library/Homebrew/test/unlink_spec.rb +++ b/Library/Homebrew/test/unlink_spec.rb @@ -1,3 +1,4 @@ +# typed: true # frozen_string_literal: true require "unlink" diff --git a/Library/Homebrew/test/unpack_strategy/bazaar_spec.rb b/Library/Homebrew/test/unpack_strategy/bazaar_spec.rb index 22d6470a59fa7..c9cfa72df02c5 100644 --- a/Library/Homebrew/test/unpack_strategy/bazaar_spec.rb +++ b/Library/Homebrew/test/unpack_strategy/bazaar_spec.rb @@ -1,3 +1,4 @@ +# typed: true # frozen_string_literal: true require_relative "shared_examples" diff --git a/Library/Homebrew/test/unpack_strategy/bzip2_spec.rb b/Library/Homebrew/test/unpack_strategy/bzip2_spec.rb index 1855bc58d96cf..185ff95c8eeef 100644 --- a/Library/Homebrew/test/unpack_strategy/bzip2_spec.rb +++ b/Library/Homebrew/test/unpack_strategy/bzip2_spec.rb @@ -1,3 +1,4 @@ +# typed: true # frozen_string_literal: true require_relative "shared_examples" diff --git a/Library/Homebrew/test/unpack_strategy/cvs_spec.rb b/Library/Homebrew/test/unpack_strategy/cvs_spec.rb index 6234465c1611c..c27c6302c86ea 100644 --- a/Library/Homebrew/test/unpack_strategy/cvs_spec.rb +++ b/Library/Homebrew/test/unpack_strategy/cvs_spec.rb @@ -1,3 +1,4 @@ +# typed: true # frozen_string_literal: true require_relative "shared_examples" diff --git a/Library/Homebrew/test/unpack_strategy/directory_spec.rb b/Library/Homebrew/test/unpack_strategy/directory_spec.rb index 339066900b48b..d466706a37b73 100644 --- a/Library/Homebrew/test/unpack_strategy/directory_spec.rb +++ b/Library/Homebrew/test/unpack_strategy/directory_spec.rb @@ -1,3 +1,4 @@ +# typed: true # frozen_string_literal: true require_relative "shared_examples" diff --git a/Library/Homebrew/test/unpack_strategy/dmg_spec.rb b/Library/Homebrew/test/unpack_strategy/dmg_spec.rb index 5099921249911..0ad05af11c556 100644 --- a/Library/Homebrew/test/unpack_strategy/dmg_spec.rb +++ b/Library/Homebrew/test/unpack_strategy/dmg_spec.rb @@ -1,3 +1,4 @@ +# typed: true # frozen_string_literal: true require_relative "shared_examples" diff --git a/Library/Homebrew/test/unpack_strategy/git_spec.rb b/Library/Homebrew/test/unpack_strategy/git_spec.rb index 0d8cd311a927f..5e0484ae4e96e 100644 --- a/Library/Homebrew/test/unpack_strategy/git_spec.rb +++ b/Library/Homebrew/test/unpack_strategy/git_spec.rb @@ -1,3 +1,4 @@ +# typed: true # frozen_string_literal: true require_relative "shared_examples" diff --git a/Library/Homebrew/test/unpack_strategy/gzip_spec.rb b/Library/Homebrew/test/unpack_strategy/gzip_spec.rb index b91668e7264e4..8d52f17896751 100644 --- a/Library/Homebrew/test/unpack_strategy/gzip_spec.rb +++ b/Library/Homebrew/test/unpack_strategy/gzip_spec.rb @@ -1,3 +1,4 @@ +# typed: true # frozen_string_literal: true require_relative "shared_examples" diff --git a/Library/Homebrew/test/unpack_strategy/jar_spec.rb b/Library/Homebrew/test/unpack_strategy/jar_spec.rb index cd3e3108e4cec..c81033e944aaf 100644 --- a/Library/Homebrew/test/unpack_strategy/jar_spec.rb +++ b/Library/Homebrew/test/unpack_strategy/jar_spec.rb @@ -1,3 +1,4 @@ +# typed: true # frozen_string_literal: true require_relative "shared_examples" diff --git a/Library/Homebrew/test/unpack_strategy/lha_spec.rb b/Library/Homebrew/test/unpack_strategy/lha_spec.rb index caff62bfcdf03..f7d2e20c90b78 100644 --- a/Library/Homebrew/test/unpack_strategy/lha_spec.rb +++ b/Library/Homebrew/test/unpack_strategy/lha_spec.rb @@ -1,3 +1,4 @@ +# typed: true # frozen_string_literal: true require_relative "shared_examples" diff --git a/Library/Homebrew/test/unpack_strategy/lzip_spec.rb b/Library/Homebrew/test/unpack_strategy/lzip_spec.rb index eb809f4e608d6..59350d60168fa 100644 --- a/Library/Homebrew/test/unpack_strategy/lzip_spec.rb +++ b/Library/Homebrew/test/unpack_strategy/lzip_spec.rb @@ -1,3 +1,4 @@ +# typed: true # frozen_string_literal: true require_relative "shared_examples" diff --git a/Library/Homebrew/test/unpack_strategy/mercurial_spec.rb b/Library/Homebrew/test/unpack_strategy/mercurial_spec.rb index 90ae85a5bd8e3..14b57e41bb671 100644 --- a/Library/Homebrew/test/unpack_strategy/mercurial_spec.rb +++ b/Library/Homebrew/test/unpack_strategy/mercurial_spec.rb @@ -1,3 +1,4 @@ +# typed: true # frozen_string_literal: true require_relative "shared_examples" diff --git a/Library/Homebrew/test/unpack_strategy/p7zip_spec.rb b/Library/Homebrew/test/unpack_strategy/p7zip_spec.rb index 8785155ec333e..6c156b6f46420 100644 --- a/Library/Homebrew/test/unpack_strategy/p7zip_spec.rb +++ b/Library/Homebrew/test/unpack_strategy/p7zip_spec.rb @@ -1,3 +1,4 @@ +# typed: true # frozen_string_literal: true require_relative "shared_examples" diff --git a/Library/Homebrew/test/unpack_strategy/rar_spec.rb b/Library/Homebrew/test/unpack_strategy/rar_spec.rb index c5f8c406ba1c8..636d9d3eed0f2 100644 --- a/Library/Homebrew/test/unpack_strategy/rar_spec.rb +++ b/Library/Homebrew/test/unpack_strategy/rar_spec.rb @@ -1,3 +1,4 @@ +# typed: true # frozen_string_literal: true require_relative "shared_examples" diff --git a/Library/Homebrew/test/unpack_strategy/shared_examples.rb b/Library/Homebrew/test/unpack_strategy/shared_examples.rb index f3790fdd08af5..5362a3492b57f 100644 --- a/Library/Homebrew/test/unpack_strategy/shared_examples.rb +++ b/Library/Homebrew/test/unpack_strategy/shared_examples.rb @@ -1,3 +1,4 @@ +# typed: true # frozen_string_literal: true require "unpack_strategy" diff --git a/Library/Homebrew/test/unpack_strategy/subversion_spec.rb b/Library/Homebrew/test/unpack_strategy/subversion_spec.rb index fea9fd702f75f..192aa8eb6e2ae 100644 --- a/Library/Homebrew/test/unpack_strategy/subversion_spec.rb +++ b/Library/Homebrew/test/unpack_strategy/subversion_spec.rb @@ -1,3 +1,4 @@ +# typed: true # frozen_string_literal: true require_relative "shared_examples" diff --git a/Library/Homebrew/test/unpack_strategy/tar_spec.rb b/Library/Homebrew/test/unpack_strategy/tar_spec.rb index 0307e4121007a..d125a52f06daa 100644 --- a/Library/Homebrew/test/unpack_strategy/tar_spec.rb +++ b/Library/Homebrew/test/unpack_strategy/tar_spec.rb @@ -1,3 +1,4 @@ +# typed: true # frozen_string_literal: true require_relative "shared_examples" diff --git a/Library/Homebrew/test/unpack_strategy/uncompressed_spec.rb b/Library/Homebrew/test/unpack_strategy/uncompressed_spec.rb index 19341c733f7c7..52986510243e5 100644 --- a/Library/Homebrew/test/unpack_strategy/uncompressed_spec.rb +++ b/Library/Homebrew/test/unpack_strategy/uncompressed_spec.rb @@ -1,3 +1,4 @@ +# typed: true # frozen_string_literal: true require_relative "shared_examples" diff --git a/Library/Homebrew/test/unpack_strategy/xar_spec.rb b/Library/Homebrew/test/unpack_strategy/xar_spec.rb index 41b7a0b558101..6802be9fa2696 100644 --- a/Library/Homebrew/test/unpack_strategy/xar_spec.rb +++ b/Library/Homebrew/test/unpack_strategy/xar_spec.rb @@ -1,3 +1,4 @@ +# typed: true # frozen_string_literal: true require_relative "shared_examples" diff --git a/Library/Homebrew/test/unpack_strategy/xz_spec.rb b/Library/Homebrew/test/unpack_strategy/xz_spec.rb index efdac2253ae2f..31b61fb4e7853 100644 --- a/Library/Homebrew/test/unpack_strategy/xz_spec.rb +++ b/Library/Homebrew/test/unpack_strategy/xz_spec.rb @@ -1,3 +1,4 @@ +# typed: true # frozen_string_literal: true require_relative "shared_examples" diff --git a/Library/Homebrew/test/unpack_strategy/zip_spec.rb b/Library/Homebrew/test/unpack_strategy/zip_spec.rb index cc2c4c5d163b4..afe2619a96765 100644 --- a/Library/Homebrew/test/unpack_strategy/zip_spec.rb +++ b/Library/Homebrew/test/unpack_strategy/zip_spec.rb @@ -1,3 +1,4 @@ +# typed: true # frozen_string_literal: true require_relative "shared_examples" diff --git a/Library/Homebrew/test/unpack_strategy/zstd_spec.rb b/Library/Homebrew/test/unpack_strategy/zstd_spec.rb index b439ed657f262..279796f79ce2d 100644 --- a/Library/Homebrew/test/unpack_strategy/zstd_spec.rb +++ b/Library/Homebrew/test/unpack_strategy/zstd_spec.rb @@ -1,3 +1,4 @@ +# typed: true # frozen_string_literal: true require_relative "shared_examples" diff --git a/Library/Homebrew/test/unpack_strategy_spec.rb b/Library/Homebrew/test/unpack_strategy_spec.rb index 2794f9f488958..a97bb2d9f3213 100644 --- a/Library/Homebrew/test/unpack_strategy_spec.rb +++ b/Library/Homebrew/test/unpack_strategy_spec.rb @@ -1,3 +1,4 @@ +# typed: true # frozen_string_literal: true RSpec.describe UnpackStrategy do diff --git a/Library/Homebrew/test/utils/analytics_spec.rb b/Library/Homebrew/test/utils/analytics_spec.rb index c221af0d6f4d2..725574f03db5d 100644 --- a/Library/Homebrew/test/utils/analytics_spec.rb +++ b/Library/Homebrew/test/utils/analytics_spec.rb @@ -1,3 +1,4 @@ +# typed: true # frozen_string_literal: true require "utils/analytics" diff --git a/Library/Homebrew/test/utils/ast/ast_spec.rb b/Library/Homebrew/test/utils/ast/ast_spec.rb index cdd35b7854853..d8dfd4ad3171e 100644 --- a/Library/Homebrew/test/utils/ast/ast_spec.rb +++ b/Library/Homebrew/test/utils/ast/ast_spec.rb @@ -1,3 +1,4 @@ +# typed: true # frozen_string_literal: true require "utils/ast" diff --git a/Library/Homebrew/test/utils/ast/formula_ast_spec.rb b/Library/Homebrew/test/utils/ast/formula_ast_spec.rb index 7efb1212a71ef..6f39d181b932d 100644 --- a/Library/Homebrew/test/utils/ast/formula_ast_spec.rb +++ b/Library/Homebrew/test/utils/ast/formula_ast_spec.rb @@ -1,3 +1,4 @@ +# typed: true # frozen_string_literal: true require "utils/ast" diff --git a/Library/Homebrew/test/utils/autoremove_spec.rb b/Library/Homebrew/test/utils/autoremove_spec.rb index f36b7e32d874b..3748c35c204ad 100644 --- a/Library/Homebrew/test/utils/autoremove_spec.rb +++ b/Library/Homebrew/test/utils/autoremove_spec.rb @@ -1,3 +1,4 @@ +# typed: true # frozen_string_literal: true require "utils/autoremove" diff --git a/Library/Homebrew/test/utils/backtrace_spec.rb b/Library/Homebrew/test/utils/backtrace_spec.rb index 79166ada287b1..77fa24126c2c3 100644 --- a/Library/Homebrew/test/utils/backtrace_spec.rb +++ b/Library/Homebrew/test/utils/backtrace_spec.rb @@ -1,3 +1,4 @@ +# typed: true # frozen_string_literal: true require "utils/backtrace" diff --git a/Library/Homebrew/test/utils/bottles/bottles_spec.rb b/Library/Homebrew/test/utils/bottles/bottles_spec.rb index c2299804980ed..89b5fb8c5bad9 100644 --- a/Library/Homebrew/test/utils/bottles/bottles_spec.rb +++ b/Library/Homebrew/test/utils/bottles/bottles_spec.rb @@ -1,3 +1,4 @@ +# typed: true # frozen_string_literal: true require "utils/bottles" diff --git a/Library/Homebrew/test/utils/bottles/collector_spec.rb b/Library/Homebrew/test/utils/bottles/collector_spec.rb index 6525bba97e4c9..7f77873dd1f41 100644 --- a/Library/Homebrew/test/utils/bottles/collector_spec.rb +++ b/Library/Homebrew/test/utils/bottles/collector_spec.rb @@ -1,3 +1,4 @@ +# typed: true # frozen_string_literal: true require "utils/bottles" diff --git a/Library/Homebrew/test/utils/bottles/tag_spec.rb b/Library/Homebrew/test/utils/bottles/tag_spec.rb index 6413385487519..e095554232e8e 100644 --- a/Library/Homebrew/test/utils/bottles/tag_spec.rb +++ b/Library/Homebrew/test/utils/bottles/tag_spec.rb @@ -1,3 +1,4 @@ +# typed: true # frozen_string_literal: true require "utils/bottles" diff --git a/Library/Homebrew/test/utils/cpan_spec.rb b/Library/Homebrew/test/utils/cpan_spec.rb index dbad25ec5f100..ea686fc30ed9d 100644 --- a/Library/Homebrew/test/utils/cpan_spec.rb +++ b/Library/Homebrew/test/utils/cpan_spec.rb @@ -1,3 +1,4 @@ +# typed: true # frozen_string_literal: true require "utils/cpan" diff --git a/Library/Homebrew/test/utils/curl_spec.rb b/Library/Homebrew/test/utils/curl_spec.rb index 1fc09c3767e5a..47614c2f586ff 100644 --- a/Library/Homebrew/test/utils/curl_spec.rb +++ b/Library/Homebrew/test/utils/curl_spec.rb @@ -1,3 +1,4 @@ +# typed: true # frozen_string_literal: true require "utils/curl" diff --git a/Library/Homebrew/test/utils/fork_spec.rb b/Library/Homebrew/test/utils/fork_spec.rb index eba4c6592526e..6444749c1dd08 100644 --- a/Library/Homebrew/test/utils/fork_spec.rb +++ b/Library/Homebrew/test/utils/fork_spec.rb @@ -1,3 +1,4 @@ +# typed: true # frozen_string_literal: true require "utils/fork" diff --git a/Library/Homebrew/test/utils/git_repository_spec.rb b/Library/Homebrew/test/utils/git_repository_spec.rb index 19ff66171fed2..369a30f85b259 100644 --- a/Library/Homebrew/test/utils/git_repository_spec.rb +++ b/Library/Homebrew/test/utils/git_repository_spec.rb @@ -1,3 +1,4 @@ +# typed: true # frozen_string_literal: true require "utils/git_repository" diff --git a/Library/Homebrew/test/utils/git_spec.rb b/Library/Homebrew/test/utils/git_spec.rb index ae00d571ad460..005467c2c7caf 100644 --- a/Library/Homebrew/test/utils/git_spec.rb +++ b/Library/Homebrew/test/utils/git_spec.rb @@ -1,3 +1,4 @@ +# typed: true # frozen_string_literal: true require "utils/git" diff --git a/Library/Homebrew/test/utils/github/actions_spec.rb b/Library/Homebrew/test/utils/github/actions_spec.rb index 9c677d123cea4..c1cffceea8037 100644 --- a/Library/Homebrew/test/utils/github/actions_spec.rb +++ b/Library/Homebrew/test/utils/github/actions_spec.rb @@ -1,3 +1,4 @@ +# typed: true # frozen_string_literal: true require "utils/github/actions" diff --git a/Library/Homebrew/test/utils/github_spec.rb b/Library/Homebrew/test/utils/github_spec.rb index 4f401bf5814e5..baade49d19b7f 100644 --- a/Library/Homebrew/test/utils/github_spec.rb +++ b/Library/Homebrew/test/utils/github_spec.rb @@ -1,3 +1,4 @@ +# typed: true # frozen_string_literal: true require "utils/github" diff --git a/Library/Homebrew/test/utils/gzip_spec.rb b/Library/Homebrew/test/utils/gzip_spec.rb index bb16e3421d6c6..74a357eb53d8a 100644 --- a/Library/Homebrew/test/utils/gzip_spec.rb +++ b/Library/Homebrew/test/utils/gzip_spec.rb @@ -1,3 +1,4 @@ +# typed: true # frozen_string_literal: true require "utils/gzip" diff --git a/Library/Homebrew/test/utils/inreplace_spec.rb b/Library/Homebrew/test/utils/inreplace_spec.rb index 05951ae3fab09..307cdbe6a9720 100644 --- a/Library/Homebrew/test/utils/inreplace_spec.rb +++ b/Library/Homebrew/test/utils/inreplace_spec.rb @@ -1,3 +1,4 @@ +# typed: true # frozen_string_literal: true require "tempfile" diff --git a/Library/Homebrew/test/utils/linkage_spec.rb b/Library/Homebrew/test/utils/linkage_spec.rb index b806c68eb383a..af34e0516d338 100644 --- a/Library/Homebrew/test/utils/linkage_spec.rb +++ b/Library/Homebrew/test/utils/linkage_spec.rb @@ -1,3 +1,4 @@ +# typed: true # frozen_string_literal: true require "utils/linkage" diff --git a/Library/Homebrew/test/utils/output_spec.rb b/Library/Homebrew/test/utils/output_spec.rb index 1e8bec3780c92..ca0486a0bc398 100644 --- a/Library/Homebrew/test/utils/output_spec.rb +++ b/Library/Homebrew/test/utils/output_spec.rb @@ -1,3 +1,4 @@ +# typed: true # frozen_string_literal: true require "utils/output" diff --git a/Library/Homebrew/test/utils/path_spec.rb b/Library/Homebrew/test/utils/path_spec.rb index ba7f27436cd1f..c61e290d34a85 100644 --- a/Library/Homebrew/test/utils/path_spec.rb +++ b/Library/Homebrew/test/utils/path_spec.rb @@ -1,3 +1,4 @@ +# typed: true # frozen_string_literal: true require "utils/path" diff --git a/Library/Homebrew/test/utils/popen_spec.rb b/Library/Homebrew/test/utils/popen_spec.rb index c4cef2afe6d46..368ef168a2f63 100644 --- a/Library/Homebrew/test/utils/popen_spec.rb +++ b/Library/Homebrew/test/utils/popen_spec.rb @@ -1,3 +1,4 @@ +# typed: true # frozen_string_literal: true require "utils/popen" diff --git a/Library/Homebrew/test/utils/pypi_spec.rb b/Library/Homebrew/test/utils/pypi_spec.rb index dad770c1c4246..0407d66359ca5 100644 --- a/Library/Homebrew/test/utils/pypi_spec.rb +++ b/Library/Homebrew/test/utils/pypi_spec.rb @@ -1,3 +1,4 @@ +# typed: true # frozen_string_literal: true require "utils/pypi" diff --git a/Library/Homebrew/test/utils/ruby_check_version_script_spec.rb b/Library/Homebrew/test/utils/ruby_check_version_script_spec.rb index e0f6008a039e5..80f8820a891de 100644 --- a/Library/Homebrew/test/utils/ruby_check_version_script_spec.rb +++ b/Library/Homebrew/test/utils/ruby_check_version_script_spec.rb @@ -1,3 +1,4 @@ +# typed: true # frozen_string_literal: true RSpec.describe Utils do diff --git a/Library/Homebrew/test/utils/service_spec.rb b/Library/Homebrew/test/utils/service_spec.rb index c09c6cf828a08..92a48ff402257 100644 --- a/Library/Homebrew/test/utils/service_spec.rb +++ b/Library/Homebrew/test/utils/service_spec.rb @@ -1,3 +1,4 @@ +# typed: true # frozen_string_literal: true require "utils/service" diff --git a/Library/Homebrew/test/utils/shared_audits_spec.rb b/Library/Homebrew/test/utils/shared_audits_spec.rb index 312adcb4d56bc..81367e4210142 100644 --- a/Library/Homebrew/test/utils/shared_audits_spec.rb +++ b/Library/Homebrew/test/utils/shared_audits_spec.rb @@ -1,3 +1,4 @@ +# typed: true # frozen_string_literal: true require "utils/shared_audits" diff --git a/Library/Homebrew/test/utils/shell_spec.rb b/Library/Homebrew/test/utils/shell_spec.rb index bd07c39d71caf..dc088f3f006e4 100644 --- a/Library/Homebrew/test/utils/shell_spec.rb +++ b/Library/Homebrew/test/utils/shell_spec.rb @@ -1,3 +1,4 @@ +# typed: true # frozen_string_literal: true require "utils/shell" diff --git a/Library/Homebrew/test/utils/spdx_spec.rb b/Library/Homebrew/test/utils/spdx_spec.rb index 73d9b3bf46d91..5244c6ffedc2d 100644 --- a/Library/Homebrew/test/utils/spdx_spec.rb +++ b/Library/Homebrew/test/utils/spdx_spec.rb @@ -1,3 +1,4 @@ +# typed: true # frozen_string_literal: true require "utils/spdx" diff --git a/Library/Homebrew/test/utils/string_inreplace_extension_spec.rb b/Library/Homebrew/test/utils/string_inreplace_extension_spec.rb index 4702ef7d2957b..1d247c5fda242 100644 --- a/Library/Homebrew/test/utils/string_inreplace_extension_spec.rb +++ b/Library/Homebrew/test/utils/string_inreplace_extension_spec.rb @@ -1,3 +1,4 @@ +# typed: true # frozen_string_literal: true require "utils/string_inreplace_extension" diff --git a/Library/Homebrew/test/utils/svn_spec.rb b/Library/Homebrew/test/utils/svn_spec.rb index 59bd5c05d6922..c90185a2f13e0 100644 --- a/Library/Homebrew/test/utils/svn_spec.rb +++ b/Library/Homebrew/test/utils/svn_spec.rb @@ -1,3 +1,4 @@ +# typed: true # frozen_string_literal: true require "utils/svn" diff --git a/Library/Homebrew/test/utils/tar_spec.rb b/Library/Homebrew/test/utils/tar_spec.rb index 418c95bd4eaeb..f1c95db9abf58 100644 --- a/Library/Homebrew/test/utils/tar_spec.rb +++ b/Library/Homebrew/test/utils/tar_spec.rb @@ -1,3 +1,4 @@ +# typed: true # frozen_string_literal: true require "utils/tar" diff --git a/Library/Homebrew/test/utils/timer_spec.rb b/Library/Homebrew/test/utils/timer_spec.rb index 2140fd28a69a2..b644e4a791f25 100644 --- a/Library/Homebrew/test/utils/timer_spec.rb +++ b/Library/Homebrew/test/utils/timer_spec.rb @@ -1,3 +1,4 @@ +# typed: true # frozen_string_literal: true require "utils/timer" diff --git a/Library/Homebrew/test/utils/topological_hash_spec.rb b/Library/Homebrew/test/utils/topological_hash_spec.rb index a1bf8904e5d49..c12398610734d 100644 --- a/Library/Homebrew/test/utils/topological_hash_spec.rb +++ b/Library/Homebrew/test/utils/topological_hash_spec.rb @@ -1,3 +1,4 @@ +# typed: true # frozen_string_literal: true require "utils/topological_hash" diff --git a/Library/Homebrew/test/utils/tty_spec.rb b/Library/Homebrew/test/utils/tty_spec.rb index f7743599d7e0c..5ba85513f3645 100644 --- a/Library/Homebrew/test/utils/tty_spec.rb +++ b/Library/Homebrew/test/utils/tty_spec.rb @@ -1,3 +1,4 @@ +# typed: true # frozen_string_literal: true RSpec.describe Tty do diff --git a/Library/Homebrew/test/utils/user_spec.rb b/Library/Homebrew/test/utils/user_spec.rb index 02a0400e07e0c..3c836e026ee23 100644 --- a/Library/Homebrew/test/utils/user_spec.rb +++ b/Library/Homebrew/test/utils/user_spec.rb @@ -1,3 +1,4 @@ +# typed: true # frozen_string_literal: true require "utils/user" diff --git a/Library/Homebrew/test/utils_spec.rb b/Library/Homebrew/test/utils_spec.rb index 9c600fa11f043..327e9011f0054 100644 --- a/Library/Homebrew/test/utils_spec.rb +++ b/Library/Homebrew/test/utils_spec.rb @@ -1,3 +1,4 @@ +# typed: true # frozen_string_literal: true require "utils" diff --git a/Library/Homebrew/test/version/parser_spec.rb b/Library/Homebrew/test/version/parser_spec.rb index ce8d2861d9a6e..e9e20502e66a7 100644 --- a/Library/Homebrew/test/version/parser_spec.rb +++ b/Library/Homebrew/test/version/parser_spec.rb @@ -1,3 +1,4 @@ +# typed: true # frozen_string_literal: true require "version/parser" diff --git a/Library/Homebrew/test/version_spec.rb b/Library/Homebrew/test/version_spec.rb index b6dc5c7b18186..f0d9675d3769b 100644 --- a/Library/Homebrew/test/version_spec.rb +++ b/Library/Homebrew/test/version_spec.rb @@ -1,3 +1,4 @@ +# typed: true # frozen_string_literal: true require "version"