sorbet/rbi/hidden-definitions/hidden.rbi in clean-architecture-3.0.2 vs sorbet/rbi/hidden-definitions/hidden.rbi in clean-architecture-4.0.0

- old
+ new

@@ -4179,26 +4179,15 @@ class CleanArchitecture::Entities::UntargetedParameters extend ::Duckface::ImplementationMethods end -class CleanArchitecture::Serializers::SuccessCollectionPayload - include ::CleanArchitecture::Interfaces::SuccessPayload +class CleanArchitecture::Serializers::JsonResponseFromResult + extend ::T::Private::Methods::MethodHooks + extend ::T::Private::Methods::SingletonMethodHooks end -class CleanArchitecture::Serializers::SuccessCollectionPayload - extend ::Duckface::ImplementationMethods -end - -class CleanArchitecture::Serializers::SuccessPayload - include ::CleanArchitecture::Interfaces::SuccessPayload -end - -class CleanArchitecture::Serializers::SuccessPayload - extend ::Duckface::ImplementationMethods -end - class CleanArchitecture::UseCases::Errors def add(*args, &block); end def blank?(*args, &block); end @@ -7387,12 +7376,10 @@ def object_id(); end def pretty_inspect(); end - def respond_to?(*_); end - def then(); end def yield_self(); end end @@ -7673,18 +7660,10 @@ def self.parallelize_me!(); end def self.test_order(); end end -class MockUseCaseTarget - include ::CleanArchitecture::Interfaces::UseCaseTarget -end - -class MockUseCaseTarget - extend ::Duckface::ImplementationMethods -end - class Module include ::ActiveSupport::Dependencies::ModuleConstMissing def alias_attribute(new_name, old_name); end def anonymous?(); end @@ -10602,23 +10581,219 @@ module RSpec::Mocks DEFAULT_CALLBACK_INVOCATION_STRATEGY = ::T.let(nil, ::T.untyped) IGNORED_BACKTRACE_LINE = ::T.let(nil, ::T.untyped) end +module RSpec::Mocks::AnyInstance +end + +class RSpec::Mocks::AnyInstance::Chain + include ::RSpec::Mocks::AnyInstance::Chain::Customizations + def constrained_to_any_of?(*constraints); end + + def expectation_fulfilled!(); end + + def initialize(recorder, *args, &block); end + + def matches_args?(*args); end + + def never(); end + + def playback!(instance); 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 +end + +module RSpec::Mocks::AnyInstance::Chain::Customizations + def self.record(method_name); end +end + +class RSpec::Mocks::AnyInstance::Chain +end + +class RSpec::Mocks::AnyInstance::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::ErrorGenerator +end + +class RSpec::Mocks::AnyInstance::ExpectChainChain + def initialize(*args); end +end + +class RSpec::Mocks::AnyInstance::ExpectChainChain +end + +class RSpec::Mocks::AnyInstance::ExpectationChain + def expectation_fulfilled?(); end + + def initialize(*args, &block); end +end + +class RSpec::Mocks::AnyInstance::ExpectationChain +end + +class RSpec::Mocks::AnyInstance::FluentInterfaceProxy + def initialize(targets); end + + def method_missing(*args, &block); end +end + +class RSpec::Mocks::AnyInstance::FluentInterfaceProxy +end + +class RSpec::Mocks::AnyInstance::MessageChains + 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 +end + +class RSpec::Mocks::AnyInstance::MessageChains +end + class RSpec::Mocks::AnyInstance::PositiveExpectationChain ExpectationInvocationOrder = ::T.let(nil, ::T.untyped) end +class RSpec::Mocks::AnyInstance::PositiveExpectationChain +end + +class RSpec::Mocks::AnyInstance::Proxy + def expect_chain(*chain, &block); end + + def initialize(recorder, target_proxies); 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 +end + +class RSpec::Mocks::AnyInstance::Proxy +end + class RSpec::Mocks::AnyInstance::Recorder - include ::T::CompatibilityPatches::RecorderExtensions + 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 initialize(klass); 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 stop_observing!(method_name); 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 end +class RSpec::Mocks::AnyInstance::Recorder +end + class RSpec::Mocks::AnyInstance::StubChain + def expectation_fulfilled?(); end EmptyInvocationOrder = ::T.let(nil, ::T.untyped) InvocationOrder = ::T.let(nil, ::T.untyped) end +class RSpec::Mocks::AnyInstance::StubChain +end + +class RSpec::Mocks::AnyInstance::StubChainChain + def initialize(*args); end +end + +class RSpec::Mocks::AnyInstance::StubChainChain +end + +module RSpec::Mocks::AnyInstance + def self.error_generator(); end +end + class RSpec::Mocks::ArgumentListMatcher MATCH_ALL = ::T.let(nil, ::T.untyped) end class RSpec::Mocks::ExpectChain @@ -11176,14 +11351,10 @@ Readline::HISTORY = Readline::History Readline::USERNAME_COMPLETION_PROC = Readline::Ucomp -class Regexp - def match?(*_); end -end - class Resolv::DNS def extract_resources(msg, name, typeclass); end def fetch_resource(name, typeclass); end @@ -15334,9 +15505,14 @@ COMMENT_LINE = ::T.let(nil, ::T.untyped) NOT_RELEVANT = ::T.let(nil, ::T.untyped) RELEVANT = ::T.let(nil, ::T.untyped) WHITESPACE_LINE = ::T.let(nil, ::T.untyped) WHITESPACE_OR_COMMENT_LINE = ::T.let(nil, ::T.untyped) +end + +class SimpleCov::SourceFile + RUBY_FILE_ENCODING_MAGIC_COMMENT_REGEX = ::T.let(nil, ::T.untyped) + SHEBANG_REGEX = ::T.let(nil, ::T.untyped) end module SimpleCov::UselessResultsRemover ROOT_REGX = ::T.let(nil, ::T.untyped) end