ruby-paseto 0.1.0 → 0.1.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +9 -0
- data/lib/paseto/paserk_types.rb +1 -1
- data/lib/paseto/util.rb +1 -2
- data/lib/paseto/v3/public.rb +3 -65
- data/lib/paseto/version.rb +1 -1
- data/paseto.gemspec +1 -13
- data/sorbet/rbi/gems/{irb@1.5.1.rbi → irb@1.6.3.rbi} +44 -44
- data/sorbet/rbi/gems/{oj@3.13.23.rbi → oj@3.14.2.rbi} +4 -2
- data/sorbet/rbi/gems/{openssl@3.0.1.rbi → openssl@3.1.0.rbi} +63 -59
- data/sorbet/rbi/gems/{regexp_parser@2.6.1.rbi → regexp_parser@2.7.0.rbi} +250 -151
- data/sorbet/rbi/gems/{rspec-core@3.12.0.rbi → rspec-core@3.12.1.rbi} +30 -112
- data/sorbet/rbi/gems/{rspec-expectations@3.12.0.rbi → rspec-expectations@3.12.2.rbi} +201 -185
- data/sorbet/rbi/gems/{rspec-mocks@3.12.0.rbi → rspec-mocks@3.12.4.rbi} +218 -207
- data/sorbet/rbi/gems/{ruby-progressbar@1.11.0.rbi → ruby-progressbar@1.13.0.rbi} +364 -286
- data/sorbet/rbi/gems/{simplecov@0.21.2.rbi → simplecov@0.22.0.rbi} +62 -49
- data/sorbet/rbi/gems/{unicode-display_width@2.3.0.rbi → unicode-display_width@2.4.2.rbi} +24 -7
- data/sorbet/rbi/gems/{yard-sorbet@0.7.0.rbi → yard-sorbet@0.8.0.rbi} +91 -41
- data/sorbet/rbi/gems/zeitwerk@2.6.7.rbi +8 -0
- data/sorbet/tapioca/config.yml +1 -1
- metadata +25 -173
- data/sorbet/rbi/gems/zeitwerk@2.6.6.rbi +0 -950
- /data/sorbet/rbi/gems/{io-console@0.5.11.rbi → io-console@0.6.0.rbi} +0 -0
- /data/sorbet/rbi/gems/{reline@0.3.1.rbi → reline@0.3.2.rbi} +0 -0
@@ -10,75 +10,75 @@
|
|
10
10
|
# source://rspec-mocks//lib/rspec/mocks/instance_method_stasher.rb#1
|
11
11
|
module RSpec
|
12
12
|
class << self
|
13
|
-
# source://rspec-core/3.12.
|
13
|
+
# source://rspec-core/3.12.1/lib/rspec/core.rb#70
|
14
14
|
def clear_examples; end
|
15
15
|
|
16
|
-
# source://rspec-core/3.12.
|
16
|
+
# source://rspec-core/3.12.1/lib/rspec/core.rb#85
|
17
17
|
def configuration; end
|
18
18
|
|
19
|
-
# source://rspec-core/3.12.
|
19
|
+
# source://rspec-core/3.12.1/lib/rspec/core.rb#49
|
20
20
|
def configuration=(_arg0); end
|
21
21
|
|
22
|
-
# source://rspec-core/3.12.
|
22
|
+
# source://rspec-core/3.12.1/lib/rspec/core.rb#97
|
23
23
|
def configure; end
|
24
24
|
|
25
|
-
# source://rspec-core/3.12.
|
25
|
+
# source://rspec-core/3.12.1/lib/rspec/core.rb#194
|
26
26
|
def const_missing(name); end
|
27
27
|
|
28
|
-
# source://rspec-core/3.12.
|
28
|
+
# source://rspec-core/3.12.1/lib/rspec/core/dsl.rb#42
|
29
29
|
def context(*args, &example_group_block); end
|
30
30
|
|
31
|
-
# source://rspec-core/3.12.
|
31
|
+
# source://rspec-core/3.12.1/lib/rspec/core.rb#122
|
32
32
|
def current_example; end
|
33
33
|
|
34
|
-
# source://rspec-core/3.12.
|
34
|
+
# source://rspec-core/3.12.1/lib/rspec/core.rb#128
|
35
35
|
def current_example=(example); end
|
36
36
|
|
37
|
-
# source://rspec-core/3.12.
|
37
|
+
# source://rspec-core/3.12.1/lib/rspec/core.rb#154
|
38
38
|
def current_scope; end
|
39
39
|
|
40
|
-
# source://rspec-core/3.12.
|
40
|
+
# source://rspec-core/3.12.1/lib/rspec/core.rb#134
|
41
41
|
def current_scope=(scope); end
|
42
42
|
|
43
|
-
# source://rspec-core/3.12.
|
43
|
+
# source://rspec-core/3.12.1/lib/rspec/core/dsl.rb#42
|
44
44
|
def describe(*args, &example_group_block); end
|
45
45
|
|
46
|
-
# source://rspec-core/3.12.
|
46
|
+
# source://rspec-core/3.12.1/lib/rspec/core/dsl.rb#42
|
47
47
|
def example_group(*args, &example_group_block); end
|
48
48
|
|
49
|
-
# source://rspec-core/3.12.
|
49
|
+
# source://rspec-core/3.12.1/lib/rspec/core/dsl.rb#42
|
50
50
|
def fcontext(*args, &example_group_block); end
|
51
51
|
|
52
|
-
# source://rspec-core/3.12.
|
52
|
+
# source://rspec-core/3.12.1/lib/rspec/core/dsl.rb#42
|
53
53
|
def fdescribe(*args, &example_group_block); end
|
54
54
|
|
55
|
-
# source://rspec-core/3.12.
|
55
|
+
# source://rspec-core/3.12.1/lib/rspec/core.rb#58
|
56
56
|
def reset; end
|
57
57
|
|
58
|
-
# source://rspec-core/3.12.
|
58
|
+
# source://rspec-core/3.12.1/lib/rspec/core/shared_example_group.rb#110
|
59
59
|
def shared_context(name, *args, &block); end
|
60
60
|
|
61
|
-
# source://rspec-core/3.12.
|
61
|
+
# source://rspec-core/3.12.1/lib/rspec/core/shared_example_group.rb#110
|
62
62
|
def shared_examples(name, *args, &block); end
|
63
63
|
|
64
|
-
# source://rspec-core/3.12.
|
64
|
+
# source://rspec-core/3.12.1/lib/rspec/core/shared_example_group.rb#110
|
65
65
|
def shared_examples_for(name, *args, &block); end
|
66
66
|
|
67
|
-
# source://rspec-core/3.12.
|
67
|
+
# source://rspec-core/3.12.1/lib/rspec/core.rb#160
|
68
68
|
def world; end
|
69
69
|
|
70
|
-
# source://rspec-core/3.12.
|
70
|
+
# source://rspec-core/3.12.1/lib/rspec/core.rb#49
|
71
71
|
def world=(_arg0); end
|
72
72
|
|
73
|
-
# source://rspec-core/3.12.
|
73
|
+
# source://rspec-core/3.12.1/lib/rspec/core/dsl.rb#42
|
74
74
|
def xcontext(*args, &example_group_block); end
|
75
75
|
|
76
|
-
# source://rspec-core/3.12.
|
76
|
+
# source://rspec-core/3.12.1/lib/rspec/core/dsl.rb#42
|
77
77
|
def xdescribe(*args, &example_group_block); end
|
78
78
|
end
|
79
79
|
end
|
80
80
|
|
81
|
-
# source://rspec-core/3.12.
|
81
|
+
# source://rspec-core/3.12.1/lib/rspec/core.rb#187
|
82
82
|
RSpec::MODULES_TO_AUTOLOAD = T.let(T.unsafe(nil), Hash)
|
83
83
|
|
84
84
|
# Contains top-level utility methods. While this contains a few
|
@@ -112,7 +112,7 @@ module RSpec::Mocks
|
|
112
112
|
|
113
113
|
# @private
|
114
114
|
#
|
115
|
-
# source://rspec-mocks//lib/rspec/mocks/error_generator.rb#
|
115
|
+
# source://rspec-mocks//lib/rspec/mocks/error_generator.rb#386
|
116
116
|
def error_generator; end
|
117
117
|
|
118
118
|
# Sets a message expectation on `subject`.
|
@@ -650,7 +650,7 @@ RSpec::Mocks::AnyInstance::PositiveExpectationChain::ExpectationInvocationOrder
|
|
650
650
|
#
|
651
651
|
# This proxy sits in front of the recorder and delegates both to it
|
652
652
|
# and to the `RSpec::Mocks::Proxy` for each already mocked or stubbed
|
653
|
-
# instance of the class, in order to
|
653
|
+
# instance of the class, in order to propagates changes to the instances.
|
654
654
|
#
|
655
655
|
# Note that unlike `RSpec::Mocks::Proxy`, this proxy class is stateless
|
656
656
|
# and is not persisted in `RSpec::Mocks.space`.
|
@@ -868,7 +868,7 @@ end
|
|
868
868
|
|
869
869
|
# @private
|
870
870
|
#
|
871
|
-
# source://rspec-mocks//lib/rspec/mocks/any_instance/stub_chain.rb#
|
871
|
+
# source://rspec-mocks//lib/rspec/mocks/any_instance/stub_chain.rb#5
|
872
872
|
class RSpec::Mocks::AnyInstance::StubChain < ::RSpec::Mocks::AnyInstance::Chain
|
873
873
|
# @private
|
874
874
|
# @return [Boolean]
|
@@ -1008,15 +1008,15 @@ class RSpec::Mocks::ArgumentListMatcher
|
|
1008
1008
|
#
|
1009
1009
|
# @private
|
1010
1010
|
#
|
1011
|
-
# source://rspec-mocks//lib/rspec/mocks/argument_list_matcher.rb#
|
1011
|
+
# source://rspec-mocks//lib/rspec/mocks/argument_list_matcher.rb#81
|
1012
1012
|
def resolve_expected_args_based_on(actual_args); end
|
1013
1013
|
|
1014
1014
|
private
|
1015
1015
|
|
1016
|
-
# source://rspec-mocks//lib/rspec/mocks/argument_list_matcher.rb#
|
1016
|
+
# source://rspec-mocks//lib/rspec/mocks/argument_list_matcher.rb#100
|
1017
1017
|
def ensure_expected_args_valid!; end
|
1018
1018
|
|
1019
|
-
# source://rspec-mocks//lib/rspec/mocks/argument_list_matcher.rb#
|
1019
|
+
# source://rspec-mocks//lib/rspec/mocks/argument_list_matcher.rb#92
|
1020
1020
|
def replace_any_args_with_splat_of_anything(before_count, actual_args_count); end
|
1021
1021
|
end
|
1022
1022
|
|
@@ -1024,7 +1024,7 @@ end
|
|
1024
1024
|
#
|
1025
1025
|
# @private
|
1026
1026
|
#
|
1027
|
-
# source://rspec-mocks//lib/rspec/mocks/argument_list_matcher.rb#
|
1027
|
+
# source://rspec-mocks//lib/rspec/mocks/argument_list_matcher.rb#114
|
1028
1028
|
RSpec::Mocks::ArgumentListMatcher::MATCH_ALL = T.let(T.unsafe(nil), RSpec::Mocks::ArgumentListMatcher)
|
1029
1029
|
|
1030
1030
|
# ArgumentMatchers are placeholders that you can include in message
|
@@ -1407,7 +1407,7 @@ RSpec::Mocks::ClassNewMethodReference::CLASS_NEW = T.let(T.unsafe(nil), UnboundM
|
|
1407
1407
|
#
|
1408
1408
|
# @private
|
1409
1409
|
#
|
1410
|
-
# source://rspec-mocks//lib/rspec/mocks/verifying_double.rb#
|
1410
|
+
# source://rspec-mocks//lib/rspec/mocks/verifying_double.rb#119
|
1411
1411
|
class RSpec::Mocks::ClassVerifyingDouble < ::Module
|
1412
1412
|
include ::RSpec::Mocks::TestDouble
|
1413
1413
|
include ::RSpec::Mocks::VerifyingDouble
|
@@ -1730,7 +1730,7 @@ class RSpec::Mocks::Constant
|
|
1730
1730
|
# Queries rspec-mocks to find out information about the named constant.
|
1731
1731
|
#
|
1732
1732
|
# @param name [String] the name of the constant
|
1733
|
-
# @return [Constant] an object
|
1733
|
+
# @return [Constant] an object containing information about the named
|
1734
1734
|
# constant.
|
1735
1735
|
#
|
1736
1736
|
# source://rspec-mocks//lib/rspec/mocks/mutate_const.rb#86
|
@@ -2125,19 +2125,19 @@ class RSpec::Mocks::ErrorGenerator
|
|
2125
2125
|
|
2126
2126
|
private
|
2127
2127
|
|
2128
|
-
# source://rspec-mocks//lib/rspec/mocks/error_generator.rb#
|
2128
|
+
# source://rspec-mocks//lib/rspec/mocks/error_generator.rb#328
|
2129
2129
|
def __raise(message, backtrace_line = T.unsafe(nil), source_id = T.unsafe(nil)); end
|
2130
2130
|
|
2131
|
-
# source://rspec-mocks//lib/rspec/mocks/error_generator.rb#
|
2131
|
+
# source://rspec-mocks//lib/rspec/mocks/error_generator.rb#356
|
2132
2132
|
def arg_list(args); end
|
2133
2133
|
|
2134
|
-
# source://rspec-mocks//lib/rspec/mocks/error_generator.rb#
|
2134
|
+
# source://rspec-mocks//lib/rspec/mocks/error_generator.rb#366
|
2135
2135
|
def count_message(count, expectation_count_type = T.unsafe(nil)); end
|
2136
2136
|
|
2137
|
-
# source://rspec-mocks//lib/rspec/mocks/error_generator.rb#
|
2137
|
+
# source://rspec-mocks//lib/rspec/mocks/error_generator.rb#302
|
2138
2138
|
def diff_message(expected_args, actual_args); end
|
2139
2139
|
|
2140
|
-
# source://rspec-mocks//lib/rspec/mocks/error_generator.rb#
|
2140
|
+
# source://rspec-mocks//lib/rspec/mocks/error_generator.rb#324
|
2141
2141
|
def differ; end
|
2142
2142
|
|
2143
2143
|
# source://rspec-mocks//lib/rspec/mocks/error_generator.rb#268
|
@@ -2146,39 +2146,39 @@ class RSpec::Mocks::ErrorGenerator
|
|
2146
2146
|
# source://rspec-mocks//lib/rspec/mocks/error_generator.rb#257
|
2147
2147
|
def expected_part_of_expectation_error(expected_received_count, expectation_count_type, argument_list_matcher); end
|
2148
2148
|
|
2149
|
-
# source://rspec-mocks//lib/rspec/mocks/error_generator.rb#
|
2149
|
+
# source://rspec-mocks//lib/rspec/mocks/error_generator.rb#351
|
2150
2150
|
def format_args(args); end
|
2151
2151
|
|
2152
|
-
# source://rspec-mocks//lib/rspec/mocks/error_generator.rb#
|
2152
|
+
# source://rspec-mocks//lib/rspec/mocks/error_generator.rb#360
|
2153
2153
|
def format_received_args(args_for_multiple_calls); end
|
2154
2154
|
|
2155
|
-
# source://rspec-mocks//lib/rspec/mocks/error_generator.rb#
|
2155
|
+
# source://rspec-mocks//lib/rspec/mocks/error_generator.rb#380
|
2156
2156
|
def group_count(index, args); end
|
2157
2157
|
|
2158
|
-
# source://rspec-mocks//lib/rspec/mocks/error_generator.rb#
|
2158
|
+
# source://rspec-mocks//lib/rspec/mocks/error_generator.rb#376
|
2159
2159
|
def grouped_args(args); end
|
2160
2160
|
|
2161
2161
|
# @return [Boolean]
|
2162
2162
|
#
|
2163
|
-
# source://rspec-mocks//lib/rspec/mocks/error_generator.rb#
|
2163
|
+
# source://rspec-mocks//lib/rspec/mocks/error_generator.rb#320
|
2164
2164
|
def list_of_exactly_one_string?(args); end
|
2165
2165
|
|
2166
|
-
# source://rspec-mocks//lib/rspec/mocks/error_generator.rb#
|
2166
|
+
# source://rspec-mocks//lib/rspec/mocks/error_generator.rb#347
|
2167
2167
|
def notify(*args); end
|
2168
2168
|
|
2169
|
-
# source://rspec-mocks//lib/rspec/mocks/error_generator.rb#
|
2169
|
+
# source://rspec-mocks//lib/rspec/mocks/error_generator.rb#342
|
2170
2170
|
def prepend_to_backtrace(exception, line); end
|
2171
2171
|
|
2172
2172
|
# source://rspec-mocks//lib/rspec/mocks/error_generator.rb#250
|
2173
2173
|
def received_part_of_expectation_error(actual_received_count, args); end
|
2174
2174
|
|
2175
|
-
# source://rspec-mocks//lib/rspec/mocks/error_generator.rb#
|
2175
|
+
# source://rspec-mocks//lib/rspec/mocks/error_generator.rb#372
|
2176
2176
|
def times(count); end
|
2177
2177
|
|
2178
2178
|
# source://rspec-mocks//lib/rspec/mocks/error_generator.rb#264
|
2179
2179
|
def unexpected_arguments_message(expected_args_string, actual_args_string); end
|
2180
2180
|
|
2181
|
-
# source://rspec-mocks//lib/rspec/mocks/error_generator.rb#
|
2181
|
+
# source://rspec-mocks//lib/rspec/mocks/error_generator.rb#312
|
2182
2182
|
def unpack_string_args(formatted_expected_args, actual_args); end
|
2183
2183
|
end
|
2184
2184
|
|
@@ -2529,7 +2529,7 @@ end
|
|
2529
2529
|
|
2530
2530
|
# @private
|
2531
2531
|
#
|
2532
|
-
# source://rspec-mocks//lib/rspec/mocks/message_chain.rb#
|
2532
|
+
# source://rspec-mocks//lib/rspec/mocks/message_chain.rb#61
|
2533
2533
|
class RSpec::Mocks::ExpectChain < ::RSpec::Mocks::MessageChain
|
2534
2534
|
private
|
2535
2535
|
|
@@ -2730,12 +2730,12 @@ end
|
|
2730
2730
|
#
|
2731
2731
|
# @private
|
2732
2732
|
#
|
2733
|
-
# source://rspec-mocks//lib/rspec/mocks/verifying_double.rb#
|
2733
|
+
# source://rspec-mocks//lib/rspec/mocks/verifying_double.rb#71
|
2734
2734
|
class RSpec::Mocks::InstanceVerifyingDouble
|
2735
2735
|
include ::RSpec::Mocks::TestDouble
|
2736
2736
|
include ::RSpec::Mocks::VerifyingDouble
|
2737
2737
|
|
2738
|
-
# source://rspec-mocks//lib/rspec/mocks/verifying_double.rb#
|
2738
|
+
# source://rspec-mocks//lib/rspec/mocks/verifying_double.rb#75
|
2739
2739
|
def __build_mock_proxy(order_group); end
|
2740
2740
|
end
|
2741
2741
|
|
@@ -2818,14 +2818,14 @@ class RSpec::Mocks::Matchers::HaveReceived
|
|
2818
2818
|
# source://rspec-mocks//lib/rspec/mocks/matchers/have_received.rb#44
|
2819
2819
|
def failure_message_when_negated; end
|
2820
2820
|
|
2821
|
+
# source://rspec-mocks//lib/rspec/mocks/matchers/have_received.rb#19
|
2822
|
+
def matcher_name; end
|
2823
|
+
|
2821
2824
|
# @return [Boolean]
|
2822
2825
|
#
|
2823
2826
|
# source://rspec-mocks//lib/rspec/mocks/matchers/have_received.rb#23
|
2824
2827
|
def matches?(subject, &block); end
|
2825
2828
|
|
2826
|
-
# source://rspec-mocks//lib/rspec/mocks/matchers/have_received.rb#19
|
2827
|
-
def name; end
|
2828
|
-
|
2829
2829
|
# source://rspec-mocks//lib/rspec/mocks/matchers/have_received.rb#53
|
2830
2830
|
def once(*args); end
|
2831
2831
|
|
@@ -2924,31 +2924,31 @@ class RSpec::Mocks::Matchers::Receive
|
|
2924
2924
|
# source://rspec-mocks//lib/rspec/mocks/matchers/receive.rb#10
|
2925
2925
|
def initialize(message, block); end
|
2926
2926
|
|
2927
|
-
# source://rspec-mocks//lib/rspec/mocks/matchers/receive.rb#
|
2927
|
+
# source://rspec-mocks//lib/rspec/mocks/matchers/receive.rb#62
|
2928
2928
|
def and_call_original(*args, **_arg1, &block); end
|
2929
2929
|
|
2930
|
-
# source://rspec-mocks//lib/rspec/mocks/matchers/receive.rb#
|
2930
|
+
# source://rspec-mocks//lib/rspec/mocks/matchers/receive.rb#62
|
2931
2931
|
def and_invoke(*args, **_arg1, &block); end
|
2932
2932
|
|
2933
|
-
# source://rspec-mocks//lib/rspec/mocks/matchers/receive.rb#
|
2933
|
+
# source://rspec-mocks//lib/rspec/mocks/matchers/receive.rb#62
|
2934
2934
|
def and_raise(*args, **_arg1, &block); end
|
2935
2935
|
|
2936
|
-
# source://rspec-mocks//lib/rspec/mocks/matchers/receive.rb#
|
2936
|
+
# source://rspec-mocks//lib/rspec/mocks/matchers/receive.rb#62
|
2937
2937
|
def and_return(*args, **_arg1, &block); end
|
2938
2938
|
|
2939
|
-
# source://rspec-mocks//lib/rspec/mocks/matchers/receive.rb#
|
2939
|
+
# source://rspec-mocks//lib/rspec/mocks/matchers/receive.rb#62
|
2940
2940
|
def and_throw(*args, **_arg1, &block); end
|
2941
2941
|
|
2942
|
-
# source://rspec-mocks//lib/rspec/mocks/matchers/receive.rb#
|
2942
|
+
# source://rspec-mocks//lib/rspec/mocks/matchers/receive.rb#62
|
2943
2943
|
def and_wrap_original(*args, **_arg1, &block); end
|
2944
2944
|
|
2945
|
-
# source://rspec-mocks//lib/rspec/mocks/matchers/receive.rb#
|
2945
|
+
# source://rspec-mocks//lib/rspec/mocks/matchers/receive.rb#62
|
2946
2946
|
def and_yield(*args, **_arg1, &block); end
|
2947
2947
|
|
2948
|
-
# source://rspec-mocks//lib/rspec/mocks/matchers/receive.rb#
|
2948
|
+
# source://rspec-mocks//lib/rspec/mocks/matchers/receive.rb#62
|
2949
2949
|
def at_least(*args, **_arg1, &block); end
|
2950
2950
|
|
2951
|
-
# source://rspec-mocks//lib/rspec/mocks/matchers/receive.rb#
|
2951
|
+
# source://rspec-mocks//lib/rspec/mocks/matchers/receive.rb#62
|
2952
2952
|
def at_most(*args, **_arg1, &block); end
|
2953
2953
|
|
2954
2954
|
# source://rspec-mocks//lib/rspec/mocks/matchers/receive.rb#20
|
@@ -2957,22 +2957,25 @@ class RSpec::Mocks::Matchers::Receive
|
|
2957
2957
|
# source://rspec-mocks//lib/rspec/mocks/matchers/receive.rb#30
|
2958
2958
|
def does_not_match?(subject, &block); end
|
2959
2959
|
|
2960
|
-
# source://rspec-mocks//lib/rspec/mocks/matchers/receive.rb#
|
2960
|
+
# source://rspec-mocks//lib/rspec/mocks/matchers/receive.rb#62
|
2961
2961
|
def exactly(*args, **_arg1, &block); end
|
2962
2962
|
|
2963
|
-
# source://rspec-mocks//lib/rspec/mocks/matchers/receive.rb#
|
2964
|
-
def
|
2963
|
+
# source://rspec-mocks//lib/rspec/mocks/matchers/receive.rb#62
|
2964
|
+
def inspect(*args, **_arg1, &block); end
|
2965
2965
|
|
2966
2966
|
# source://rspec-mocks//lib/rspec/mocks/matchers/receive.rb#16
|
2967
|
-
def
|
2967
|
+
def matcher_name; end
|
2968
2968
|
|
2969
|
-
# source://rspec-mocks//lib/rspec/mocks/matchers/receive.rb#
|
2969
|
+
# source://rspec-mocks//lib/rspec/mocks/matchers/receive.rb#24
|
2970
|
+
def matches?(subject, &block); end
|
2971
|
+
|
2972
|
+
# source://rspec-mocks//lib/rspec/mocks/matchers/receive.rb#62
|
2970
2973
|
def never(*args, **_arg1, &block); end
|
2971
2974
|
|
2972
|
-
# source://rspec-mocks//lib/rspec/mocks/matchers/receive.rb#
|
2975
|
+
# source://rspec-mocks//lib/rspec/mocks/matchers/receive.rb#62
|
2973
2976
|
def once(*args, **_arg1, &block); end
|
2974
2977
|
|
2975
|
-
# source://rspec-mocks//lib/rspec/mocks/matchers/receive.rb#
|
2978
|
+
# source://rspec-mocks//lib/rspec/mocks/matchers/receive.rb#62
|
2976
2979
|
def ordered(*args, **_arg1, &block); end
|
2977
2980
|
|
2978
2981
|
# source://rspec-mocks//lib/rspec/mocks/matchers/receive.rb#41
|
@@ -2993,39 +2996,42 @@ class RSpec::Mocks::Matchers::Receive
|
|
2993
2996
|
# source://rspec-mocks//lib/rspec/mocks/matchers/receive.rb#30
|
2994
2997
|
def setup_negative_expectation(subject, &block); end
|
2995
2998
|
|
2996
|
-
# source://rspec-mocks//lib/rspec/mocks/matchers/receive.rb#
|
2999
|
+
# source://rspec-mocks//lib/rspec/mocks/matchers/receive.rb#62
|
2997
3000
|
def thrice(*args, **_arg1, &block); end
|
2998
3001
|
|
2999
|
-
# source://rspec-mocks//lib/rspec/mocks/matchers/receive.rb#
|
3002
|
+
# source://rspec-mocks//lib/rspec/mocks/matchers/receive.rb#62
|
3000
3003
|
def time(*args, **_arg1, &block); end
|
3001
3004
|
|
3002
|
-
# source://rspec-mocks//lib/rspec/mocks/matchers/receive.rb#
|
3005
|
+
# source://rspec-mocks//lib/rspec/mocks/matchers/receive.rb#62
|
3003
3006
|
def times(*args, **_arg1, &block); end
|
3004
3007
|
|
3005
|
-
# source://rspec-mocks//lib/rspec/mocks/matchers/receive.rb#
|
3008
|
+
# source://rspec-mocks//lib/rspec/mocks/matchers/receive.rb#62
|
3009
|
+
def to_s(*args, **_arg1, &block); end
|
3010
|
+
|
3011
|
+
# source://rspec-mocks//lib/rspec/mocks/matchers/receive.rb#62
|
3006
3012
|
def twice(*args, **_arg1, &block); end
|
3007
3013
|
|
3008
|
-
# source://rspec-mocks//lib/rspec/mocks/matchers/receive.rb#
|
3014
|
+
# source://rspec-mocks//lib/rspec/mocks/matchers/receive.rb#62
|
3009
3015
|
def with(*args, **_arg1, &block); end
|
3010
3016
|
|
3011
3017
|
private
|
3012
3018
|
|
3013
|
-
# source://rspec-mocks//lib/rspec/mocks/matchers/receive.rb#
|
3019
|
+
# source://rspec-mocks//lib/rspec/mocks/matchers/receive.rb#71
|
3014
3020
|
def describable; end
|
3015
3021
|
|
3016
|
-
# source://rspec-mocks//lib/rspec/mocks/matchers/receive.rb#
|
3022
|
+
# source://rspec-mocks//lib/rspec/mocks/matchers/receive.rb#108
|
3017
3023
|
def move_block_to_last_customization(block); end
|
3018
3024
|
|
3019
|
-
# source://rspec-mocks//lib/rspec/mocks/matchers/receive.rb#
|
3025
|
+
# source://rspec-mocks//lib/rspec/mocks/matchers/receive.rb#91
|
3020
3026
|
def setup_any_instance_method_substitute(subject, method, block); end
|
3021
3027
|
|
3022
|
-
# source://rspec-mocks//lib/rspec/mocks/matchers/receive.rb#
|
3028
|
+
# source://rspec-mocks//lib/rspec/mocks/matchers/receive.rb#96
|
3023
3029
|
def setup_method_substitute(host, method, block, *args); end
|
3024
3030
|
|
3025
|
-
# source://rspec-mocks//lib/rspec/mocks/matchers/receive.rb#
|
3031
|
+
# source://rspec-mocks//lib/rspec/mocks/matchers/receive.rb#86
|
3026
3032
|
def setup_mock_proxy_method_substitute(subject, method, block); end
|
3027
3033
|
|
3028
|
-
# source://rspec-mocks//lib/rspec/mocks/matchers/receive.rb#
|
3034
|
+
# source://rspec-mocks//lib/rspec/mocks/matchers/receive.rb#75
|
3029
3035
|
def warn_if_any_instance(expression, subject); end
|
3030
3036
|
end
|
3031
3037
|
|
@@ -3034,18 +3040,18 @@ end
|
|
3034
3040
|
#
|
3035
3041
|
# @private
|
3036
3042
|
#
|
3037
|
-
# source://rspec-mocks//lib/rspec/mocks/matchers/receive.rb#
|
3043
|
+
# source://rspec-mocks//lib/rspec/mocks/matchers/receive.rb#119
|
3038
3044
|
class RSpec::Mocks::Matchers::Receive::DefaultDescribable
|
3039
3045
|
# @return [DefaultDescribable] a new instance of DefaultDescribable
|
3040
3046
|
#
|
3041
|
-
# source://rspec-mocks//lib/rspec/mocks/matchers/receive.rb#
|
3047
|
+
# source://rspec-mocks//lib/rspec/mocks/matchers/receive.rb#120
|
3042
3048
|
def initialize(message); end
|
3043
3049
|
|
3044
3050
|
# This is much simpler for the `any_instance` case than what the
|
3045
3051
|
# user may want, but I'm not up for putting a bunch of effort
|
3046
3052
|
# into full descriptions for `any_instance` expectations at this point :(.
|
3047
3053
|
#
|
3048
|
-
# source://rspec-mocks//lib/rspec/mocks/matchers/receive.rb#
|
3054
|
+
# source://rspec-mocks//lib/rspec/mocks/matchers/receive.rb#127
|
3049
3055
|
def description_for(verb); end
|
3050
3056
|
end
|
3051
3057
|
|
@@ -3086,12 +3092,12 @@ class RSpec::Mocks::Matchers::ReceiveMessageChain
|
|
3086
3092
|
# source://rspec-mocks//lib/rspec/mocks/matchers/receive_message_chain.rb#53
|
3087
3093
|
def does_not_match?(*_args); end
|
3088
3094
|
|
3095
|
+
# source://rspec-mocks//lib/rspec/mocks/matchers/receive_message_chain.rb#23
|
3096
|
+
def matcher_name; end
|
3097
|
+
|
3089
3098
|
# source://rspec-mocks//lib/rspec/mocks/matchers/receive_message_chain.rb#48
|
3090
3099
|
def matches?(subject, &block); end
|
3091
3100
|
|
3092
|
-
# source://rspec-mocks//lib/rspec/mocks/matchers/receive_message_chain.rb#23
|
3093
|
-
def name; end
|
3094
|
-
|
3095
3101
|
# source://rspec-mocks//lib/rspec/mocks/matchers/receive_message_chain.rb#31
|
3096
3102
|
def setup_allowance(subject, &block); end
|
3097
3103
|
|
@@ -3140,12 +3146,12 @@ class RSpec::Mocks::Matchers::ReceiveMessages
|
|
3140
3146
|
# source://rspec-mocks//lib/rspec/mocks/matchers/receive_messages.rb#29
|
3141
3147
|
def does_not_match?(_subject); end
|
3142
3148
|
|
3149
|
+
# source://rspec-mocks//lib/rspec/mocks/matchers/receive_messages.rb#13
|
3150
|
+
def matcher_name; end
|
3151
|
+
|
3143
3152
|
# source://rspec-mocks//lib/rspec/mocks/matchers/receive_messages.rb#21
|
3144
3153
|
def matches?(subject); end
|
3145
3154
|
|
3146
|
-
# source://rspec-mocks//lib/rspec/mocks/matchers/receive_messages.rb#13
|
3147
|
-
def name; end
|
3148
|
-
|
3149
3155
|
# source://rspec-mocks//lib/rspec/mocks/matchers/receive_messages.rb#36
|
3150
3156
|
def setup_allowance(subject); end
|
3151
3157
|
|
@@ -3725,22 +3731,22 @@ class RSpec::Mocks::MethodDouble
|
|
3725
3731
|
# @private
|
3726
3732
|
# @return [MethodDouble] a new instance of MethodDouble
|
3727
3733
|
#
|
3728
|
-
# source://rspec-mocks//lib/rspec/mocks/method_double.rb#
|
3734
|
+
# source://rspec-mocks//lib/rspec/mocks/method_double.rb#12
|
3729
3735
|
def initialize(object, method_name, proxy); end
|
3730
3736
|
|
3731
3737
|
# @private
|
3732
3738
|
#
|
3733
|
-
# source://rspec-mocks//lib/rspec/mocks/method_double.rb#
|
3739
|
+
# source://rspec-mocks//lib/rspec/mocks/method_double.rb#209
|
3734
3740
|
def add_default_stub(*args, &implementation); end
|
3735
3741
|
|
3736
3742
|
# @private
|
3737
3743
|
#
|
3738
|
-
# source://rspec-mocks//lib/rspec/mocks/method_double.rb#
|
3744
|
+
# source://rspec-mocks//lib/rspec/mocks/method_double.rb#159
|
3739
3745
|
def add_expectation(error_generator, expectation_ordering, expected_from, opts, &implementation); end
|
3740
3746
|
|
3741
3747
|
# @private
|
3742
3748
|
#
|
3743
|
-
# source://rspec-mocks//lib/rspec/mocks/method_double.rb#
|
3749
|
+
# source://rspec-mocks//lib/rspec/mocks/method_double.rb#195
|
3744
3750
|
def add_simple_expectation(method_name, response, error_generator, backtrace_line); end
|
3745
3751
|
|
3746
3752
|
# A simple stub can only return a concrete value for a message, and
|
@@ -3752,37 +3758,37 @@ class RSpec::Mocks::MethodDouble
|
|
3752
3758
|
#
|
3753
3759
|
# @private
|
3754
3760
|
#
|
3755
|
-
# source://rspec-mocks//lib/rspec/mocks/method_double.rb#
|
3761
|
+
# source://rspec-mocks//lib/rspec/mocks/method_double.rb#190
|
3756
3762
|
def add_simple_stub(method_name, response); end
|
3757
3763
|
|
3758
3764
|
# @private
|
3759
3765
|
#
|
3760
|
-
# source://rspec-mocks//lib/rspec/mocks/method_double.rb#
|
3766
|
+
# source://rspec-mocks//lib/rspec/mocks/method_double.rb#174
|
3761
3767
|
def add_stub(error_generator, expectation_ordering, expected_from, opts = T.unsafe(nil), &implementation); end
|
3762
3768
|
|
3763
3769
|
# @private
|
3764
3770
|
#
|
3765
|
-
# source://rspec-mocks//lib/rspec/mocks/method_double.rb#
|
3771
|
+
# source://rspec-mocks//lib/rspec/mocks/method_double.rb#168
|
3766
3772
|
def build_expectation(error_generator, expectation_ordering); end
|
3767
3773
|
|
3768
3774
|
# @private
|
3769
3775
|
#
|
3770
|
-
# source://rspec-mocks//lib/rspec/mocks/method_double.rb#
|
3776
|
+
# source://rspec-mocks//lib/rspec/mocks/method_double.rb#145
|
3771
3777
|
def clear; end
|
3772
3778
|
|
3773
3779
|
# @private
|
3774
3780
|
#
|
3775
|
-
# source://rspec-mocks//lib/rspec/mocks/method_double.rb#
|
3781
|
+
# source://rspec-mocks//lib/rspec/mocks/method_double.rb#54
|
3776
3782
|
def configure_method; end
|
3777
3783
|
|
3778
3784
|
# @private
|
3779
3785
|
#
|
3780
|
-
# source://rspec-mocks//lib/rspec/mocks/method_double.rb#
|
3786
|
+
# source://rspec-mocks//lib/rspec/mocks/method_double.rb#61
|
3781
3787
|
def define_proxy_method; end
|
3782
3788
|
|
3783
3789
|
# @private
|
3784
3790
|
#
|
3785
|
-
# source://rspec-mocks//lib/rspec/mocks/method_double.rb#
|
3791
|
+
# source://rspec-mocks//lib/rspec/mocks/method_double.rb#9
|
3786
3792
|
def expectations; end
|
3787
3793
|
|
3788
3794
|
# The type of message expectation to create has been extracted to its own
|
@@ -3790,33 +3796,33 @@ class RSpec::Mocks::MethodDouble
|
|
3790
3796
|
#
|
3791
3797
|
# @private
|
3792
3798
|
#
|
3793
|
-
# source://rspec-mocks//lib/rspec/mocks/method_double.rb#
|
3799
|
+
# source://rspec-mocks//lib/rspec/mocks/method_double.rb#154
|
3794
3800
|
def message_expectation_class; end
|
3795
3801
|
|
3796
3802
|
# @private
|
3797
3803
|
#
|
3798
|
-
# source://rspec-mocks//lib/rspec/mocks/method_double.rb#
|
3804
|
+
# source://rspec-mocks//lib/rspec/mocks/method_double.rb#9
|
3799
3805
|
def method_name; end
|
3800
3806
|
|
3801
3807
|
# @private
|
3802
3808
|
#
|
3803
|
-
# source://rspec-mocks//lib/rspec/mocks/method_double.rb#
|
3809
|
+
# source://rspec-mocks//lib/rspec/mocks/method_double.rb#9
|
3804
3810
|
def method_stasher; end
|
3805
3811
|
|
3806
3812
|
# @private
|
3807
3813
|
#
|
3808
|
-
# source://rspec-mocks//lib/rspec/mocks/method_double.rb#
|
3814
|
+
# source://rspec-mocks//lib/rspec/mocks/method_double.rb#9
|
3809
3815
|
def object; end
|
3810
3816
|
|
3811
3817
|
# @private
|
3812
3818
|
#
|
3813
|
-
# source://rspec-mocks//lib/rspec/mocks/method_double.rb#
|
3819
|
+
# source://rspec-mocks//lib/rspec/mocks/method_double.rb#49
|
3814
3820
|
def object_singleton_class; end
|
3815
3821
|
|
3816
|
-
# source://rspec-mocks//lib/rspec/mocks/method_double.rb#
|
3822
|
+
# source://rspec-mocks//lib/rspec/mocks/method_double.rb#24
|
3817
3823
|
def original_implementation_callable; end
|
3818
3824
|
|
3819
|
-
# source://rspec-mocks//lib/rspec/mocks/method_double.rb#
|
3825
|
+
# source://rspec-mocks//lib/rspec/mocks/method_double.rb#37
|
3820
3826
|
def original_method; end
|
3821
3827
|
|
3822
3828
|
# The implementation of the proxied method. Subclasses may override this
|
@@ -3824,85 +3830,90 @@ class RSpec::Mocks::MethodDouble
|
|
3824
3830
|
#
|
3825
3831
|
# @private
|
3826
3832
|
#
|
3827
|
-
# source://rspec-mocks//lib/rspec/mocks/method_double.rb#
|
3833
|
+
# source://rspec-mocks//lib/rspec/mocks/method_double.rb#90
|
3828
3834
|
def proxy_method_invoked(_obj, *args, **_arg2, &block); end
|
3829
3835
|
|
3830
3836
|
# @private
|
3831
3837
|
#
|
3832
|
-
# source://rspec-mocks//lib/rspec/mocks/method_double.rb#
|
3838
|
+
# source://rspec-mocks//lib/rspec/mocks/method_double.rb#226
|
3833
3839
|
def raise_method_not_stubbed_error; end
|
3834
3840
|
|
3835
3841
|
# @private
|
3836
3842
|
#
|
3837
|
-
# source://rspec-mocks//lib/rspec/mocks/method_double.rb#
|
3843
|
+
# source://rspec-mocks//lib/rspec/mocks/method_double.rb#215
|
3838
3844
|
def remove_stub; end
|
3839
3845
|
|
3840
3846
|
# @private
|
3841
3847
|
#
|
3842
|
-
# source://rspec-mocks//lib/rspec/mocks/method_double.rb#
|
3848
|
+
# source://rspec-mocks//lib/rspec/mocks/method_double.rb#221
|
3843
3849
|
def remove_stub_if_present; end
|
3844
3850
|
|
3845
3851
|
# @private
|
3846
3852
|
#
|
3847
|
-
# source://rspec-mocks//lib/rspec/mocks/method_double.rb#
|
3853
|
+
# source://rspec-mocks//lib/rspec/mocks/method_double.rb#139
|
3848
3854
|
def reset; end
|
3849
3855
|
|
3850
3856
|
# @private
|
3851
3857
|
#
|
3852
|
-
# source://rspec-mocks//lib/rspec/mocks/method_double.rb#
|
3858
|
+
# source://rspec-mocks//lib/rspec/mocks/method_double.rb#96
|
3853
3859
|
def restore_original_method; end
|
3854
3860
|
|
3855
3861
|
# @private
|
3856
3862
|
#
|
3857
|
-
# source://rspec-mocks//lib/rspec/mocks/method_double.rb#
|
3863
|
+
# source://rspec-mocks//lib/rspec/mocks/method_double.rb#126
|
3858
3864
|
def restore_original_visibility; end
|
3859
3865
|
|
3860
|
-
# source://rspec-mocks//lib/rspec/mocks/method_double.rb#
|
3866
|
+
# source://rspec-mocks//lib/rspec/mocks/method_double.rb#24
|
3861
3867
|
def save_original_implementation_callable!; end
|
3862
3868
|
|
3863
3869
|
# @private
|
3864
3870
|
#
|
3865
|
-
# source://rspec-mocks//lib/rspec/mocks/method_double.rb#
|
3871
|
+
# source://rspec-mocks//lib/rspec/mocks/method_double.rb#200
|
3866
3872
|
def setup_simple_method_double(method_name, response, collection, error_generator = T.unsafe(nil), backtrace_line = T.unsafe(nil)); end
|
3867
3873
|
|
3868
3874
|
# @private
|
3869
3875
|
#
|
3870
|
-
# source://rspec-mocks//lib/rspec/mocks/method_double.rb#
|
3876
|
+
# source://rspec-mocks//lib/rspec/mocks/method_double.rb#115
|
3871
3877
|
def show_frozen_warning; end
|
3872
3878
|
|
3873
3879
|
# @private
|
3874
3880
|
#
|
3875
|
-
# source://rspec-mocks//lib/rspec/mocks/method_double.rb#
|
3881
|
+
# source://rspec-mocks//lib/rspec/mocks/method_double.rb#9
|
3876
3882
|
def stubs; end
|
3877
3883
|
|
3878
3884
|
# @private
|
3879
3885
|
#
|
3880
|
-
# source://rspec-mocks//lib/rspec/mocks/method_double.rb#
|
3886
|
+
# source://rspec-mocks//lib/rspec/mocks/method_double.rb#134
|
3881
3887
|
def verify; end
|
3882
3888
|
|
3883
3889
|
# @private
|
3884
3890
|
#
|
3885
|
-
# source://rspec-mocks//lib/rspec/mocks/method_double.rb#
|
3891
|
+
# source://rspec-mocks//lib/rspec/mocks/method_double.rb#44
|
3886
3892
|
def visibility; end
|
3887
3893
|
|
3888
3894
|
private
|
3889
3895
|
|
3890
|
-
# source://rspec-mocks//lib/rspec/mocks/method_double.rb#
|
3896
|
+
# source://rspec-mocks//lib/rspec/mocks/method_double.rb#248
|
3891
3897
|
def definition_target; end
|
3892
3898
|
|
3893
|
-
# source://rspec-mocks//lib/rspec/mocks/method_double.rb#
|
3899
|
+
# source://rspec-mocks//lib/rspec/mocks/method_double.rb#268
|
3894
3900
|
def new_rspec_prepended_module; end
|
3895
3901
|
|
3896
|
-
# source://rspec-mocks//lib/rspec/mocks/method_double.rb#
|
3902
|
+
# source://rspec-mocks//lib/rspec/mocks/method_double.rb#286
|
3897
3903
|
def remove_method_from_definition_target; end
|
3898
3904
|
|
3899
|
-
# source://rspec-mocks//lib/rspec/mocks/method_double.rb#
|
3905
|
+
# source://rspec-mocks//lib/rspec/mocks/method_double.rb#252
|
3900
3906
|
def usable_rspec_prepended_module; end
|
3901
3907
|
end
|
3902
3908
|
|
3909
|
+
# @private TODO: drop in favor of FrozenError in ruby 2.5+
|
3910
|
+
#
|
3911
|
+
# source://rspec-mocks//lib/rspec/mocks/method_double.rb#6
|
3912
|
+
RSpec::Mocks::MethodDouble::FROZEN_ERROR_MSG = T.let(T.unsafe(nil), Regexp)
|
3913
|
+
|
3903
3914
|
# We subclass `Module` in order to be able to easily detect our prepended module.
|
3904
3915
|
#
|
3905
|
-
# source://rspec-mocks//lib/rspec/mocks/method_double.rb#
|
3916
|
+
# source://rspec-mocks//lib/rspec/mocks/method_double.rb#246
|
3906
3917
|
class RSpec::Mocks::MethodDouble::RSpecPrependedModule < ::Module; end
|
3907
3918
|
|
3908
3919
|
# Represents a method on an object that may or may not be defined.
|
@@ -4145,7 +4156,7 @@ RSpec::Mocks::ObjectReference::MODULE_NAME_METHOD = T.let(T.unsafe(nil), Unbound
|
|
4145
4156
|
#
|
4146
4157
|
# @private
|
4147
4158
|
#
|
4148
|
-
# source://rspec-mocks//lib/rspec/mocks/verifying_double.rb#
|
4159
|
+
# source://rspec-mocks//lib/rspec/mocks/verifying_double.rb#110
|
4149
4160
|
class RSpec::Mocks::ObjectVerifyingDouble
|
4150
4161
|
include ::RSpec::Mocks::TestDouble
|
4151
4162
|
include ::RSpec::Mocks::VerifyingDouble
|
@@ -4157,17 +4168,17 @@ end
|
|
4157
4168
|
#
|
4158
4169
|
# @private
|
4159
4170
|
#
|
4160
|
-
# source://rspec-mocks//lib/rspec/mocks/verifying_double.rb#
|
4171
|
+
# source://rspec-mocks//lib/rspec/mocks/verifying_double.rb#87
|
4161
4172
|
module RSpec::Mocks::ObjectVerifyingDoubleMethods
|
4162
4173
|
include ::RSpec::Mocks::TestDouble
|
4163
4174
|
include ::RSpec::Mocks::VerifyingDouble
|
4164
4175
|
|
4165
|
-
# source://rspec-mocks//lib/rspec/mocks/verifying_double.rb#
|
4176
|
+
# source://rspec-mocks//lib/rspec/mocks/verifying_double.rb#91
|
4166
4177
|
def as_stubbed_const(options = T.unsafe(nil)); end
|
4167
4178
|
|
4168
4179
|
private
|
4169
4180
|
|
4170
|
-
# source://rspec-mocks//lib/rspec/mocks/verifying_double.rb#
|
4181
|
+
# source://rspec-mocks//lib/rspec/mocks/verifying_double.rb#98
|
4171
4182
|
def __build_mock_proxy(order_group); end
|
4172
4183
|
end
|
4173
4184
|
|
@@ -4242,7 +4253,7 @@ class RSpec::Mocks::OutsideOfExampleError < ::StandardError; end
|
|
4242
4253
|
|
4243
4254
|
# @private
|
4244
4255
|
#
|
4245
|
-
# source://rspec-mocks//lib/rspec/mocks/proxy.rb#
|
4256
|
+
# source://rspec-mocks//lib/rspec/mocks/proxy.rb#459
|
4246
4257
|
class RSpec::Mocks::PartialClassDoubleProxy < ::RSpec::Mocks::PartialDoubleProxy
|
4247
4258
|
include ::RSpec::Mocks::PartialClassDoubleProxyMethods
|
4248
4259
|
end
|
@@ -4254,9 +4265,9 @@ end
|
|
4254
4265
|
#
|
4255
4266
|
# @private
|
4256
4267
|
#
|
4257
|
-
# source://rspec-mocks//lib/rspec/mocks/proxy.rb#
|
4268
|
+
# source://rspec-mocks//lib/rspec/mocks/proxy.rb#383
|
4258
4269
|
module RSpec::Mocks::PartialClassDoubleProxyMethods
|
4259
|
-
# source://rspec-mocks//lib/rspec/mocks/proxy.rb#
|
4270
|
+
# source://rspec-mocks//lib/rspec/mocks/proxy.rb#384
|
4260
4271
|
def initialize(source_space, *args); end
|
4261
4272
|
|
4262
4273
|
# Consider this situation:
|
@@ -4280,54 +4291,54 @@ module RSpec::Mocks::PartialClassDoubleProxyMethods
|
|
4280
4291
|
# That's what this method (together with `original_unbound_method_handle_from_ancestor_for`)
|
4281
4292
|
# does.
|
4282
4293
|
#
|
4283
|
-
# source://rspec-mocks//lib/rspec/mocks/proxy.rb#
|
4294
|
+
# source://rspec-mocks//lib/rspec/mocks/proxy.rb#409
|
4284
4295
|
def original_method_handle_for(message); end
|
4285
4296
|
|
4286
4297
|
protected
|
4287
4298
|
|
4288
|
-
# source://rspec-mocks//lib/rspec/mocks/proxy.rb#
|
4299
|
+
# source://rspec-mocks//lib/rspec/mocks/proxy.rb#437
|
4289
4300
|
def method_double_from_ancestor_for(message); end
|
4290
4301
|
|
4291
|
-
# source://rspec-mocks//lib/rspec/mocks/proxy.rb#
|
4302
|
+
# source://rspec-mocks//lib/rspec/mocks/proxy.rb#432
|
4292
4303
|
def original_unbound_method_handle_from_ancestor_for(message); end
|
4293
4304
|
|
4294
|
-
# source://rspec-mocks//lib/rspec/mocks/proxy.rb#
|
4305
|
+
# source://rspec-mocks//lib/rspec/mocks/proxy.rb#447
|
4295
4306
|
def superclass_proxy; end
|
4296
4307
|
end
|
4297
4308
|
|
4298
4309
|
# @private
|
4299
4310
|
#
|
4300
|
-
# source://rspec-mocks//lib/rspec/mocks/proxy.rb#
|
4311
|
+
# source://rspec-mocks//lib/rspec/mocks/proxy.rb#320
|
4301
4312
|
class RSpec::Mocks::PartialDoubleProxy < ::RSpec::Mocks::Proxy
|
4302
4313
|
# @private
|
4303
4314
|
#
|
4304
|
-
# source://rspec-mocks//lib/rspec/mocks/proxy.rb#
|
4315
|
+
# source://rspec-mocks//lib/rspec/mocks/proxy.rb#334
|
4305
4316
|
def add_simple_expectation(method_name, response, location); end
|
4306
4317
|
|
4307
4318
|
# @private
|
4308
4319
|
#
|
4309
|
-
# source://rspec-mocks//lib/rspec/mocks/proxy.rb#
|
4320
|
+
# source://rspec-mocks//lib/rspec/mocks/proxy.rb#340
|
4310
4321
|
def add_simple_stub(method_name, response); end
|
4311
4322
|
|
4312
|
-
# source://rspec-mocks//lib/rspec/mocks/proxy.rb#
|
4323
|
+
# source://rspec-mocks//lib/rspec/mocks/proxy.rb#357
|
4313
4324
|
def message_received(message, *args, **_arg2, &block); end
|
4314
4325
|
|
4315
|
-
# source://rspec-mocks//lib/rspec/mocks/proxy.rb#
|
4326
|
+
# source://rspec-mocks//lib/rspec/mocks/proxy.rb#321
|
4316
4327
|
def original_method_handle_for(message); end
|
4317
4328
|
|
4318
|
-
# source://rspec-mocks//lib/rspec/mocks/proxy.rb#
|
4329
|
+
# source://rspec-mocks//lib/rspec/mocks/proxy.rb#352
|
4319
4330
|
def reset; end
|
4320
4331
|
|
4321
4332
|
# @private
|
4322
4333
|
#
|
4323
|
-
# source://rspec-mocks//lib/rspec/mocks/proxy.rb#
|
4334
|
+
# source://rspec-mocks//lib/rspec/mocks/proxy.rb#346
|
4324
4335
|
def visibility_for(method_name); end
|
4325
4336
|
|
4326
4337
|
private
|
4327
4338
|
|
4328
4339
|
# @return [Boolean]
|
4329
4340
|
#
|
4330
|
-
# source://rspec-mocks//lib/rspec/mocks/proxy.rb#
|
4341
|
+
# source://rspec-mocks//lib/rspec/mocks/proxy.rb#367
|
4331
4342
|
def any_instance_class_recorder_observing_method?(klass, method_name); end
|
4332
4343
|
end
|
4333
4344
|
|
@@ -4343,22 +4354,22 @@ class RSpec::Mocks::Proxy
|
|
4343
4354
|
|
4344
4355
|
# @private
|
4345
4356
|
#
|
4346
|
-
# source://rspec-mocks//lib/rspec/mocks/proxy.rb#
|
4357
|
+
# source://rspec-mocks//lib/rspec/mocks/proxy.rb#68
|
4347
4358
|
def add_message_expectation(method_name, opts = T.unsafe(nil), &block); end
|
4348
4359
|
|
4349
4360
|
# @private
|
4350
4361
|
#
|
4351
|
-
# source://rspec-mocks//lib/rspec/mocks/proxy.rb#
|
4362
|
+
# source://rspec-mocks//lib/rspec/mocks/proxy.rb#82
|
4352
4363
|
def add_simple_expectation(method_name, response, location); end
|
4353
4364
|
|
4354
4365
|
# @private
|
4355
4366
|
#
|
4356
|
-
# source://rspec-mocks//lib/rspec/mocks/proxy.rb#
|
4367
|
+
# source://rspec-mocks//lib/rspec/mocks/proxy.rb#143
|
4357
4368
|
def add_simple_stub(method_name, response); end
|
4358
4369
|
|
4359
4370
|
# @private
|
4360
4371
|
#
|
4361
|
-
# source://rspec-mocks//lib/rspec/mocks/proxy.rb#
|
4372
|
+
# source://rspec-mocks//lib/rspec/mocks/proxy.rb#137
|
4362
4373
|
def add_stub(method_name, opts = T.unsafe(nil), &implementation); end
|
4363
4374
|
|
4364
4375
|
# Tells the object to ignore any messages that aren't explicitly set as
|
@@ -4366,17 +4377,17 @@ class RSpec::Mocks::Proxy
|
|
4366
4377
|
#
|
4367
4378
|
# @private
|
4368
4379
|
#
|
4369
|
-
# source://rspec-mocks//lib/rspec/mocks/proxy.rb#
|
4380
|
+
# source://rspec-mocks//lib/rspec/mocks/proxy.rb#55
|
4370
4381
|
def as_null_object; end
|
4371
4382
|
|
4372
4383
|
# @private
|
4373
4384
|
#
|
4374
|
-
# source://rspec-mocks//lib/rspec/mocks/proxy.rb#
|
4385
|
+
# source://rspec-mocks//lib/rspec/mocks/proxy.rb#87
|
4375
4386
|
def build_expectation(method_name); end
|
4376
4387
|
|
4377
4388
|
# @private
|
4378
4389
|
#
|
4379
|
-
# source://rspec-mocks//lib/rspec/mocks/proxy.rb#
|
4390
|
+
# source://rspec-mocks//lib/rspec/mocks/proxy.rb#120
|
4380
4391
|
def check_for_unexpected_arguments(expectation); end
|
4381
4392
|
|
4382
4393
|
# @private
|
@@ -4393,121 +4404,121 @@ class RSpec::Mocks::Proxy
|
|
4393
4404
|
# @private
|
4394
4405
|
# @return [Boolean]
|
4395
4406
|
#
|
4396
|
-
# source://rspec-mocks//lib/rspec/mocks/proxy.rb#
|
4407
|
+
# source://rspec-mocks//lib/rspec/mocks/proxy.rb#184
|
4397
4408
|
def has_negative_expectation?(message); end
|
4398
4409
|
|
4399
4410
|
# @private
|
4400
4411
|
#
|
4401
|
-
# source://rspec-mocks//lib/rspec/mocks/proxy.rb#
|
4412
|
+
# source://rspec-mocks//lib/rspec/mocks/proxy.rb#198
|
4402
4413
|
def message_received(message, *args, **_arg2, &block); end
|
4403
4414
|
|
4404
4415
|
# @private
|
4405
4416
|
#
|
4406
|
-
# source://rspec-mocks//lib/rspec/mocks/proxy.rb#
|
4417
|
+
# source://rspec-mocks//lib/rspec/mocks/proxy.rb#177
|
4407
4418
|
def messages_arg_list; end
|
4408
4419
|
|
4409
4420
|
# @private
|
4410
4421
|
#
|
4411
|
-
# source://rspec-mocks//lib/rspec/mocks/proxy.rb#
|
4422
|
+
# source://rspec-mocks//lib/rspec/mocks/proxy.rb#263
|
4412
4423
|
def method_double_if_exists_for_message(message); end
|
4413
4424
|
|
4414
4425
|
# @private
|
4415
4426
|
# @return [Boolean]
|
4416
4427
|
#
|
4417
|
-
# source://rspec-mocks//lib/rspec/mocks/proxy.rb#
|
4428
|
+
# source://rspec-mocks//lib/rspec/mocks/proxy.rb#48
|
4418
4429
|
def null_object?; end
|
4419
4430
|
|
4420
4431
|
# @private
|
4421
4432
|
#
|
4422
|
-
# source://rspec-mocks//lib/rspec/mocks/proxy.rb#
|
4433
|
+
# source://rspec-mocks//lib/rspec/mocks/proxy.rb#45
|
4423
4434
|
def object; end
|
4424
4435
|
|
4425
4436
|
# @private
|
4426
4437
|
#
|
4427
|
-
# source://rspec-mocks//lib/rspec/mocks/proxy.rb#
|
4438
|
+
# source://rspec-mocks//lib/rspec/mocks/proxy.rb#61
|
4428
4439
|
def original_method_handle_for(_message); end
|
4429
4440
|
|
4430
|
-
# source://rspec-mocks//lib/rspec/mocks/proxy.rb#
|
4441
|
+
# source://rspec-mocks//lib/rspec/mocks/proxy.rb#257
|
4431
4442
|
def prepended_modules_of_singleton_class; end
|
4432
4443
|
|
4433
4444
|
# @private
|
4434
4445
|
#
|
4435
|
-
# source://rspec-mocks//lib/rspec/mocks/proxy.rb#
|
4446
|
+
# source://rspec-mocks//lib/rspec/mocks/proxy.rb#236
|
4436
4447
|
def raise_missing_default_stub_error(expectation, args_for_multiple_calls); end
|
4437
4448
|
|
4438
4449
|
# @private
|
4439
4450
|
#
|
4440
|
-
# source://rspec-mocks//lib/rspec/mocks/proxy.rb#
|
4451
|
+
# source://rspec-mocks//lib/rspec/mocks/proxy.rb#231
|
4441
4452
|
def raise_unexpected_message_error(method_name, args); end
|
4442
4453
|
|
4443
4454
|
# @private
|
4444
4455
|
# @return [Boolean]
|
4445
4456
|
#
|
4446
|
-
# source://rspec-mocks//lib/rspec/mocks/proxy.rb#
|
4457
|
+
# source://rspec-mocks//lib/rspec/mocks/proxy.rb#170
|
4447
4458
|
def received_message?(method_name, *args, &block); end
|
4448
4459
|
|
4449
4460
|
# @private
|
4450
4461
|
#
|
4451
|
-
# source://rspec-mocks//lib/rspec/mocks/proxy.rb#
|
4452
|
-
def record_message_received(message, *args, &block); end
|
4462
|
+
# source://rspec-mocks//lib/rspec/mocks/proxy.rb#189
|
4463
|
+
def record_message_received(message, *args, **_arg2, &block); end
|
4453
4464
|
|
4454
4465
|
# @private
|
4455
4466
|
#
|
4456
|
-
# source://rspec-mocks//lib/rspec/mocks/proxy.rb#
|
4467
|
+
# source://rspec-mocks//lib/rspec/mocks/proxy.rb#148
|
4457
4468
|
def remove_stub(method_name); end
|
4458
4469
|
|
4459
4470
|
# @private
|
4460
4471
|
#
|
4461
|
-
# source://rspec-mocks//lib/rspec/mocks/proxy.rb#
|
4472
|
+
# source://rspec-mocks//lib/rspec/mocks/proxy.rb#153
|
4462
4473
|
def remove_stub_if_present(method_name); end
|
4463
4474
|
|
4464
4475
|
# @private
|
4465
4476
|
#
|
4466
|
-
# source://rspec-mocks//lib/rspec/mocks/proxy.rb#
|
4477
|
+
# source://rspec-mocks//lib/rspec/mocks/proxy.rb#97
|
4467
4478
|
def replay_received_message_on(expectation, &block); end
|
4468
4479
|
|
4469
4480
|
# @private
|
4470
4481
|
#
|
4471
|
-
# source://rspec-mocks//lib/rspec/mocks/proxy.rb#
|
4482
|
+
# source://rspec-mocks//lib/rspec/mocks/proxy.rb#163
|
4472
4483
|
def reset; end
|
4473
4484
|
|
4474
4485
|
# @private
|
4475
4486
|
#
|
4476
|
-
# source://rspec-mocks//lib/rspec/mocks/proxy.rb#
|
4487
|
+
# source://rspec-mocks//lib/rspec/mocks/proxy.rb#158
|
4477
4488
|
def verify; end
|
4478
4489
|
|
4479
4490
|
# @private
|
4480
4491
|
#
|
4481
|
-
# source://rspec-mocks//lib/rspec/mocks/proxy.rb#
|
4492
|
+
# source://rspec-mocks//lib/rspec/mocks/proxy.rb#241
|
4482
4493
|
def visibility_for(_method_name); end
|
4483
4494
|
|
4484
4495
|
private
|
4485
4496
|
|
4486
|
-
# source://rspec-mocks//lib/rspec/mocks/proxy.rb#
|
4497
|
+
# source://rspec-mocks//lib/rspec/mocks/proxy.rb#280
|
4487
4498
|
def find_almost_matching_expectation(method_name, *args, **_arg2); end
|
4488
4499
|
|
4489
|
-
# source://rspec-mocks//lib/rspec/mocks/proxy.rb#
|
4500
|
+
# source://rspec-mocks//lib/rspec/mocks/proxy.rb#304
|
4490
4501
|
def find_almost_matching_stub(method_name, *args, **_arg2); end
|
4491
4502
|
|
4492
|
-
# source://rspec-mocks//lib/rspec/mocks/proxy.rb#
|
4503
|
+
# source://rspec-mocks//lib/rspec/mocks/proxy.rb#287
|
4493
4504
|
def find_best_matching_expectation_for(method_name); end
|
4494
4505
|
|
4495
|
-
# source://rspec-mocks//lib/rspec/mocks/proxy.rb#
|
4506
|
+
# source://rspec-mocks//lib/rspec/mocks/proxy.rb#273
|
4496
4507
|
def find_matching_expectation(method_name, *args, **_arg2); end
|
4497
4508
|
|
4498
|
-
# source://rspec-mocks//lib/rspec/mocks/proxy.rb#
|
4509
|
+
# source://rspec-mocks//lib/rspec/mocks/proxy.rb#299
|
4499
4510
|
def find_matching_method_stub(method_name, *args, **_arg2); end
|
4500
4511
|
|
4501
|
-
# source://rspec-mocks//lib/rspec/mocks/proxy.rb#
|
4512
|
+
# source://rspec-mocks//lib/rspec/mocks/proxy.rb#269
|
4502
4513
|
def method_double_for(message); end
|
4503
4514
|
|
4504
4515
|
class << self
|
4505
|
-
# source://rspec-mocks//lib/rspec/mocks/proxy.rb#
|
4516
|
+
# source://rspec-mocks//lib/rspec/mocks/proxy.rb#247
|
4506
4517
|
def prepended_modules_of(klass); end
|
4507
4518
|
end
|
4508
4519
|
end
|
4509
4520
|
|
4510
|
-
# source://rspec-mocks//lib/rspec/mocks/proxy.rb#
|
4521
|
+
# source://rspec-mocks//lib/rspec/mocks/proxy.rb#65
|
4511
4522
|
RSpec::Mocks::Proxy::DEFAULT_MESSAGE_EXPECTATION_OPTS = T.let(T.unsafe(nil), Hash)
|
4512
4523
|
|
4513
4524
|
# @private
|
@@ -4561,55 +4572,55 @@ end
|
|
4561
4572
|
|
4562
4573
|
# @private
|
4563
4574
|
#
|
4564
|
-
# source://rspec-mocks//lib/rspec/mocks/proxy.rb#
|
4575
|
+
# source://rspec-mocks//lib/rspec/mocks/proxy.rb#464
|
4565
4576
|
class RSpec::Mocks::ProxyForNil < ::RSpec::Mocks::PartialDoubleProxy
|
4566
4577
|
# @return [ProxyForNil] a new instance of ProxyForNil
|
4567
4578
|
#
|
4568
|
-
# source://rspec-mocks//lib/rspec/mocks/proxy.rb#
|
4579
|
+
# source://rspec-mocks//lib/rspec/mocks/proxy.rb#465
|
4569
4580
|
def initialize(order_group); end
|
4570
4581
|
|
4571
|
-
# source://rspec-mocks//lib/rspec/mocks/proxy.rb#
|
4582
|
+
# source://rspec-mocks//lib/rspec/mocks/proxy.rb#473
|
4572
4583
|
def add_message_expectation(method_name, opts = T.unsafe(nil), &block); end
|
4573
4584
|
|
4574
|
-
# source://rspec-mocks//lib/rspec/mocks/proxy.rb#
|
4585
|
+
# source://rspec-mocks//lib/rspec/mocks/proxy.rb#478
|
4575
4586
|
def add_stub(method_name, opts = T.unsafe(nil), &implementation); end
|
4576
4587
|
|
4577
4588
|
# Returns the value of attribute disallow_expectations.
|
4578
4589
|
#
|
4579
|
-
# source://rspec-mocks//lib/rspec/mocks/proxy.rb#
|
4590
|
+
# source://rspec-mocks//lib/rspec/mocks/proxy.rb#470
|
4580
4591
|
def disallow_expectations; end
|
4581
4592
|
|
4582
4593
|
# Sets the attribute disallow_expectations
|
4583
4594
|
#
|
4584
4595
|
# @param value the value to set the attribute disallow_expectations to.
|
4585
4596
|
#
|
4586
|
-
# source://rspec-mocks//lib/rspec/mocks/proxy.rb#
|
4597
|
+
# source://rspec-mocks//lib/rspec/mocks/proxy.rb#470
|
4587
4598
|
def disallow_expectations=(_arg0); end
|
4588
4599
|
|
4589
4600
|
# Returns the value of attribute warn_about_expectations.
|
4590
4601
|
#
|
4591
|
-
# source://rspec-mocks//lib/rspec/mocks/proxy.rb#
|
4602
|
+
# source://rspec-mocks//lib/rspec/mocks/proxy.rb#471
|
4592
4603
|
def warn_about_expectations; end
|
4593
4604
|
|
4594
4605
|
# Sets the attribute warn_about_expectations
|
4595
4606
|
#
|
4596
4607
|
# @param value the value to set the attribute warn_about_expectations to.
|
4597
4608
|
#
|
4598
|
-
# source://rspec-mocks//lib/rspec/mocks/proxy.rb#
|
4609
|
+
# source://rspec-mocks//lib/rspec/mocks/proxy.rb#471
|
4599
4610
|
def warn_about_expectations=(_arg0); end
|
4600
4611
|
|
4601
4612
|
private
|
4602
4613
|
|
4603
|
-
# source://rspec-mocks//lib/rspec/mocks/proxy.rb#
|
4614
|
+
# source://rspec-mocks//lib/rspec/mocks/proxy.rb#515
|
4604
4615
|
def raise_error(method_name); end
|
4605
4616
|
|
4606
|
-
# source://rspec-mocks//lib/rspec/mocks/proxy.rb#
|
4617
|
+
# source://rspec-mocks//lib/rspec/mocks/proxy.rb#485
|
4607
4618
|
def set_expectation_behavior; end
|
4608
4619
|
|
4609
|
-
# source://rspec-mocks//lib/rspec/mocks/proxy.rb#
|
4620
|
+
# source://rspec-mocks//lib/rspec/mocks/proxy.rb#510
|
4610
4621
|
def warn(method_name); end
|
4611
4622
|
|
4612
|
-
# source://rspec-mocks//lib/rspec/mocks/proxy.rb#
|
4623
|
+
# source://rspec-mocks//lib/rspec/mocks/proxy.rb#499
|
4613
4624
|
def warn_or_raise!(method_name); end
|
4614
4625
|
end
|
4615
4626
|
|
@@ -5043,9 +5054,9 @@ end
|
|
5043
5054
|
|
5044
5055
|
# @private
|
5045
5056
|
#
|
5046
|
-
# source://rspec-mocks//lib/rspec/mocks/proxy.rb#
|
5057
|
+
# source://rspec-mocks//lib/rspec/mocks/proxy.rb#311
|
5047
5058
|
class RSpec::Mocks::TestDoubleProxy < ::RSpec::Mocks::Proxy
|
5048
|
-
# source://rspec-mocks//lib/rspec/mocks/proxy.rb#
|
5059
|
+
# source://rspec-mocks//lib/rspec/mocks/proxy.rb#312
|
5049
5060
|
def reset; end
|
5050
5061
|
end
|
5051
5062
|
|
@@ -5058,11 +5069,11 @@ class RSpec::Mocks::UnsupportedMatcherError < ::StandardError; end
|
|
5058
5069
|
#
|
5059
5070
|
# source://rspec-mocks//lib/rspec/mocks/verifying_double.rb#6
|
5060
5071
|
module RSpec::Mocks::VerifyingDouble
|
5061
|
-
# source://rspec-mocks//lib/rspec/mocks/verifying_double.rb#
|
5072
|
+
# source://rspec-mocks//lib/rspec/mocks/verifying_double.rb#53
|
5062
5073
|
def initialize(doubled_module, *args); end
|
5063
5074
|
|
5064
5075
|
# source://rspec-mocks//lib/rspec/mocks/verifying_double.rb#39
|
5065
|
-
def __send__(name, *args, &block); end
|
5076
|
+
def __send__(name, *args, **_arg2, &block); end
|
5066
5077
|
|
5067
5078
|
# source://rspec-mocks//lib/rspec/mocks/verifying_double.rb#20
|
5068
5079
|
def method_missing(message, *args, &block); end
|
@@ -5072,8 +5083,8 @@ module RSpec::Mocks::VerifyingDouble
|
|
5072
5083
|
# source://rspec-mocks//lib/rspec/mocks/verifying_double.rb#7
|
5073
5084
|
def respond_to?(message, include_private = T.unsafe(nil)); end
|
5074
5085
|
|
5075
|
-
# source://rspec-mocks//lib/rspec/mocks/verifying_double.rb#
|
5076
|
-
def send(name, *args, &block); end
|
5086
|
+
# source://rspec-mocks//lib/rspec/mocks/verifying_double.rb#48
|
5087
|
+
def send(name, *args, **_arg2, &block); end
|
5077
5088
|
end
|
5078
5089
|
|
5079
5090
|
# @private
|
@@ -5087,11 +5098,11 @@ class RSpec::Mocks::VerifyingDoubleNotDefinedError < ::StandardError; end
|
|
5087
5098
|
#
|
5088
5099
|
# @private
|
5089
5100
|
#
|
5090
|
-
# source://rspec-mocks//lib/rspec/mocks/verifying_proxy.rb#
|
5101
|
+
# source://rspec-mocks//lib/rspec/mocks/verifying_proxy.rb#215
|
5091
5102
|
class RSpec::Mocks::VerifyingExistingClassNewMethodDouble < ::RSpec::Mocks::VerifyingExistingMethodDouble
|
5092
5103
|
# @yield [Support::MethodSignature.new(object.instance_method(:initialize))]
|
5093
5104
|
#
|
5094
|
-
# source://rspec-mocks//lib/rspec/mocks/verifying_proxy.rb#
|
5105
|
+
# source://rspec-mocks//lib/rspec/mocks/verifying_proxy.rb#216
|
5095
5106
|
def with_signature; end
|
5096
5107
|
end
|
5097
5108
|
|
@@ -5103,25 +5114,25 @@ end
|
|
5103
5114
|
#
|
5104
5115
|
# @private
|
5105
5116
|
#
|
5106
|
-
# source://rspec-mocks//lib/rspec/mocks/verifying_proxy.rb#
|
5117
|
+
# source://rspec-mocks//lib/rspec/mocks/verifying_proxy.rb#180
|
5107
5118
|
class RSpec::Mocks::VerifyingExistingMethodDouble < ::RSpec::Mocks::VerifyingMethodDouble
|
5108
5119
|
# @return [VerifyingExistingMethodDouble] a new instance of VerifyingExistingMethodDouble
|
5109
5120
|
#
|
5110
|
-
# source://rspec-mocks//lib/rspec/mocks/verifying_proxy.rb#
|
5121
|
+
# source://rspec-mocks//lib/rspec/mocks/verifying_proxy.rb#181
|
5111
5122
|
def initialize(object, method_name, proxy); end
|
5112
5123
|
|
5113
5124
|
# @return [Boolean]
|
5114
5125
|
#
|
5115
|
-
# source://rspec-mocks//lib/rspec/mocks/verifying_proxy.rb#
|
5126
|
+
# source://rspec-mocks//lib/rspec/mocks/verifying_proxy.rb#195
|
5116
5127
|
def unimplemented?; end
|
5117
5128
|
|
5118
5129
|
# @yield [Support::MethodSignature.new(original_implementation_callable)]
|
5119
5130
|
#
|
5120
|
-
# source://rspec-mocks//lib/rspec/mocks/verifying_proxy.rb#
|
5131
|
+
# source://rspec-mocks//lib/rspec/mocks/verifying_proxy.rb#191
|
5121
5132
|
def with_signature; end
|
5122
5133
|
|
5123
5134
|
class << self
|
5124
|
-
# source://rspec-mocks//lib/rspec/mocks/verifying_proxy.rb#
|
5135
|
+
# source://rspec-mocks//lib/rspec/mocks/verifying_proxy.rb#199
|
5125
5136
|
def for(object, method_name, proxy); end
|
5126
5137
|
end
|
5127
5138
|
end
|
@@ -5132,7 +5143,7 @@ end
|
|
5132
5143
|
#
|
5133
5144
|
# @api private
|
5134
5145
|
#
|
5135
|
-
# source://rspec-mocks//lib/rspec/mocks/verifying_message_expectation.rb#
|
5146
|
+
# source://rspec-mocks//lib/rspec/mocks/verifying_message_expectation.rb#9
|
5136
5147
|
class RSpec::Mocks::VerifyingMessageExpectation < ::RSpec::Mocks::MessageExpectation
|
5137
5148
|
# @api private
|
5138
5149
|
# @return [VerifyingMessageExpectation] a new instance of VerifyingMessageExpectation
|
@@ -5201,9 +5212,9 @@ class RSpec::Mocks::VerifyingMethodDouble < ::RSpec::Mocks::MethodDouble
|
|
5201
5212
|
def message_expectation_class; end
|
5202
5213
|
|
5203
5214
|
# source://rspec-mocks//lib/rspec/mocks/verifying_proxy.rb#159
|
5204
|
-
def proxy_method_invoked(obj, *args, &block); end
|
5215
|
+
def proxy_method_invoked(obj, *args, **_arg2, &block); end
|
5205
5216
|
|
5206
|
-
# source://rspec-mocks//lib/rspec/mocks/verifying_proxy.rb#
|
5217
|
+
# source://rspec-mocks//lib/rspec/mocks/verifying_proxy.rb#165
|
5207
5218
|
def validate_arguments!(actual_args); end
|
5208
5219
|
end
|
5209
5220
|
|
@@ -5235,7 +5246,7 @@ end
|
|
5235
5246
|
# A verifying proxy mostly acts like a normal proxy, except that it
|
5236
5247
|
# contains extra logic to try and determine the validity of any expectation
|
5237
5248
|
# set on it. This includes whether or not methods have been defined and the
|
5238
|
-
#
|
5249
|
+
# validity of arguments on method calls.
|
5239
5250
|
#
|
5240
5251
|
# In all other ways this behaves like a normal proxy. It only adds the
|
5241
5252
|
# verification behaviour to specific methods then delegates to the parent
|
@@ -5296,5 +5307,5 @@ module RSpec::Mocks::Version; end
|
|
5296
5307
|
# source://rspec-mocks//lib/rspec/mocks/version.rb#6
|
5297
5308
|
RSpec::Mocks::Version::STRING = T.let(T.unsafe(nil), String)
|
5298
5309
|
|
5299
|
-
# source://rspec-core/3.12.
|
5310
|
+
# source://rspec-core/3.12.1/lib/rspec/core/shared_context.rb#54
|
5300
5311
|
RSpec::SharedContext = RSpec::Core::SharedContext
|