mangrove 0.24.0 → 0.30.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (46) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +32 -5
  3. data/lib/mangrove/result.rb +73 -64
  4. data/lib/mangrove/version.rb +1 -1
  5. data/rbi/mangrove.rbi +20 -0
  6. data/sorbet/rbi/annotations/rainbow.rbi +3 -3
  7. data/sorbet/rbi/gems/{diff-lcs@1.5.0.rbi → diff-lcs@1.5.1.rbi} +100 -48
  8. data/sorbet/rbi/gems/{io-console@0.6.0.rbi → io-console@0.7.2.rbi} +1 -0
  9. data/sorbet/rbi/gems/{json@2.6.3.rbi → json@2.7.2.rbi} +95 -74
  10. data/sorbet/rbi/gems/{parallel@1.23.0.rbi → parallel@1.24.0.rbi} +9 -1
  11. data/sorbet/rbi/gems/{parser@3.2.2.4.rbi → parser@3.3.2.0.rbi} +1267 -1282
  12. data/sorbet/rbi/gems/prism@0.29.0.rbi +37987 -0
  13. data/sorbet/rbi/gems/{psych@5.1.1.1.rbi → psych@5.1.2.rbi} +231 -267
  14. data/sorbet/rbi/gems/{racc@1.7.1.rbi → racc@1.8.0.rbi} +37 -36
  15. data/sorbet/rbi/gems/{rake@13.0.6.rbi → rake@13.2.1.rbi} +217 -73
  16. data/sorbet/rbi/gems/{rbi@0.1.3.rbi → rbi@0.1.13.rbi} +322 -166
  17. data/sorbet/rbi/gems/{rdoc@6.6.0.rbi → rdoc@6.7.0.rbi} +735 -685
  18. data/sorbet/rbi/gems/{regexp_parser@2.8.2.rbi → regexp_parser@2.9.2.rbi} +192 -169
  19. data/sorbet/rbi/gems/{reline@0.4.0.rbi → reline@0.5.8.rbi} +1 -0
  20. data/sorbet/rbi/gems/{rexml@3.2.6.rbi → rexml@3.2.8.rbi} +122 -109
  21. data/sorbet/rbi/gems/{rspec-core@3.12.2.rbi → rspec-core@3.13.0.rbi} +400 -300
  22. data/sorbet/rbi/gems/{rspec-expectations@3.12.3.rbi → rspec-expectations@3.13.0.rbi} +173 -119
  23. data/sorbet/rbi/gems/{rspec-mocks@3.12.6.rbi → rspec-mocks@3.13.1.rbi} +195 -160
  24. data/sorbet/rbi/gems/{rspec-support@3.12.1.rbi → rspec-support@3.13.1.rbi} +319 -298
  25. data/sorbet/rbi/gems/{rspec@3.12.0.rbi → rspec@3.13.0.rbi} +23 -22
  26. data/sorbet/rbi/gems/ruboclean@0.6.0.rbi +315 -0
  27. data/sorbet/rbi/gems/{rubocop-ast@1.29.0.rbi → rubocop-ast@1.31.3.rbi} +348 -285
  28. data/sorbet/rbi/gems/{rubocop-capybara@2.19.0.rbi → rubocop-capybara@2.20.0.rbi} +148 -65
  29. data/sorbet/rbi/gems/{rubocop-factory_bot@2.24.0.rbi → rubocop-factory_bot@2.25.1.rbi} +70 -20
  30. data/sorbet/rbi/gems/{rubocop-rspec@2.24.1.rbi → rubocop-rspec@2.30.0.rbi} +678 -389
  31. data/sorbet/rbi/gems/rubocop-rspec_rails@2.28.3.rbi +911 -0
  32. data/sorbet/rbi/gems/{rubocop@1.57.1.rbi → rubocop@1.64.1.rbi} +3225 -1915
  33. data/sorbet/rbi/gems/{ruby-lsp@0.12.0.rbi → ruby-lsp@0.17.2.rbi} +1 -0
  34. data/sorbet/rbi/gems/{spoom@1.2.4.rbi → spoom@1.3.2.rbi} +1057 -413
  35. data/sorbet/rbi/gems/strscan@3.1.0.rbi +9 -0
  36. data/sorbet/rbi/gems/{tapioca@0.11.10.rbi → tapioca@0.14.3.rbi} +268 -234
  37. data/sorbet/rbi/gems/{thor@1.3.0.rbi → thor@1.3.1.rbi} +57 -50
  38. data/sorbet/rbi/gems/{yard@0.9.34.rbi → yard@0.9.36.rbi} +154 -82
  39. metadata +38 -38
  40. data/sorbet/rbi/gems/base64@0.1.1.rbi +0 -172
  41. data/sorbet/rbi/gems/irb@1.9.0.rbi +0 -342
  42. data/sorbet/rbi/gems/prettier_print@1.2.1.rbi +0 -951
  43. data/sorbet/rbi/gems/prism@0.15.1.rbi +0 -23922
  44. data/sorbet/rbi/gems/ruboclean@0.4.0.rbi +0 -189
  45. data/sorbet/rbi/gems/syntax_tree@6.2.0.rbi +0 -23136
  46. /data/sorbet/rbi/gems/{stringio@3.0.9.rbi → stringio@3.1.0.rbi} +0 -0
@@ -4,76 +4,77 @@
4
4
  # This is an autogenerated file for types exported from the `rspec-mocks` gem.
5
5
  # Please instead update this file by running `bin/tapioca gem rspec-mocks`.
6
6
 
7
+
7
8
  # Share the top-level RSpec namespace, because we are a core supported
8
9
  # extension.
9
10
  #
10
11
  # source://rspec-mocks//lib/rspec/mocks/instance_method_stasher.rb#1
11
12
  module RSpec
12
13
  class << self
13
- # source://rspec-core/3.12.2/lib/rspec/core.rb#70
14
+ # source://rspec-core/3.13.0/lib/rspec/core.rb#70
14
15
  def clear_examples; end
15
16
 
16
- # source://rspec-core/3.12.2/lib/rspec/core.rb#85
17
+ # source://rspec-core/3.13.0/lib/rspec/core.rb#85
17
18
  def configuration; end
18
19
 
19
- # source://rspec-core/3.12.2/lib/rspec/core.rb#49
20
+ # source://rspec-core/3.13.0/lib/rspec/core.rb#49
20
21
  def configuration=(_arg0); end
21
22
 
22
- # source://rspec-core/3.12.2/lib/rspec/core.rb#97
23
+ # source://rspec-core/3.13.0/lib/rspec/core.rb#97
23
24
  def configure; end
24
25
 
25
- # source://rspec-core/3.12.2/lib/rspec/core.rb#194
26
+ # source://rspec-core/3.13.0/lib/rspec/core.rb#194
26
27
  def const_missing(name); end
27
28
 
28
- # source://rspec-core/3.12.2/lib/rspec/core/dsl.rb#42
29
+ # source://rspec-core/3.13.0/lib/rspec/core/dsl.rb#42
29
30
  def context(*args, &example_group_block); end
30
31
 
31
- # source://rspec-core/3.12.2/lib/rspec/core.rb#122
32
+ # source://rspec-core/3.13.0/lib/rspec/core.rb#122
32
33
  def current_example; end
33
34
 
34
- # source://rspec-core/3.12.2/lib/rspec/core.rb#128
35
+ # source://rspec-core/3.13.0/lib/rspec/core.rb#128
35
36
  def current_example=(example); end
36
37
 
37
- # source://rspec-core/3.12.2/lib/rspec/core.rb#154
38
+ # source://rspec-core/3.13.0/lib/rspec/core.rb#154
38
39
  def current_scope; end
39
40
 
40
- # source://rspec-core/3.12.2/lib/rspec/core.rb#134
41
+ # source://rspec-core/3.13.0/lib/rspec/core.rb#134
41
42
  def current_scope=(scope); end
42
43
 
43
- # source://rspec-core/3.12.2/lib/rspec/core/dsl.rb#42
44
+ # source://rspec-core/3.13.0/lib/rspec/core/dsl.rb#42
44
45
  def describe(*args, &example_group_block); end
45
46
 
46
- # source://rspec-core/3.12.2/lib/rspec/core/dsl.rb#42
47
+ # source://rspec-core/3.13.0/lib/rspec/core/dsl.rb#42
47
48
  def example_group(*args, &example_group_block); end
48
49
 
49
- # source://rspec-core/3.12.2/lib/rspec/core/dsl.rb#42
50
+ # source://rspec-core/3.13.0/lib/rspec/core/dsl.rb#42
50
51
  def fcontext(*args, &example_group_block); end
51
52
 
52
- # source://rspec-core/3.12.2/lib/rspec/core/dsl.rb#42
53
+ # source://rspec-core/3.13.0/lib/rspec/core/dsl.rb#42
53
54
  def fdescribe(*args, &example_group_block); end
54
55
 
55
- # source://rspec-core/3.12.2/lib/rspec/core.rb#58
56
+ # source://rspec-core/3.13.0/lib/rspec/core.rb#58
56
57
  def reset; end
57
58
 
58
- # source://rspec-core/3.12.2/lib/rspec/core/shared_example_group.rb#110
59
+ # source://rspec-core/3.13.0/lib/rspec/core/shared_example_group.rb#110
59
60
  def shared_context(name, *args, &block); end
60
61
 
61
- # source://rspec-core/3.12.2/lib/rspec/core/shared_example_group.rb#110
62
+ # source://rspec-core/3.13.0/lib/rspec/core/shared_example_group.rb#110
62
63
  def shared_examples(name, *args, &block); end
63
64
 
64
- # source://rspec-core/3.12.2/lib/rspec/core/shared_example_group.rb#110
65
+ # source://rspec-core/3.13.0/lib/rspec/core/shared_example_group.rb#110
65
66
  def shared_examples_for(name, *args, &block); end
66
67
 
67
- # source://rspec-core/3.12.2/lib/rspec/core.rb#160
68
+ # source://rspec-core/3.13.0/lib/rspec/core.rb#160
68
69
  def world; end
69
70
 
70
- # source://rspec-core/3.12.2/lib/rspec/core.rb#49
71
+ # source://rspec-core/3.13.0/lib/rspec/core.rb#49
71
72
  def world=(_arg0); end
72
73
 
73
- # source://rspec-core/3.12.2/lib/rspec/core/dsl.rb#42
74
+ # source://rspec-core/3.13.0/lib/rspec/core/dsl.rb#42
74
75
  def xcontext(*args, &example_group_block); end
75
76
 
76
- # source://rspec-core/3.12.2/lib/rspec/core/dsl.rb#42
77
+ # source://rspec-core/3.13.0/lib/rspec/core/dsl.rb#42
77
78
  def xdescribe(*args, &example_group_block); end
78
79
  end
79
80
  end
@@ -815,46 +816,46 @@ class RSpec::Mocks::AnyInstance::Recorder
815
816
 
816
817
  private
817
818
 
818
- # source://rspec-mocks//lib/rspec/mocks/any_instance/recorder.rb#280
819
+ # source://rspec-mocks//lib/rspec/mocks/any_instance/recorder.rb#282
819
820
  def allow_no_prepended_module_definition_of(method_name); end
820
821
 
821
822
  # @return [Boolean]
822
823
  #
823
824
  # source://rspec-mocks//lib/rspec/mocks/any_instance/recorder.rb#159
824
- def ancestor_is_an_observer?(method_name); end
825
+ def ancestor_is_an_observer?(ancestor, method_name); end
825
826
 
826
- # source://rspec-mocks//lib/rspec/mocks/any_instance/recorder.rb#233
827
+ # source://rspec-mocks//lib/rspec/mocks/any_instance/recorder.rb#235
827
828
  def backup_method!(method_name); end
828
829
 
829
- # source://rspec-mocks//lib/rspec/mocks/any_instance/recorder.rb#267
830
+ # source://rspec-mocks//lib/rspec/mocks/any_instance/recorder.rb#269
830
831
  def mark_invoked!(method_name); end
831
832
 
832
833
  # @yield [args.first, args]
833
834
  #
834
- # source://rspec-mocks//lib/rspec/mocks/any_instance/recorder.rb#176
835
+ # source://rspec-mocks//lib/rspec/mocks/any_instance/recorder.rb#178
835
836
  def normalize_chain(*args); end
836
837
 
837
- # source://rspec-mocks//lib/rspec/mocks/any_instance/recorder.rb#247
838
+ # source://rspec-mocks//lib/rspec/mocks/any_instance/recorder.rb#249
838
839
  def observe!(method_name); end
839
840
 
840
841
  # @return [Boolean]
841
842
  #
842
- # source://rspec-mocks//lib/rspec/mocks/any_instance/recorder.rb#243
843
+ # source://rspec-mocks//lib/rspec/mocks/any_instance/recorder.rb#245
843
844
  def public_protected_or_private_method_defined?(method_name); end
844
845
 
845
- # source://rspec-mocks//lib/rspec/mocks/any_instance/recorder.rb#181
846
+ # source://rspec-mocks//lib/rspec/mocks/any_instance/recorder.rb#183
846
847
  def received_expected_message!(method_name); end
847
848
 
848
- # source://rspec-mocks//lib/rspec/mocks/any_instance/recorder.rb#227
849
+ # source://rspec-mocks//lib/rspec/mocks/any_instance/recorder.rb#229
849
850
  def remove_dummy_method!(method_name); end
850
851
 
851
- # source://rspec-mocks//lib/rspec/mocks/any_instance/recorder.rb#187
852
+ # source://rspec-mocks//lib/rspec/mocks/any_instance/recorder.rb#189
852
853
  def restore_method!(method_name); end
853
854
 
854
- # source://rspec-mocks//lib/rspec/mocks/any_instance/recorder.rb#195
855
+ # source://rspec-mocks//lib/rspec/mocks/any_instance/recorder.rb#197
855
856
  def restore_original_method!(method_name); end
856
857
 
857
- # source://rspec-mocks//lib/rspec/mocks/any_instance/recorder.rb#168
858
+ # source://rspec-mocks//lib/rspec/mocks/any_instance/recorder.rb#166
858
859
  def super_class_observers_for(method_name); end
859
860
 
860
861
  # @return [Boolean]
@@ -865,7 +866,7 @@ end
865
866
 
866
867
  # @private
867
868
  #
868
- # source://rspec-mocks//lib/rspec/mocks/any_instance/stub_chain.rb#6
869
+ # source://rspec-mocks//lib/rspec/mocks/any_instance/stub_chain.rb#5
869
870
  class RSpec::Mocks::AnyInstance::StubChain < ::RSpec::Mocks::AnyInstance::Chain
870
871
  # @private
871
872
  # @return [Boolean]
@@ -1040,7 +1041,7 @@ module RSpec::Mocks::ArgumentMatchers
1040
1041
  # @example
1041
1042
  # expect(object).to receive(:message).with(kind_of(Thing))
1042
1043
  #
1043
- # source://rspec-mocks//lib/rspec/mocks/argument_matchers.rb#111
1044
+ # source://rspec-mocks//lib/rspec/mocks/argument_matchers.rb#121
1044
1045
  def a_kind_of(klass); end
1045
1046
 
1046
1047
  # Matches if `arg.instance_of?(klass)`
@@ -1048,7 +1049,7 @@ module RSpec::Mocks::ArgumentMatchers
1048
1049
  # @example
1049
1050
  # expect(object).to receive(:message).with(instance_of(Thing))
1050
1051
  #
1051
- # source://rspec-mocks//lib/rspec/mocks/argument_matchers.rb#101
1052
+ # source://rspec-mocks//lib/rspec/mocks/argument_matchers.rb#111
1052
1053
  def an_instance_of(klass); end
1053
1054
 
1054
1055
  # Acts like an arg splat, matching any number of args at any point in an arg list.
@@ -1072,6 +1073,15 @@ module RSpec::Mocks::ArgumentMatchers
1072
1073
  # source://rspec-mocks//lib/rspec/mocks/argument_matchers.rb#34
1073
1074
  def anything; end
1074
1075
 
1076
+ # Matches an array that excludes the specified items.
1077
+ #
1078
+ # @example
1079
+ # expect(object).to receive(:message).with(array_excluding(1,2,3))
1080
+ # expect(object).to receive(:message).with(array_excluding([1,2,3]))
1081
+ #
1082
+ # source://rspec-mocks//lib/rspec/mocks/argument_matchers.rb#100
1083
+ def array_excluding(*args); end
1084
+
1075
1085
  # Matches an array that includes the specified items at least once.
1076
1086
  # Ignores duplicates and additional values
1077
1087
  #
@@ -1079,7 +1089,7 @@ module RSpec::Mocks::ArgumentMatchers
1079
1089
  # expect(object).to receive(:message).with(array_including(1,2,3))
1080
1090
  # expect(object).to receive(:message).with(array_including([1,2,3]))
1081
1091
  #
1082
- # source://rspec-mocks//lib/rspec/mocks/argument_matchers.rb#80
1092
+ # source://rspec-mocks//lib/rspec/mocks/argument_matchers.rb#90
1083
1093
  def array_including(*args); end
1084
1094
 
1085
1095
  # Matches a boolean value.
@@ -1106,7 +1116,7 @@ module RSpec::Mocks::ArgumentMatchers
1106
1116
  # expect(object).to receive(:message).with(hash_excluding(:key))
1107
1117
  # expect(object).to receive(:message).with(hash_excluding(:key, :key2 => :val2))
1108
1118
  #
1109
- # source://rspec-mocks//lib/rspec/mocks/argument_matchers.rb#91
1119
+ # source://rspec-mocks//lib/rspec/mocks/argument_matchers.rb#80
1110
1120
  def hash_excluding(*args); end
1111
1121
 
1112
1122
  # Matches a hash that includes the specified key(s) or key/value pairs.
@@ -1127,7 +1137,7 @@ module RSpec::Mocks::ArgumentMatchers
1127
1137
  # expect(object).to receive(:message).with(hash_excluding(:key))
1128
1138
  # expect(object).to receive(:message).with(hash_excluding(:key, :key2 => :val2))
1129
1139
  #
1130
- # source://rspec-mocks//lib/rspec/mocks/argument_matchers.rb#91
1140
+ # source://rspec-mocks//lib/rspec/mocks/argument_matchers.rb#80
1131
1141
  def hash_not_including(*args); end
1132
1142
 
1133
1143
  # Matches if `arg.instance_of?(klass)`
@@ -1135,7 +1145,7 @@ module RSpec::Mocks::ArgumentMatchers
1135
1145
  # @example
1136
1146
  # expect(object).to receive(:message).with(instance_of(Thing))
1137
1147
  #
1138
- # source://rspec-mocks//lib/rspec/mocks/argument_matchers.rb#101
1148
+ # source://rspec-mocks//lib/rspec/mocks/argument_matchers.rb#111
1139
1149
  def instance_of(klass); end
1140
1150
 
1141
1151
  # Matches if `arg.kind_of?(klass)`
@@ -1143,7 +1153,7 @@ module RSpec::Mocks::ArgumentMatchers
1143
1153
  # @example
1144
1154
  # expect(object).to receive(:message).with(kind_of(Thing))
1145
1155
  #
1146
- # source://rspec-mocks//lib/rspec/mocks/argument_matchers.rb#111
1156
+ # source://rspec-mocks//lib/rspec/mocks/argument_matchers.rb#121
1147
1157
  def kind_of(klass); end
1148
1158
 
1149
1159
  # Matches no arguments.
@@ -1157,171 +1167,192 @@ module RSpec::Mocks::ArgumentMatchers
1157
1167
  class << self
1158
1168
  # @private
1159
1169
  #
1160
- # source://rspec-mocks//lib/rspec/mocks/argument_matchers.rb#118
1170
+ # source://rspec-mocks//lib/rspec/mocks/argument_matchers.rb#128
1161
1171
  def anythingize_lonely_keys(*args); end
1162
1172
  end
1163
1173
  end
1164
1174
 
1165
1175
  # @private
1166
1176
  #
1167
- # source://rspec-mocks//lib/rspec/mocks/argument_matchers.rb#149
1177
+ # source://rspec-mocks//lib/rspec/mocks/argument_matchers.rb#159
1168
1178
  class RSpec::Mocks::ArgumentMatchers::AnyArgMatcher < ::RSpec::Mocks::ArgumentMatchers::SingletonMatcher
1169
- # source://rspec-mocks//lib/rspec/mocks/argument_matchers.rb#150
1179
+ # source://rspec-mocks//lib/rspec/mocks/argument_matchers.rb#160
1170
1180
  def ===(_other); end
1171
1181
 
1172
- # source://rspec-mocks//lib/rspec/mocks/argument_matchers.rb#154
1182
+ # source://rspec-mocks//lib/rspec/mocks/argument_matchers.rb#164
1173
1183
  def description; end
1174
1184
  end
1175
1185
 
1176
- # source://rspec-mocks//lib/rspec/mocks/argument_matchers.rb#137
1186
+ # source://rspec-mocks//lib/rspec/mocks/argument_matchers.rb#147
1177
1187
  RSpec::Mocks::ArgumentMatchers::AnyArgMatcher::INSTANCE = T.let(T.unsafe(nil), RSpec::Mocks::ArgumentMatchers::AnyArgMatcher)
1178
1188
 
1179
1189
  # @private
1180
1190
  #
1181
- # source://rspec-mocks//lib/rspec/mocks/argument_matchers.rb#142
1191
+ # source://rspec-mocks//lib/rspec/mocks/argument_matchers.rb#152
1182
1192
  class RSpec::Mocks::ArgumentMatchers::AnyArgsMatcher < ::RSpec::Mocks::ArgumentMatchers::SingletonMatcher
1183
- # source://rspec-mocks//lib/rspec/mocks/argument_matchers.rb#143
1193
+ # source://rspec-mocks//lib/rspec/mocks/argument_matchers.rb#153
1184
1194
  def description; end
1185
1195
  end
1186
1196
 
1187
- # source://rspec-mocks//lib/rspec/mocks/argument_matchers.rb#137
1197
+ # source://rspec-mocks//lib/rspec/mocks/argument_matchers.rb#147
1188
1198
  RSpec::Mocks::ArgumentMatchers::AnyArgsMatcher::INSTANCE = T.let(T.unsafe(nil), RSpec::Mocks::ArgumentMatchers::AnyArgsMatcher)
1189
1199
 
1190
1200
  # @private
1191
1201
  #
1192
- # source://rspec-mocks//lib/rspec/mocks/argument_matchers.rb#232
1202
+ # source://rspec-mocks//lib/rspec/mocks/argument_matchers.rb#274
1203
+ class RSpec::Mocks::ArgumentMatchers::ArrayExcludingMatcher
1204
+ # @return [ArrayExcludingMatcher] a new instance of ArrayExcludingMatcher
1205
+ #
1206
+ # source://rspec-mocks//lib/rspec/mocks/argument_matchers.rb#275
1207
+ def initialize(unexpected); end
1208
+
1209
+ # source://rspec-mocks//lib/rspec/mocks/argument_matchers.rb#279
1210
+ def ===(actual); end
1211
+
1212
+ # source://rspec-mocks//lib/rspec/mocks/argument_matchers.rb#292
1213
+ def description; end
1214
+
1215
+ private
1216
+
1217
+ # source://rspec-mocks//lib/rspec/mocks/argument_matchers.rb#298
1218
+ def formatted_unexpected_values; end
1219
+ end
1220
+
1221
+ # @private
1222
+ #
1223
+ # source://rspec-mocks//lib/rspec/mocks/argument_matchers.rb#242
1193
1224
  class RSpec::Mocks::ArgumentMatchers::ArrayIncludingMatcher
1194
1225
  # @return [ArrayIncludingMatcher] a new instance of ArrayIncludingMatcher
1195
1226
  #
1196
- # source://rspec-mocks//lib/rspec/mocks/argument_matchers.rb#233
1227
+ # source://rspec-mocks//lib/rspec/mocks/argument_matchers.rb#243
1197
1228
  def initialize(expected); end
1198
1229
 
1199
- # source://rspec-mocks//lib/rspec/mocks/argument_matchers.rb#237
1230
+ # source://rspec-mocks//lib/rspec/mocks/argument_matchers.rb#247
1200
1231
  def ===(actual); end
1201
1232
 
1202
- # source://rspec-mocks//lib/rspec/mocks/argument_matchers.rb#248
1233
+ # source://rspec-mocks//lib/rspec/mocks/argument_matchers.rb#260
1203
1234
  def description; end
1204
1235
 
1205
1236
  private
1206
1237
 
1207
- # source://rspec-mocks//lib/rspec/mocks/argument_matchers.rb#254
1238
+ # source://rspec-mocks//lib/rspec/mocks/argument_matchers.rb#266
1208
1239
  def formatted_expected_values; end
1209
1240
  end
1210
1241
 
1211
1242
  # @private
1212
1243
  #
1213
- # source://rspec-mocks//lib/rspec/mocks/argument_matchers.rb#178
1244
+ # source://rspec-mocks//lib/rspec/mocks/argument_matchers.rb#188
1214
1245
  class RSpec::Mocks::ArgumentMatchers::BaseHashMatcher
1215
1246
  # @return [BaseHashMatcher] a new instance of BaseHashMatcher
1216
1247
  #
1217
- # source://rspec-mocks//lib/rspec/mocks/argument_matchers.rb#179
1248
+ # source://rspec-mocks//lib/rspec/mocks/argument_matchers.rb#189
1218
1249
  def initialize(expected); end
1219
1250
 
1220
- # source://rspec-mocks//lib/rspec/mocks/argument_matchers.rb#183
1251
+ # source://rspec-mocks//lib/rspec/mocks/argument_matchers.rb#193
1221
1252
  def ===(predicate, actual); end
1222
1253
 
1223
- # source://rspec-mocks//lib/rspec/mocks/argument_matchers.rb#191
1254
+ # source://rspec-mocks//lib/rspec/mocks/argument_matchers.rb#201
1224
1255
  def description(name); end
1225
1256
 
1226
1257
  private
1227
1258
 
1228
- # source://rspec-mocks//lib/rspec/mocks/argument_matchers.rb#197
1259
+ # source://rspec-mocks//lib/rspec/mocks/argument_matchers.rb#207
1229
1260
  def formatted_expected_hash; end
1230
1261
  end
1231
1262
 
1232
1263
  # @private
1233
1264
  #
1234
- # source://rspec-mocks//lib/rspec/mocks/argument_matchers.rb#167
1265
+ # source://rspec-mocks//lib/rspec/mocks/argument_matchers.rb#177
1235
1266
  class RSpec::Mocks::ArgumentMatchers::BooleanMatcher < ::RSpec::Mocks::ArgumentMatchers::SingletonMatcher
1236
- # source://rspec-mocks//lib/rspec/mocks/argument_matchers.rb#168
1267
+ # source://rspec-mocks//lib/rspec/mocks/argument_matchers.rb#178
1237
1268
  def ===(value); end
1238
1269
 
1239
- # source://rspec-mocks//lib/rspec/mocks/argument_matchers.rb#172
1270
+ # source://rspec-mocks//lib/rspec/mocks/argument_matchers.rb#182
1240
1271
  def description; end
1241
1272
  end
1242
1273
 
1243
- # source://rspec-mocks//lib/rspec/mocks/argument_matchers.rb#137
1274
+ # source://rspec-mocks//lib/rspec/mocks/argument_matchers.rb#147
1244
1275
  RSpec::Mocks::ArgumentMatchers::BooleanMatcher::INSTANCE = T.let(T.unsafe(nil), RSpec::Mocks::ArgumentMatchers::BooleanMatcher)
1245
1276
 
1246
1277
  # @private
1247
1278
  #
1248
- # source://rspec-mocks//lib/rspec/mocks/argument_matchers.rb#262
1279
+ # source://rspec-mocks//lib/rspec/mocks/argument_matchers.rb#306
1249
1280
  class RSpec::Mocks::ArgumentMatchers::DuckTypeMatcher
1250
1281
  # @return [DuckTypeMatcher] a new instance of DuckTypeMatcher
1251
1282
  #
1252
- # source://rspec-mocks//lib/rspec/mocks/argument_matchers.rb#263
1283
+ # source://rspec-mocks//lib/rspec/mocks/argument_matchers.rb#307
1253
1284
  def initialize(*methods_to_respond_to); end
1254
1285
 
1255
- # source://rspec-mocks//lib/rspec/mocks/argument_matchers.rb#267
1286
+ # source://rspec-mocks//lib/rspec/mocks/argument_matchers.rb#311
1256
1287
  def ===(value); end
1257
1288
 
1258
- # source://rspec-mocks//lib/rspec/mocks/argument_matchers.rb#271
1289
+ # source://rspec-mocks//lib/rspec/mocks/argument_matchers.rb#315
1259
1290
  def description; end
1260
1291
  end
1261
1292
 
1262
1293
  # @private
1263
1294
  #
1264
- # source://rspec-mocks//lib/rspec/mocks/argument_matchers.rb#221
1295
+ # source://rspec-mocks//lib/rspec/mocks/argument_matchers.rb#231
1265
1296
  class RSpec::Mocks::ArgumentMatchers::HashExcludingMatcher < ::RSpec::Mocks::ArgumentMatchers::BaseHashMatcher
1266
- # source://rspec-mocks//lib/rspec/mocks/argument_matchers.rb#222
1297
+ # source://rspec-mocks//lib/rspec/mocks/argument_matchers.rb#232
1267
1298
  def ===(actual); end
1268
1299
 
1269
- # source://rspec-mocks//lib/rspec/mocks/argument_matchers.rb#226
1300
+ # source://rspec-mocks//lib/rspec/mocks/argument_matchers.rb#236
1270
1301
  def description; end
1271
1302
  end
1272
1303
 
1273
1304
  # @private
1274
1305
  #
1275
- # source://rspec-mocks//lib/rspec/mocks/argument_matchers.rb#210
1306
+ # source://rspec-mocks//lib/rspec/mocks/argument_matchers.rb#220
1276
1307
  class RSpec::Mocks::ArgumentMatchers::HashIncludingMatcher < ::RSpec::Mocks::ArgumentMatchers::BaseHashMatcher
1277
- # source://rspec-mocks//lib/rspec/mocks/argument_matchers.rb#211
1308
+ # source://rspec-mocks//lib/rspec/mocks/argument_matchers.rb#221
1278
1309
  def ===(actual); end
1279
1310
 
1280
- # source://rspec-mocks//lib/rspec/mocks/argument_matchers.rb#215
1311
+ # source://rspec-mocks//lib/rspec/mocks/argument_matchers.rb#225
1281
1312
  def description; end
1282
1313
  end
1283
1314
 
1284
1315
  # @private
1285
1316
  #
1286
- # source://rspec-mocks//lib/rspec/mocks/argument_matchers.rb#277
1317
+ # source://rspec-mocks//lib/rspec/mocks/argument_matchers.rb#321
1287
1318
  class RSpec::Mocks::ArgumentMatchers::InstanceOf
1288
1319
  # @return [InstanceOf] a new instance of InstanceOf
1289
1320
  #
1290
- # source://rspec-mocks//lib/rspec/mocks/argument_matchers.rb#278
1321
+ # source://rspec-mocks//lib/rspec/mocks/argument_matchers.rb#322
1291
1322
  def initialize(klass); end
1292
1323
 
1293
- # source://rspec-mocks//lib/rspec/mocks/argument_matchers.rb#282
1324
+ # source://rspec-mocks//lib/rspec/mocks/argument_matchers.rb#326
1294
1325
  def ===(actual); end
1295
1326
 
1296
- # source://rspec-mocks//lib/rspec/mocks/argument_matchers.rb#286
1327
+ # source://rspec-mocks//lib/rspec/mocks/argument_matchers.rb#330
1297
1328
  def description; end
1298
1329
  end
1299
1330
 
1300
1331
  # @private
1301
1332
  #
1302
- # source://rspec-mocks//lib/rspec/mocks/argument_matchers.rb#292
1333
+ # source://rspec-mocks//lib/rspec/mocks/argument_matchers.rb#336
1303
1334
  class RSpec::Mocks::ArgumentMatchers::KindOf
1304
1335
  # @return [KindOf] a new instance of KindOf
1305
1336
  #
1306
- # source://rspec-mocks//lib/rspec/mocks/argument_matchers.rb#293
1337
+ # source://rspec-mocks//lib/rspec/mocks/argument_matchers.rb#337
1307
1338
  def initialize(klass); end
1308
1339
 
1309
- # source://rspec-mocks//lib/rspec/mocks/argument_matchers.rb#297
1340
+ # source://rspec-mocks//lib/rspec/mocks/argument_matchers.rb#341
1310
1341
  def ===(actual); end
1311
1342
 
1312
- # source://rspec-mocks//lib/rspec/mocks/argument_matchers.rb#301
1343
+ # source://rspec-mocks//lib/rspec/mocks/argument_matchers.rb#345
1313
1344
  def description; end
1314
1345
  end
1315
1346
 
1316
1347
  # @private
1317
1348
  #
1318
- # source://rspec-mocks//lib/rspec/mocks/argument_matchers.rb#160
1349
+ # source://rspec-mocks//lib/rspec/mocks/argument_matchers.rb#170
1319
1350
  class RSpec::Mocks::ArgumentMatchers::NoArgsMatcher < ::RSpec::Mocks::ArgumentMatchers::SingletonMatcher
1320
- # source://rspec-mocks//lib/rspec/mocks/argument_matchers.rb#161
1351
+ # source://rspec-mocks//lib/rspec/mocks/argument_matchers.rb#171
1321
1352
  def description; end
1322
1353
  end
1323
1354
 
1324
- # source://rspec-mocks//lib/rspec/mocks/argument_matchers.rb#137
1355
+ # source://rspec-mocks//lib/rspec/mocks/argument_matchers.rb#147
1325
1356
  RSpec::Mocks::ArgumentMatchers::NoArgsMatcher::INSTANCE = T.let(T.unsafe(nil), RSpec::Mocks::ArgumentMatchers::NoArgsMatcher)
1326
1357
 
1327
1358
  # Intended to be subclassed by stateless, immutable argument matchers.
@@ -1334,13 +1365,17 @@ RSpec::Mocks::ArgumentMatchers::NoArgsMatcher::INSTANCE = T.let(T.unsafe(nil), R
1334
1365
  #
1335
1366
  # @private
1336
1367
  #
1337
- # source://rspec-mocks//lib/rspec/mocks/argument_matchers.rb#133
1368
+ # source://rspec-mocks//lib/rspec/mocks/argument_matchers.rb#143
1338
1369
  class RSpec::Mocks::ArgumentMatchers::SingletonMatcher
1339
1370
  class << self
1340
1371
  # @private
1341
1372
  #
1342
- # source://rspec-mocks//lib/rspec/mocks/argument_matchers.rb#136
1373
+ # source://rspec-mocks//lib/rspec/mocks/argument_matchers.rb#146
1343
1374
  def inherited(subklass); end
1375
+
1376
+ private
1377
+
1378
+ def new(*_arg0); end
1344
1379
  end
1345
1380
  end
1346
1381
 
@@ -1534,7 +1569,7 @@ class RSpec::Mocks::Configuration
1534
1569
  # source://rspec-mocks//lib/rspec/mocks/configuration.rb#81
1535
1570
  def syntax=(*values); end
1536
1571
 
1537
- # Used to track wether we are temporarily suppressing verifying partial
1572
+ # Used to track whether we are temporarily suppressing verifying partial
1538
1573
  # doubles with `without_partial_double_verification { ... }`
1539
1574
  #
1540
1575
  # @private
@@ -1542,7 +1577,7 @@ class RSpec::Mocks::Configuration
1542
1577
  # source://rspec-mocks//lib/rspec/mocks/configuration.rb#161
1543
1578
  def temporarily_suppress_partial_double_verification; end
1544
1579
 
1545
- # Used to track wether we are temporarily suppressing verifying partial
1580
+ # Used to track whether we are temporarily suppressing verifying partial
1546
1581
  # doubles with `without_partial_double_verification { ... }`
1547
1582
  #
1548
1583
  # @private
@@ -2522,7 +2557,7 @@ end
2522
2557
 
2523
2558
  # @private
2524
2559
  #
2525
- # source://rspec-mocks//lib/rspec/mocks/message_chain.rb#62
2560
+ # source://rspec-mocks//lib/rspec/mocks/message_chain.rb#61
2526
2561
  class RSpec::Mocks::ExpectChain < ::RSpec::Mocks::MessageChain
2527
2562
  private
2528
2563
 
@@ -3258,7 +3293,7 @@ class RSpec::Mocks::MessageExpectation
3258
3293
  #
3259
3294
  # allow(api).to receive(:get_foo).and_invoke(-> { raise ApiTimeout }, -> { raise ApiTimeout }, -> { :a_foo })
3260
3295
  # api.get_foo # => raises ApiTimeout
3261
- # api.get_foo # => rasies ApiTimeout
3296
+ # api.get_foo # => raises ApiTimeout
3262
3297
  # api.get_foo # => :a_foo
3263
3298
  # api.get_foo # => :a_foo
3264
3299
  # api.get_foo # => :a_foo
@@ -4251,7 +4286,7 @@ class RSpec::Mocks::OutsideOfExampleError < ::StandardError; end
4251
4286
 
4252
4287
  # @private
4253
4288
  #
4254
- # source://rspec-mocks//lib/rspec/mocks/proxy.rb#459
4289
+ # source://rspec-mocks//lib/rspec/mocks/proxy.rb#456
4255
4290
  class RSpec::Mocks::PartialClassDoubleProxy < ::RSpec::Mocks::PartialDoubleProxy
4256
4291
  include ::RSpec::Mocks::PartialClassDoubleProxyMethods
4257
4292
  end
@@ -4263,9 +4298,9 @@ end
4263
4298
  #
4264
4299
  # @private
4265
4300
  #
4266
- # source://rspec-mocks//lib/rspec/mocks/proxy.rb#383
4301
+ # source://rspec-mocks//lib/rspec/mocks/proxy.rb#380
4267
4302
  module RSpec::Mocks::PartialClassDoubleProxyMethods
4268
- # source://rspec-mocks//lib/rspec/mocks/proxy.rb#384
4303
+ # source://rspec-mocks//lib/rspec/mocks/proxy.rb#381
4269
4304
  def initialize(source_space, *args); end
4270
4305
 
4271
4306
  # Consider this situation:
@@ -4289,85 +4324,85 @@ module RSpec::Mocks::PartialClassDoubleProxyMethods
4289
4324
  # That's what this method (together with `original_unbound_method_handle_from_ancestor_for`)
4290
4325
  # does.
4291
4326
  #
4292
- # source://rspec-mocks//lib/rspec/mocks/proxy.rb#409
4327
+ # source://rspec-mocks//lib/rspec/mocks/proxy.rb#406
4293
4328
  def original_method_handle_for(message); end
4294
4329
 
4295
4330
  protected
4296
4331
 
4297
- # source://rspec-mocks//lib/rspec/mocks/proxy.rb#437
4332
+ # source://rspec-mocks//lib/rspec/mocks/proxy.rb#434
4298
4333
  def method_double_from_ancestor_for(message); end
4299
4334
 
4300
- # source://rspec-mocks//lib/rspec/mocks/proxy.rb#432
4335
+ # source://rspec-mocks//lib/rspec/mocks/proxy.rb#429
4301
4336
  def original_unbound_method_handle_from_ancestor_for(message); end
4302
4337
 
4303
- # source://rspec-mocks//lib/rspec/mocks/proxy.rb#447
4338
+ # source://rspec-mocks//lib/rspec/mocks/proxy.rb#444
4304
4339
  def superclass_proxy; end
4305
4340
  end
4306
4341
 
4307
4342
  # @private
4308
4343
  #
4309
- # source://rspec-mocks//lib/rspec/mocks/proxy.rb#320
4344
+ # source://rspec-mocks//lib/rspec/mocks/proxy.rb#317
4310
4345
  class RSpec::Mocks::PartialDoubleProxy < ::RSpec::Mocks::Proxy
4311
4346
  # @private
4312
4347
  #
4313
- # source://rspec-mocks//lib/rspec/mocks/proxy.rb#334
4348
+ # source://rspec-mocks//lib/rspec/mocks/proxy.rb#331
4314
4349
  def add_simple_expectation(method_name, response, location); end
4315
4350
 
4316
4351
  # @private
4317
4352
  #
4318
- # source://rspec-mocks//lib/rspec/mocks/proxy.rb#340
4353
+ # source://rspec-mocks//lib/rspec/mocks/proxy.rb#337
4319
4354
  def add_simple_stub(method_name, response); end
4320
4355
 
4321
- # source://rspec-mocks//lib/rspec/mocks/proxy.rb#357
4356
+ # source://rspec-mocks//lib/rspec/mocks/proxy.rb#354
4322
4357
  def message_received(message, *args, **_arg2, &block); end
4323
4358
 
4324
- # source://rspec-mocks//lib/rspec/mocks/proxy.rb#321
4359
+ # source://rspec-mocks//lib/rspec/mocks/proxy.rb#318
4325
4360
  def original_method_handle_for(message); end
4326
4361
 
4327
- # source://rspec-mocks//lib/rspec/mocks/proxy.rb#352
4362
+ # source://rspec-mocks//lib/rspec/mocks/proxy.rb#349
4328
4363
  def reset; end
4329
4364
 
4330
4365
  # @private
4331
4366
  #
4332
- # source://rspec-mocks//lib/rspec/mocks/proxy.rb#346
4367
+ # source://rspec-mocks//lib/rspec/mocks/proxy.rb#343
4333
4368
  def visibility_for(method_name); end
4334
4369
 
4335
4370
  private
4336
4371
 
4337
4372
  # @return [Boolean]
4338
4373
  #
4339
- # source://rspec-mocks//lib/rspec/mocks/proxy.rb#367
4374
+ # source://rspec-mocks//lib/rspec/mocks/proxy.rb#364
4340
4375
  def any_instance_class_recorder_observing_method?(klass, method_name); end
4341
4376
  end
4342
4377
 
4343
4378
  # @private
4344
4379
  #
4345
- # source://rspec-mocks//lib/rspec/mocks/proxy.rb#4
4380
+ # source://rspec-mocks//lib/rspec/mocks/proxy.rb#6
4346
4381
  class RSpec::Mocks::Proxy
4347
4382
  # @private
4348
4383
  # @return [Proxy] a new instance of Proxy
4349
4384
  #
4350
- # source://rspec-mocks//lib/rspec/mocks/proxy.rb#23
4385
+ # source://rspec-mocks//lib/rspec/mocks/proxy.rb#20
4351
4386
  def initialize(object, order_group, options = T.unsafe(nil)); end
4352
4387
 
4353
4388
  # @private
4354
4389
  #
4355
- # source://rspec-mocks//lib/rspec/mocks/proxy.rb#68
4390
+ # source://rspec-mocks//lib/rspec/mocks/proxy.rb#65
4356
4391
  def add_message_expectation(method_name, opts = T.unsafe(nil), &block); end
4357
4392
 
4358
4393
  # @private
4359
4394
  #
4360
- # source://rspec-mocks//lib/rspec/mocks/proxy.rb#82
4395
+ # source://rspec-mocks//lib/rspec/mocks/proxy.rb#79
4361
4396
  def add_simple_expectation(method_name, response, location); end
4362
4397
 
4363
4398
  # @private
4364
4399
  #
4365
- # source://rspec-mocks//lib/rspec/mocks/proxy.rb#143
4400
+ # source://rspec-mocks//lib/rspec/mocks/proxy.rb#140
4366
4401
  def add_simple_stub(method_name, response); end
4367
4402
 
4368
4403
  # @private
4369
4404
  #
4370
- # source://rspec-mocks//lib/rspec/mocks/proxy.rb#137
4405
+ # source://rspec-mocks//lib/rspec/mocks/proxy.rb#134
4371
4406
  def add_stub(method_name, opts = T.unsafe(nil), &implementation); end
4372
4407
 
4373
4408
  # Tells the object to ignore any messages that aren't explicitly set as
@@ -4375,155 +4410,155 @@ class RSpec::Mocks::Proxy
4375
4410
  #
4376
4411
  # @private
4377
4412
  #
4378
- # source://rspec-mocks//lib/rspec/mocks/proxy.rb#55
4413
+ # source://rspec-mocks//lib/rspec/mocks/proxy.rb#52
4379
4414
  def as_null_object; end
4380
4415
 
4381
4416
  # @private
4382
4417
  #
4383
- # source://rspec-mocks//lib/rspec/mocks/proxy.rb#87
4418
+ # source://rspec-mocks//lib/rspec/mocks/proxy.rb#84
4384
4419
  def build_expectation(method_name); end
4385
4420
 
4386
4421
  # @private
4387
4422
  #
4388
- # source://rspec-mocks//lib/rspec/mocks/proxy.rb#120
4423
+ # source://rspec-mocks//lib/rspec/mocks/proxy.rb#117
4389
4424
  def check_for_unexpected_arguments(expectation); end
4390
4425
 
4391
4426
  # @private
4392
4427
  # @raise [ArgumentError]
4393
4428
  #
4394
- # source://rspec-mocks//lib/rspec/mocks/proxy.rb#37
4429
+ # source://rspec-mocks//lib/rspec/mocks/proxy.rb#34
4395
4430
  def ensure_can_be_proxied!(object); end
4396
4431
 
4397
4432
  # @private
4398
4433
  #
4399
- # source://rspec-mocks//lib/rspec/mocks/proxy.rb#18
4434
+ # source://rspec-mocks//lib/rspec/mocks/proxy.rb#15
4400
4435
  def ensure_implemented(*_args); end
4401
4436
 
4402
4437
  # @private
4403
4438
  # @return [Boolean]
4404
4439
  #
4405
- # source://rspec-mocks//lib/rspec/mocks/proxy.rb#184
4440
+ # source://rspec-mocks//lib/rspec/mocks/proxy.rb#181
4406
4441
  def has_negative_expectation?(message); end
4407
4442
 
4408
4443
  # @private
4409
4444
  #
4410
- # source://rspec-mocks//lib/rspec/mocks/proxy.rb#198
4445
+ # source://rspec-mocks//lib/rspec/mocks/proxy.rb#195
4411
4446
  def message_received(message, *args, **_arg2, &block); end
4412
4447
 
4413
4448
  # @private
4414
4449
  #
4415
- # source://rspec-mocks//lib/rspec/mocks/proxy.rb#177
4450
+ # source://rspec-mocks//lib/rspec/mocks/proxy.rb#174
4416
4451
  def messages_arg_list; end
4417
4452
 
4418
4453
  # @private
4419
4454
  #
4420
- # source://rspec-mocks//lib/rspec/mocks/proxy.rb#263
4455
+ # source://rspec-mocks//lib/rspec/mocks/proxy.rb#260
4421
4456
  def method_double_if_exists_for_message(message); end
4422
4457
 
4423
4458
  # @private
4424
4459
  # @return [Boolean]
4425
4460
  #
4426
- # source://rspec-mocks//lib/rspec/mocks/proxy.rb#48
4461
+ # source://rspec-mocks//lib/rspec/mocks/proxy.rb#45
4427
4462
  def null_object?; end
4428
4463
 
4429
4464
  # @private
4430
4465
  #
4431
- # source://rspec-mocks//lib/rspec/mocks/proxy.rb#45
4466
+ # source://rspec-mocks//lib/rspec/mocks/proxy.rb#42
4432
4467
  def object; end
4433
4468
 
4434
4469
  # @private
4435
4470
  #
4436
- # source://rspec-mocks//lib/rspec/mocks/proxy.rb#61
4471
+ # source://rspec-mocks//lib/rspec/mocks/proxy.rb#58
4437
4472
  def original_method_handle_for(_message); end
4438
4473
 
4439
- # source://rspec-mocks//lib/rspec/mocks/proxy.rb#257
4474
+ # source://rspec-mocks//lib/rspec/mocks/proxy.rb#254
4440
4475
  def prepended_modules_of_singleton_class; end
4441
4476
 
4442
4477
  # @private
4443
4478
  #
4444
- # source://rspec-mocks//lib/rspec/mocks/proxy.rb#236
4479
+ # source://rspec-mocks//lib/rspec/mocks/proxy.rb#233
4445
4480
  def raise_missing_default_stub_error(expectation, args_for_multiple_calls); end
4446
4481
 
4447
4482
  # @private
4448
4483
  #
4449
- # source://rspec-mocks//lib/rspec/mocks/proxy.rb#231
4484
+ # source://rspec-mocks//lib/rspec/mocks/proxy.rb#228
4450
4485
  def raise_unexpected_message_error(method_name, args); end
4451
4486
 
4452
4487
  # @private
4453
4488
  # @return [Boolean]
4454
4489
  #
4455
- # source://rspec-mocks//lib/rspec/mocks/proxy.rb#170
4490
+ # source://rspec-mocks//lib/rspec/mocks/proxy.rb#167
4456
4491
  def received_message?(method_name, *args, &block); end
4457
4492
 
4458
4493
  # @private
4459
4494
  #
4460
- # source://rspec-mocks//lib/rspec/mocks/proxy.rb#189
4495
+ # source://rspec-mocks//lib/rspec/mocks/proxy.rb#186
4461
4496
  def record_message_received(message, *args, **_arg2, &block); end
4462
4497
 
4463
4498
  # @private
4464
4499
  #
4465
- # source://rspec-mocks//lib/rspec/mocks/proxy.rb#148
4500
+ # source://rspec-mocks//lib/rspec/mocks/proxy.rb#145
4466
4501
  def remove_stub(method_name); end
4467
4502
 
4468
4503
  # @private
4469
4504
  #
4470
- # source://rspec-mocks//lib/rspec/mocks/proxy.rb#153
4505
+ # source://rspec-mocks//lib/rspec/mocks/proxy.rb#150
4471
4506
  def remove_stub_if_present(method_name); end
4472
4507
 
4473
4508
  # @private
4474
4509
  #
4475
- # source://rspec-mocks//lib/rspec/mocks/proxy.rb#97
4510
+ # source://rspec-mocks//lib/rspec/mocks/proxy.rb#94
4476
4511
  def replay_received_message_on(expectation, &block); end
4477
4512
 
4478
4513
  # @private
4479
4514
  #
4480
- # source://rspec-mocks//lib/rspec/mocks/proxy.rb#163
4515
+ # source://rspec-mocks//lib/rspec/mocks/proxy.rb#160
4481
4516
  def reset; end
4482
4517
 
4483
4518
  # @private
4484
4519
  #
4485
- # source://rspec-mocks//lib/rspec/mocks/proxy.rb#158
4520
+ # source://rspec-mocks//lib/rspec/mocks/proxy.rb#155
4486
4521
  def verify; end
4487
4522
 
4488
4523
  # @private
4489
4524
  #
4490
- # source://rspec-mocks//lib/rspec/mocks/proxy.rb#241
4525
+ # source://rspec-mocks//lib/rspec/mocks/proxy.rb#238
4491
4526
  def visibility_for(_method_name); end
4492
4527
 
4493
4528
  private
4494
4529
 
4495
- # source://rspec-mocks//lib/rspec/mocks/proxy.rb#280
4530
+ # source://rspec-mocks//lib/rspec/mocks/proxy.rb#277
4496
4531
  def find_almost_matching_expectation(method_name, *args, **_arg2); end
4497
4532
 
4498
- # source://rspec-mocks//lib/rspec/mocks/proxy.rb#304
4533
+ # source://rspec-mocks//lib/rspec/mocks/proxy.rb#301
4499
4534
  def find_almost_matching_stub(method_name, *args, **_arg2); end
4500
4535
 
4501
- # source://rspec-mocks//lib/rspec/mocks/proxy.rb#287
4536
+ # source://rspec-mocks//lib/rspec/mocks/proxy.rb#284
4502
4537
  def find_best_matching_expectation_for(method_name); end
4503
4538
 
4504
- # source://rspec-mocks//lib/rspec/mocks/proxy.rb#273
4539
+ # source://rspec-mocks//lib/rspec/mocks/proxy.rb#270
4505
4540
  def find_matching_expectation(method_name, *args, **_arg2); end
4506
4541
 
4507
- # source://rspec-mocks//lib/rspec/mocks/proxy.rb#299
4542
+ # source://rspec-mocks//lib/rspec/mocks/proxy.rb#296
4508
4543
  def find_matching_method_stub(method_name, *args, **_arg2); end
4509
4544
 
4510
- # source://rspec-mocks//lib/rspec/mocks/proxy.rb#269
4545
+ # source://rspec-mocks//lib/rspec/mocks/proxy.rb#266
4511
4546
  def method_double_for(message); end
4512
4547
 
4513
4548
  class << self
4514
- # source://rspec-mocks//lib/rspec/mocks/proxy.rb#247
4549
+ # source://rspec-mocks//lib/rspec/mocks/proxy.rb#244
4515
4550
  def prepended_modules_of(klass); end
4516
4551
  end
4517
4552
  end
4518
4553
 
4519
- # source://rspec-mocks//lib/rspec/mocks/proxy.rb#65
4554
+ # source://rspec-mocks//lib/rspec/mocks/proxy.rb#62
4520
4555
  RSpec::Mocks::Proxy::DEFAULT_MESSAGE_EXPECTATION_OPTS = T.let(T.unsafe(nil), Hash)
4521
4556
 
4522
4557
  # @private
4523
4558
  #
4524
- # source://rspec-mocks//lib/rspec/mocks/proxy.rb#6
4559
+ # source://rspec-mocks//lib/rspec/mocks/proxy.rb#8
4525
4560
  class RSpec::Mocks::Proxy::SpecificMessage < ::Struct
4526
- # source://rspec-mocks//lib/rspec/mocks/proxy.rb#7
4561
+ # source://rspec-mocks//lib/rspec/mocks/proxy.rb#9
4527
4562
  def ==(expectation); end
4528
4563
 
4529
4564
  # Returns the value of attribute args
@@ -4570,55 +4605,55 @@ end
4570
4605
 
4571
4606
  # @private
4572
4607
  #
4573
- # source://rspec-mocks//lib/rspec/mocks/proxy.rb#464
4608
+ # source://rspec-mocks//lib/rspec/mocks/proxy.rb#461
4574
4609
  class RSpec::Mocks::ProxyForNil < ::RSpec::Mocks::PartialDoubleProxy
4575
4610
  # @return [ProxyForNil] a new instance of ProxyForNil
4576
4611
  #
4577
- # source://rspec-mocks//lib/rspec/mocks/proxy.rb#465
4612
+ # source://rspec-mocks//lib/rspec/mocks/proxy.rb#462
4578
4613
  def initialize(order_group); end
4579
4614
 
4580
- # source://rspec-mocks//lib/rspec/mocks/proxy.rb#473
4615
+ # source://rspec-mocks//lib/rspec/mocks/proxy.rb#470
4581
4616
  def add_message_expectation(method_name, opts = T.unsafe(nil), &block); end
4582
4617
 
4583
- # source://rspec-mocks//lib/rspec/mocks/proxy.rb#478
4618
+ # source://rspec-mocks//lib/rspec/mocks/proxy.rb#475
4584
4619
  def add_stub(method_name, opts = T.unsafe(nil), &implementation); end
4585
4620
 
4586
4621
  # Returns the value of attribute disallow_expectations.
4587
4622
  #
4588
- # source://rspec-mocks//lib/rspec/mocks/proxy.rb#470
4623
+ # source://rspec-mocks//lib/rspec/mocks/proxy.rb#467
4589
4624
  def disallow_expectations; end
4590
4625
 
4591
4626
  # Sets the attribute disallow_expectations
4592
4627
  #
4593
4628
  # @param value the value to set the attribute disallow_expectations to.
4594
4629
  #
4595
- # source://rspec-mocks//lib/rspec/mocks/proxy.rb#470
4630
+ # source://rspec-mocks//lib/rspec/mocks/proxy.rb#467
4596
4631
  def disallow_expectations=(_arg0); end
4597
4632
 
4598
4633
  # Returns the value of attribute warn_about_expectations.
4599
4634
  #
4600
- # source://rspec-mocks//lib/rspec/mocks/proxy.rb#471
4635
+ # source://rspec-mocks//lib/rspec/mocks/proxy.rb#468
4601
4636
  def warn_about_expectations; end
4602
4637
 
4603
4638
  # Sets the attribute warn_about_expectations
4604
4639
  #
4605
4640
  # @param value the value to set the attribute warn_about_expectations to.
4606
4641
  #
4607
- # source://rspec-mocks//lib/rspec/mocks/proxy.rb#471
4642
+ # source://rspec-mocks//lib/rspec/mocks/proxy.rb#468
4608
4643
  def warn_about_expectations=(_arg0); end
4609
4644
 
4610
4645
  private
4611
4646
 
4612
- # source://rspec-mocks//lib/rspec/mocks/proxy.rb#515
4647
+ # source://rspec-mocks//lib/rspec/mocks/proxy.rb#512
4613
4648
  def raise_error(method_name); end
4614
4649
 
4615
- # source://rspec-mocks//lib/rspec/mocks/proxy.rb#485
4650
+ # source://rspec-mocks//lib/rspec/mocks/proxy.rb#482
4616
4651
  def set_expectation_behavior; end
4617
4652
 
4618
- # source://rspec-mocks//lib/rspec/mocks/proxy.rb#510
4653
+ # source://rspec-mocks//lib/rspec/mocks/proxy.rb#507
4619
4654
  def warn(method_name); end
4620
4655
 
4621
- # source://rspec-mocks//lib/rspec/mocks/proxy.rb#499
4656
+ # source://rspec-mocks//lib/rspec/mocks/proxy.rb#496
4622
4657
  def warn_or_raise!(method_name); end
4623
4658
  end
4624
4659
 
@@ -5052,9 +5087,9 @@ end
5052
5087
 
5053
5088
  # @private
5054
5089
  #
5055
- # source://rspec-mocks//lib/rspec/mocks/proxy.rb#311
5090
+ # source://rspec-mocks//lib/rspec/mocks/proxy.rb#308
5056
5091
  class RSpec::Mocks::TestDoubleProxy < ::RSpec::Mocks::Proxy
5057
- # source://rspec-mocks//lib/rspec/mocks/proxy.rb#312
5092
+ # source://rspec-mocks//lib/rspec/mocks/proxy.rb#309
5058
5093
  def reset; end
5059
5094
  end
5060
5095
 
@@ -5141,7 +5176,7 @@ end
5141
5176
  #
5142
5177
  # @api private
5143
5178
  #
5144
- # source://rspec-mocks//lib/rspec/mocks/verifying_message_expectation.rb#17
5179
+ # source://rspec-mocks//lib/rspec/mocks/verifying_message_expectation.rb#9
5145
5180
  class RSpec::Mocks::VerifyingMessageExpectation < ::RSpec::Mocks::MessageExpectation
5146
5181
  # @api private
5147
5182
  # @return [VerifyingMessageExpectation] a new instance of VerifyingMessageExpectation