packwerk 3.2.0 → 3.2.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (135) hide show
  1. checksums.yaml +4 -4
  2. data/lib/packwerk/association_inspector.rb +17 -4
  3. data/lib/packwerk/checker.rb +3 -3
  4. data/lib/packwerk/configuration.rb +4 -0
  5. data/lib/packwerk/const_node_inspector.rb +2 -2
  6. data/lib/packwerk/constant_name_inspector.rb +2 -2
  7. data/lib/packwerk/offenses_formatter.rb +3 -3
  8. data/lib/packwerk/package.rb +1 -1
  9. data/lib/packwerk/package_todo.rb +1 -4
  10. data/lib/packwerk/parsers/factory.rb +3 -3
  11. data/lib/packwerk/parsers/ruby.rb +7 -0
  12. data/lib/packwerk/reference_extractor.rb +29 -1
  13. data/lib/packwerk/reference_offense.rb +1 -1
  14. data/lib/packwerk/run_context.rb +15 -4
  15. data/lib/packwerk/validator.rb +3 -3
  16. data/lib/packwerk/version.rb +1 -1
  17. data/lib/packwerk.rb +1 -0
  18. data/sorbet/config +1 -0
  19. data/sorbet/rbi/gems/actionpack@7.0.3.1.rbi +3280 -3450
  20. data/sorbet/rbi/gems/actionview@7.0.3.1.rbi +2322 -1782
  21. data/sorbet/rbi/gems/activesupport@7.0.3.1.rbi +2654 -3268
  22. data/sorbet/rbi/gems/ast@2.4.2.rbi +535 -6
  23. data/sorbet/rbi/gems/better_html@2.0.1.rbi +529 -0
  24. data/sorbet/rbi/gems/builder@3.2.4.rbi +4 -4
  25. data/sorbet/rbi/gems/byebug@11.1.3.rbi +32 -4
  26. data/sorbet/rbi/gems/concurrent-ruby@1.1.10.rbi +1750 -1840
  27. data/sorbet/rbi/gems/constant_resolver@0.2.0.rbi +15 -15
  28. data/sorbet/rbi/gems/crass@1.0.6.rbi +489 -5
  29. data/sorbet/rbi/gems/erubi@1.11.0.rbi +24 -21
  30. data/sorbet/rbi/gems/i18n@1.12.0.rbi +395 -395
  31. data/sorbet/rbi/gems/json@2.6.2.rbi +70 -77
  32. data/sorbet/rbi/gems/language_server-protocol@3.16.0.3.rbi +1 -1
  33. data/sorbet/rbi/gems/loofah@2.18.0.rbi +134 -134
  34. data/sorbet/rbi/gems/m@1.6.0.rbi +60 -60
  35. data/sorbet/rbi/gems/method_source@1.1.0.rbi +303 -0
  36. data/sorbet/rbi/gems/minitest-focus@1.3.1.rbi +22 -28
  37. data/sorbet/rbi/gems/minitest@5.16.2.rbi +384 -396
  38. data/sorbet/rbi/gems/mocha@1.14.0.rbi +589 -589
  39. data/sorbet/rbi/gems/netrc@0.11.0.rbi +37 -32
  40. data/sorbet/rbi/gems/nokogiri@1.15.3.rbi +962 -946
  41. data/sorbet/rbi/gems/{parallel@1.22.1.rbi → parallel@1.24.0.rbi} +85 -82
  42. data/sorbet/rbi/gems/{parser@3.2.2.0.rbi → parser@3.3.1.0.rbi} +1679 -1609
  43. data/sorbet/rbi/gems/prettier_print@0.1.0.rbi +1 -1
  44. data/sorbet/rbi/gems/{prism@0.24.0.rbi → prism@0.27.0.rbi} +13473 -6472
  45. data/sorbet/rbi/gems/{racc@1.6.0.rbi → racc@1.7.1.rbi} +42 -33
  46. data/sorbet/rbi/gems/rack-test@2.0.2.rbi +148 -338
  47. data/sorbet/rbi/gems/rack@2.2.4.rbi +1079 -1130
  48. data/sorbet/rbi/gems/rails-dom-testing@2.0.3.rbi +354 -22
  49. data/sorbet/rbi/gems/rails-html-sanitizer@1.4.3.rbi +113 -259
  50. data/sorbet/rbi/gems/railties@7.0.3.1.rbi +642 -638
  51. data/sorbet/rbi/gems/rainbow@3.1.1.rbi +109 -99
  52. data/sorbet/rbi/gems/rake@13.0.6.rbi +714 -599
  53. data/sorbet/rbi/gems/{rbi@0.0.15.rbi → rbi@0.1.12.rbi} +865 -801
  54. data/sorbet/rbi/gems/regexp_parser@2.5.0.rbi +853 -870
  55. data/sorbet/rbi/gems/rexml@3.2.5.rbi +480 -477
  56. data/sorbet/rbi/gems/rubocop-ast@1.21.0.rbi +1621 -1622
  57. data/sorbet/rbi/gems/rubocop-performance@1.14.3.rbi +507 -526
  58. data/sorbet/rbi/gems/rubocop-shopify@2.9.0.rbi +1 -1
  59. data/sorbet/rbi/gems/rubocop-sorbet@0.6.11.rbi +186 -203
  60. data/sorbet/rbi/gems/rubocop@1.34.1.rbi +8126 -8367
  61. data/sorbet/rbi/gems/{ruby-lsp@0.2.1.rbi → ruby-lsp@0.2.3.rbi} +2 -2
  62. data/sorbet/rbi/gems/ruby-progressbar@1.11.0.rbi +1235 -4
  63. data/sorbet/rbi/gems/smart_properties@1.17.0.rbi +90 -90
  64. data/sorbet/rbi/gems/spoom@1.3.2.rbi +4420 -0
  65. data/sorbet/rbi/gems/spring@4.0.0.rbi +104 -104
  66. data/sorbet/rbi/gems/syntax_tree@3.3.0.rbi +1 -1
  67. data/sorbet/rbi/gems/{tapioca@0.9.2.rbi → tapioca@0.13.3.rbi} +1596 -1253
  68. data/sorbet/rbi/gems/{thor@1.2.1.rbi → thor@1.3.1.rbi} +1047 -652
  69. data/sorbet/rbi/gems/tzinfo@2.0.5.rbi +531 -513
  70. data/sorbet/rbi/gems/unicode-display_width@2.2.0.rbi +13 -13
  71. data/sorbet/rbi/gems/{yard-sorbet@0.6.1.rbi → yard-sorbet@0.8.1.rbi} +132 -92
  72. data/sorbet/rbi/gems/{yard@0.9.28.rbi → yard@0.9.36.rbi} +3158 -3067
  73. data/sorbet/rbi/gems/zeitwerk@2.6.4.rbi +149 -145
  74. metadata +22 -94
  75. data/.github/ISSUE_TEMPLATE/bug_report.md +0 -27
  76. data/.github/pull_request_template.md +0 -28
  77. data/.github/workflows/ci.yml +0 -93
  78. data/.github/workflows/cla.yml +0 -22
  79. data/.gitignore +0 -13
  80. data/.rubocop.yml +0 -75
  81. data/.ruby-version +0 -1
  82. data/CODEOWNERS +0 -1
  83. data/CODE_OF_CONDUCT.md +0 -76
  84. data/CONTRIBUTING.md +0 -17
  85. data/Gemfile +0 -27
  86. data/Gemfile.lock +0 -206
  87. data/RESOLVING_VIOLATIONS.md +0 -76
  88. data/Rakefile +0 -22
  89. data/TROUBLESHOOT.md +0 -44
  90. data/UPGRADING.md +0 -66
  91. data/USAGE.md +0 -364
  92. data/bin/console +0 -15
  93. data/bin/m +0 -29
  94. data/bin/rake +0 -29
  95. data/bin/rubocop +0 -29
  96. data/bin/setup +0 -8
  97. data/bin/srb +0 -29
  98. data/bin/tapioca +0 -29
  99. data/dev.yml +0 -32
  100. data/docs/cohesion.png +0 -0
  101. data/gemfiles/Gemfile-rails-6-0 +0 -22
  102. data/gemfiles/Gemfile-rails-6-1 +0 -22
  103. data/packwerk.gemspec +0 -59
  104. data/shipit.rubygems.yml +0 -5
  105. data/sorbet/rbi/gems/actioncable@7.0.3.1.rbi +0 -2754
  106. data/sorbet/rbi/gems/actionmailbox@7.0.3.1.rbi +0 -1496
  107. data/sorbet/rbi/gems/actionmailer@7.0.3.1.rbi +0 -2362
  108. data/sorbet/rbi/gems/actiontext@7.0.3.1.rbi +0 -1569
  109. data/sorbet/rbi/gems/activejob@7.0.3.1.rbi +0 -2553
  110. data/sorbet/rbi/gems/activemodel@7.0.3.1.rbi +0 -5999
  111. data/sorbet/rbi/gems/activerecord@7.0.3.1.rbi +0 -37832
  112. data/sorbet/rbi/gems/activestorage@7.0.3.1.rbi +0 -2321
  113. data/sorbet/rbi/gems/better_html@1.0.16.rbi +0 -317
  114. data/sorbet/rbi/gems/coderay@1.1.3.rbi +0 -8
  115. data/sorbet/rbi/gems/diff-lcs@1.5.0.rbi +0 -1079
  116. data/sorbet/rbi/gems/digest@3.1.0.rbi +0 -189
  117. data/sorbet/rbi/gems/globalid@1.0.0.rbi +0 -572
  118. data/sorbet/rbi/gems/mail@2.7.1.rbi +0 -2490
  119. data/sorbet/rbi/gems/marcel@1.0.2.rbi +0 -220
  120. data/sorbet/rbi/gems/method_source@1.0.0.rbi +0 -76
  121. data/sorbet/rbi/gems/mini_mime@1.1.2.rbi +0 -170
  122. data/sorbet/rbi/gems/net-imap@0.2.3.rbi +0 -2147
  123. data/sorbet/rbi/gems/net-pop@0.1.1.rbi +0 -926
  124. data/sorbet/rbi/gems/net-protocol@0.1.3.rbi +0 -11
  125. data/sorbet/rbi/gems/net-smtp@0.3.1.rbi +0 -1108
  126. data/sorbet/rbi/gems/nio4r@2.5.8.rbi +0 -292
  127. data/sorbet/rbi/gems/pry@0.14.1.rbi +0 -8
  128. data/sorbet/rbi/gems/rails@7.0.3.1.rbi +0 -8
  129. data/sorbet/rbi/gems/spoom@1.1.11.rbi +0 -2181
  130. data/sorbet/rbi/gems/strscan@3.0.4.rbi +0 -8
  131. data/sorbet/rbi/gems/timeout@0.3.0.rbi +0 -142
  132. data/sorbet/rbi/gems/unparser@0.6.5.rbi +0 -4529
  133. data/sorbet/rbi/gems/webrick@1.7.0.rbi +0 -2582
  134. data/sorbet/rbi/gems/websocket-driver@0.7.5.rbi +0 -993
  135. data/sorbet/rbi/gems/websocket-extensions@0.1.5.rbi +0 -71
@@ -4,10 +4,7 @@
4
4
  # This is an autogenerated file for types exported from the `mocha` gem.
5
5
  # Please instead update this file by running `bin/tapioca gem mocha`.
6
6
 
7
- # source://yard-0.9.28/lib/yard.rb:62
8
- ::RUBY19 = T.let(T.unsafe(nil), TrueClass)
9
-
10
- # source://mocha-1.14.0/lib/mocha/inspect.rb:45
7
+ # source://mocha//lib/mocha/inspect.rb#45
11
8
  class Array
12
9
  include ::Enumerable
13
10
  include ::Mocha::Inspect::ArrayMethods
@@ -17,13 +14,13 @@ class Class < ::Module
17
14
  include ::Mocha::ClassMethods
18
15
  end
19
16
 
20
- # source://mocha-1.14.0/lib/mocha/inspect.rb:57
17
+ # source://mocha//lib/mocha/inspect.rb#57
21
18
  class Date
22
19
  include ::Comparable
23
20
  include ::Mocha::Inspect::DateMethods
24
21
  end
25
22
 
26
- # source://mocha-1.14.0/lib/mocha/inspect.rb:49
23
+ # source://mocha//lib/mocha/inspect.rb#49
27
24
  class Hash
28
25
  include ::Enumerable
29
26
  include ::Mocha::Inspect::HashMethods
@@ -36,12 +33,12 @@ class Minitest::Test < ::Minitest::Runnable
36
33
  include ::Mocha::Integration::MiniTest::Adapter
37
34
  end
38
35
 
39
- # source://mocha-1.14.0/lib/mocha/version.rb:1
36
+ # source://mocha//lib/mocha/version.rb#1
40
37
  module Mocha
41
38
  class << self
42
39
  # @private
43
40
  #
44
- # source://mocha-1.14.0/lib/mocha/configuration.rb:22
41
+ # source://mocha//lib/mocha/configuration.rb#22
45
42
  def configuration; end
46
43
 
47
44
  # Allows setting of configuration options. See {Configuration} for the available options.
@@ -57,7 +54,7 @@ module Mocha
57
54
  # @see Configuration
58
55
  # @yieldparam configuration [Configuration] the configuration for modification
59
56
  #
60
- # source://mocha-1.14.0/lib/mocha/configuration.rb:17
57
+ # source://mocha//lib/mocha/configuration.rb#17
61
58
  def configure; end
62
59
  end
63
60
  end
@@ -87,7 +84,7 @@ end
87
84
  # sheep.chew
88
85
  # sheep.foo # => raises NoMethodError exception
89
86
  #
90
- # source://mocha-1.14.0/lib/mocha/api.rb:33
87
+ # source://mocha//lib/mocha/api.rb#33
91
88
  module Mocha::API
92
89
  include ::Mocha::ParameterMatchers
93
90
  include ::Mocha::Hooks
@@ -106,7 +103,7 @@ module Mocha::API
106
103
  # @overload mock
107
104
  # @return [Mock] a new mock object
108
105
  #
109
- # source://mocha-1.14.0/lib/mocha/api.rb:69
106
+ # source://mocha//lib/mocha/api.rb#69
110
107
  def mock(*arguments); end
111
108
 
112
109
  # Builds a new sequence which can be used to constrain the order in which expectations can occur.
@@ -124,7 +121,7 @@ module Mocha::API
124
121
  # @return [Sequence] a new sequence
125
122
  # @see Expectation#in_sequence
126
123
  #
127
- # source://mocha-1.14.0/lib/mocha/api.rb:207
124
+ # source://mocha//lib/mocha/api.rb#207
128
125
  def sequence(name); end
129
126
 
130
127
  # Builds a new state machine which can be used to constrain the order in which expectations can occur.
@@ -153,7 +150,7 @@ module Mocha::API
153
150
  # @see Expectation#when
154
151
  # @see StateMachine
155
152
  #
156
- # source://mocha-1.14.0/lib/mocha/api.rb:237
153
+ # source://mocha//lib/mocha/api.rb#237
157
154
  def states(name); end
158
155
 
159
156
  # Builds a new mock object
@@ -171,7 +168,7 @@ module Mocha::API
171
168
  # @overload stub
172
169
  # @return [Mock] a new mock object
173
170
  #
174
- # source://mocha-1.14.0/lib/mocha/api.rb:115
171
+ # source://mocha//lib/mocha/api.rb#115
175
172
  def stub(*arguments); end
176
173
 
177
174
  # Builds a mock object that accepts calls to any method. By default it will return +nil+ for any method call.
@@ -189,270 +186,270 @@ module Mocha::API
189
186
  # @overload stub_everything
190
187
  # @return [Mock] a new mock object
191
188
  #
192
- # source://mocha-1.14.0/lib/mocha/api.rb:163
189
+ # source://mocha//lib/mocha/api.rb#163
193
190
  def stub_everything(*arguments); end
194
191
 
195
192
  class << self
196
193
  # @private
197
194
  # @private
198
195
  #
199
- # source://mocha-1.14.0/lib/mocha/api.rb:44
196
+ # source://mocha//lib/mocha/api.rb#44
200
197
  def extended(mod); end
201
198
 
202
199
  # @private
203
200
  # @private
204
201
  #
205
- # source://mocha-1.14.0/lib/mocha/api.rb:38
202
+ # source://mocha//lib/mocha/api.rb#38
206
203
  def included(_mod); end
207
204
  end
208
205
  end
209
206
 
210
- # source://mocha-1.14.0/lib/mocha/any_instance_method.rb:5
207
+ # source://mocha//lib/mocha/any_instance_method.rb#5
211
208
  class Mocha::AnyInstanceMethod < ::Mocha::StubbedMethod
212
209
  private
213
210
 
214
- # source://mocha-1.14.0/lib/mocha/any_instance_method.rb:12
211
+ # source://mocha//lib/mocha/any_instance_method.rb#12
215
212
  def method_body(method); end
216
213
 
217
- # source://mocha-1.14.0/lib/mocha/any_instance_method.rb:8
214
+ # source://mocha//lib/mocha/any_instance_method.rb#8
218
215
  def mock_owner; end
219
216
 
220
- # source://mocha-1.14.0/lib/mocha/any_instance_method.rb:20
217
+ # source://mocha//lib/mocha/any_instance_method.rb#20
221
218
  def original_method_owner; end
222
219
 
223
- # source://mocha-1.14.0/lib/mocha/any_instance_method.rb:16
220
+ # source://mocha//lib/mocha/any_instance_method.rb#16
224
221
  def stubbee_method(method_name); end
225
222
  end
226
223
 
227
- # source://mocha-1.14.0/lib/mocha/receivers.rb:19
224
+ # source://mocha//lib/mocha/receivers.rb#19
228
225
  class Mocha::AnyInstanceReceiver
229
226
  # @return [AnyInstanceReceiver] a new instance of AnyInstanceReceiver
230
227
  #
231
- # source://mocha-1.14.0/lib/mocha/receivers.rb:20
228
+ # source://mocha//lib/mocha/receivers.rb#20
232
229
  def initialize(klass); end
233
230
 
234
- # source://mocha-1.14.0/lib/mocha/receivers.rb:24
231
+ # source://mocha//lib/mocha/receivers.rb#24
235
232
  def mocks; end
236
233
  end
237
234
 
238
- # source://mocha-1.14.0/lib/mocha/argument_iterator.rb:2
235
+ # source://mocha//lib/mocha/argument_iterator.rb#2
239
236
  class Mocha::ArgumentIterator
240
237
  # @return [ArgumentIterator] a new instance of ArgumentIterator
241
238
  #
242
- # source://mocha-1.14.0/lib/mocha/argument_iterator.rb:3
239
+ # source://mocha//lib/mocha/argument_iterator.rb#3
243
240
  def initialize(argument); end
244
241
 
245
- # source://mocha-1.14.0/lib/mocha/argument_iterator.rb:7
242
+ # source://mocha//lib/mocha/argument_iterator.rb#7
246
243
  def each; end
247
244
  end
248
245
 
249
- # source://mocha-1.14.0/lib/mocha/backtrace_filter.rb:2
246
+ # source://mocha//lib/mocha/backtrace_filter.rb#2
250
247
  class Mocha::BacktraceFilter
251
248
  # @return [BacktraceFilter] a new instance of BacktraceFilter
252
249
  #
253
- # source://mocha-1.14.0/lib/mocha/backtrace_filter.rb:5
250
+ # source://mocha//lib/mocha/backtrace_filter.rb#5
254
251
  def initialize(lib_directory = T.unsafe(nil)); end
255
252
 
256
- # source://mocha-1.14.0/lib/mocha/backtrace_filter.rb:9
253
+ # source://mocha//lib/mocha/backtrace_filter.rb#9
257
254
  def filtered(backtrace); end
258
255
  end
259
256
 
260
- # source://mocha-1.14.0/lib/mocha/backtrace_filter.rb:3
257
+ # source://mocha//lib/mocha/backtrace_filter.rb#3
261
258
  Mocha::BacktraceFilter::LIB_DIRECTORY = T.let(T.unsafe(nil), String)
262
259
 
263
- # source://mocha-1.14.0/lib/mocha/block_matcher.rb:2
260
+ # source://mocha//lib/mocha/block_matcher.rb#2
264
261
  module Mocha::BlockMatchers; end
265
262
 
266
- # source://mocha-1.14.0/lib/mocha/block_matcher.rb:11
263
+ # source://mocha//lib/mocha/block_matcher.rb#11
267
264
  class Mocha::BlockMatchers::BlockGiven
268
265
  # @return [Boolean]
269
266
  #
270
- # source://mocha-1.14.0/lib/mocha/block_matcher.rb:12
267
+ # source://mocha//lib/mocha/block_matcher.rb#12
271
268
  def match?(actual_block); end
272
269
 
273
- # source://mocha-1.14.0/lib/mocha/block_matcher.rb:16
270
+ # source://mocha//lib/mocha/block_matcher.rb#16
274
271
  def mocha_inspect; end
275
272
  end
276
273
 
277
- # source://mocha-1.14.0/lib/mocha/block_matcher.rb:21
274
+ # source://mocha//lib/mocha/block_matcher.rb#21
278
275
  class Mocha::BlockMatchers::NoBlockGiven
279
276
  # @return [Boolean]
280
277
  #
281
- # source://mocha-1.14.0/lib/mocha/block_matcher.rb:22
278
+ # source://mocha//lib/mocha/block_matcher.rb#22
282
279
  def match?(actual_block); end
283
280
 
284
- # source://mocha-1.14.0/lib/mocha/block_matcher.rb:26
281
+ # source://mocha//lib/mocha/block_matcher.rb#26
285
282
  def mocha_inspect; end
286
283
  end
287
284
 
288
- # source://mocha-1.14.0/lib/mocha/block_matcher.rb:3
285
+ # source://mocha//lib/mocha/block_matcher.rb#3
289
286
  class Mocha::BlockMatchers::OptionalBlock
290
287
  # @return [Boolean]
291
288
  #
292
- # source://mocha-1.14.0/lib/mocha/block_matcher.rb:4
289
+ # source://mocha//lib/mocha/block_matcher.rb#4
293
290
  def match?(_actual_block); end
294
291
 
295
- # source://mocha-1.14.0/lib/mocha/block_matcher.rb:8
292
+ # source://mocha//lib/mocha/block_matcher.rb#8
296
293
  def mocha_inspect; end
297
294
  end
298
295
 
299
- # source://mocha-1.14.0/lib/mocha/cardinality.rb:2
296
+ # source://mocha//lib/mocha/cardinality.rb#2
300
297
  class Mocha::Cardinality
301
298
  # @return [Cardinality] a new instance of Cardinality
302
299
  #
303
- # source://mocha-1.14.0/lib/mocha/cardinality.rb:5
300
+ # source://mocha//lib/mocha/cardinality.rb#5
304
301
  def initialize(required = T.unsafe(nil), maximum = T.unsafe(nil)); end
305
302
 
306
- # source://mocha-1.14.0/lib/mocha/cardinality.rb:29
303
+ # source://mocha//lib/mocha/cardinality.rb#29
307
304
  def <<(invocation); end
308
305
 
309
- # source://mocha-1.14.0/lib/mocha/cardinality.rb:79
306
+ # source://mocha//lib/mocha/cardinality.rb#79
310
307
  def actual_invocations; end
311
308
 
312
309
  # @return [Boolean]
313
310
  #
314
- # source://mocha-1.14.0/lib/mocha/cardinality.rb:49
311
+ # source://mocha//lib/mocha/cardinality.rb#49
315
312
  def allowed_any_number_of_times?; end
316
313
 
317
- # source://mocha-1.14.0/lib/mocha/cardinality.rb:58
314
+ # source://mocha//lib/mocha/cardinality.rb#58
318
315
  def anticipated_times; end
319
316
 
320
- # source://mocha-1.14.0/lib/mocha/cardinality.rb:14
317
+ # source://mocha//lib/mocha/cardinality.rb#14
321
318
  def at_least(count); end
322
319
 
323
- # source://mocha-1.14.0/lib/mocha/cardinality.rb:18
320
+ # source://mocha//lib/mocha/cardinality.rb#18
324
321
  def at_most(count); end
325
322
 
326
- # source://mocha-1.14.0/lib/mocha/cardinality.rb:10
323
+ # source://mocha//lib/mocha/cardinality.rb#10
327
324
  def exactly(count); end
328
325
 
329
326
  # @return [Boolean]
330
327
  #
331
- # source://mocha-1.14.0/lib/mocha/cardinality.rb:33
328
+ # source://mocha//lib/mocha/cardinality.rb#33
332
329
  def invocations_allowed?; end
333
330
 
334
- # source://mocha-1.14.0/lib/mocha/cardinality.rb:75
331
+ # source://mocha//lib/mocha/cardinality.rb#75
335
332
  def invoked_times; end
336
333
 
337
334
  # @return [Boolean]
338
335
  #
339
- # source://mocha-1.14.0/lib/mocha/cardinality.rb:41
336
+ # source://mocha//lib/mocha/cardinality.rb#41
340
337
  def needs_verifying?; end
341
338
 
342
339
  # @return [Boolean]
343
340
  #
344
- # source://mocha-1.14.0/lib/mocha/cardinality.rb:37
341
+ # source://mocha//lib/mocha/cardinality.rb#37
345
342
  def satisfied?; end
346
343
 
347
- # source://mocha-1.14.0/lib/mocha/cardinality.rb:22
344
+ # source://mocha//lib/mocha/cardinality.rb#22
348
345
  def times(range_or_count); end
349
346
 
350
347
  # @return [Boolean]
351
348
  #
352
- # source://mocha-1.14.0/lib/mocha/cardinality.rb:53
349
+ # source://mocha//lib/mocha/cardinality.rb#53
353
350
  def used?; end
354
351
 
355
352
  # @return [Boolean]
356
353
  #
357
- # source://mocha-1.14.0/lib/mocha/cardinality.rb:45
354
+ # source://mocha//lib/mocha/cardinality.rb#45
358
355
  def verified?; end
359
356
 
360
357
  protected
361
358
 
362
- # source://mocha-1.14.0/lib/mocha/cardinality.rb:87
359
+ # source://mocha//lib/mocha/cardinality.rb#87
363
360
  def count(number); end
364
361
 
365
362
  # @return [Boolean]
366
363
  #
367
- # source://mocha-1.14.0/lib/mocha/cardinality.rb:102
364
+ # source://mocha//lib/mocha/cardinality.rb#102
368
365
  def infinite?(number); end
369
366
 
370
367
  # Returns the value of attribute maximum.
371
368
  #
372
- # source://mocha-1.14.0/lib/mocha/cardinality.rb:85
369
+ # source://mocha//lib/mocha/cardinality.rb#85
373
370
  def maximum; end
374
371
 
375
372
  # Returns the value of attribute required.
376
373
  #
377
- # source://mocha-1.14.0/lib/mocha/cardinality.rb:85
374
+ # source://mocha//lib/mocha/cardinality.rb#85
378
375
  def required; end
379
376
 
380
- # source://mocha-1.14.0/lib/mocha/cardinality.rb:96
377
+ # source://mocha//lib/mocha/cardinality.rb#96
381
378
  def update(required, maximum); end
382
379
  end
383
380
 
384
- # source://mocha-1.14.0/lib/mocha/cardinality.rb:3
381
+ # source://mocha//lib/mocha/cardinality.rb#3
385
382
  Mocha::Cardinality::INFINITY = T.let(T.unsafe(nil), Float)
386
383
 
387
- # source://mocha-1.14.0/lib/mocha/central.rb:2
384
+ # source://mocha//lib/mocha/central.rb#2
388
385
  class Mocha::Central
389
386
  # @return [Central] a new instance of Central
390
387
  #
391
- # source://mocha-1.14.0/lib/mocha/central.rb:20
388
+ # source://mocha//lib/mocha/central.rb#20
392
389
  def initialize; end
393
390
 
394
- # source://mocha-1.14.0/lib/mocha/central.rb:24
391
+ # source://mocha//lib/mocha/central.rb#24
395
392
  def stub(method); end
396
393
 
397
394
  # Returns the value of attribute stubba_methods.
398
395
  #
399
- # source://mocha-1.14.0/lib/mocha/central.rb:18
396
+ # source://mocha//lib/mocha/central.rb#18
400
397
  def stubba_methods; end
401
398
 
402
399
  # Sets the attribute stubba_methods
403
400
  #
404
401
  # @param value the value to set the attribute stubba_methods to.
405
402
  #
406
- # source://mocha-1.14.0/lib/mocha/central.rb:18
403
+ # source://mocha//lib/mocha/central.rb#18
407
404
  def stubba_methods=(_arg0); end
408
405
 
409
- # source://mocha-1.14.0/lib/mocha/central.rb:30
406
+ # source://mocha//lib/mocha/central.rb#30
410
407
  def unstub(method); end
411
408
 
412
- # source://mocha-1.14.0/lib/mocha/central.rb:36
409
+ # source://mocha//lib/mocha/central.rb#36
413
410
  def unstub_all; end
414
411
  end
415
412
 
416
- # source://mocha-1.14.0/lib/mocha/central.rb:3
413
+ # source://mocha//lib/mocha/central.rb#3
417
414
  class Mocha::Central::Null < ::Mocha::Central
418
415
  # @return [Null] a new instance of Null
419
416
  #
420
- # source://mocha-1.14.0/lib/mocha/central.rb:4
417
+ # source://mocha//lib/mocha/central.rb#4
421
418
  def initialize(&block); end
422
419
 
423
- # source://mocha-1.14.0/lib/mocha/central.rb:9
420
+ # source://mocha//lib/mocha/central.rb#9
424
421
  def stub(*_arg0); end
425
422
 
426
- # source://mocha-1.14.0/lib/mocha/central.rb:13
423
+ # source://mocha//lib/mocha/central.rb#13
427
424
  def unstub(*_arg0); end
428
425
  end
429
426
 
430
- # source://mocha-1.14.0/lib/mocha/change_state_side_effect.rb:2
427
+ # source://mocha//lib/mocha/change_state_side_effect.rb#2
431
428
  class Mocha::ChangeStateSideEffect
432
429
  # @return [ChangeStateSideEffect] a new instance of ChangeStateSideEffect
433
430
  #
434
- # source://mocha-1.14.0/lib/mocha/change_state_side_effect.rb:3
431
+ # source://mocha//lib/mocha/change_state_side_effect.rb#3
435
432
  def initialize(state); end
436
433
 
437
- # source://mocha-1.14.0/lib/mocha/change_state_side_effect.rb:11
434
+ # source://mocha//lib/mocha/change_state_side_effect.rb#11
438
435
  def mocha_inspect; end
439
436
 
440
- # source://mocha-1.14.0/lib/mocha/change_state_side_effect.rb:7
437
+ # source://mocha//lib/mocha/change_state_side_effect.rb#7
441
438
  def perform; end
442
439
  end
443
440
 
444
441
  # Methods added to all classes to allow mocking and stubbing on real (i.e. non-mock) objects.
445
442
  #
446
- # source://mocha-1.14.0/lib/mocha/class_methods.rb:6
443
+ # source://mocha//lib/mocha/class_methods.rb#6
447
444
  module Mocha::ClassMethods
448
445
  # @private
449
446
  #
450
- # source://mocha-1.14.0/lib/mocha/class_methods.rb:54
447
+ # source://mocha//lib/mocha/class_methods.rb#54
451
448
  def __method_exists__?(method, include_public_methods = T.unsafe(nil)); end
452
449
 
453
450
  # @private
454
451
  #
455
- # source://mocha-1.14.0/lib/mocha/class_methods.rb:54
452
+ # source://mocha//lib/mocha/class_methods.rb#54
456
453
  def __method_visibility__(method, include_public_methods = T.unsafe(nil)); end
457
454
 
458
455
  # @example Return false to invocation of +Product#save+ for any instance of +Product+.
@@ -464,36 +461,36 @@ module Mocha::ClassMethods
464
461
  # @raise [StubbingError] if attempting to stub method which is not allowed.
465
462
  # @return [Mock] a mock object which will detect calls to any instance of this class.
466
463
  #
467
- # source://mocha-1.14.0/lib/mocha/class_methods.rb:45
464
+ # source://mocha//lib/mocha/class_methods.rb#45
468
465
  def any_instance; end
469
466
  end
470
467
 
471
468
  # @private
472
469
  #
473
- # source://mocha-1.14.0/lib/mocha/class_methods.rb:8
470
+ # source://mocha//lib/mocha/class_methods.rb#8
474
471
  class Mocha::ClassMethods::AnyInstance
475
472
  # @return [AnyInstance] a new instance of AnyInstance
476
473
  #
477
- # source://mocha-1.14.0/lib/mocha/class_methods.rb:9
474
+ # source://mocha//lib/mocha/class_methods.rb#9
478
475
  def initialize(klass); end
479
476
 
480
- # source://mocha-1.14.0/lib/mocha/class_methods.rb:13
477
+ # source://mocha//lib/mocha/class_methods.rb#13
481
478
  def mocha(instantiate = T.unsafe(nil)); end
482
479
 
483
480
  # @return [Boolean]
484
481
  #
485
- # source://mocha-1.14.0/lib/mocha/class_methods.rb:29
482
+ # source://mocha//lib/mocha/class_methods.rb#29
486
483
  def respond_to?(method); end
487
484
 
488
- # source://mocha-1.14.0/lib/mocha/class_methods.rb:25
485
+ # source://mocha//lib/mocha/class_methods.rb#25
489
486
  def stubba_class; end
490
487
 
491
- # source://mocha-1.14.0/lib/mocha/class_methods.rb:21
488
+ # source://mocha//lib/mocha/class_methods.rb#21
492
489
  def stubba_method; end
493
490
 
494
491
  # Returns the value of attribute stubba_object.
495
492
  #
496
- # source://mocha-1.14.0/lib/mocha/class_methods.rb:33
493
+ # source://mocha//lib/mocha/class_methods.rb#33
497
494
  def stubba_object; end
498
495
  end
499
496
 
@@ -508,12 +505,12 @@ end
508
505
  # c.stubbing_method_on_nil = :allow
509
506
  # end
510
507
  #
511
- # source://mocha-1.14.0/lib/mocha/configuration.rb:37
508
+ # source://mocha//lib/mocha/configuration.rb#37
512
509
  class Mocha::Configuration
513
510
  # @private
514
511
  # @return [Configuration] a new instance of Configuration
515
512
  #
516
- # source://mocha-1.14.0/lib/mocha/configuration.rb:53
513
+ # source://mocha//lib/mocha/configuration.rb#53
517
514
  def initialize(options = T.unsafe(nil)); end
518
515
 
519
516
  # Display matching invocations alongside expectations on Mocha-related test failure.
@@ -541,18 +538,18 @@ class Mocha::Configuration
541
538
  # - #<Mock:foo>.baz(5, 6) # => threw (:tag, "value")
542
539
  # @param value [Boolean] +true+ to enable display of matching invocations; disabled by default.
543
540
  #
544
- # source://mocha-1.14.0/lib/mocha/configuration.rb:242
541
+ # source://mocha//lib/mocha/configuration.rb#242
545
542
  def display_matching_invocations_on_failure=(value); end
546
543
 
547
544
  # @private
548
545
  # @return [Boolean]
549
546
  #
550
- # source://mocha-1.14.0/lib/mocha/configuration.rb:247
547
+ # source://mocha//lib/mocha/configuration.rb#247
551
548
  def display_matching_invocations_on_failure?; end
552
549
 
553
550
  # @private
554
551
  #
555
- # source://mocha-1.14.0/lib/mocha/configuration.rb:63
552
+ # source://mocha//lib/mocha/configuration.rb#63
556
553
  def merge(other); end
557
554
 
558
555
  # Reinstate undocumented behaviour from v1.9
@@ -598,18 +595,18 @@ class Mocha::Configuration
598
595
  # foo.my_method # => does *not* raise LocalJumpError when no block is supplied
599
596
  # @param value [Boolean] +true+ to reinstate undocumented behaviour; enabled by default.
600
597
  #
601
- # source://mocha-1.14.0/lib/mocha/configuration.rb:297
598
+ # source://mocha//lib/mocha/configuration.rb#297
602
599
  def reinstate_undocumented_behaviour_from_v1_9=(value); end
603
600
 
604
601
  # @private
605
602
  # @return [Boolean]
606
603
  #
607
- # source://mocha-1.14.0/lib/mocha/configuration.rb:302
604
+ # source://mocha//lib/mocha/configuration.rb#302
608
605
  def reinstate_undocumented_behaviour_from_v1_9?; end
609
606
 
610
607
  # @private
611
608
  #
612
- # source://mocha-1.14.0/lib/mocha/configuration.rb:213
609
+ # source://mocha//lib/mocha/configuration.rb#213
613
610
  def stubbing_method_on_nil; end
614
611
 
615
612
  # Configure whether stubbing methods on the +nil+ object is allowed.
@@ -624,12 +621,12 @@ class Mocha::Configuration
624
621
  #
625
622
  # @param value [Symbol] one of +:allow+, +:warn+, +:prevent+.
626
623
  #
627
- # source://mocha-1.14.0/lib/mocha/configuration.rb:208
624
+ # source://mocha//lib/mocha/configuration.rb#208
628
625
  def stubbing_method_on_nil=(value); end
629
626
 
630
627
  # @private
631
628
  #
632
- # source://mocha-1.14.0/lib/mocha/configuration.rb:125
629
+ # source://mocha//lib/mocha/configuration.rb#125
633
630
  def stubbing_method_on_non_mock_object; end
634
631
 
635
632
  # Configure whether stubbing methods on non-mock objects is allowed.
@@ -655,12 +652,12 @@ class Mocha::Configuration
655
652
  # # => #<Example:0x593620>.example_method
656
653
  # @param value [Symbol] one of +:allow+, +:warn+, +:prevent+.
657
654
  #
658
- # source://mocha-1.14.0/lib/mocha/configuration.rb:120
655
+ # source://mocha//lib/mocha/configuration.rb#120
659
656
  def stubbing_method_on_non_mock_object=(value); end
660
657
 
661
658
  # @private
662
659
  #
663
- # source://mocha-1.14.0/lib/mocha/configuration.rb:92
660
+ # source://mocha//lib/mocha/configuration.rb#92
664
661
  def stubbing_method_unnecessarily; end
665
662
 
666
663
  # Configure whether stubbing methods unnecessarily is allowed.
@@ -682,12 +679,12 @@ class Mocha::Configuration
682
679
  # # => #<Mock:example>.unused_stub(any_parameters)
683
680
  # @param value [Symbol] one of +:allow+, +:warn+, +:prevent+.
684
681
  #
685
- # source://mocha-1.14.0/lib/mocha/configuration.rb:87
682
+ # source://mocha//lib/mocha/configuration.rb#87
686
683
  def stubbing_method_unnecessarily=(value); end
687
684
 
688
685
  # @private
689
686
  #
690
- # source://mocha-1.14.0/lib/mocha/configuration.rb:158
687
+ # source://mocha//lib/mocha/configuration.rb#158
691
688
  def stubbing_non_existent_method; end
692
689
 
693
690
  # Configure whether stubbing of non-existent methods is allowed.
@@ -713,12 +710,12 @@ class Mocha::Configuration
713
710
  # # => #<Example:0x593760>.method_that_doesnt_exist
714
711
  # @param value [Symbol] one of +:allow+, +:warn+, +:prevent+.
715
712
  #
716
- # source://mocha-1.14.0/lib/mocha/configuration.rb:153
713
+ # source://mocha//lib/mocha/configuration.rb#153
717
714
  def stubbing_non_existent_method=(value); end
718
715
 
719
716
  # @private
720
717
  #
721
- # source://mocha-1.14.0/lib/mocha/configuration.rb:192
718
+ # source://mocha//lib/mocha/configuration.rb#192
722
719
  def stubbing_non_public_method; end
723
720
 
724
721
  # Configure whether stubbing of non-public methods is allowed.
@@ -745,21 +742,21 @@ class Mocha::Configuration
745
742
  # # => #<Example:0x593530>.internal_method
746
743
  # @param value [Symbol] one of +:allow+, +:warn+, +:prevent+.
747
744
  #
748
- # source://mocha-1.14.0/lib/mocha/configuration.rb:187
745
+ # source://mocha//lib/mocha/configuration.rb#187
749
746
  def stubbing_non_public_method=(value); end
750
747
 
751
748
  protected
752
749
 
753
750
  # Returns the value of attribute options.
754
751
  #
755
- # source://mocha-1.14.0/lib/mocha/configuration.rb:49
752
+ # source://mocha//lib/mocha/configuration.rb#49
756
753
  def options; end
757
754
 
758
755
  private
759
756
 
760
757
  # @private
761
758
  #
762
- # source://mocha-1.14.0/lib/mocha/configuration.rb:58
759
+ # source://mocha//lib/mocha/configuration.rb#58
763
760
  def initialize_copy(other); end
764
761
 
765
762
  class << self
@@ -774,18 +771,18 @@ class Mocha::Configuration
774
771
  # @param action [Symbol] one of +:stubbing_method_unnecessarily+, +:stubbing_method_on_non_mock_object+, +:stubbing_non_existent_method+, +:stubbing_non_public_method+, +:stubbing_method_on_nil+.
775
772
  # @yield optional block during which the configuration change will be changed before being returned to its original value at the end of the block.
776
773
  #
777
- # source://mocha-1.14.0/lib/mocha/configuration.rb:317
774
+ # source://mocha//lib/mocha/configuration.rb#317
778
775
  def allow(action, &block); end
779
776
 
780
777
  # @private
781
778
  # @return [Boolean]
782
779
  #
783
- # source://mocha-1.14.0/lib/mocha/configuration.rb:327
780
+ # source://mocha//lib/mocha/configuration.rb#327
784
781
  def allow?(action); end
785
782
 
786
783
  # @private
787
784
  #
788
- # source://mocha-1.14.0/lib/mocha/configuration.rb:405
785
+ # source://mocha//lib/mocha/configuration.rb#405
789
786
  def configuration; end
790
787
 
791
788
  # Temporarily modify {Configuration} options.
@@ -800,7 +797,7 @@ class Mocha::Configuration
800
797
  # @param temporary_options [Hash] the configuration options to apply for the duration of the block.
801
798
  # @yield block during which the configuration change will be in force.
802
799
  #
803
- # source://mocha-1.14.0/lib/mocha/configuration.rb:396
800
+ # source://mocha//lib/mocha/configuration.rb#396
804
801
  def override(temporary_options); end
805
802
 
806
803
  # Raise a {StubbingError} if the specified +action+ is attempted.
@@ -814,18 +811,18 @@ class Mocha::Configuration
814
811
  # @param action [Symbol] one of +:stubbing_method_unnecessarily+, +:stubbing_method_on_non_mock_object+, +:stubbing_non_existent_method+, +:stubbing_non_public_method+, +:stubbing_method_on_nil+.
815
812
  # @yield optional block during which the configuration change will be changed before being returned to its original value at the end of the block.
816
813
  #
817
- # source://mocha-1.14.0/lib/mocha/configuration.rb:365
814
+ # source://mocha//lib/mocha/configuration.rb#365
818
815
  def prevent(action, &block); end
819
816
 
820
817
  # @private
821
818
  # @return [Boolean]
822
819
  #
823
- # source://mocha-1.14.0/lib/mocha/configuration.rb:375
820
+ # source://mocha//lib/mocha/configuration.rb#375
824
821
  def prevent?(action); end
825
822
 
826
823
  # @private
827
824
  #
828
- # source://mocha-1.14.0/lib/mocha/configuration.rb:380
825
+ # source://mocha//lib/mocha/configuration.rb#380
829
826
  def reset_configuration; end
830
827
 
831
828
  # Warn if the specified +action+ is attempted.
@@ -839,160 +836,160 @@ class Mocha::Configuration
839
836
  # @param action [Symbol] one of +:stubbing_method_unnecessarily+, +:stubbing_method_on_non_mock_object+, +:stubbing_non_existent_method+, +:stubbing_non_public_method+, +:stubbing_method_on_nil+.
840
837
  # @yield optional block during which the configuration change will be changed before being returned to its original value at the end of the block.
841
838
  #
842
- # source://mocha-1.14.0/lib/mocha/configuration.rb:341
839
+ # source://mocha//lib/mocha/configuration.rb#341
843
840
  def warn_when(action, &block); end
844
841
 
845
842
  # @private
846
843
  # @return [Boolean]
847
844
  #
848
- # source://mocha-1.14.0/lib/mocha/configuration.rb:351
845
+ # source://mocha//lib/mocha/configuration.rb#351
849
846
  def warn_when?(action); end
850
847
 
851
848
  private
852
849
 
853
850
  # @private
854
851
  #
855
- # source://mocha-1.14.0/lib/mocha/configuration.rb:412
852
+ # source://mocha//lib/mocha/configuration.rb#412
856
853
  def change_config(action, new_value, &block); end
857
854
 
858
855
  # @private
859
856
  #
860
- # source://mocha-1.14.0/lib/mocha/configuration.rb:421
857
+ # source://mocha//lib/mocha/configuration.rb#421
861
858
  def temporarily_change_config(action, new_value); end
862
859
  end
863
860
  end
864
861
 
865
862
  # @private
866
863
  #
867
- # source://mocha-1.14.0/lib/mocha/configuration.rb:39
864
+ # source://mocha//lib/mocha/configuration.rb#39
868
865
  Mocha::Configuration::DEFAULTS = T.let(T.unsafe(nil), Hash)
869
866
 
870
- # source://mocha-1.14.0/lib/mocha/debug.rb:2
867
+ # source://mocha//lib/mocha/debug.rb#2
871
868
  module Mocha::Debug
872
869
  class << self
873
- # source://mocha-1.14.0/lib/mocha/debug.rb:8
870
+ # source://mocha//lib/mocha/debug.rb#8
874
871
  def puts(message); end
875
872
  end
876
873
  end
877
874
 
878
- # source://mocha-1.14.0/lib/mocha/debug.rb:3
875
+ # source://mocha//lib/mocha/debug.rb#3
879
876
  Mocha::Debug::OPTIONS = T.let(T.unsafe(nil), Hash)
880
877
 
881
- # source://mocha-1.14.0/lib/mocha/names.rb:32
878
+ # source://mocha//lib/mocha/names.rb#32
882
879
  class Mocha::DefaultName
883
880
  # @return [DefaultName] a new instance of DefaultName
884
881
  #
885
- # source://mocha-1.14.0/lib/mocha/names.rb:33
882
+ # source://mocha//lib/mocha/names.rb#33
886
883
  def initialize(mock); end
887
884
 
888
- # source://mocha-1.14.0/lib/mocha/names.rb:37
885
+ # source://mocha//lib/mocha/names.rb#37
889
886
  def mocha_inspect; end
890
887
  end
891
888
 
892
- # source://mocha-1.14.0/lib/mocha/receivers.rb:36
889
+ # source://mocha//lib/mocha/receivers.rb#36
893
890
  class Mocha::DefaultReceiver
894
891
  # @return [DefaultReceiver] a new instance of DefaultReceiver
895
892
  #
896
- # source://mocha-1.14.0/lib/mocha/receivers.rb:37
893
+ # source://mocha//lib/mocha/receivers.rb#37
897
894
  def initialize(mock); end
898
895
 
899
- # source://mocha-1.14.0/lib/mocha/receivers.rb:41
896
+ # source://mocha//lib/mocha/receivers.rb#41
900
897
  def mocks; end
901
898
  end
902
899
 
903
- # source://mocha-1.14.0/lib/mocha/deprecation.rb:4
900
+ # source://mocha//lib/mocha/deprecation.rb#4
904
901
  class Mocha::Deprecation
905
902
  class << self
906
903
  # Returns the value of attribute messages.
907
904
  #
908
- # source://mocha-1.14.0/lib/mocha/deprecation.rb:6
905
+ # source://mocha//lib/mocha/deprecation.rb#6
909
906
  def messages; end
910
907
 
911
908
  # Sets the attribute messages
912
909
  #
913
910
  # @param value the value to set the attribute messages to.
914
911
  #
915
- # source://mocha-1.14.0/lib/mocha/deprecation.rb:6
912
+ # source://mocha//lib/mocha/deprecation.rb#6
916
913
  def messages=(_arg0); end
917
914
 
918
915
  # Returns the value of attribute mode.
919
916
  #
920
- # source://mocha-1.14.0/lib/mocha/deprecation.rb:6
917
+ # source://mocha//lib/mocha/deprecation.rb#6
921
918
  def mode; end
922
919
 
923
920
  # Sets the attribute mode
924
921
  #
925
922
  # @param value the value to set the attribute mode to.
926
923
  #
927
- # source://mocha-1.14.0/lib/mocha/deprecation.rb:6
924
+ # source://mocha//lib/mocha/deprecation.rb#6
928
925
  def mode=(_arg0); end
929
926
 
930
- # source://mocha-1.14.0/lib/mocha/deprecation.rb:8
927
+ # source://mocha//lib/mocha/deprecation.rb#8
931
928
  def warning(*messages); end
932
929
  end
933
930
  end
934
931
 
935
- # source://mocha-1.14.0/lib/mocha/detection/mini_test.rb:2
932
+ # source://mocha//lib/mocha/detection/mini_test.rb#2
936
933
  module Mocha::Detection; end
937
934
 
938
- # source://mocha-1.14.0/lib/mocha/detection/mini_test.rb:3
935
+ # source://mocha//lib/mocha/detection/mini_test.rb#3
939
936
  module Mocha::Detection::MiniTest
940
937
  class << self
941
- # source://mocha-1.14.0/lib/mocha/detection/mini_test.rb:4
938
+ # source://mocha//lib/mocha/detection/mini_test.rb#4
942
939
  def testcase; end
943
940
 
944
- # source://mocha-1.14.0/lib/mocha/detection/mini_test.rb:12
941
+ # source://mocha//lib/mocha/detection/mini_test.rb#12
945
942
  def version; end
946
943
  end
947
944
  end
948
945
 
949
946
  # @private
950
947
  #
951
- # source://mocha-1.14.0/lib/mocha/error_with_filtered_backtrace.rb:6
948
+ # source://mocha//lib/mocha/error_with_filtered_backtrace.rb#5
952
949
  class Mocha::ErrorWithFilteredBacktrace < ::StandardError
953
950
  # @private
954
951
  # @return [ErrorWithFilteredBacktrace] a new instance of ErrorWithFilteredBacktrace
955
952
  #
956
- # source://mocha-1.14.0/lib/mocha/error_with_filtered_backtrace.rb:7
953
+ # source://mocha//lib/mocha/error_with_filtered_backtrace.rb#7
957
954
  def initialize(message = T.unsafe(nil), backtrace = T.unsafe(nil)); end
958
955
  end
959
956
 
960
- # source://mocha-1.14.0/lib/mocha/exception_raiser.rb:2
957
+ # source://mocha//lib/mocha/exception_raiser.rb#2
961
958
  class Mocha::ExceptionRaiser
962
959
  # @return [ExceptionRaiser] a new instance of ExceptionRaiser
963
960
  #
964
- # source://mocha-1.14.0/lib/mocha/exception_raiser.rb:3
961
+ # source://mocha//lib/mocha/exception_raiser.rb#3
965
962
  def initialize(exception, message); end
966
963
 
967
964
  # @raise [@exception]
968
965
  #
969
- # source://mocha-1.14.0/lib/mocha/exception_raiser.rb:8
966
+ # source://mocha//lib/mocha/exception_raiser.rb#8
970
967
  def evaluate(invocation); end
971
968
  end
972
969
 
973
970
  # Methods on expectations returned from {Mock#expects}, {Mock#stubs}, {ObjectMethods#expects} and {ObjectMethods#stubs}.
974
971
  #
975
- # source://mocha-1.14.0/lib/mocha/expectation.rb:17
972
+ # source://mocha//lib/mocha/expectation.rb#17
976
973
  class Mocha::Expectation
977
974
  # @private
978
975
  # @return [Expectation] a new instance of Expectation
979
976
  #
980
- # source://mocha-1.14.0/lib/mocha/expectation.rb:548
977
+ # source://mocha//lib/mocha/expectation.rb#548
981
978
  def initialize(mock, expected_method_name, backtrace = T.unsafe(nil)); end
982
979
 
983
980
  # @private
984
981
  #
985
- # source://mocha-1.14.0/lib/mocha/expectation.rb:567
982
+ # source://mocha//lib/mocha/expectation.rb#567
986
983
  def add_in_sequence_ordering_constraint(sequence); end
987
984
 
988
985
  # @private
989
986
  #
990
- # source://mocha-1.14.0/lib/mocha/expectation.rb:562
987
+ # source://mocha//lib/mocha/expectation.rb#562
991
988
  def add_ordering_constraint(ordering_constraint); end
992
989
 
993
990
  # @private
994
991
  #
995
- # source://mocha-1.14.0/lib/mocha/expectation.rb:572
992
+ # source://mocha//lib/mocha/expectation.rb#572
996
993
  def add_side_effect(side_effect); end
997
994
 
998
995
  # Modifies expectation so that the expected method must be called at least a +minimum_number_of_times+.
@@ -1010,7 +1007,7 @@ class Mocha::Expectation
1010
1007
  # @param minimum_number_of_times [Integer] minimum number of expected invocations.
1011
1008
  # @return [Expectation] the same expectation, thereby allowing invocations of other {Expectation} methods to be chained.
1012
1009
  #
1013
- # source://mocha-1.14.0/lib/mocha/expectation.rb:132
1010
+ # source://mocha//lib/mocha/expectation.rb#132
1014
1011
  def at_least(minimum_number_of_times); end
1015
1012
 
1016
1013
  # Modifies expectation so that the expected method must be called at least once.
@@ -1026,7 +1023,7 @@ class Mocha::Expectation
1026
1023
  # # => verify fails
1027
1024
  # @return [Expectation] the same expectation, thereby allowing invocations of other {Expectation} methods to be chained.
1028
1025
  #
1029
- # source://mocha-1.14.0/lib/mocha/expectation.rb:150
1026
+ # source://mocha//lib/mocha/expectation.rb#150
1030
1027
  def at_least_once; end
1031
1028
 
1032
1029
  # Modifies expectation so that the expected method must be called at most a +maximum_number_of_times+.
@@ -1043,7 +1040,7 @@ class Mocha::Expectation
1043
1040
  # @param maximum_number_of_times [Integer] maximum number of expected invocations.
1044
1041
  # @return [Expectation] the same expectation, thereby allowing invocations of other {Expectation} methods to be chained.
1045
1042
  #
1046
- # source://mocha-1.14.0/lib/mocha/expectation.rb:168
1043
+ # source://mocha//lib/mocha/expectation.rb#168
1047
1044
  def at_most(maximum_number_of_times); end
1048
1045
 
1049
1046
  # Modifies expectation so that the expected method must be called at most once.
@@ -1059,18 +1056,18 @@ class Mocha::Expectation
1059
1056
  # 2.times { object.expected_method } # => unexpected invocation
1060
1057
  # @return [Expectation] the same expectation, thereby allowing invocations of other {Expectation} methods to be chained.
1061
1058
  #
1062
- # source://mocha-1.14.0/lib/mocha/expectation.rb:186
1059
+ # source://mocha//lib/mocha/expectation.rb#186
1063
1060
  def at_most_once; end
1064
1061
 
1065
1062
  # @private
1066
1063
  #
1067
- # source://mocha-1.14.0/lib/mocha/expectation.rb:545
1064
+ # source://mocha//lib/mocha/expectation.rb#545
1068
1065
  def backtrace; end
1069
1066
 
1070
1067
  # @private
1071
1068
  # @return [Boolean]
1072
1069
  #
1073
- # source://mocha-1.14.0/lib/mocha/expectation.rb:582
1070
+ # source://mocha//lib/mocha/expectation.rb#582
1074
1071
  def in_correct_order?; end
1075
1072
 
1076
1073
  # Constrains the expectation so that it must be invoked at the current point in the +sequence+.
@@ -1095,45 +1092,45 @@ class Mocha::Expectation
1095
1092
  # @return [Expectation] the same expectation, thereby allowing invocations of other {Expectation} methods to be chained.
1096
1093
  # @see API#sequence
1097
1094
  #
1098
- # source://mocha-1.14.0/lib/mocha/expectation.rb:539
1095
+ # source://mocha//lib/mocha/expectation.rb#539
1099
1096
  def in_sequence(sequence, *sequences); end
1100
1097
 
1101
1098
  # @private
1102
1099
  #
1103
- # source://mocha-1.14.0/lib/mocha/expectation.rb:625
1100
+ # source://mocha//lib/mocha/expectation.rb#625
1104
1101
  def inspect; end
1105
1102
 
1106
1103
  # @private
1107
1104
  # @return [Boolean]
1108
1105
  #
1109
- # source://mocha-1.14.0/lib/mocha/expectation.rb:597
1106
+ # source://mocha//lib/mocha/expectation.rb#597
1110
1107
  def invocations_allowed?; end
1111
1108
 
1112
1109
  # @private
1113
1110
  #
1114
- # source://mocha-1.14.0/lib/mocha/expectation.rb:607
1111
+ # source://mocha//lib/mocha/expectation.rb#607
1115
1112
  def invoke(invocation); end
1116
1113
 
1117
1114
  # @private
1118
1115
  # @return [Boolean]
1119
1116
  #
1120
- # source://mocha-1.14.0/lib/mocha/expectation.rb:592
1117
+ # source://mocha//lib/mocha/expectation.rb#592
1121
1118
  def match?(invocation); end
1122
1119
 
1123
1120
  # @private
1124
1121
  # @return [Boolean]
1125
1122
  #
1126
- # source://mocha-1.14.0/lib/mocha/expectation.rb:587
1123
+ # source://mocha//lib/mocha/expectation.rb#587
1127
1124
  def matches_method?(method_name); end
1128
1125
 
1129
1126
  # @private
1130
1127
  #
1131
- # source://mocha-1.14.0/lib/mocha/expectation.rb:642
1128
+ # source://mocha//lib/mocha/expectation.rb#642
1132
1129
  def method_signature; end
1133
1130
 
1134
1131
  # @private
1135
1132
  #
1136
- # source://mocha-1.14.0/lib/mocha/expectation.rb:632
1133
+ # source://mocha//lib/mocha/expectation.rb#632
1137
1134
  def mocha_inspect; end
1138
1135
 
1139
1136
  # Modifies expectation so that when the expected method is called, it yields multiple times per invocation with the specified +parameter_groups+.
@@ -1159,7 +1156,7 @@ class Mocha::Expectation
1159
1156
  # @return [Expectation] the same expectation, thereby allowing invocations of other {Expectation} methods to be chained.
1160
1157
  # @see #then
1161
1158
  #
1162
- # source://mocha-1.14.0/lib/mocha/expectation.rb:326
1159
+ # source://mocha//lib/mocha/expectation.rb#326
1163
1160
  def multiple_yields(*parameter_groups); end
1164
1161
 
1165
1162
  # Modifies expectation so that the expected method must never be called.
@@ -1174,7 +1171,7 @@ class Mocha::Expectation
1174
1171
  # # => verify succeeds
1175
1172
  # @return [Expectation] the same expectation, thereby allowing invocations of other {Expectation} methods to be chained.
1176
1173
  #
1177
- # source://mocha-1.14.0/lib/mocha/expectation.rb:112
1174
+ # source://mocha//lib/mocha/expectation.rb#112
1178
1175
  def never; end
1179
1176
 
1180
1177
  # Modifies expectation so that the expected method must be called exactly once.
@@ -1197,12 +1194,12 @@ class Mocha::Expectation
1197
1194
  # # => verify fails
1198
1195
  # @return [Expectation] the same expectation, thereby allowing invocations of other {Expectation} methods to be chained.
1199
1196
  #
1200
- # source://mocha-1.14.0/lib/mocha/expectation.rb:95
1197
+ # source://mocha//lib/mocha/expectation.rb#95
1201
1198
  def once; end
1202
1199
 
1203
1200
  # @private
1204
1201
  #
1205
- # source://mocha-1.14.0/lib/mocha/expectation.rb:577
1202
+ # source://mocha//lib/mocha/expectation.rb#577
1206
1203
  def perform_side_effects; end
1207
1204
 
1208
1205
  # Modifies expectation so that when the expected method is called, it raises the specified +exception+ with the specified +message+ i.e. calls +Kernel#raise(exception, message)+.
@@ -1235,7 +1232,7 @@ class Mocha::Expectation
1235
1232
  # @see Kernel#raise
1236
1233
  # @see #then
1237
1234
  #
1238
- # source://mocha-1.14.0/lib/mocha/expectation.rb:413
1235
+ # source://mocha//lib/mocha/expectation.rb#413
1239
1236
  def raises(exception = T.unsafe(nil), message = T.unsafe(nil)); end
1240
1237
 
1241
1238
  # Modifies expectation so that when the expected method is called, it returns the specified +value+.
@@ -1273,13 +1270,13 @@ class Mocha::Expectation
1273
1270
  # @return [Expectation] the same expectation, thereby allowing invocations of other {Expectation} methods to be chained.
1274
1271
  # @see #then
1275
1272
  #
1276
- # source://mocha-1.14.0/lib/mocha/expectation.rb:373
1273
+ # source://mocha//lib/mocha/expectation.rb#373
1277
1274
  def returns(*values); end
1278
1275
 
1279
1276
  # @private
1280
1277
  # @return [Boolean]
1281
1278
  #
1282
- # source://mocha-1.14.0/lib/mocha/expectation.rb:602
1279
+ # source://mocha//lib/mocha/expectation.rb#602
1283
1280
  def satisfied?; end
1284
1281
 
1285
1282
  # @example Using {#then} as syntactic sugar when specifying values to be returned and exceptions to be raised on consecutive invocations of the expected method.
@@ -1303,7 +1300,7 @@ class Mocha::Expectation
1303
1300
  # @overload then
1304
1301
  # @return [Expectation] the same expectation, thereby allowing invocations of other {Expectation} methods to be chained.
1305
1302
  #
1306
- # source://mocha-1.14.0/lib/mocha/expectation.rb:487
1303
+ # source://mocha//lib/mocha/expectation.rb#487
1307
1304
  def then(state = T.unsafe(nil)); end
1308
1305
 
1309
1306
  # Modifies expectation so that when the expected method is called, it throws the specified +tag+ with the specific return value +object+ i.e. calls +Kernel#throw(tag, object)+.
@@ -1335,7 +1332,7 @@ class Mocha::Expectation
1335
1332
  # @see Kernel#throw
1336
1333
  # @see #then
1337
1334
  #
1338
- # source://mocha-1.14.0/lib/mocha/expectation.rb:452
1335
+ # source://mocha//lib/mocha/expectation.rb#452
1339
1336
  def throws(tag, object = T.unsafe(nil)); end
1340
1337
 
1341
1338
  # Modifies expectation so that the number of calls to the expected method must be within a specific +range+.
@@ -1363,7 +1360,7 @@ class Mocha::Expectation
1363
1360
  # @param range [Range, Integer] specifies the allowable range in the number of expected invocations.
1364
1361
  # @return [Expectation] the same expectation, thereby allowing invocations of other {Expectation} methods to be chained.
1365
1362
  #
1366
- # source://mocha-1.14.0/lib/mocha/expectation.rb:44
1363
+ # source://mocha//lib/mocha/expectation.rb#44
1367
1364
  def times(range); end
1368
1365
 
1369
1366
  # Modifies expectation so that the expected method must be called exactly twice.
@@ -1387,19 +1384,19 @@ class Mocha::Expectation
1387
1384
  # # => verify fails
1388
1385
  # @return [Expectation] the same expectation, thereby allowing invocations of other {Expectation} methods to be chained.
1389
1386
  #
1390
- # source://mocha-1.14.0/lib/mocha/expectation.rb:70
1387
+ # source://mocha//lib/mocha/expectation.rb#70
1391
1388
  def twice; end
1392
1389
 
1393
1390
  # @private
1394
1391
  # @return [Boolean]
1395
1392
  #
1396
- # source://mocha-1.14.0/lib/mocha/expectation.rb:620
1393
+ # source://mocha//lib/mocha/expectation.rb#620
1397
1394
  def used?; end
1398
1395
 
1399
1396
  # @private
1400
1397
  # @return [Boolean]
1401
1398
  #
1402
- # source://mocha-1.14.0/lib/mocha/expectation.rb:614
1399
+ # source://mocha//lib/mocha/expectation.rb#614
1403
1400
  def verified?(assertion_counter = T.unsafe(nil)); end
1404
1401
 
1405
1402
  # Constrains the expectation to occur only when the +state_machine+ is in the state specified by +state_predicate+.
@@ -1420,7 +1417,7 @@ class Mocha::Expectation
1420
1417
  # @see StateMachine
1421
1418
  # @see #then
1422
1419
  #
1423
- # source://mocha-1.14.0/lib/mocha/expectation.rb:511
1420
+ # source://mocha//lib/mocha/expectation.rb#511
1424
1421
  def when(state_predicate); end
1425
1422
 
1426
1423
  # Modifies expectation so that the expected method must be called with +expected_parameters+.
@@ -1453,7 +1450,7 @@ class Mocha::Expectation
1453
1450
  # @yieldparam actual_parameters [*Array] parameters with which expected method was invoked.
1454
1451
  # @yieldreturn [Boolean] +true+ if +actual_parameters+ are acceptable.
1455
1452
  #
1456
- # source://mocha-1.14.0/lib/mocha/expectation.rb:221
1453
+ # source://mocha//lib/mocha/expectation.rb#221
1457
1454
  def with(*expected_parameters, &matching_block); end
1458
1455
 
1459
1456
  # Modifies expectation so that the expected method must be called with a block.
@@ -1470,7 +1467,7 @@ class Mocha::Expectation
1470
1467
  # # => verify fails
1471
1468
  # @return [Expectation] the same expectation, thereby allowing invocations of other {Expectation} methods to be chained.
1472
1469
  #
1473
- # source://mocha-1.14.0/lib/mocha/expectation.rb:240
1470
+ # source://mocha//lib/mocha/expectation.rb#240
1474
1471
  def with_block_given; end
1475
1472
 
1476
1473
  # Modifies expectation so that the expected method must be called without a block.
@@ -1487,7 +1484,7 @@ class Mocha::Expectation
1487
1484
  # # => verify fails
1488
1485
  # @return [Expectation] the same expectation, thereby allowing invocations of other {Expectation} methods to be chained.
1489
1486
  #
1490
- # source://mocha-1.14.0/lib/mocha/expectation.rb:259
1487
+ # source://mocha//lib/mocha/expectation.rb#259
1491
1488
  def with_no_block_given; end
1492
1489
 
1493
1490
  # Modifies expectation so that when the expected method is called, it yields to the block with the specified +parameters+.
@@ -1522,7 +1519,7 @@ class Mocha::Expectation
1522
1519
  # @return [Expectation] the same expectation, thereby allowing invocations of other {Expectation} methods to be chained.
1523
1520
  # @see #then
1524
1521
  #
1525
- # source://mocha-1.14.0/lib/mocha/expectation.rb:298
1522
+ # source://mocha//lib/mocha/expectation.rb#298
1526
1523
  def yields(*parameters); end
1527
1524
  end
1528
1525
 
@@ -1532,7 +1529,7 @@ end
1532
1529
  #
1533
1530
  # @see Mocha::ExpectationErrorFactory
1534
1531
  #
1535
- # source://mocha-1.14.0/lib/mocha/expectation_error.rb:7
1532
+ # source://mocha//lib/mocha/expectation_error.rb#7
1536
1533
  class Mocha::ExpectationError < ::Exception; end
1537
1534
 
1538
1535
  # This factory determines what class of exception should be raised when Mocha detects a test failure.
@@ -1543,12 +1540,12 @@ class Mocha::ExpectationError < ::Exception; end
1543
1540
  #
1544
1541
  # @see Mocha::Integration::MiniTest::Adapter
1545
1542
  #
1546
- # source://mocha-1.14.0/lib/mocha/expectation_error_factory.rb:12
1543
+ # source://mocha//lib/mocha/expectation_error_factory.rb#12
1547
1544
  class Mocha::ExpectationErrorFactory
1548
1545
  class << self
1549
1546
  # @private
1550
1547
  #
1551
- # source://mocha-1.14.0/lib/mocha/expectation_error_factory.rb:26
1548
+ # source://mocha//lib/mocha/expectation_error_factory.rb#26
1552
1549
  def build(message = T.unsafe(nil), backtrace = T.unsafe(nil)); end
1553
1550
 
1554
1551
  # Determines what class of exception should be raised when Mocha detects a test failure.
@@ -1560,67 +1557,67 @@ class Mocha::ExpectationErrorFactory
1560
1557
  # @return [Exception] class of exception to be raised when an expectation error occurs
1561
1558
  # @see Mocha::ExpectationError
1562
1559
  #
1563
- # source://mocha-1.14.0/lib/mocha/expectation_error_factory.rb:23
1560
+ # source://mocha//lib/mocha/expectation_error_factory.rb#23
1564
1561
  def exception_class; end
1565
1562
 
1566
1563
  # Sets the attribute exception_class
1567
1564
  #
1568
1565
  # @param value the value to set the attribute exception_class to.
1569
1566
  #
1570
- # source://mocha-1.14.0/lib/mocha/expectation_error_factory.rb:23
1567
+ # source://mocha//lib/mocha/expectation_error_factory.rb#23
1571
1568
  def exception_class=(_arg0); end
1572
1569
  end
1573
1570
  end
1574
1571
 
1575
- # source://mocha-1.14.0/lib/mocha/expectation_list.rb:2
1572
+ # source://mocha//lib/mocha/expectation_list.rb#2
1576
1573
  class Mocha::ExpectationList
1577
1574
  # @return [ExpectationList] a new instance of ExpectationList
1578
1575
  #
1579
- # source://mocha-1.14.0/lib/mocha/expectation_list.rb:3
1576
+ # source://mocha//lib/mocha/expectation_list.rb#3
1580
1577
  def initialize(expectations = T.unsafe(nil)); end
1581
1578
 
1582
- # source://mocha-1.14.0/lib/mocha/expectation_list.rb:48
1579
+ # source://mocha//lib/mocha/expectation_list.rb#48
1583
1580
  def +(other); end
1584
1581
 
1585
- # source://mocha-1.14.0/lib/mocha/expectation_list.rb:7
1582
+ # source://mocha//lib/mocha/expectation_list.rb#7
1586
1583
  def add(expectation); end
1587
1584
 
1588
1585
  # @return [Boolean]
1589
1586
  #
1590
- # source://mocha-1.14.0/lib/mocha/expectation_list.rb:44
1587
+ # source://mocha//lib/mocha/expectation_list.rb#44
1591
1588
  def any?; end
1592
1589
 
1593
- # source://mocha-1.14.0/lib/mocha/expectation_list.rb:40
1590
+ # source://mocha//lib/mocha/expectation_list.rb#40
1594
1591
  def length; end
1595
1592
 
1596
- # source://mocha-1.14.0/lib/mocha/expectation_list.rb:20
1593
+ # source://mocha//lib/mocha/expectation_list.rb#20
1597
1594
  def match(invocation); end
1598
1595
 
1599
- # source://mocha-1.14.0/lib/mocha/expectation_list.rb:24
1596
+ # source://mocha//lib/mocha/expectation_list.rb#24
1600
1597
  def match_allowing_invocation(invocation); end
1601
1598
 
1602
1599
  # @return [Boolean]
1603
1600
  #
1604
- # source://mocha-1.14.0/lib/mocha/expectation_list.rb:16
1601
+ # source://mocha//lib/mocha/expectation_list.rb#16
1605
1602
  def matches_method?(method_name); end
1606
1603
 
1607
- # source://mocha-1.14.0/lib/mocha/expectation_list.rb:12
1604
+ # source://mocha//lib/mocha/expectation_list.rb#12
1608
1605
  def remove_all_matching_method(method_name); end
1609
1606
 
1610
- # source://mocha-1.14.0/lib/mocha/expectation_list.rb:32
1607
+ # source://mocha//lib/mocha/expectation_list.rb#32
1611
1608
  def to_a; end
1612
1609
 
1613
- # source://mocha-1.14.0/lib/mocha/expectation_list.rb:36
1610
+ # source://mocha//lib/mocha/expectation_list.rb#36
1614
1611
  def to_set; end
1615
1612
 
1616
1613
  # @return [Boolean]
1617
1614
  #
1618
- # source://mocha-1.14.0/lib/mocha/expectation_list.rb:28
1615
+ # source://mocha//lib/mocha/expectation_list.rb#28
1619
1616
  def verified?(assertion_counter = T.unsafe(nil)); end
1620
1617
 
1621
1618
  private
1622
1619
 
1623
- # source://mocha-1.14.0/lib/mocha/expectation_list.rb:54
1620
+ # source://mocha//lib/mocha/expectation_list.rb#54
1624
1621
  def matching_expectations(invocation); end
1625
1622
  end
1626
1623
 
@@ -1639,20 +1636,20 @@ end
1639
1636
  # @see Mocha::ExpectationErrorFactory
1640
1637
  # @see Mocha::API
1641
1638
  #
1642
- # source://mocha-1.14.0/lib/mocha/hooks.rb:18
1639
+ # source://mocha//lib/mocha/hooks.rb#18
1643
1640
  module Mocha::Hooks
1644
1641
  # Prepares Mocha before a test (only for use by authors of test libraries).
1645
1642
  #
1646
1643
  # This method should be called before each individual test starts (including before any "setup" code).
1647
1644
  #
1648
- # source://mocha-1.14.0/lib/mocha/hooks.rb:22
1645
+ # source://mocha//lib/mocha/hooks.rb#22
1649
1646
  def mocha_setup; end
1650
1647
 
1651
1648
  # Resets Mocha after a test (only for use by authors of test libraries).
1652
1649
  #
1653
1650
  # This method should be called after each individual test has finished (including after any "teardown" code).
1654
1651
  #
1655
- # source://mocha-1.14.0/lib/mocha/hooks.rb:38
1652
+ # source://mocha//lib/mocha/hooks.rb#38
1656
1653
  def mocha_teardown; end
1657
1654
 
1658
1655
  # Verifies that all mock expectations have been met (only for use by authors of test libraries).
@@ -1661,119 +1658,119 @@ module Mocha::Hooks
1661
1658
  #
1662
1659
  # This method should be called at the end of each individual test, before it has been determined whether or not the test has passed.
1663
1660
  #
1664
- # source://mocha-1.14.0/lib/mocha/hooks.rb:31
1661
+ # source://mocha//lib/mocha/hooks.rb#31
1665
1662
  def mocha_verify(assertion_counter = T.unsafe(nil)); end
1666
1663
  end
1667
1664
 
1668
- # source://mocha-1.14.0/lib/mocha/names.rb:12
1665
+ # source://mocha//lib/mocha/names.rb#12
1669
1666
  class Mocha::ImpersonatingAnyInstanceName
1670
1667
  # @return [ImpersonatingAnyInstanceName] a new instance of ImpersonatingAnyInstanceName
1671
1668
  #
1672
- # source://mocha-1.14.0/lib/mocha/names.rb:13
1669
+ # source://mocha//lib/mocha/names.rb#13
1673
1670
  def initialize(klass); end
1674
1671
 
1675
- # source://mocha-1.14.0/lib/mocha/names.rb:17
1672
+ # source://mocha//lib/mocha/names.rb#17
1676
1673
  def mocha_inspect; end
1677
1674
  end
1678
1675
 
1679
- # source://mocha-1.14.0/lib/mocha/names.rb:2
1676
+ # source://mocha//lib/mocha/names.rb#2
1680
1677
  class Mocha::ImpersonatingName
1681
1678
  # @return [ImpersonatingName] a new instance of ImpersonatingName
1682
1679
  #
1683
- # source://mocha-1.14.0/lib/mocha/names.rb:3
1680
+ # source://mocha//lib/mocha/names.rb#3
1684
1681
  def initialize(object); end
1685
1682
 
1686
- # source://mocha-1.14.0/lib/mocha/names.rb:7
1683
+ # source://mocha//lib/mocha/names.rb#7
1687
1684
  def mocha_inspect; end
1688
1685
  end
1689
1686
 
1690
- # source://mocha-1.14.0/lib/mocha/in_state_ordering_constraint.rb:2
1687
+ # source://mocha//lib/mocha/in_state_ordering_constraint.rb#2
1691
1688
  class Mocha::InStateOrderingConstraint
1692
1689
  # @return [InStateOrderingConstraint] a new instance of InStateOrderingConstraint
1693
1690
  #
1694
- # source://mocha-1.14.0/lib/mocha/in_state_ordering_constraint.rb:3
1691
+ # source://mocha//lib/mocha/in_state_ordering_constraint.rb#3
1695
1692
  def initialize(state_predicate); end
1696
1693
 
1697
1694
  # @return [Boolean]
1698
1695
  #
1699
- # source://mocha-1.14.0/lib/mocha/in_state_ordering_constraint.rb:7
1696
+ # source://mocha//lib/mocha/in_state_ordering_constraint.rb#7
1700
1697
  def allows_invocation_now?; end
1701
1698
 
1702
- # source://mocha-1.14.0/lib/mocha/in_state_ordering_constraint.rb:11
1699
+ # source://mocha//lib/mocha/in_state_ordering_constraint.rb#11
1703
1700
  def mocha_inspect; end
1704
1701
  end
1705
1702
 
1706
- # source://mocha-1.14.0/lib/mocha/inspect.rb:4
1703
+ # source://mocha//lib/mocha/inspect.rb#4
1707
1704
  module Mocha::Inspect; end
1708
1705
 
1709
- # source://mocha-1.14.0/lib/mocha/inspect.rb:13
1706
+ # source://mocha//lib/mocha/inspect.rb#13
1710
1707
  module Mocha::Inspect::ArrayMethods
1711
- # source://mocha-1.14.0/lib/mocha/inspect.rb:14
1708
+ # source://mocha//lib/mocha/inspect.rb#14
1712
1709
  def mocha_inspect(wrapped = T.unsafe(nil)); end
1713
1710
  end
1714
1711
 
1715
- # source://mocha-1.14.0/lib/mocha/inspect.rb:33
1712
+ # source://mocha//lib/mocha/inspect.rb#33
1716
1713
  module Mocha::Inspect::DateMethods
1717
- # source://mocha-1.14.0/lib/mocha/inspect.rb:34
1714
+ # source://mocha//lib/mocha/inspect.rb#34
1718
1715
  def mocha_inspect; end
1719
1716
  end
1720
1717
 
1721
- # source://mocha-1.14.0/lib/mocha/inspect.rb:20
1718
+ # source://mocha//lib/mocha/inspect.rb#20
1722
1719
  module Mocha::Inspect::HashMethods
1723
- # source://mocha-1.14.0/lib/mocha/inspect.rb:21
1720
+ # source://mocha//lib/mocha/inspect.rb#21
1724
1721
  def mocha_inspect(wrapped = T.unsafe(nil)); end
1725
1722
  end
1726
1723
 
1727
- # source://mocha-1.14.0/lib/mocha/inspect.rb:5
1724
+ # source://mocha//lib/mocha/inspect.rb#5
1728
1725
  module Mocha::Inspect::ObjectMethods
1729
- # source://mocha-1.14.0/lib/mocha/inspect.rb:6
1726
+ # source://mocha//lib/mocha/inspect.rb#6
1730
1727
  def mocha_inspect; end
1731
1728
  end
1732
1729
 
1733
- # source://mocha-1.14.0/lib/mocha/inspect.rb:27
1730
+ # source://mocha//lib/mocha/inspect.rb#27
1734
1731
  module Mocha::Inspect::TimeMethods
1735
- # source://mocha-1.14.0/lib/mocha/inspect.rb:28
1732
+ # source://mocha//lib/mocha/inspect.rb#28
1736
1733
  def mocha_inspect; end
1737
1734
  end
1738
1735
 
1739
- # source://mocha-1.14.0/lib/mocha/instance_method.rb:4
1736
+ # source://mocha//lib/mocha/instance_method.rb#4
1740
1737
  class Mocha::InstanceMethod < ::Mocha::StubbedMethod
1741
1738
  private
1742
1739
 
1743
- # source://mocha-1.14.0/lib/mocha/instance_method.rb:11
1740
+ # source://mocha//lib/mocha/instance_method.rb#11
1744
1741
  def method_body(method); end
1745
1742
 
1746
- # source://mocha-1.14.0/lib/mocha/instance_method.rb:7
1743
+ # source://mocha//lib/mocha/instance_method.rb#7
1747
1744
  def mock_owner; end
1748
1745
 
1749
- # source://mocha-1.14.0/lib/mocha/instance_method.rb:19
1746
+ # source://mocha//lib/mocha/instance_method.rb#19
1750
1747
  def original_method_owner; end
1751
1748
 
1752
- # source://mocha-1.14.0/lib/mocha/instance_method.rb:15
1749
+ # source://mocha//lib/mocha/instance_method.rb#15
1753
1750
  def stubbee_method(method_name); end
1754
1751
  end
1755
1752
 
1756
- # source://mocha-1.14.0/lib/mocha/integration/mini_test/nothing.rb:2
1753
+ # source://mocha//lib/mocha/integration/mini_test/nothing.rb#2
1757
1754
  module Mocha::Integration; end
1758
1755
 
1759
- # source://mocha-1.14.0/lib/mocha/integration/assertion_counter.rb:3
1756
+ # source://mocha//lib/mocha/integration/assertion_counter.rb#3
1760
1757
  class Mocha::Integration::AssertionCounter
1761
1758
  # @return [AssertionCounter] a new instance of AssertionCounter
1762
1759
  #
1763
- # source://mocha-1.14.0/lib/mocha/integration/assertion_counter.rb:4
1760
+ # source://mocha//lib/mocha/integration/assertion_counter.rb#4
1764
1761
  def initialize(test_case); end
1765
1762
 
1766
- # source://mocha-1.14.0/lib/mocha/integration/assertion_counter.rb:8
1763
+ # source://mocha//lib/mocha/integration/assertion_counter.rb#8
1767
1764
  def increment; end
1768
1765
  end
1769
1766
 
1770
- # source://mocha-1.14.0/lib/mocha/integration/mini_test/nothing.rb:3
1767
+ # source://mocha//lib/mocha/integration/mini_test/nothing.rb#3
1771
1768
  module Mocha::Integration::MiniTest
1772
1769
  class << self
1773
- # source://mocha-1.14.0/lib/mocha/integration/mini_test.rb:22
1770
+ # source://mocha//lib/mocha/integration/mini_test.rb#22
1774
1771
  def activate; end
1775
1772
 
1776
- # source://mocha-1.14.0/lib/mocha/integration/mini_test/exception_translation.rb:6
1773
+ # source://mocha//lib/mocha/integration/mini_test/exception_translation.rb#6
1777
1774
  def translate(exception); end
1778
1775
  end
1779
1776
  end
@@ -1782,7 +1779,7 @@ end
1782
1779
  #
1783
1780
  # See the source code for an example of how to integrate Mocha into a test library.
1784
1781
  #
1785
- # source://mocha-1.14.0/lib/mocha/integration/mini_test/adapter.rb:11
1782
+ # source://mocha//lib/mocha/integration/mini_test/adapter.rb#11
1786
1783
  module Mocha::Integration::MiniTest::Adapter
1787
1784
  include ::Mocha::ParameterMatchers
1788
1785
  include ::Mocha::Hooks
@@ -1790,373 +1787,373 @@ module Mocha::Integration::MiniTest::Adapter
1790
1787
 
1791
1788
  # @private
1792
1789
  #
1793
- # source://mocha-1.14.0/lib/mocha/integration/mini_test/adapter.rb:45
1790
+ # source://mocha//lib/mocha/integration/mini_test/adapter.rb#45
1794
1791
  def after_teardown; end
1795
1792
 
1796
1793
  # @private
1797
1794
  #
1798
- # source://mocha-1.14.0/lib/mocha/integration/mini_test/adapter.rb:30
1795
+ # source://mocha//lib/mocha/integration/mini_test/adapter.rb#30
1799
1796
  def before_setup; end
1800
1797
 
1801
1798
  # @private
1802
1799
  #
1803
- # source://mocha-1.14.0/lib/mocha/integration/mini_test/adapter.rb:36
1800
+ # source://mocha//lib/mocha/integration/mini_test/adapter.rb#36
1804
1801
  def before_teardown; end
1805
1802
 
1806
1803
  class << self
1807
1804
  # @private
1808
1805
  # @return [Boolean]
1809
1806
  #
1810
- # source://mocha-1.14.0/lib/mocha/integration/mini_test/adapter.rb:15
1807
+ # source://mocha//lib/mocha/integration/mini_test/adapter.rb#15
1811
1808
  def applicable_to?(mini_test_version); end
1812
1809
 
1813
1810
  # @private
1814
1811
  #
1815
- # source://mocha-1.14.0/lib/mocha/integration/mini_test/adapter.rb:20
1812
+ # source://mocha//lib/mocha/integration/mini_test/adapter.rb#20
1816
1813
  def description; end
1817
1814
 
1818
1815
  # @private
1819
1816
  # @private
1820
1817
  #
1821
- # source://mocha-1.14.0/lib/mocha/integration/mini_test/adapter.rb:25
1818
+ # source://mocha//lib/mocha/integration/mini_test/adapter.rb#25
1822
1819
  def included(_mod); end
1823
1820
  end
1824
1821
  end
1825
1822
 
1826
- # source://mocha-1.14.0/lib/mocha/integration/mini_test/nothing.rb:4
1823
+ # source://mocha//lib/mocha/integration/mini_test/nothing.rb#4
1827
1824
  module Mocha::Integration::MiniTest::Nothing
1828
1825
  class << self
1829
1826
  # @return [Boolean]
1830
1827
  #
1831
- # source://mocha-1.14.0/lib/mocha/integration/mini_test/nothing.rb:5
1828
+ # source://mocha//lib/mocha/integration/mini_test/nothing.rb#5
1832
1829
  def applicable_to?(_test_unit_version, _ruby_version = T.unsafe(nil)); end
1833
1830
 
1834
- # source://mocha-1.14.0/lib/mocha/integration/mini_test/nothing.rb:9
1831
+ # source://mocha//lib/mocha/integration/mini_test/nothing.rb#9
1835
1832
  def description; end
1836
1833
 
1837
1834
  # @private
1838
1835
  #
1839
- # source://mocha-1.14.0/lib/mocha/integration/mini_test/nothing.rb:13
1836
+ # source://mocha//lib/mocha/integration/mini_test/nothing.rb#13
1840
1837
  def included(_mod); end
1841
1838
  end
1842
1839
  end
1843
1840
 
1844
- # source://mocha-1.14.0/lib/mocha/integration/mini_test/version_13.rb:8
1841
+ # source://mocha//lib/mocha/integration/mini_test/version_13.rb#8
1845
1842
  module Mocha::Integration::MiniTest::Version13
1846
1843
  include ::Mocha::API
1847
1844
 
1848
1845
  class << self
1849
1846
  # @return [Boolean]
1850
1847
  #
1851
- # source://mocha-1.14.0/lib/mocha/integration/mini_test/version_13.rb:9
1848
+ # source://mocha//lib/mocha/integration/mini_test/version_13.rb#9
1852
1849
  def applicable_to?(mini_test_version); end
1853
1850
 
1854
- # source://mocha-1.14.0/lib/mocha/integration/mini_test/version_13.rb:13
1851
+ # source://mocha//lib/mocha/integration/mini_test/version_13.rb#13
1855
1852
  def description; end
1856
1853
 
1857
1854
  # @private
1858
1855
  #
1859
- # source://mocha-1.14.0/lib/mocha/integration/mini_test/version_13.rb:17
1856
+ # source://mocha//lib/mocha/integration/mini_test/version_13.rb#17
1860
1857
  def included(mod); end
1861
1858
  end
1862
1859
  end
1863
1860
 
1864
- # source://mocha-1.14.0/lib/mocha/integration/mini_test/version_13.rb:21
1861
+ # source://mocha//lib/mocha/integration/mini_test/version_13.rb#21
1865
1862
  module Mocha::Integration::MiniTest::Version13::RunMethodPatch
1866
- # source://mocha-1.14.0/lib/mocha/integration/mini_test/version_13.rb:23
1863
+ # source://mocha//lib/mocha/integration/mini_test/version_13.rb#23
1867
1864
  def run(runner); end
1868
1865
  end
1869
1866
 
1870
- # source://mocha-1.14.0/lib/mocha/integration/mini_test/version_140.rb:8
1867
+ # source://mocha//lib/mocha/integration/mini_test/version_140.rb#8
1871
1868
  module Mocha::Integration::MiniTest::Version140
1872
1869
  include ::Mocha::API
1873
1870
 
1874
1871
  class << self
1875
1872
  # @return [Boolean]
1876
1873
  #
1877
- # source://mocha-1.14.0/lib/mocha/integration/mini_test/version_140.rb:9
1874
+ # source://mocha//lib/mocha/integration/mini_test/version_140.rb#9
1878
1875
  def applicable_to?(mini_test_version); end
1879
1876
 
1880
- # source://mocha-1.14.0/lib/mocha/integration/mini_test/version_140.rb:13
1877
+ # source://mocha//lib/mocha/integration/mini_test/version_140.rb#13
1881
1878
  def description; end
1882
1879
 
1883
1880
  # @private
1884
1881
  #
1885
- # source://mocha-1.14.0/lib/mocha/integration/mini_test/version_140.rb:17
1882
+ # source://mocha//lib/mocha/integration/mini_test/version_140.rb#17
1886
1883
  def included(mod); end
1887
1884
  end
1888
1885
  end
1889
1886
 
1890
- # source://mocha-1.14.0/lib/mocha/integration/mini_test/version_140.rb:21
1887
+ # source://mocha//lib/mocha/integration/mini_test/version_140.rb#21
1891
1888
  module Mocha::Integration::MiniTest::Version140::RunMethodPatch
1892
- # source://mocha-1.14.0/lib/mocha/integration/mini_test/version_140.rb:23
1889
+ # source://mocha//lib/mocha/integration/mini_test/version_140.rb#23
1893
1890
  def run(runner); end
1894
1891
  end
1895
1892
 
1896
- # source://mocha-1.14.0/lib/mocha/integration/mini_test/version_141.rb:8
1893
+ # source://mocha//lib/mocha/integration/mini_test/version_141.rb#8
1897
1894
  module Mocha::Integration::MiniTest::Version141
1898
1895
  include ::Mocha::API
1899
1896
 
1900
1897
  class << self
1901
1898
  # @return [Boolean]
1902
1899
  #
1903
- # source://mocha-1.14.0/lib/mocha/integration/mini_test/version_141.rb:9
1900
+ # source://mocha//lib/mocha/integration/mini_test/version_141.rb#9
1904
1901
  def applicable_to?(mini_test_version); end
1905
1902
 
1906
- # source://mocha-1.14.0/lib/mocha/integration/mini_test/version_141.rb:13
1903
+ # source://mocha//lib/mocha/integration/mini_test/version_141.rb#13
1907
1904
  def description; end
1908
1905
 
1909
1906
  # @private
1910
1907
  #
1911
- # source://mocha-1.14.0/lib/mocha/integration/mini_test/version_141.rb:17
1908
+ # source://mocha//lib/mocha/integration/mini_test/version_141.rb#17
1912
1909
  def included(mod); end
1913
1910
  end
1914
1911
  end
1915
1912
 
1916
- # source://mocha-1.14.0/lib/mocha/integration/mini_test/version_141.rb:21
1913
+ # source://mocha//lib/mocha/integration/mini_test/version_141.rb#21
1917
1914
  module Mocha::Integration::MiniTest::Version141::RunMethodPatch
1918
- # source://mocha-1.14.0/lib/mocha/integration/mini_test/version_141.rb:23
1915
+ # source://mocha//lib/mocha/integration/mini_test/version_141.rb#23
1919
1916
  def run(runner); end
1920
1917
  end
1921
1918
 
1922
- # source://mocha-1.14.0/lib/mocha/integration/mini_test/version_142_to_172.rb:8
1919
+ # source://mocha//lib/mocha/integration/mini_test/version_142_to_172.rb#8
1923
1920
  module Mocha::Integration::MiniTest::Version142To172
1924
1921
  include ::Mocha::API
1925
1922
 
1926
1923
  class << self
1927
1924
  # @return [Boolean]
1928
1925
  #
1929
- # source://mocha-1.14.0/lib/mocha/integration/mini_test/version_142_to_172.rb:9
1926
+ # source://mocha//lib/mocha/integration/mini_test/version_142_to_172.rb#9
1930
1927
  def applicable_to?(mini_test_version); end
1931
1928
 
1932
- # source://mocha-1.14.0/lib/mocha/integration/mini_test/version_142_to_172.rb:13
1929
+ # source://mocha//lib/mocha/integration/mini_test/version_142_to_172.rb#13
1933
1930
  def description; end
1934
1931
 
1935
1932
  # @private
1936
1933
  #
1937
- # source://mocha-1.14.0/lib/mocha/integration/mini_test/version_142_to_172.rb:17
1934
+ # source://mocha//lib/mocha/integration/mini_test/version_142_to_172.rb#17
1938
1935
  def included(mod); end
1939
1936
  end
1940
1937
  end
1941
1938
 
1942
- # source://mocha-1.14.0/lib/mocha/integration/mini_test/version_142_to_172.rb:21
1939
+ # source://mocha//lib/mocha/integration/mini_test/version_142_to_172.rb#21
1943
1940
  module Mocha::Integration::MiniTest::Version142To172::RunMethodPatch
1944
- # source://mocha-1.14.0/lib/mocha/integration/mini_test/version_142_to_172.rb:23
1941
+ # source://mocha//lib/mocha/integration/mini_test/version_142_to_172.rb#23
1945
1942
  def run(runner); end
1946
1943
  end
1947
1944
 
1948
- # source://mocha-1.14.0/lib/mocha/integration/mini_test/version_200.rb:8
1945
+ # source://mocha//lib/mocha/integration/mini_test/version_200.rb#8
1949
1946
  module Mocha::Integration::MiniTest::Version200
1950
1947
  include ::Mocha::API
1951
1948
 
1952
1949
  class << self
1953
1950
  # @return [Boolean]
1954
1951
  #
1955
- # source://mocha-1.14.0/lib/mocha/integration/mini_test/version_200.rb:9
1952
+ # source://mocha//lib/mocha/integration/mini_test/version_200.rb#9
1956
1953
  def applicable_to?(mini_test_version); end
1957
1954
 
1958
- # source://mocha-1.14.0/lib/mocha/integration/mini_test/version_200.rb:13
1955
+ # source://mocha//lib/mocha/integration/mini_test/version_200.rb#13
1959
1956
  def description; end
1960
1957
 
1961
1958
  # @private
1962
1959
  #
1963
- # source://mocha-1.14.0/lib/mocha/integration/mini_test/version_200.rb:17
1960
+ # source://mocha//lib/mocha/integration/mini_test/version_200.rb#17
1964
1961
  def included(mod); end
1965
1962
  end
1966
1963
  end
1967
1964
 
1968
- # source://mocha-1.14.0/lib/mocha/integration/mini_test/version_200.rb:21
1965
+ # source://mocha//lib/mocha/integration/mini_test/version_200.rb#21
1969
1966
  module Mocha::Integration::MiniTest::Version200::RunMethodPatch
1970
- # source://mocha-1.14.0/lib/mocha/integration/mini_test/version_200.rb:23
1967
+ # source://mocha//lib/mocha/integration/mini_test/version_200.rb#23
1971
1968
  def run(runner); end
1972
1969
  end
1973
1970
 
1974
- # source://mocha-1.14.0/lib/mocha/integration/mini_test/version_201_to_222.rb:8
1971
+ # source://mocha//lib/mocha/integration/mini_test/version_201_to_222.rb#8
1975
1972
  module Mocha::Integration::MiniTest::Version201To222
1976
1973
  include ::Mocha::API
1977
1974
 
1978
1975
  class << self
1979
1976
  # @return [Boolean]
1980
1977
  #
1981
- # source://mocha-1.14.0/lib/mocha/integration/mini_test/version_201_to_222.rb:9
1978
+ # source://mocha//lib/mocha/integration/mini_test/version_201_to_222.rb#9
1982
1979
  def applicable_to?(mini_test_version); end
1983
1980
 
1984
- # source://mocha-1.14.0/lib/mocha/integration/mini_test/version_201_to_222.rb:13
1981
+ # source://mocha//lib/mocha/integration/mini_test/version_201_to_222.rb#13
1985
1982
  def description; end
1986
1983
 
1987
1984
  # @private
1988
1985
  #
1989
- # source://mocha-1.14.0/lib/mocha/integration/mini_test/version_201_to_222.rb:17
1986
+ # source://mocha//lib/mocha/integration/mini_test/version_201_to_222.rb#17
1990
1987
  def included(mod); end
1991
1988
  end
1992
1989
  end
1993
1990
 
1994
- # source://mocha-1.14.0/lib/mocha/integration/mini_test/version_201_to_222.rb:21
1991
+ # source://mocha//lib/mocha/integration/mini_test/version_201_to_222.rb#21
1995
1992
  module Mocha::Integration::MiniTest::Version201To222::RunMethodPatch
1996
- # source://mocha-1.14.0/lib/mocha/integration/mini_test/version_201_to_222.rb:23
1993
+ # source://mocha//lib/mocha/integration/mini_test/version_201_to_222.rb#23
1997
1994
  def run(runner); end
1998
1995
  end
1999
1996
 
2000
- # source://mocha-1.14.0/lib/mocha/integration/mini_test/version_2110_to_2111.rb:8
1997
+ # source://mocha//lib/mocha/integration/mini_test/version_2110_to_2111.rb#8
2001
1998
  module Mocha::Integration::MiniTest::Version2110To2111
2002
1999
  include ::Mocha::API
2003
2000
 
2004
2001
  class << self
2005
2002
  # @return [Boolean]
2006
2003
  #
2007
- # source://mocha-1.14.0/lib/mocha/integration/mini_test/version_2110_to_2111.rb:9
2004
+ # source://mocha//lib/mocha/integration/mini_test/version_2110_to_2111.rb#9
2008
2005
  def applicable_to?(mini_test_version); end
2009
2006
 
2010
- # source://mocha-1.14.0/lib/mocha/integration/mini_test/version_2110_to_2111.rb:13
2007
+ # source://mocha//lib/mocha/integration/mini_test/version_2110_to_2111.rb#13
2011
2008
  def description; end
2012
2009
 
2013
2010
  # @private
2014
2011
  #
2015
- # source://mocha-1.14.0/lib/mocha/integration/mini_test/version_2110_to_2111.rb:17
2012
+ # source://mocha//lib/mocha/integration/mini_test/version_2110_to_2111.rb#17
2016
2013
  def included(mod); end
2017
2014
  end
2018
2015
  end
2019
2016
 
2020
- # source://mocha-1.14.0/lib/mocha/integration/mini_test/version_2110_to_2111.rb:21
2017
+ # source://mocha//lib/mocha/integration/mini_test/version_2110_to_2111.rb#21
2021
2018
  module Mocha::Integration::MiniTest::Version2110To2111::RunMethodPatch
2022
- # source://mocha-1.14.0/lib/mocha/integration/mini_test/version_2110_to_2111.rb:23
2019
+ # source://mocha//lib/mocha/integration/mini_test/version_2110_to_2111.rb#23
2023
2020
  def run(runner); end
2024
2021
  end
2025
2022
 
2026
- # source://mocha-1.14.0/lib/mocha/integration/mini_test/version_2112_to_320.rb:8
2023
+ # source://mocha//lib/mocha/integration/mini_test/version_2112_to_320.rb#8
2027
2024
  module Mocha::Integration::MiniTest::Version2112To320
2028
2025
  include ::Mocha::API
2029
2026
 
2030
2027
  class << self
2031
2028
  # @return [Boolean]
2032
2029
  #
2033
- # source://mocha-1.14.0/lib/mocha/integration/mini_test/version_2112_to_320.rb:9
2030
+ # source://mocha//lib/mocha/integration/mini_test/version_2112_to_320.rb#9
2034
2031
  def applicable_to?(mini_test_version); end
2035
2032
 
2036
- # source://mocha-1.14.0/lib/mocha/integration/mini_test/version_2112_to_320.rb:13
2033
+ # source://mocha//lib/mocha/integration/mini_test/version_2112_to_320.rb#13
2037
2034
  def description; end
2038
2035
 
2039
2036
  # @private
2040
2037
  #
2041
- # source://mocha-1.14.0/lib/mocha/integration/mini_test/version_2112_to_320.rb:17
2038
+ # source://mocha//lib/mocha/integration/mini_test/version_2112_to_320.rb#17
2042
2039
  def included(mod); end
2043
2040
  end
2044
2041
  end
2045
2042
 
2046
- # source://mocha-1.14.0/lib/mocha/integration/mini_test/version_2112_to_320.rb:21
2043
+ # source://mocha//lib/mocha/integration/mini_test/version_2112_to_320.rb#21
2047
2044
  module Mocha::Integration::MiniTest::Version2112To320::RunMethodPatch
2048
- # source://mocha-1.14.0/lib/mocha/integration/mini_test/version_2112_to_320.rb:23
2045
+ # source://mocha//lib/mocha/integration/mini_test/version_2112_to_320.rb#23
2049
2046
  def run(runner); end
2050
2047
  end
2051
2048
 
2052
- # source://mocha-1.14.0/lib/mocha/integration/mini_test/version_230_to_2101.rb:8
2049
+ # source://mocha//lib/mocha/integration/mini_test/version_230_to_2101.rb#8
2053
2050
  module Mocha::Integration::MiniTest::Version230To2101
2054
2051
  include ::Mocha::API
2055
2052
 
2056
2053
  class << self
2057
2054
  # @return [Boolean]
2058
2055
  #
2059
- # source://mocha-1.14.0/lib/mocha/integration/mini_test/version_230_to_2101.rb:9
2056
+ # source://mocha//lib/mocha/integration/mini_test/version_230_to_2101.rb#9
2060
2057
  def applicable_to?(mini_test_version); end
2061
2058
 
2062
- # source://mocha-1.14.0/lib/mocha/integration/mini_test/version_230_to_2101.rb:13
2059
+ # source://mocha//lib/mocha/integration/mini_test/version_230_to_2101.rb#13
2063
2060
  def description; end
2064
2061
 
2065
2062
  # @private
2066
2063
  #
2067
- # source://mocha-1.14.0/lib/mocha/integration/mini_test/version_230_to_2101.rb:17
2064
+ # source://mocha//lib/mocha/integration/mini_test/version_230_to_2101.rb#17
2068
2065
  def included(mod); end
2069
2066
  end
2070
2067
  end
2071
2068
 
2072
- # source://mocha-1.14.0/lib/mocha/integration/mini_test/version_230_to_2101.rb:21
2069
+ # source://mocha//lib/mocha/integration/mini_test/version_230_to_2101.rb#21
2073
2070
  module Mocha::Integration::MiniTest::Version230To2101::RunMethodPatch
2074
- # source://mocha-1.14.0/lib/mocha/integration/mini_test/version_230_to_2101.rb:23
2071
+ # source://mocha//lib/mocha/integration/mini_test/version_230_to_2101.rb#23
2075
2072
  def run(runner); end
2076
2073
  end
2077
2074
 
2078
- # source://mocha-1.14.0/lib/mocha/integration/monkey_patcher.rb:5
2075
+ # source://mocha//lib/mocha/integration/monkey_patcher.rb#5
2079
2076
  module Mocha::Integration::MonkeyPatcher
2080
2077
  class << self
2081
- # source://mocha-1.14.0/lib/mocha/integration/monkey_patcher.rb:6
2078
+ # source://mocha//lib/mocha/integration/monkey_patcher.rb#6
2082
2079
  def apply(mod, run_method_patch); end
2083
2080
  end
2084
2081
  end
2085
2082
 
2086
- # source://mocha-1.14.0/lib/mocha/invocation.rb:10
2083
+ # source://mocha//lib/mocha/invocation.rb#10
2087
2084
  class Mocha::Invocation
2088
2085
  # @return [Invocation] a new instance of Invocation
2089
2086
  #
2090
- # source://mocha-1.14.0/lib/mocha/invocation.rb:13
2087
+ # source://mocha//lib/mocha/invocation.rb#13
2091
2088
  def initialize(mock, method_name, *arguments, &block); end
2092
2089
 
2093
- # source://mocha-1.14.0/lib/mocha/invocation.rb:53
2090
+ # source://mocha//lib/mocha/invocation.rb#53
2094
2091
  def arguments; end
2095
2092
 
2096
2093
  # Returns the value of attribute block.
2097
2094
  #
2098
- # source://mocha-1.14.0/lib/mocha/invocation.rb:11
2095
+ # source://mocha//lib/mocha/invocation.rb#11
2099
2096
  def block; end
2100
2097
 
2101
- # source://mocha-1.14.0/lib/mocha/invocation.rb:22
2098
+ # source://mocha//lib/mocha/invocation.rb#22
2102
2099
  def call(yield_parameters = T.unsafe(nil), return_values = T.unsafe(nil)); end
2103
2100
 
2104
- # source://mocha-1.14.0/lib/mocha/invocation.rb:57
2101
+ # source://mocha//lib/mocha/invocation.rb#57
2105
2102
  def call_description; end
2106
2103
 
2107
- # source://mocha-1.14.0/lib/mocha/invocation.rb:73
2104
+ # source://mocha//lib/mocha/invocation.rb#73
2108
2105
  def full_description; end
2109
2106
 
2110
2107
  # Returns the value of attribute method_name.
2111
2108
  #
2112
- # source://mocha-1.14.0/lib/mocha/invocation.rb:11
2109
+ # source://mocha//lib/mocha/invocation.rb#11
2113
2110
  def method_name; end
2114
2111
 
2115
- # source://mocha-1.14.0/lib/mocha/invocation.rb:45
2112
+ # source://mocha//lib/mocha/invocation.rb#45
2116
2113
  def raised(exception); end
2117
2114
 
2118
- # source://mocha-1.14.0/lib/mocha/invocation.rb:67
2115
+ # source://mocha//lib/mocha/invocation.rb#67
2119
2116
  def result_description; end
2120
2117
 
2121
- # source://mocha-1.14.0/lib/mocha/invocation.rb:41
2118
+ # source://mocha//lib/mocha/invocation.rb#41
2122
2119
  def returned(value); end
2123
2120
 
2124
- # source://mocha-1.14.0/lib/mocha/invocation.rb:63
2121
+ # source://mocha//lib/mocha/invocation.rb#63
2125
2122
  def short_call_description; end
2126
2123
 
2127
- # source://mocha-1.14.0/lib/mocha/invocation.rb:49
2124
+ # source://mocha//lib/mocha/invocation.rb#49
2128
2125
  def threw(tag, value); end
2129
2126
  end
2130
2127
 
2131
- # source://mocha-1.14.0/lib/mocha/logger.rb:2
2128
+ # source://mocha//lib/mocha/logger.rb#2
2132
2129
  class Mocha::Logger
2133
2130
  # @return [Logger] a new instance of Logger
2134
2131
  #
2135
- # source://mocha-1.14.0/lib/mocha/logger.rb:3
2132
+ # source://mocha//lib/mocha/logger.rb#3
2136
2133
  def initialize(io); end
2137
2134
 
2138
- # source://mocha-1.14.0/lib/mocha/logger.rb:7
2135
+ # source://mocha//lib/mocha/logger.rb#7
2139
2136
  def warn(message); end
2140
2137
  end
2141
2138
 
2142
- # source://mocha-1.14.0/lib/mocha/method_matcher.rb:2
2139
+ # source://mocha//lib/mocha/method_matcher.rb#2
2143
2140
  class Mocha::MethodMatcher
2144
2141
  # @return [MethodMatcher] a new instance of MethodMatcher
2145
2142
  #
2146
- # source://mocha-1.14.0/lib/mocha/method_matcher.rb:5
2143
+ # source://mocha//lib/mocha/method_matcher.rb#5
2147
2144
  def initialize(expected_method_name); end
2148
2145
 
2149
2146
  # Returns the value of attribute expected_method_name.
2150
2147
  #
2151
- # source://mocha-1.14.0/lib/mocha/method_matcher.rb:3
2148
+ # source://mocha//lib/mocha/method_matcher.rb#3
2152
2149
  def expected_method_name; end
2153
2150
 
2154
2151
  # @return [Boolean]
2155
2152
  #
2156
- # source://mocha-1.14.0/lib/mocha/method_matcher.rb:9
2153
+ # source://mocha//lib/mocha/method_matcher.rb#9
2157
2154
  def match?(actual_method_name); end
2158
2155
 
2159
- # source://mocha-1.14.0/lib/mocha/method_matcher.rb:13
2156
+ # source://mocha//lib/mocha/method_matcher.rb#13
2160
2157
  def mocha_inspect; end
2161
2158
  end
2162
2159
 
@@ -2223,17 +2220,17 @@ end
2223
2220
  # object.expected_method # => 2
2224
2221
  # object.expected_method # => raises exception of class Exception1
2225
2222
  #
2226
- # source://mocha-1.14.0/lib/mocha/mock.rb:76
2223
+ # source://mocha//lib/mocha/mock.rb#76
2227
2224
  class Mocha::Mock
2228
2225
  # @private
2229
2226
  # @return [Mock] a new instance of Mock
2230
2227
  #
2231
- # source://mocha-1.14.0/lib/mocha/mock.rb:274
2228
+ # source://mocha//lib/mocha/mock.rb#274
2232
2229
  def initialize(mockery, name = T.unsafe(nil), receiver = T.unsafe(nil)); end
2233
2230
 
2234
2231
  # @private
2235
2232
  #
2236
- # source://mocha-1.14.0/lib/mocha/mock.rb:298
2233
+ # source://mocha//lib/mocha/mock.rb#298
2237
2234
  def __expectations__; end
2238
2235
 
2239
2236
  # Adds an expectation that the specified method must be called exactly once with any parameters.
@@ -2264,12 +2261,12 @@ class Mocha::Mock
2264
2261
  # @overload expects
2265
2262
  # @return [Expectation] last-built expectation which can be further modified by methods on {Expectation}.
2266
2263
  #
2267
- # source://mocha-1.14.0/lib/mocha/mock.rb:111
2264
+ # source://mocha//lib/mocha/mock.rb#111
2268
2265
  def __expects__(method_name_or_hash, backtrace = T.unsafe(nil)); end
2269
2266
 
2270
2267
  # @private
2271
2268
  #
2272
- # source://mocha-1.14.0/lib/mocha/mock.rb:350
2269
+ # source://mocha//lib/mocha/mock.rb#350
2273
2270
  def __expire__; end
2274
2271
 
2275
2272
  def __singleton_class__; end
@@ -2295,34 +2292,34 @@ class Mocha::Mock
2295
2292
  # @overload stubs
2296
2293
  # @return [Expectation] last-built expectation which can be further modified by methods on {Expectation}.
2297
2294
  #
2298
- # source://mocha-1.14.0/lib/mocha/mock.rb:149
2295
+ # source://mocha//lib/mocha/mock.rb#149
2299
2296
  def __stubs__(method_name_or_hash, backtrace = T.unsafe(nil)); end
2300
2297
 
2301
2298
  # @private
2302
2299
  # @return [Boolean]
2303
2300
  #
2304
- # source://mocha-1.14.0/lib/mocha/mock.rb:345
2301
+ # source://mocha//lib/mocha/mock.rb#345
2305
2302
  def __verified__?(assertion_counter = T.unsafe(nil)); end
2306
2303
 
2307
2304
  # @private
2308
2305
  #
2309
- # source://mocha-1.14.0/lib/mocha/mock.rb:308
2306
+ # source://mocha//lib/mocha/mock.rb#308
2310
2307
  def all_expectations; end
2311
2308
 
2312
2309
  # @private
2313
2310
  # @return [Boolean]
2314
2311
  #
2315
- # source://mocha-1.14.0/lib/mocha/mock.rb:370
2312
+ # source://mocha//lib/mocha/mock.rb#370
2316
2313
  def any_expectations?; end
2317
2314
 
2318
2315
  # @private
2319
2316
  #
2320
- # source://mocha-1.14.0/lib/mocha/mock.rb:365
2317
+ # source://mocha//lib/mocha/mock.rb#365
2321
2318
  def ensure_method_not_already_defined(method_name); end
2322
2319
 
2323
2320
  # @private
2324
2321
  #
2325
- # source://mocha-1.14.0/lib/mocha/mock.rb:286
2322
+ # source://mocha//lib/mocha/mock.rb#286
2326
2323
  def everything_stubbed; end
2327
2324
 
2328
2325
  # Adds an expectation that the specified method must be called exactly once with any parameters.
@@ -2353,22 +2350,22 @@ class Mocha::Mock
2353
2350
  # @overload expects
2354
2351
  # @return [Expectation] last-built expectation which can be further modified by methods on {Expectation}.
2355
2352
  #
2356
- # source://mocha-1.14.0/lib/mocha/mock.rb:111
2353
+ # source://mocha//lib/mocha/mock.rb#111
2357
2354
  def expects(method_name_or_hash, backtrace = T.unsafe(nil)); end
2358
2355
 
2359
2356
  # @private
2360
2357
  #
2361
- # source://mocha-1.14.0/lib/mocha/mock.rb:360
2358
+ # source://mocha//lib/mocha/mock.rb#360
2362
2359
  def inspect; end
2363
2360
 
2364
2361
  # @private
2365
2362
  #
2366
- # source://mocha-1.14.0/lib/mocha/mock.rb:313
2363
+ # source://mocha//lib/mocha/mock.rb#313
2367
2364
  def method_missing(symbol, *arguments, &block); end
2368
2365
 
2369
2366
  # @private
2370
2367
  #
2371
- # source://mocha-1.14.0/lib/mocha/mock.rb:355
2368
+ # source://mocha//lib/mocha/mock.rb#355
2372
2369
  def mocha_inspect; end
2373
2370
 
2374
2371
  # Constrains the {Mock} instance so that it can only expect or stub methods to which +responder+ responds. The constraint is only applied at method invocation time.
@@ -2418,7 +2415,7 @@ class Mocha::Mock
2418
2415
  # @return [Mock] the same {Mock} instance, thereby allowing invocations of other {Mock} methods to be chained.
2419
2416
  # @see #responds_like_instance_of
2420
2417
  #
2421
- # source://mocha-1.14.0/lib/mocha/mock.rb:236
2418
+ # source://mocha//lib/mocha/mock.rb#236
2422
2419
  def quacks_like(responder); end
2423
2420
 
2424
2421
  # Constrains the {Mock} instance so that it can only expect or stub methods to which an instance of the +responder_class+ responds. The constraint is only applied at method invocation time. Note that the responder instance is instantiated using +Class#allocate+.
@@ -2449,7 +2446,7 @@ class Mocha::Mock
2449
2446
  # @return [Mock] the same {Mock} instance, thereby allowing invocations of other {Mock} methods to be chained.
2450
2447
  # @see #responds_like
2451
2448
  #
2452
- # source://mocha-1.14.0/lib/mocha/mock.rb:269
2449
+ # source://mocha//lib/mocha/mock.rb#269
2453
2450
  def quacks_like_instance_of(responder_class); end
2454
2451
 
2455
2452
  # Constrains the {Mock} instance so that it can only expect or stub methods to which +responder+ responds. The constraint is only applied at method invocation time.
@@ -2499,7 +2496,7 @@ class Mocha::Mock
2499
2496
  # @return [Mock] the same {Mock} instance, thereby allowing invocations of other {Mock} methods to be chained.
2500
2497
  # @see #responds_like_instance_of
2501
2498
  #
2502
- # source://mocha-1.14.0/lib/mocha/mock.rb:236
2499
+ # source://mocha//lib/mocha/mock.rb#236
2503
2500
  def responds_like(responder); end
2504
2501
 
2505
2502
  # Constrains the {Mock} instance so that it can only expect or stub methods to which an instance of the +responder_class+ responds. The constraint is only applied at method invocation time. Note that the responder instance is instantiated using +Class#allocate+.
@@ -2530,12 +2527,12 @@ class Mocha::Mock
2530
2527
  # @return [Mock] the same {Mock} instance, thereby allowing invocations of other {Mock} methods to be chained.
2531
2528
  # @see #responds_like
2532
2529
  #
2533
- # source://mocha-1.14.0/lib/mocha/mock.rb:269
2530
+ # source://mocha//lib/mocha/mock.rb#269
2534
2531
  def responds_like_instance_of(responder_class); end
2535
2532
 
2536
2533
  # @private
2537
2534
  #
2538
- # source://mocha-1.14.0/lib/mocha/mock.rb:303
2535
+ # source://mocha//lib/mocha/mock.rb#303
2539
2536
  def stub_everything; end
2540
2537
 
2541
2538
  # Adds an expectation that the specified method may be called any number of times with any parameters.
@@ -2559,7 +2556,7 @@ class Mocha::Mock
2559
2556
  # @overload stubs
2560
2557
  # @return [Expectation] last-built expectation which can be further modified by methods on {Expectation}.
2561
2558
  #
2562
- # source://mocha-1.14.0/lib/mocha/mock.rb:149
2559
+ # source://mocha//lib/mocha/mock.rb#149
2563
2560
  def stubs(method_name_or_hash, backtrace = T.unsafe(nil)); end
2564
2561
 
2565
2562
  # Removes the specified stubbed methods (added by calls to {#expects} or {#stubs}) and all expectations associated with them.
@@ -2579,156 +2576,156 @@ class Mocha::Mock
2579
2576
  # multiplier.unstub(:triple)
2580
2577
  # @param method_names [Array<Symbol>] names of methods to unstub.
2581
2578
  #
2582
- # source://mocha-1.14.0/lib/mocha/mock.rb:181
2579
+ # source://mocha//lib/mocha/mock.rb#181
2583
2580
  def unstub(*method_names); end
2584
2581
 
2585
2582
  private
2586
2583
 
2587
- # source://mocha-1.14.0/lib/mocha/mock.rb:393
2584
+ # source://mocha//lib/mocha/mock.rb#393
2588
2585
  def check_expiry; end
2589
2586
 
2590
- # source://mocha-1.14.0/lib/mocha/mock.rb:387
2587
+ # source://mocha//lib/mocha/mock.rb#387
2591
2588
  def check_responder_responds_to(symbol); end
2592
2589
 
2593
- # source://mocha-1.14.0/lib/mocha/mock.rb:376
2590
+ # source://mocha//lib/mocha/mock.rb#376
2594
2591
  def raise_unexpected_invocation_error(invocation, matching_expectation); end
2595
2592
 
2596
2593
  # @private
2597
2594
  # @return [Boolean]
2598
2595
  #
2599
- # source://mocha-1.14.0/lib/mocha/mock.rb:325
2596
+ # source://mocha//lib/mocha/mock.rb#325
2600
2597
  def respond_to_missing?(symbol, include_private = T.unsafe(nil)); end
2601
2598
  end
2602
2599
 
2603
- # source://mocha-1.14.0/lib/mocha/mockery.rb:14
2600
+ # source://mocha//lib/mocha/mockery.rb#14
2604
2601
  class Mocha::Mockery
2605
- # source://mocha-1.14.0/lib/mocha/mockery.rb:136
2602
+ # source://mocha//lib/mocha/mockery.rb#136
2606
2603
  def logger; end
2607
2604
 
2608
2605
  # Sets the attribute logger
2609
2606
  #
2610
2607
  # @param value the value to set the attribute logger to.
2611
2608
  #
2612
- # source://mocha-1.14.0/lib/mocha/mockery.rb:134
2609
+ # source://mocha//lib/mocha/mockery.rb#134
2613
2610
  def logger=(_arg0); end
2614
2611
 
2615
- # source://mocha-1.14.0/lib/mocha/mockery.rb:113
2612
+ # source://mocha//lib/mocha/mockery.rb#113
2616
2613
  def mocha_inspect; end
2617
2614
 
2618
- # source://mocha-1.14.0/lib/mocha/mockery.rb:67
2615
+ # source://mocha//lib/mocha/mockery.rb#67
2619
2616
  def mock_impersonating(object); end
2620
2617
 
2621
- # source://mocha-1.14.0/lib/mocha/mockery.rb:71
2618
+ # source://mocha//lib/mocha/mockery.rb#71
2622
2619
  def mock_impersonating_any_instance_of(klass); end
2623
2620
 
2624
- # source://mocha-1.14.0/lib/mocha/mockery.rb:105
2621
+ # source://mocha//lib/mocha/mockery.rb#105
2625
2622
  def mocks; end
2626
2623
 
2627
- # source://mocha-1.14.0/lib/mocha/mockery.rb:59
2624
+ # source://mocha//lib/mocha/mockery.rb#59
2628
2625
  def named_mock(name); end
2629
2626
 
2630
- # source://mocha-1.14.0/lib/mocha/mockery.rb:75
2627
+ # source://mocha//lib/mocha/mockery.rb#75
2631
2628
  def new_state_machine(name); end
2632
2629
 
2633
- # source://mocha-1.14.0/lib/mocha/mockery.rb:121
2630
+ # source://mocha//lib/mocha/mockery.rb#121
2634
2631
  def on_stubbing(object, method); end
2635
2632
 
2636
- # source://mocha-1.14.0/lib/mocha/mockery.rb:109
2633
+ # source://mocha//lib/mocha/mockery.rb#109
2637
2634
  def state_machines; end
2638
2635
 
2639
- # source://mocha-1.14.0/lib/mocha/mockery.rb:101
2636
+ # source://mocha//lib/mocha/mockery.rb#101
2640
2637
  def stubba; end
2641
2638
 
2642
- # source://mocha-1.14.0/lib/mocha/mockery.rb:95
2639
+ # source://mocha//lib/mocha/mockery.rb#95
2643
2640
  def teardown; end
2644
2641
 
2645
- # source://mocha-1.14.0/lib/mocha/mockery.rb:63
2642
+ # source://mocha//lib/mocha/mockery.rb#63
2646
2643
  def unnamed_mock; end
2647
2644
 
2648
- # source://mocha-1.14.0/lib/mocha/mockery.rb:79
2645
+ # source://mocha//lib/mocha/mockery.rb#79
2649
2646
  def verify(assertion_counter = T.unsafe(nil)); end
2650
2647
 
2651
2648
  private
2652
2649
 
2653
- # source://mocha-1.14.0/lib/mocha/mockery.rb:163
2650
+ # source://mocha//lib/mocha/mockery.rb#163
2654
2651
  def add_mock(mock); end
2655
2652
 
2656
- # source://mocha-1.14.0/lib/mocha/mockery.rb:168
2653
+ # source://mocha//lib/mocha/mockery.rb#168
2657
2654
  def add_state_machine(state_machine); end
2658
2655
 
2659
2656
  # @raise [StubbingError]
2660
2657
  #
2661
- # source://mocha-1.14.0/lib/mocha/mockery.rb:142
2658
+ # source://mocha//lib/mocha/mockery.rb#142
2662
2659
  def check(action, description, signature_proc, backtrace = T.unsafe(nil)); end
2663
2660
 
2664
- # source://mocha-1.14.0/lib/mocha/mockery.rb:151
2661
+ # source://mocha//lib/mocha/mockery.rb#151
2665
2662
  def expectations; end
2666
2663
 
2667
- # source://mocha-1.14.0/lib/mocha/mockery.rb:173
2664
+ # source://mocha//lib/mocha/mockery.rb#173
2668
2665
  def reset; end
2669
2666
 
2670
- # source://mocha-1.14.0/lib/mocha/mockery.rb:159
2667
+ # source://mocha//lib/mocha/mockery.rb#159
2671
2668
  def satisfied_expectations; end
2672
2669
 
2673
- # source://mocha-1.14.0/lib/mocha/mockery.rb:155
2670
+ # source://mocha//lib/mocha/mockery.rb#155
2674
2671
  def unsatisfied_expectations; end
2675
2672
 
2676
2673
  class << self
2677
- # source://mocha-1.14.0/lib/mocha/mockery.rb:37
2674
+ # source://mocha//lib/mocha/mockery.rb#37
2678
2675
  def instance; end
2679
2676
 
2680
- # source://mocha-1.14.0/lib/mocha/mockery.rb:41
2677
+ # source://mocha//lib/mocha/mockery.rb#41
2681
2678
  def setup; end
2682
2679
 
2683
- # source://mocha-1.14.0/lib/mocha/mockery.rb:52
2680
+ # source://mocha//lib/mocha/mockery.rb#52
2684
2681
  def teardown; end
2685
2682
 
2686
- # source://mocha-1.14.0/lib/mocha/mockery.rb:48
2683
+ # source://mocha//lib/mocha/mockery.rb#48
2687
2684
  def verify(*args); end
2688
2685
  end
2689
2686
  end
2690
2687
 
2691
- # source://mocha-1.14.0/lib/mocha/mockery.rb:15
2688
+ # source://mocha//lib/mocha/mockery.rb#15
2692
2689
  class Mocha::Mockery::Null < ::Mocha::Mockery
2693
- # source://mocha-1.14.0/lib/mocha/mockery.rb:16
2690
+ # source://mocha//lib/mocha/mockery.rb#16
2694
2691
  def add_mock(*_arg0); end
2695
2692
 
2696
- # source://mocha-1.14.0/lib/mocha/mockery.rb:20
2693
+ # source://mocha//lib/mocha/mockery.rb#20
2697
2694
  def add_state_machine(*_arg0); end
2698
2695
 
2699
- # source://mocha-1.14.0/lib/mocha/mockery.rb:24
2696
+ # source://mocha//lib/mocha/mockery.rb#24
2700
2697
  def stubba; end
2701
2698
 
2702
2699
  private
2703
2700
 
2704
2701
  # @raise [NotInitializedError]
2705
2702
  #
2706
- # source://mocha-1.14.0/lib/mocha/mockery.rb:30
2703
+ # source://mocha//lib/mocha/mockery.rb#30
2707
2704
  def raise_not_initialized_error; end
2708
2705
  end
2709
2706
 
2710
- # source://mocha-1.14.0/lib/mocha/names.rb:22
2707
+ # source://mocha//lib/mocha/names.rb#22
2711
2708
  class Mocha::Name
2712
2709
  # @return [Name] a new instance of Name
2713
2710
  #
2714
- # source://mocha-1.14.0/lib/mocha/names.rb:23
2711
+ # source://mocha//lib/mocha/names.rb#23
2715
2712
  def initialize(name); end
2716
2713
 
2717
- # source://mocha-1.14.0/lib/mocha/names.rb:27
2714
+ # source://mocha//lib/mocha/names.rb#27
2718
2715
  def mocha_inspect; end
2719
2716
  end
2720
2717
 
2721
2718
  # Exception raised when Mocha has not been initialized, e.g. outside the
2722
2719
  # context of a test.
2723
2720
  #
2724
- # source://mocha-1.14.0/lib/mocha/not_initialized_error.rb:6
2721
+ # source://mocha//lib/mocha/not_initialized_error.rb#6
2725
2722
  class Mocha::NotInitializedError < ::Mocha::ErrorWithFilteredBacktrace; end
2726
2723
 
2727
2724
  # Methods added to all objects to allow mocking and stubbing on real (i.e. non-mock) objects.
2728
2725
  #
2729
2726
  # Both {#expects} and {#stubs} return an {Expectation} which can be further modified by methods on {Expectation}.
2730
2727
  #
2731
- # source://mocha-1.14.0/lib/mocha/object_methods.rb:10
2728
+ # source://mocha//lib/mocha/object_methods.rb#10
2732
2729
  module Mocha::ObjectMethods
2733
2730
  # @private
2734
2731
  def _method(_arg0); end
@@ -2756,32 +2753,32 @@ module Mocha::ObjectMethods
2756
2753
  # @return [Expectation] last-built expectation which can be further modified by methods on {Expectation}.
2757
2754
  # @see Mock#expects
2758
2755
  #
2759
- # source://mocha-1.14.0/lib/mocha/object_methods.rb:71
2756
+ # source://mocha//lib/mocha/object_methods.rb#71
2760
2757
  def expects(expected_methods_vs_return_values); end
2761
2758
 
2762
2759
  # @private
2763
2760
  #
2764
- # source://mocha-1.14.0/lib/mocha/object_methods.rb:15
2761
+ # source://mocha//lib/mocha/object_methods.rb#15
2765
2762
  def mocha(instantiate = T.unsafe(nil)); end
2766
2763
 
2767
2764
  # @private
2768
2765
  #
2769
- # source://mocha-1.14.0/lib/mocha/object_methods.rb:24
2766
+ # source://mocha//lib/mocha/object_methods.rb#24
2770
2767
  def reset_mocha; end
2771
2768
 
2772
2769
  # @private
2773
2770
  #
2774
- # source://mocha-1.14.0/lib/mocha/object_methods.rb:39
2771
+ # source://mocha//lib/mocha/object_methods.rb#39
2775
2772
  def stubba_class; end
2776
2773
 
2777
2774
  # @private
2778
2775
  #
2779
- # source://mocha-1.14.0/lib/mocha/object_methods.rb:29
2776
+ # source://mocha//lib/mocha/object_methods.rb#29
2780
2777
  def stubba_method; end
2781
2778
 
2782
2779
  # @private
2783
2780
  #
2784
- # source://mocha-1.14.0/lib/mocha/object_methods.rb:34
2781
+ # source://mocha//lib/mocha/object_methods.rb#34
2785
2782
  def stubba_object; end
2786
2783
 
2787
2784
  # Adds an expectation that the specified method may be called any number of times with any parameters.
@@ -2807,7 +2804,7 @@ module Mocha::ObjectMethods
2807
2804
  # @return [Expectation] last-built expectation which can be further modified by methods on {Expectation}.
2808
2805
  # @see Mock#stubs
2809
2806
  #
2810
- # source://mocha-1.14.0/lib/mocha/object_methods.rb:120
2807
+ # source://mocha//lib/mocha/object_methods.rb#120
2811
2808
  def stubs(stubbed_methods_vs_return_values); end
2812
2809
 
2813
2810
  # Removes the specified stubbed methods (added by calls to {#expects} or {#stubs}) and all expectations associated with them.
@@ -2832,24 +2829,27 @@ module Mocha::ObjectMethods
2832
2829
  # multiplier.unstub(:triple)
2833
2830
  # @param method_names [Array<Symbol>] names of methods to unstub.
2834
2831
  #
2835
- # source://mocha-1.14.0/lib/mocha/object_methods.rb:161
2832
+ # source://mocha//lib/mocha/object_methods.rb#161
2836
2833
  def unstub(*method_names); end
2837
2834
  end
2838
2835
 
2839
- # source://mocha-1.14.0/lib/mocha/receivers.rb:2
2836
+ # source://mocha//lib/mocha/receivers.rb#2
2840
2837
  class Mocha::ObjectReceiver
2841
2838
  # @return [ObjectReceiver] a new instance of ObjectReceiver
2842
2839
  #
2843
- # source://mocha-1.14.0/lib/mocha/receivers.rb:3
2840
+ # source://mocha//lib/mocha/receivers.rb#3
2844
2841
  def initialize(object); end
2845
2842
 
2846
- # source://mocha-1.14.0/lib/mocha/receivers.rb:7
2843
+ # source://mocha//lib/mocha/receivers.rb#7
2847
2844
  def mocks; end
2848
2845
  end
2849
2846
 
2847
+ # source://mocha//lib/mocha/ruby_version.rb#2
2848
+ Mocha::PRE_RUBY_V19 = T.let(T.unsafe(nil), FalseClass)
2849
+
2850
2850
  # Used as parameters for {Expectation#with} to restrict the parameter values which will match the expectation. Can be nested.
2851
2851
  #
2852
- # source://mocha-1.14.0/lib/mocha/parameter_matchers.rb:3
2852
+ # source://mocha//lib/mocha/parameter_matchers.rb#3
2853
2853
  module Mocha::ParameterMatchers
2854
2854
  # Matches if +matcher+ does *not* match.
2855
2855
  #
@@ -2867,7 +2867,7 @@ module Mocha::ParameterMatchers
2867
2867
  # @return [Not] parameter matcher.
2868
2868
  # @see Expectation#with
2869
2869
  #
2870
- # source://mocha-1.14.0/lib/mocha/parameter_matchers/not.rb:24
2870
+ # source://mocha//lib/mocha/parameter_matchers/not.rb#24
2871
2871
  def Not(matcher); end
2872
2872
 
2873
2873
  # Matches if all +matchers+ match.
@@ -2886,7 +2886,7 @@ module Mocha::ParameterMatchers
2886
2886
  # @return [AllOf] parameter matcher.
2887
2887
  # @see Expectation#with
2888
2888
  #
2889
- # source://mocha-1.14.0/lib/mocha/parameter_matchers/all_of.rb:23
2889
+ # source://mocha//lib/mocha/parameter_matchers/all_of.rb#23
2890
2890
  def all_of(*matchers); end
2891
2891
 
2892
2892
  # Matches if any +matchers+ match.
@@ -2910,7 +2910,7 @@ module Mocha::ParameterMatchers
2910
2910
  # @return [AnyOf] parameter matcher.
2911
2911
  # @see Expectation#with
2912
2912
  #
2913
- # source://mocha-1.14.0/lib/mocha/parameter_matchers/any_of.rb:29
2913
+ # source://mocha//lib/mocha/parameter_matchers/any_of.rb#29
2914
2914
  def any_of(*matchers); end
2915
2915
 
2916
2916
  # Matches any parameters. This is used as the default for a newly built expectation.
@@ -2928,7 +2928,7 @@ module Mocha::ParameterMatchers
2928
2928
  # @return [AnyParameters] parameter matcher.
2929
2929
  # @see Expectation#with
2930
2930
  #
2931
- # source://mocha-1.14.0/lib/mocha/parameter_matchers/any_parameters.rb:21
2931
+ # source://mocha//lib/mocha/parameter_matchers/any_parameters.rb#21
2932
2932
  def any_parameters; end
2933
2933
 
2934
2934
  # Matches any object.
@@ -2943,7 +2943,7 @@ module Mocha::ParameterMatchers
2943
2943
  # @return [Anything] parameter matcher.
2944
2944
  # @see Expectation#with
2945
2945
  #
2946
- # source://mocha-1.14.0/lib/mocha/parameter_matchers/anything.rb:18
2946
+ # source://mocha//lib/mocha/parameter_matchers/anything.rb#18
2947
2947
  def anything; end
2948
2948
 
2949
2949
  # Matches any +Object+ equalling +value+.
@@ -2963,7 +2963,7 @@ module Mocha::ParameterMatchers
2963
2963
  # @see Expectation#with
2964
2964
  # @see Object#==
2965
2965
  #
2966
- # source://mocha-1.14.0/lib/mocha/parameter_matchers/equals.rb:24
2966
+ # source://mocha//lib/mocha/parameter_matchers/equals.rb#24
2967
2967
  def equals(value); end
2968
2968
 
2969
2969
  # Matches a URI without regard to the ordering of parameters in the query string.
@@ -2982,7 +2982,7 @@ module Mocha::ParameterMatchers
2982
2982
  # @return [EquivalentUri] parameter matcher.
2983
2983
  # @see Expectation#with
2984
2984
  #
2985
- # source://mocha-1.14.0/lib/mocha/parameter_matchers/equivalent_uri.rb:26
2985
+ # source://mocha//lib/mocha/parameter_matchers/equivalent_uri.rb#26
2986
2986
  def equivalent_uri(uri); end
2987
2987
 
2988
2988
  # Matches +Hash+ containing all +entries+.
@@ -3001,7 +3001,7 @@ module Mocha::ParameterMatchers
3001
3001
  # @return [HasEntries] parameter matcher.
3002
3002
  # @see Expectation#with
3003
3003
  #
3004
- # source://mocha-1.14.0/lib/mocha/parameter_matchers/has_entries.rb:26
3004
+ # source://mocha//lib/mocha/parameter_matchers/has_entries.rb#26
3005
3005
  def has_entries(entries); end
3006
3006
 
3007
3007
  # Matches +Hash+ containing entry with +key+ and +value+.
@@ -3032,7 +3032,7 @@ module Mocha::ParameterMatchers
3032
3032
  # @return [HasEntry] parameter matcher.
3033
3033
  # @see Expectation#with
3034
3034
  #
3035
- # source://mocha-1.14.0/lib/mocha/parameter_matchers/has_entry.rb:43
3035
+ # source://mocha//lib/mocha/parameter_matchers/has_entry.rb#43
3036
3036
  def has_entry(*options); end
3037
3037
 
3038
3038
  # Matches +Hash+ containing +key+.
@@ -3051,7 +3051,7 @@ module Mocha::ParameterMatchers
3051
3051
  # @return [HasKey] parameter matcher.
3052
3052
  # @see Expectation#with
3053
3053
  #
3054
- # source://mocha-1.14.0/lib/mocha/parameter_matchers/has_key.rb:24
3054
+ # source://mocha//lib/mocha/parameter_matchers/has_key.rb#24
3055
3055
  def has_key(key); end
3056
3056
 
3057
3057
  # Matches +Hash+ containing +keys+.
@@ -3070,7 +3070,7 @@ module Mocha::ParameterMatchers
3070
3070
  # @return [HasKeys] parameter matcher.
3071
3071
  # @see Expectation#with
3072
3072
  #
3073
- # source://mocha-1.14.0/lib/mocha/parameter_matchers/has_keys.rb:24
3073
+ # source://mocha//lib/mocha/parameter_matchers/has_keys.rb#24
3074
3074
  def has_keys(*keys); end
3075
3075
 
3076
3076
  # Matches +Hash+ containing +value+.
@@ -3089,7 +3089,7 @@ module Mocha::ParameterMatchers
3089
3089
  # @return [HasValue] parameter matcher.
3090
3090
  # @see Expectation#with
3091
3091
  #
3092
- # source://mocha-1.14.0/lib/mocha/parameter_matchers/has_value.rb:24
3092
+ # source://mocha//lib/mocha/parameter_matchers/has_value.rb#24
3093
3093
  def has_value(value); end
3094
3094
 
3095
3095
  # Matches any object that responds with +true+ to +include?(item)+
@@ -3139,7 +3139,7 @@ module Mocha::ParameterMatchers
3139
3139
  # @return [Includes] parameter matcher.
3140
3140
  # @see Expectation#with
3141
3141
  #
3142
- # source://mocha-1.14.0/lib/mocha/parameter_matchers/includes.rb:63
3142
+ # source://mocha//lib/mocha/parameter_matchers/includes.rb#63
3143
3143
  def includes(*items); end
3144
3144
 
3145
3145
  # Matches any object that is an instance of +klass+
@@ -3159,7 +3159,7 @@ module Mocha::ParameterMatchers
3159
3159
  # @see Expectation#with
3160
3160
  # @see Kernel#instance_of?
3161
3161
  #
3162
- # source://mocha-1.14.0/lib/mocha/parameter_matchers/instance_of.rb:24
3162
+ # source://mocha//lib/mocha/parameter_matchers/instance_of.rb#24
3163
3163
  def instance_of(klass); end
3164
3164
 
3165
3165
  # Matches any object that is a +klass+.
@@ -3179,7 +3179,7 @@ module Mocha::ParameterMatchers
3179
3179
  # @see Expectation#with
3180
3180
  # @see Kernel#is_a?
3181
3181
  #
3182
- # source://mocha-1.14.0/lib/mocha/parameter_matchers/is_a.rb:25
3182
+ # source://mocha//lib/mocha/parameter_matchers/is_a.rb#25
3183
3183
  def is_a(klass); end
3184
3184
 
3185
3185
  # Matches any +Object+ that is a kind of +klass+.
@@ -3199,7 +3199,7 @@ module Mocha::ParameterMatchers
3199
3199
  # @see Expectation#with
3200
3200
  # @see Kernel#kind_of?
3201
3201
  #
3202
- # source://mocha-1.14.0/lib/mocha/parameter_matchers/kind_of.rb:24
3202
+ # source://mocha//lib/mocha/parameter_matchers/kind_of.rb#24
3203
3203
  def kind_of(klass); end
3204
3204
 
3205
3205
  # Matches optional parameters if available.
@@ -3228,7 +3228,7 @@ module Mocha::ParameterMatchers
3228
3228
  # @return [Optionally] parameter matcher.
3229
3229
  # @see Expectation#with
3230
3230
  #
3231
- # source://mocha-1.14.0/lib/mocha/parameter_matchers/optionally.rb:33
3231
+ # source://mocha//lib/mocha/parameter_matchers/optionally.rb#33
3232
3232
  def optionally(*matchers); end
3233
3233
 
3234
3234
  # Matches any object that matches +regexp+.
@@ -3248,7 +3248,7 @@ module Mocha::ParameterMatchers
3248
3248
  # @return [RegexpMatches] parameter matcher.
3249
3249
  # @see Expectation#with
3250
3250
  #
3251
- # source://mocha-1.14.0/lib/mocha/parameter_matchers/regexp_matches.rb:24
3251
+ # source://mocha//lib/mocha/parameter_matchers/regexp_matches.rb#24
3252
3252
  def regexp_matches(regexp); end
3253
3253
 
3254
3254
  # Matches any object that responds to +message+ with +result+. To put it another way, it tests the quack, not the duck.
@@ -3268,7 +3268,7 @@ module Mocha::ParameterMatchers
3268
3268
  # @return [RespondsWith] parameter matcher.
3269
3269
  # @see Expectation#with
3270
3270
  #
3271
- # source://mocha-1.14.0/lib/mocha/parameter_matchers/responds_with.rb:25
3271
+ # source://mocha//lib/mocha/parameter_matchers/responds_with.rb#25
3272
3272
  def responds_with(message, result); end
3273
3273
 
3274
3274
  # Matches any YAML that represents the specified +object+
@@ -3287,96 +3287,96 @@ module Mocha::ParameterMatchers
3287
3287
  # @return [YamlEquivalent] parameter matcher.
3288
3288
  # @see Expectation#with
3289
3289
  #
3290
- # source://mocha-1.14.0/lib/mocha/parameter_matchers/yaml_equivalent.rb:24
3290
+ # source://mocha//lib/mocha/parameter_matchers/yaml_equivalent.rb#24
3291
3291
  def yaml_equivalent(object); end
3292
3292
 
3293
3293
  private
3294
3294
 
3295
3295
  # @private
3296
3296
  #
3297
- # source://mocha-1.14.0/lib/mocha/parameter_matchers/has_entry.rb:82
3297
+ # source://mocha//lib/mocha/parameter_matchers/has_entry.rb#82
3298
3298
  def parse_option(option); end
3299
3299
  end
3300
3300
 
3301
3301
  # Parameter matcher which combines a number of other matchers using a logical AND.
3302
3302
  #
3303
- # source://mocha-1.14.0/lib/mocha/parameter_matchers/all_of.rb:29
3303
+ # source://mocha//lib/mocha/parameter_matchers/all_of.rb#28
3304
3304
  class Mocha::ParameterMatchers::AllOf < ::Mocha::ParameterMatchers::Base
3305
3305
  # @private
3306
3306
  # @return [AllOf] a new instance of AllOf
3307
3307
  #
3308
- # source://mocha-1.14.0/lib/mocha/parameter_matchers/all_of.rb:30
3308
+ # source://mocha//lib/mocha/parameter_matchers/all_of.rb#30
3309
3309
  def initialize(*matchers); end
3310
3310
 
3311
3311
  # @private
3312
3312
  # @return [Boolean]
3313
3313
  #
3314
- # source://mocha-1.14.0/lib/mocha/parameter_matchers/all_of.rb:35
3314
+ # source://mocha//lib/mocha/parameter_matchers/all_of.rb#35
3315
3315
  def matches?(available_parameters); end
3316
3316
 
3317
3317
  # @private
3318
3318
  #
3319
- # source://mocha-1.14.0/lib/mocha/parameter_matchers/all_of.rb:41
3319
+ # source://mocha//lib/mocha/parameter_matchers/all_of.rb#41
3320
3320
  def mocha_inspect; end
3321
3321
  end
3322
3322
 
3323
3323
  # Parameter matcher which combines a number of other matchers using a logical OR.
3324
3324
  #
3325
- # source://mocha-1.14.0/lib/mocha/parameter_matchers/any_of.rb:35
3325
+ # source://mocha//lib/mocha/parameter_matchers/any_of.rb#34
3326
3326
  class Mocha::ParameterMatchers::AnyOf < ::Mocha::ParameterMatchers::Base
3327
3327
  # @private
3328
3328
  # @return [AnyOf] a new instance of AnyOf
3329
3329
  #
3330
- # source://mocha-1.14.0/lib/mocha/parameter_matchers/any_of.rb:36
3330
+ # source://mocha//lib/mocha/parameter_matchers/any_of.rb#36
3331
3331
  def initialize(*matchers); end
3332
3332
 
3333
3333
  # @private
3334
3334
  # @return [Boolean]
3335
3335
  #
3336
- # source://mocha-1.14.0/lib/mocha/parameter_matchers/any_of.rb:41
3336
+ # source://mocha//lib/mocha/parameter_matchers/any_of.rb#41
3337
3337
  def matches?(available_parameters); end
3338
3338
 
3339
3339
  # @private
3340
3340
  #
3341
- # source://mocha-1.14.0/lib/mocha/parameter_matchers/any_of.rb:47
3341
+ # source://mocha//lib/mocha/parameter_matchers/any_of.rb#47
3342
3342
  def mocha_inspect; end
3343
3343
  end
3344
3344
 
3345
3345
  # Parameter matcher which always matches whatever the parameters.
3346
3346
  #
3347
- # source://mocha-1.14.0/lib/mocha/parameter_matchers/any_parameters.rb:27
3347
+ # source://mocha//lib/mocha/parameter_matchers/any_parameters.rb#26
3348
3348
  class Mocha::ParameterMatchers::AnyParameters < ::Mocha::ParameterMatchers::Base
3349
3349
  # @private
3350
3350
  # @return [Boolean]
3351
3351
  #
3352
- # source://mocha-1.14.0/lib/mocha/parameter_matchers/any_parameters.rb:28
3352
+ # source://mocha//lib/mocha/parameter_matchers/any_parameters.rb#28
3353
3353
  def matches?(available_parameters); end
3354
3354
 
3355
3355
  # @private
3356
3356
  #
3357
- # source://mocha-1.14.0/lib/mocha/parameter_matchers/any_parameters.rb:36
3357
+ # source://mocha//lib/mocha/parameter_matchers/any_parameters.rb#36
3358
3358
  def mocha_inspect; end
3359
3359
  end
3360
3360
 
3361
3361
  # Parameter matcher which always matches a single parameter.
3362
3362
  #
3363
- # source://mocha-1.14.0/lib/mocha/parameter_matchers/anything.rb:24
3363
+ # source://mocha//lib/mocha/parameter_matchers/anything.rb#23
3364
3364
  class Mocha::ParameterMatchers::Anything < ::Mocha::ParameterMatchers::Base
3365
3365
  # @private
3366
3366
  # @return [Boolean]
3367
3367
  #
3368
- # source://mocha-1.14.0/lib/mocha/parameter_matchers/anything.rb:25
3368
+ # source://mocha//lib/mocha/parameter_matchers/anything.rb#25
3369
3369
  def matches?(available_parameters); end
3370
3370
 
3371
3371
  # @private
3372
3372
  #
3373
- # source://mocha-1.14.0/lib/mocha/parameter_matchers/anything.rb:31
3373
+ # source://mocha//lib/mocha/parameter_matchers/anything.rb#31
3374
3374
  def mocha_inspect; end
3375
3375
  end
3376
3376
 
3377
3377
  # @abstract Subclass and implement +#matches?+ and +#mocha_inspect+ to define a custom matcher. Also add a suitably named instance method to {ParameterMatchers} to build an instance of the new matcher c.f. {#equals}.
3378
3378
  #
3379
- # source://mocha-1.14.0/lib/mocha/parameter_matchers/base.rb:4
3379
+ # source://mocha//lib/mocha/parameter_matchers/base.rb#4
3380
3380
  class Mocha::ParameterMatchers::Base
3381
3381
  # A shorthand way of combining two matchers when both must match.
3382
3382
  #
@@ -3397,12 +3397,12 @@ class Mocha::ParameterMatchers::Base
3397
3397
  # @return [AllOf] parameter matcher.
3398
3398
  # @see Expectation#with
3399
3399
  #
3400
- # source://mocha-1.14.0/lib/mocha/parameter_matchers/base.rb:30
3400
+ # source://mocha//lib/mocha/parameter_matchers/base.rb#30
3401
3401
  def &(other); end
3402
3402
 
3403
3403
  # @private
3404
3404
  #
3405
- # source://mocha-1.14.0/lib/mocha/parameter_matchers/base.rb:6
3405
+ # source://mocha//lib/mocha/parameter_matchers/base.rb#6
3406
3406
  def to_matcher; end
3407
3407
 
3408
3408
  # A shorthand way of combining two matchers when at least one must match.
@@ -3429,445 +3429,445 @@ class Mocha::ParameterMatchers::Base
3429
3429
  # @return [AnyOf] parameter matcher.
3430
3430
  # @see Expectation#with
3431
3431
  #
3432
- # source://mocha-1.14.0/lib/mocha/parameter_matchers/base.rb:60
3432
+ # source://mocha//lib/mocha/parameter_matchers/base.rb#60
3433
3433
  def |(other); end
3434
3434
  end
3435
3435
 
3436
3436
  # Parameter matcher which matches when actual parameter equals expected value.
3437
3437
  #
3438
- # source://mocha-1.14.0/lib/mocha/parameter_matchers/equals.rb:30
3438
+ # source://mocha//lib/mocha/parameter_matchers/equals.rb#29
3439
3439
  class Mocha::ParameterMatchers::Equals < ::Mocha::ParameterMatchers::Base
3440
3440
  # @private
3441
3441
  # @return [Equals] a new instance of Equals
3442
3442
  #
3443
- # source://mocha-1.14.0/lib/mocha/parameter_matchers/equals.rb:31
3443
+ # source://mocha//lib/mocha/parameter_matchers/equals.rb#31
3444
3444
  def initialize(value); end
3445
3445
 
3446
3446
  # @private
3447
3447
  # @return [Boolean]
3448
3448
  #
3449
- # source://mocha-1.14.0/lib/mocha/parameter_matchers/equals.rb:36
3449
+ # source://mocha//lib/mocha/parameter_matchers/equals.rb#36
3450
3450
  def matches?(available_parameters); end
3451
3451
 
3452
3452
  # @private
3453
3453
  #
3454
- # source://mocha-1.14.0/lib/mocha/parameter_matchers/equals.rb:42
3454
+ # source://mocha//lib/mocha/parameter_matchers/equals.rb#42
3455
3455
  def mocha_inspect; end
3456
3456
  end
3457
3457
 
3458
3458
  # Parameter matcher which matches URIs with equivalent query strings.
3459
3459
  #
3460
- # source://mocha-1.14.0/lib/mocha/parameter_matchers/equivalent_uri.rb:32
3460
+ # source://mocha//lib/mocha/parameter_matchers/equivalent_uri.rb#31
3461
3461
  class Mocha::ParameterMatchers::EquivalentUri < ::Mocha::ParameterMatchers::Base
3462
3462
  # @private
3463
3463
  # @return [EquivalentUri] a new instance of EquivalentUri
3464
3464
  #
3465
- # source://mocha-1.14.0/lib/mocha/parameter_matchers/equivalent_uri.rb:33
3465
+ # source://mocha//lib/mocha/parameter_matchers/equivalent_uri.rb#33
3466
3466
  def initialize(uri); end
3467
3467
 
3468
3468
  # @private
3469
3469
  # @return [Boolean]
3470
3470
  #
3471
- # source://mocha-1.14.0/lib/mocha/parameter_matchers/equivalent_uri.rb:38
3471
+ # source://mocha//lib/mocha/parameter_matchers/equivalent_uri.rb#38
3472
3472
  def matches?(available_parameters); end
3473
3473
 
3474
3474
  # @private
3475
3475
  #
3476
- # source://mocha-1.14.0/lib/mocha/parameter_matchers/equivalent_uri.rb:45
3476
+ # source://mocha//lib/mocha/parameter_matchers/equivalent_uri.rb#45
3477
3477
  def mocha_inspect; end
3478
3478
 
3479
3479
  private
3480
3480
 
3481
3481
  # @private
3482
3482
  #
3483
- # source://mocha-1.14.0/lib/mocha/parameter_matchers/equivalent_uri.rb:52
3483
+ # source://mocha//lib/mocha/parameter_matchers/equivalent_uri.rb#52
3484
3484
  def explode(uri); end
3485
3485
  end
3486
3486
 
3487
3487
  # Parameter matcher which matches when actual parameter contains all expected +Hash+ entries.
3488
3488
  #
3489
- # source://mocha-1.14.0/lib/mocha/parameter_matchers/has_entries.rb:32
3489
+ # source://mocha//lib/mocha/parameter_matchers/has_entries.rb#31
3490
3490
  class Mocha::ParameterMatchers::HasEntries < ::Mocha::ParameterMatchers::Base
3491
3491
  # @private
3492
3492
  # @return [HasEntries] a new instance of HasEntries
3493
3493
  #
3494
- # source://mocha-1.14.0/lib/mocha/parameter_matchers/has_entries.rb:33
3494
+ # source://mocha//lib/mocha/parameter_matchers/has_entries.rb#33
3495
3495
  def initialize(entries); end
3496
3496
 
3497
3497
  # @private
3498
3498
  # @return [Boolean]
3499
3499
  #
3500
- # source://mocha-1.14.0/lib/mocha/parameter_matchers/has_entries.rb:38
3500
+ # source://mocha//lib/mocha/parameter_matchers/has_entries.rb#38
3501
3501
  def matches?(available_parameters); end
3502
3502
 
3503
3503
  # @private
3504
3504
  #
3505
- # source://mocha-1.14.0/lib/mocha/parameter_matchers/has_entries.rb:45
3505
+ # source://mocha//lib/mocha/parameter_matchers/has_entries.rb#45
3506
3506
  def mocha_inspect; end
3507
3507
  end
3508
3508
 
3509
3509
  # Parameter matcher which matches when actual parameter contains expected +Hash+ entry.
3510
3510
  #
3511
- # source://mocha-1.14.0/lib/mocha/parameter_matchers/has_entry.rb:59
3511
+ # source://mocha//lib/mocha/parameter_matchers/has_entry.rb#58
3512
3512
  class Mocha::ParameterMatchers::HasEntry < ::Mocha::ParameterMatchers::Base
3513
3513
  # @private
3514
3514
  # @return [HasEntry] a new instance of HasEntry
3515
3515
  #
3516
- # source://mocha-1.14.0/lib/mocha/parameter_matchers/has_entry.rb:60
3516
+ # source://mocha//lib/mocha/parameter_matchers/has_entry.rb#60
3517
3517
  def initialize(key, value); end
3518
3518
 
3519
3519
  # @private
3520
3520
  # @return [Boolean]
3521
3521
  #
3522
- # source://mocha-1.14.0/lib/mocha/parameter_matchers/has_entry.rb:66
3522
+ # source://mocha//lib/mocha/parameter_matchers/has_entry.rb#66
3523
3523
  def matches?(available_parameters); end
3524
3524
 
3525
3525
  # @private
3526
3526
  #
3527
- # source://mocha-1.14.0/lib/mocha/parameter_matchers/has_entry.rb:74
3527
+ # source://mocha//lib/mocha/parameter_matchers/has_entry.rb#74
3528
3528
  def mocha_inspect; end
3529
3529
  end
3530
3530
 
3531
3531
  # Parameter matcher which matches when actual parameter contains +Hash+ entry with expected key.
3532
3532
  #
3533
- # source://mocha-1.14.0/lib/mocha/parameter_matchers/has_key.rb:30
3533
+ # source://mocha//lib/mocha/parameter_matchers/has_key.rb#29
3534
3534
  class Mocha::ParameterMatchers::HasKey < ::Mocha::ParameterMatchers::Base
3535
3535
  # @private
3536
3536
  # @return [HasKey] a new instance of HasKey
3537
3537
  #
3538
- # source://mocha-1.14.0/lib/mocha/parameter_matchers/has_key.rb:31
3538
+ # source://mocha//lib/mocha/parameter_matchers/has_key.rb#31
3539
3539
  def initialize(key); end
3540
3540
 
3541
3541
  # @private
3542
3542
  # @return [Boolean]
3543
3543
  #
3544
- # source://mocha-1.14.0/lib/mocha/parameter_matchers/has_key.rb:36
3544
+ # source://mocha//lib/mocha/parameter_matchers/has_key.rb#36
3545
3545
  def matches?(available_parameters); end
3546
3546
 
3547
3547
  # @private
3548
3548
  #
3549
- # source://mocha-1.14.0/lib/mocha/parameter_matchers/has_key.rb:43
3549
+ # source://mocha//lib/mocha/parameter_matchers/has_key.rb#43
3550
3550
  def mocha_inspect; end
3551
3551
  end
3552
3552
 
3553
3553
  # Parameter matcher which matches when actual parameter contains +Hash+ with all expected keys.
3554
3554
  #
3555
- # source://mocha-1.14.0/lib/mocha/parameter_matchers/has_keys.rb:30
3555
+ # source://mocha//lib/mocha/parameter_matchers/has_keys.rb#29
3556
3556
  class Mocha::ParameterMatchers::HasKeys < ::Mocha::ParameterMatchers::Base
3557
3557
  # @private
3558
3558
  # @raise [ArgumentError]
3559
3559
  # @return [HasKeys] a new instance of HasKeys
3560
3560
  #
3561
- # source://mocha-1.14.0/lib/mocha/parameter_matchers/has_keys.rb:31
3561
+ # source://mocha//lib/mocha/parameter_matchers/has_keys.rb#31
3562
3562
  def initialize(*keys); end
3563
3563
 
3564
3564
  # @private
3565
3565
  # @return [Boolean]
3566
3566
  #
3567
- # source://mocha-1.14.0/lib/mocha/parameter_matchers/has_keys.rb:38
3567
+ # source://mocha//lib/mocha/parameter_matchers/has_keys.rb#38
3568
3568
  def matches?(available_parameters); end
3569
3569
 
3570
3570
  # @private
3571
3571
  #
3572
- # source://mocha-1.14.0/lib/mocha/parameter_matchers/has_keys.rb:48
3572
+ # source://mocha//lib/mocha/parameter_matchers/has_keys.rb#48
3573
3573
  def mocha_inspect; end
3574
3574
  end
3575
3575
 
3576
3576
  # Parameter matcher which matches when actual parameter contains +Hash+ entry with expected value.
3577
3577
  #
3578
- # source://mocha-1.14.0/lib/mocha/parameter_matchers/has_value.rb:30
3578
+ # source://mocha//lib/mocha/parameter_matchers/has_value.rb#29
3579
3579
  class Mocha::ParameterMatchers::HasValue < ::Mocha::ParameterMatchers::Base
3580
3580
  # @private
3581
3581
  # @return [HasValue] a new instance of HasValue
3582
3582
  #
3583
- # source://mocha-1.14.0/lib/mocha/parameter_matchers/has_value.rb:31
3583
+ # source://mocha//lib/mocha/parameter_matchers/has_value.rb#31
3584
3584
  def initialize(value); end
3585
3585
 
3586
3586
  # @private
3587
3587
  # @return [Boolean]
3588
3588
  #
3589
- # source://mocha-1.14.0/lib/mocha/parameter_matchers/has_value.rb:36
3589
+ # source://mocha//lib/mocha/parameter_matchers/has_value.rb#36
3590
3590
  def matches?(available_parameters); end
3591
3591
 
3592
3592
  # @private
3593
3593
  #
3594
- # source://mocha-1.14.0/lib/mocha/parameter_matchers/has_value.rb:43
3594
+ # source://mocha//lib/mocha/parameter_matchers/has_value.rb#43
3595
3595
  def mocha_inspect; end
3596
3596
  end
3597
3597
 
3598
3598
  # Parameter matcher which matches when actual parameter includes expected values.
3599
3599
  #
3600
- # source://mocha-1.14.0/lib/mocha/parameter_matchers/includes.rb:69
3600
+ # source://mocha//lib/mocha/parameter_matchers/includes.rb#68
3601
3601
  class Mocha::ParameterMatchers::Includes < ::Mocha::ParameterMatchers::Base
3602
3602
  # @private
3603
3603
  # @return [Includes] a new instance of Includes
3604
3604
  #
3605
- # source://mocha-1.14.0/lib/mocha/parameter_matchers/includes.rb:70
3605
+ # source://mocha//lib/mocha/parameter_matchers/includes.rb#70
3606
3606
  def initialize(*items); end
3607
3607
 
3608
3608
  # @private
3609
3609
  # @return [Boolean]
3610
3610
  #
3611
- # source://mocha-1.14.0/lib/mocha/parameter_matchers/includes.rb:76
3611
+ # source://mocha//lib/mocha/parameter_matchers/includes.rb#76
3612
3612
  def matches?(available_parameters); end
3613
3613
 
3614
3614
  # @private
3615
3615
  #
3616
- # source://mocha-1.14.0/lib/mocha/parameter_matchers/includes.rb:96
3616
+ # source://mocha//lib/mocha/parameter_matchers/includes.rb#96
3617
3617
  def mocha_inspect; end
3618
3618
  end
3619
3619
 
3620
3620
  # @private
3621
3621
  #
3622
- # source://mocha-1.14.0/lib/mocha/parameter_matchers/instance_methods.rb:6
3622
+ # source://mocha//lib/mocha/parameter_matchers/instance_methods.rb#6
3623
3623
  module Mocha::ParameterMatchers::InstanceMethods
3624
3624
  # @private
3625
3625
  #
3626
- # source://mocha-1.14.0/lib/mocha/parameter_matchers/instance_methods.rb:8
3626
+ # source://mocha//lib/mocha/parameter_matchers/instance_methods.rb#8
3627
3627
  def to_matcher; end
3628
3628
  end
3629
3629
 
3630
3630
  # Parameter matcher which matches when actual parameter is an instance of the specified class.
3631
3631
  #
3632
- # source://mocha-1.14.0/lib/mocha/parameter_matchers/instance_of.rb:30
3632
+ # source://mocha//lib/mocha/parameter_matchers/instance_of.rb#29
3633
3633
  class Mocha::ParameterMatchers::InstanceOf < ::Mocha::ParameterMatchers::Base
3634
3634
  # @private
3635
3635
  # @return [InstanceOf] a new instance of InstanceOf
3636
3636
  #
3637
- # source://mocha-1.14.0/lib/mocha/parameter_matchers/instance_of.rb:31
3637
+ # source://mocha//lib/mocha/parameter_matchers/instance_of.rb#31
3638
3638
  def initialize(klass); end
3639
3639
 
3640
3640
  # @private
3641
3641
  # @return [Boolean]
3642
3642
  #
3643
- # source://mocha-1.14.0/lib/mocha/parameter_matchers/instance_of.rb:36
3643
+ # source://mocha//lib/mocha/parameter_matchers/instance_of.rb#36
3644
3644
  def matches?(available_parameters); end
3645
3645
 
3646
3646
  # @private
3647
3647
  #
3648
- # source://mocha-1.14.0/lib/mocha/parameter_matchers/instance_of.rb:42
3648
+ # source://mocha//lib/mocha/parameter_matchers/instance_of.rb#42
3649
3649
  def mocha_inspect; end
3650
3650
  end
3651
3651
 
3652
3652
  # Parameter matcher which matches when actual parameter is a specific class.
3653
3653
  #
3654
- # source://mocha-1.14.0/lib/mocha/parameter_matchers/is_a.rb:31
3654
+ # source://mocha//lib/mocha/parameter_matchers/is_a.rb#30
3655
3655
  class Mocha::ParameterMatchers::IsA < ::Mocha::ParameterMatchers::Base
3656
3656
  # @private
3657
3657
  # @return [IsA] a new instance of IsA
3658
3658
  #
3659
- # source://mocha-1.14.0/lib/mocha/parameter_matchers/is_a.rb:32
3659
+ # source://mocha//lib/mocha/parameter_matchers/is_a.rb#32
3660
3660
  def initialize(klass); end
3661
3661
 
3662
3662
  # @private
3663
3663
  # @return [Boolean]
3664
3664
  #
3665
- # source://mocha-1.14.0/lib/mocha/parameter_matchers/is_a.rb:37
3665
+ # source://mocha//lib/mocha/parameter_matchers/is_a.rb#37
3666
3666
  def matches?(available_parameters); end
3667
3667
 
3668
3668
  # @private
3669
3669
  #
3670
- # source://mocha-1.14.0/lib/mocha/parameter_matchers/is_a.rb:43
3670
+ # source://mocha//lib/mocha/parameter_matchers/is_a.rb#43
3671
3671
  def mocha_inspect; end
3672
3672
  end
3673
3673
 
3674
3674
  # Parameter matcher which matches when actual parameter is a kind of specified class.
3675
3675
  #
3676
- # source://mocha-1.14.0/lib/mocha/parameter_matchers/kind_of.rb:30
3676
+ # source://mocha//lib/mocha/parameter_matchers/kind_of.rb#29
3677
3677
  class Mocha::ParameterMatchers::KindOf < ::Mocha::ParameterMatchers::Base
3678
3678
  # @private
3679
3679
  # @return [KindOf] a new instance of KindOf
3680
3680
  #
3681
- # source://mocha-1.14.0/lib/mocha/parameter_matchers/kind_of.rb:31
3681
+ # source://mocha//lib/mocha/parameter_matchers/kind_of.rb#31
3682
3682
  def initialize(klass); end
3683
3683
 
3684
3684
  # @private
3685
3685
  # @return [Boolean]
3686
3686
  #
3687
- # source://mocha-1.14.0/lib/mocha/parameter_matchers/kind_of.rb:36
3687
+ # source://mocha//lib/mocha/parameter_matchers/kind_of.rb#36
3688
3688
  def matches?(available_parameters); end
3689
3689
 
3690
3690
  # @private
3691
3691
  #
3692
- # source://mocha-1.14.0/lib/mocha/parameter_matchers/kind_of.rb:44
3692
+ # source://mocha//lib/mocha/parameter_matchers/kind_of.rb#44
3693
3693
  def mocha_inspect; end
3694
3694
  end
3695
3695
 
3696
3696
  # Parameter matcher which inverts the logic of the specified matcher using a logical NOT operation.
3697
3697
  #
3698
- # source://mocha-1.14.0/lib/mocha/parameter_matchers/not.rb:30
3698
+ # source://mocha//lib/mocha/parameter_matchers/not.rb#29
3699
3699
  class Mocha::ParameterMatchers::Not < ::Mocha::ParameterMatchers::Base
3700
3700
  # @private
3701
3701
  # @return [Not] a new instance of Not
3702
3702
  #
3703
- # source://mocha-1.14.0/lib/mocha/parameter_matchers/not.rb:31
3703
+ # source://mocha//lib/mocha/parameter_matchers/not.rb#31
3704
3704
  def initialize(matcher); end
3705
3705
 
3706
3706
  # @private
3707
3707
  # @return [Boolean]
3708
3708
  #
3709
- # source://mocha-1.14.0/lib/mocha/parameter_matchers/not.rb:36
3709
+ # source://mocha//lib/mocha/parameter_matchers/not.rb#36
3710
3710
  def matches?(available_parameters); end
3711
3711
 
3712
3712
  # @private
3713
3713
  #
3714
- # source://mocha-1.14.0/lib/mocha/parameter_matchers/not.rb:42
3714
+ # source://mocha//lib/mocha/parameter_matchers/not.rb#42
3715
3715
  def mocha_inspect; end
3716
3716
  end
3717
3717
 
3718
3718
  # Parameter matcher which allows optional parameters to be specified.
3719
3719
  #
3720
- # source://mocha-1.14.0/lib/mocha/parameter_matchers/optionally.rb:39
3720
+ # source://mocha//lib/mocha/parameter_matchers/optionally.rb#38
3721
3721
  class Mocha::ParameterMatchers::Optionally < ::Mocha::ParameterMatchers::Base
3722
3722
  # @private
3723
3723
  # @return [Optionally] a new instance of Optionally
3724
3724
  #
3725
- # source://mocha-1.14.0/lib/mocha/parameter_matchers/optionally.rb:40
3725
+ # source://mocha//lib/mocha/parameter_matchers/optionally.rb#40
3726
3726
  def initialize(*parameters); end
3727
3727
 
3728
3728
  # @private
3729
3729
  # @return [Boolean]
3730
3730
  #
3731
- # source://mocha-1.14.0/lib/mocha/parameter_matchers/optionally.rb:45
3731
+ # source://mocha//lib/mocha/parameter_matchers/optionally.rb#45
3732
3732
  def matches?(available_parameters); end
3733
3733
 
3734
3734
  # @private
3735
3735
  #
3736
- # source://mocha-1.14.0/lib/mocha/parameter_matchers/optionally.rb:56
3736
+ # source://mocha//lib/mocha/parameter_matchers/optionally.rb#56
3737
3737
  def mocha_inspect; end
3738
3738
  end
3739
3739
 
3740
3740
  # Parameter matcher which matches if specified regular expression matches actual paramter.
3741
3741
  #
3742
- # source://mocha-1.14.0/lib/mocha/parameter_matchers/regexp_matches.rb:30
3742
+ # source://mocha//lib/mocha/parameter_matchers/regexp_matches.rb#29
3743
3743
  class Mocha::ParameterMatchers::RegexpMatches < ::Mocha::ParameterMatchers::Base
3744
3744
  # @private
3745
3745
  # @return [RegexpMatches] a new instance of RegexpMatches
3746
3746
  #
3747
- # source://mocha-1.14.0/lib/mocha/parameter_matchers/regexp_matches.rb:31
3747
+ # source://mocha//lib/mocha/parameter_matchers/regexp_matches.rb#31
3748
3748
  def initialize(regexp); end
3749
3749
 
3750
3750
  # @private
3751
3751
  # @return [Boolean]
3752
3752
  #
3753
- # source://mocha-1.14.0/lib/mocha/parameter_matchers/regexp_matches.rb:36
3753
+ # source://mocha//lib/mocha/parameter_matchers/regexp_matches.rb#36
3754
3754
  def matches?(available_parameters); end
3755
3755
 
3756
3756
  # @private
3757
3757
  #
3758
- # source://mocha-1.14.0/lib/mocha/parameter_matchers/regexp_matches.rb:43
3758
+ # source://mocha//lib/mocha/parameter_matchers/regexp_matches.rb#43
3759
3759
  def mocha_inspect; end
3760
3760
  end
3761
3761
 
3762
3762
  # Parameter matcher which matches if actual parameter returns expected result when specified method is invoked.
3763
3763
  #
3764
- # source://mocha-1.14.0/lib/mocha/parameter_matchers/responds_with.rb:31
3764
+ # source://mocha//lib/mocha/parameter_matchers/responds_with.rb#30
3765
3765
  class Mocha::ParameterMatchers::RespondsWith < ::Mocha::ParameterMatchers::Base
3766
3766
  # @private
3767
3767
  # @return [RespondsWith] a new instance of RespondsWith
3768
3768
  #
3769
- # source://mocha-1.14.0/lib/mocha/parameter_matchers/responds_with.rb:32
3769
+ # source://mocha//lib/mocha/parameter_matchers/responds_with.rb#32
3770
3770
  def initialize(message, result); end
3771
3771
 
3772
3772
  # @private
3773
3773
  # @return [Boolean]
3774
3774
  #
3775
- # source://mocha-1.14.0/lib/mocha/parameter_matchers/responds_with.rb:38
3775
+ # source://mocha//lib/mocha/parameter_matchers/responds_with.rb#38
3776
3776
  def matches?(available_parameters); end
3777
3777
 
3778
3778
  # @private
3779
3779
  #
3780
- # source://mocha-1.14.0/lib/mocha/parameter_matchers/responds_with.rb:44
3780
+ # source://mocha//lib/mocha/parameter_matchers/responds_with.rb#44
3781
3781
  def mocha_inspect; end
3782
3782
  end
3783
3783
 
3784
3784
  # Parameter matcher which matches if actual parameter is YAML equivalent of specified object.
3785
3785
  #
3786
- # source://mocha-1.14.0/lib/mocha/parameter_matchers/yaml_equivalent.rb:30
3786
+ # source://mocha//lib/mocha/parameter_matchers/yaml_equivalent.rb#29
3787
3787
  class Mocha::ParameterMatchers::YamlEquivalent < ::Mocha::ParameterMatchers::Base
3788
3788
  # @private
3789
3789
  # @return [YamlEquivalent] a new instance of YamlEquivalent
3790
3790
  #
3791
- # source://mocha-1.14.0/lib/mocha/parameter_matchers/yaml_equivalent.rb:31
3791
+ # source://mocha//lib/mocha/parameter_matchers/yaml_equivalent.rb#31
3792
3792
  def initialize(object); end
3793
3793
 
3794
3794
  # @private
3795
3795
  # @return [Boolean]
3796
3796
  #
3797
- # source://mocha-1.14.0/lib/mocha/parameter_matchers/yaml_equivalent.rb:36
3797
+ # source://mocha//lib/mocha/parameter_matchers/yaml_equivalent.rb#36
3798
3798
  def matches?(available_parameters); end
3799
3799
 
3800
3800
  # @private
3801
3801
  #
3802
- # source://mocha-1.14.0/lib/mocha/parameter_matchers/yaml_equivalent.rb:44
3802
+ # source://mocha//lib/mocha/parameter_matchers/yaml_equivalent.rb#44
3803
3803
  def mocha_inspect; end
3804
3804
  end
3805
3805
 
3806
- # source://mocha-1.14.0/lib/mocha/parameters_matcher.rb:5
3806
+ # source://mocha//lib/mocha/parameters_matcher.rb#5
3807
3807
  class Mocha::ParametersMatcher
3808
3808
  # @return [ParametersMatcher] a new instance of ParametersMatcher
3809
3809
  #
3810
- # source://mocha-1.14.0/lib/mocha/parameters_matcher.rb:6
3810
+ # source://mocha//lib/mocha/parameters_matcher.rb#6
3811
3811
  def initialize(expected_parameters = T.unsafe(nil), &matching_block); end
3812
3812
 
3813
3813
  # @return [Boolean]
3814
3814
  #
3815
- # source://mocha-1.14.0/lib/mocha/parameters_matcher.rb:11
3815
+ # source://mocha//lib/mocha/parameters_matcher.rb#11
3816
3816
  def match?(actual_parameters = T.unsafe(nil)); end
3817
3817
 
3818
- # source://mocha-1.14.0/lib/mocha/parameters_matcher.rb:30
3818
+ # source://mocha//lib/mocha/parameters_matcher.rb#30
3819
3819
  def matchers; end
3820
3820
 
3821
- # source://mocha-1.14.0/lib/mocha/parameters_matcher.rb:23
3821
+ # source://mocha//lib/mocha/parameters_matcher.rb#23
3822
3822
  def mocha_inspect; end
3823
3823
 
3824
3824
  # @return [Boolean]
3825
3825
  #
3826
- # source://mocha-1.14.0/lib/mocha/parameters_matcher.rb:19
3826
+ # source://mocha//lib/mocha/parameters_matcher.rb#19
3827
3827
  def parameters_match?(actual_parameters); end
3828
3828
  end
3829
3829
 
3830
- # source://mocha-1.14.0/lib/mocha/ruby_version.rb:3
3830
+ # source://mocha//lib/mocha/ruby_version.rb#3
3831
3831
  Mocha::RUBY_V2_PLUS = T.let(T.unsafe(nil), TrueClass)
3832
3832
 
3833
- # source://mocha-1.14.0/lib/mocha/raised_exception.rb:2
3833
+ # source://mocha//lib/mocha/raised_exception.rb#2
3834
3834
  class Mocha::RaisedException
3835
3835
  # @return [RaisedException] a new instance of RaisedException
3836
3836
  #
3837
- # source://mocha-1.14.0/lib/mocha/raised_exception.rb:3
3837
+ # source://mocha//lib/mocha/raised_exception.rb#3
3838
3838
  def initialize(exception); end
3839
3839
 
3840
- # source://mocha-1.14.0/lib/mocha/raised_exception.rb:7
3840
+ # source://mocha//lib/mocha/raised_exception.rb#7
3841
3841
  def mocha_inspect; end
3842
3842
  end
3843
3843
 
3844
- # source://mocha-1.14.0/lib/mocha/return_values.rb:4
3844
+ # source://mocha//lib/mocha/return_values.rb#4
3845
3845
  class Mocha::ReturnValues
3846
3846
  # @return [ReturnValues] a new instance of ReturnValues
3847
3847
  #
3848
- # source://mocha-1.14.0/lib/mocha/return_values.rb:11
3848
+ # source://mocha//lib/mocha/return_values.rb#11
3849
3849
  def initialize(*values); end
3850
3850
 
3851
- # source://mocha-1.14.0/lib/mocha/return_values.rb:23
3851
+ # source://mocha//lib/mocha/return_values.rb#23
3852
3852
  def +(other); end
3853
3853
 
3854
- # source://mocha-1.14.0/lib/mocha/return_values.rb:15
3854
+ # source://mocha//lib/mocha/return_values.rb#15
3855
3855
  def next(invocation); end
3856
3856
 
3857
3857
  # Returns the value of attribute values.
3858
3858
  #
3859
- # source://mocha-1.14.0/lib/mocha/return_values.rb:9
3859
+ # source://mocha//lib/mocha/return_values.rb#9
3860
3860
  def values; end
3861
3861
 
3862
3862
  # Sets the attribute values
3863
3863
  #
3864
3864
  # @param value the value to set the attribute values to.
3865
3865
  #
3866
- # source://mocha-1.14.0/lib/mocha/return_values.rb:9
3866
+ # source://mocha//lib/mocha/return_values.rb#9
3867
3867
  def values=(_arg0); end
3868
3868
 
3869
3869
  class << self
3870
- # source://mocha-1.14.0/lib/mocha/return_values.rb:5
3870
+ # source://mocha//lib/mocha/return_values.rb#5
3871
3871
  def build(*values); end
3872
3872
  end
3873
3873
  end
@@ -3877,86 +3877,86 @@ end
3877
3877
  # @see API#sequence
3878
3878
  # @see Expectation#in_sequence
3879
3879
  #
3880
- # source://mocha-1.14.0/lib/mocha/sequence.rb:6
3880
+ # source://mocha//lib/mocha/sequence.rb#6
3881
3881
  class Mocha::Sequence
3882
3882
  # @private
3883
3883
  # @return [Sequence] a new instance of Sequence
3884
3884
  #
3885
- # source://mocha-1.14.0/lib/mocha/sequence.rb:24
3885
+ # source://mocha//lib/mocha/sequence.rb#24
3886
3886
  def initialize(name); end
3887
3887
 
3888
3888
  # @private
3889
3889
  #
3890
- # source://mocha-1.14.0/lib/mocha/sequence.rb:30
3890
+ # source://mocha//lib/mocha/sequence.rb#30
3891
3891
  def constrain_as_next_in_sequence(expectation); end
3892
3892
 
3893
3893
  # @private
3894
3894
  #
3895
- # source://mocha-1.14.0/lib/mocha/sequence.rb:42
3895
+ # source://mocha//lib/mocha/sequence.rb#42
3896
3896
  def mocha_inspect; end
3897
3897
 
3898
3898
  # @private
3899
3899
  # @return [Boolean]
3900
3900
  #
3901
- # source://mocha-1.14.0/lib/mocha/sequence.rb:37
3901
+ # source://mocha//lib/mocha/sequence.rb#37
3902
3902
  def satisfied_to_index?(index); end
3903
3903
  end
3904
3904
 
3905
3905
  # @private
3906
3906
  #
3907
- # source://mocha-1.14.0/lib/mocha/sequence.rb:8
3907
+ # source://mocha//lib/mocha/sequence.rb#8
3908
3908
  class Mocha::Sequence::InSequenceOrderingConstraint
3909
3909
  # @return [InSequenceOrderingConstraint] a new instance of InSequenceOrderingConstraint
3910
3910
  #
3911
- # source://mocha-1.14.0/lib/mocha/sequence.rb:9
3911
+ # source://mocha//lib/mocha/sequence.rb#9
3912
3912
  def initialize(sequence, index); end
3913
3913
 
3914
3914
  # @return [Boolean]
3915
3915
  #
3916
- # source://mocha-1.14.0/lib/mocha/sequence.rb:14
3916
+ # source://mocha//lib/mocha/sequence.rb#14
3917
3917
  def allows_invocation_now?; end
3918
3918
 
3919
- # source://mocha-1.14.0/lib/mocha/sequence.rb:18
3919
+ # source://mocha//lib/mocha/sequence.rb#18
3920
3920
  def mocha_inspect; end
3921
3921
  end
3922
3922
 
3923
- # source://mocha-1.14.0/lib/mocha/single_return_value.rb:4
3923
+ # source://mocha//lib/mocha/single_return_value.rb#4
3924
3924
  class Mocha::SingleReturnValue
3925
3925
  # @return [SingleReturnValue] a new instance of SingleReturnValue
3926
3926
  #
3927
- # source://mocha-1.14.0/lib/mocha/single_return_value.rb:5
3927
+ # source://mocha//lib/mocha/single_return_value.rb#5
3928
3928
  def initialize(value); end
3929
3929
 
3930
- # source://mocha-1.14.0/lib/mocha/single_return_value.rb:9
3930
+ # source://mocha//lib/mocha/single_return_value.rb#9
3931
3931
  def evaluate(invocation); end
3932
3932
  end
3933
3933
 
3934
3934
  # A state machine that is used to constrain the order of invocations.
3935
3935
  # An invocation can be constrained to occur when a state {#is}, or {#is_not}, active.
3936
3936
  #
3937
- # source://mocha-1.14.0/lib/mocha/state_machine.rb:4
3937
+ # source://mocha//lib/mocha/state_machine.rb#4
3938
3938
  class Mocha::StateMachine
3939
3939
  # @private
3940
3940
  # @return [StateMachine] a new instance of StateMachine
3941
3941
  #
3942
- # source://mocha-1.14.0/lib/mocha/state_machine.rb:41
3942
+ # source://mocha//lib/mocha/state_machine.rb#41
3943
3943
  def initialize(name); end
3944
3944
 
3945
3945
  # Put the {StateMachine} into the +next_state_name+.
3946
3946
  #
3947
3947
  # @param next_state_name [String] name of new state
3948
3948
  #
3949
- # source://mocha-1.14.0/lib/mocha/state_machine.rb:58
3949
+ # source://mocha//lib/mocha/state_machine.rb#58
3950
3950
  def become(next_state_name); end
3951
3951
 
3952
3952
  # @private
3953
3953
  #
3954
- # source://mocha-1.14.0/lib/mocha/state_machine.rb:38
3954
+ # source://mocha//lib/mocha/state_machine.rb#38
3955
3955
  def current_state; end
3956
3956
 
3957
3957
  # @private
3958
3958
  #
3959
- # source://mocha-1.14.0/lib/mocha/state_machine.rb:38
3959
+ # source://mocha//lib/mocha/state_machine.rb#38
3960
3960
  def current_state=(_arg0); end
3961
3961
 
3962
3962
  # Provides mechanisms to (a) determine whether the {StateMachine} is in a given state; or (b) to change the {StateMachine} into the given state.
@@ -3966,7 +3966,7 @@ class Mocha::StateMachine
3966
3966
  # @param state_name [String] name of expected/desired state.
3967
3967
  # @return [StatePredicate, State] (a) state predicate which, when queried, will indicate whether the {StateMachine} is in the given state; or (b) state which, when activated, will change the {StateMachine} into the given state.
3968
3968
  #
3969
- # source://mocha-1.14.0/lib/mocha/state_machine.rb:76
3969
+ # source://mocha//lib/mocha/state_machine.rb#76
3970
3970
  def is(state_name); end
3971
3971
 
3972
3972
  # Provides a mechanism to determine whether the {StateMachine} is *not* in the state specified by +unexpected_state_name+ at some point in the future.
@@ -3974,17 +3974,17 @@ class Mocha::StateMachine
3974
3974
  # @param unexpected_state_name [String] name of unexpected state.
3975
3975
  # @return [StatePredicate] state predicate which, when queried, will indicate whether the {StateMachine} is *not* in the state specified by +unexpected_state_name+.
3976
3976
  #
3977
- # source://mocha-1.14.0/lib/mocha/state_machine.rb:84
3977
+ # source://mocha//lib/mocha/state_machine.rb#84
3978
3978
  def is_not(unexpected_state_name); end
3979
3979
 
3980
3980
  # @private
3981
3981
  #
3982
- # source://mocha-1.14.0/lib/mocha/state_machine.rb:89
3982
+ # source://mocha//lib/mocha/state_machine.rb#89
3983
3983
  def mocha_inspect; end
3984
3984
 
3985
3985
  # @private
3986
3986
  #
3987
- # source://mocha-1.14.0/lib/mocha/state_machine.rb:35
3987
+ # source://mocha//lib/mocha/state_machine.rb#35
3988
3988
  def name; end
3989
3989
 
3990
3990
  # Put the {StateMachine} into the state specified by +initial_state_name+.
@@ -3992,185 +3992,185 @@ class Mocha::StateMachine
3992
3992
  # @param initial_state_name [String] name of initial state
3993
3993
  # @return [StateMachine] state machine, thereby allowing invocations of other {StateMachine} methods to be chained.
3994
3994
  #
3995
- # source://mocha-1.14.0/lib/mocha/state_machine.rb:50
3995
+ # source://mocha//lib/mocha/state_machine.rb#50
3996
3996
  def starts_as(initial_state_name); end
3997
3997
  end
3998
3998
 
3999
3999
  # Provides a mechanism to change the state of a {StateMachine} at some point in the future.
4000
4000
  #
4001
- # source://mocha-1.14.0/lib/mocha/state_machine.rb:28
4001
+ # source://mocha//lib/mocha/state_machine.rb#27
4002
4002
  class Mocha::StateMachine::State < ::Mocha::StateMachine::StatePredicate
4003
4003
  # @private
4004
4004
  #
4005
- # source://mocha-1.14.0/lib/mocha/state_machine.rb:29
4005
+ # source://mocha//lib/mocha/state_machine.rb#29
4006
4006
  def activate; end
4007
4007
  end
4008
4008
 
4009
4009
  # Provides the ability to determine whether a {StateMachine} is in a specified state at some point in the future.
4010
4010
  #
4011
- # source://mocha-1.14.0/lib/mocha/state_machine.rb:6
4011
+ # source://mocha//lib/mocha/state_machine.rb#6
4012
4012
  class Mocha::StateMachine::StatePredicate
4013
4013
  # @private
4014
4014
  # @return [StatePredicate] a new instance of StatePredicate
4015
4015
  #
4016
- # source://mocha-1.14.0/lib/mocha/state_machine.rb:8
4016
+ # source://mocha//lib/mocha/state_machine.rb#8
4017
4017
  def initialize(state_machine, state, description, &active_check); end
4018
4018
 
4019
4019
  # @private
4020
4020
  # @return [Boolean]
4021
4021
  #
4022
- # source://mocha-1.14.0/lib/mocha/state_machine.rb:16
4022
+ # source://mocha//lib/mocha/state_machine.rb#16
4023
4023
  def active?; end
4024
4024
 
4025
4025
  # @private
4026
4026
  #
4027
- # source://mocha-1.14.0/lib/mocha/state_machine.rb:21
4027
+ # source://mocha//lib/mocha/state_machine.rb#21
4028
4028
  def mocha_inspect; end
4029
4029
  end
4030
4030
 
4031
- # source://mocha-1.14.0/lib/mocha/stubbed_method.rb:5
4031
+ # source://mocha//lib/mocha/stubbed_method.rb#5
4032
4032
  class Mocha::StubbedMethod
4033
4033
  # @return [StubbedMethod] a new instance of StubbedMethod
4034
4034
  #
4035
- # source://mocha-1.14.0/lib/mocha/stubbed_method.rb:10
4035
+ # source://mocha//lib/mocha/stubbed_method.rb#10
4036
4036
  def initialize(stubbee, method_name); end
4037
4037
 
4038
4038
  def ==(_arg0); end
4039
4039
 
4040
- # source://mocha-1.14.0/lib/mocha/stubbed_method.rb:57
4040
+ # source://mocha//lib/mocha/stubbed_method.rb#57
4041
4041
  def define_new_method; end
4042
4042
 
4043
- # source://mocha-1.14.0/lib/mocha/stubbed_method.rb:38
4043
+ # source://mocha//lib/mocha/stubbed_method.rb#38
4044
4044
  def hide_original_method; end
4045
4045
 
4046
4046
  # @return [Boolean]
4047
4047
  #
4048
- # source://mocha-1.14.0/lib/mocha/stubbed_method.rb:82
4048
+ # source://mocha//lib/mocha/stubbed_method.rb#82
4049
4049
  def matches?(other); end
4050
4050
 
4051
4051
  # Returns the value of attribute method_name.
4052
4052
  #
4053
- # source://mocha-1.14.0/lib/mocha/stubbed_method.rb:8
4053
+ # source://mocha//lib/mocha/stubbed_method.rb#8
4054
4054
  def method_name; end
4055
4055
 
4056
- # source://mocha-1.14.0/lib/mocha/stubbed_method.rb:30
4056
+ # source://mocha//lib/mocha/stubbed_method.rb#30
4057
4057
  def mock; end
4058
4058
 
4059
- # source://mocha-1.14.0/lib/mocha/stubbed_method.rb:66
4059
+ # source://mocha//lib/mocha/stubbed_method.rb#66
4060
4060
  def remove_new_method; end
4061
4061
 
4062
- # source://mocha-1.14.0/lib/mocha/stubbed_method.rb:34
4062
+ # source://mocha//lib/mocha/stubbed_method.rb#34
4063
4063
  def reset_mocha; end
4064
4064
 
4065
- # source://mocha-1.14.0/lib/mocha/stubbed_method.rb:74
4065
+ # source://mocha//lib/mocha/stubbed_method.rb#74
4066
4066
  def restore_original_method; end
4067
4067
 
4068
- # source://mocha-1.14.0/lib/mocha/stubbed_method.rb:70
4068
+ # source://mocha//lib/mocha/stubbed_method.rb#70
4069
4069
  def store_original_method; end
4070
4070
 
4071
- # source://mocha-1.14.0/lib/mocha/stubbed_method.rb:17
4071
+ # source://mocha//lib/mocha/stubbed_method.rb#17
4072
4072
  def stub; end
4073
4073
 
4074
4074
  # Returns the value of attribute stubbee.
4075
4075
  #
4076
- # source://mocha-1.14.0/lib/mocha/stubbed_method.rb:8
4076
+ # source://mocha//lib/mocha/stubbed_method.rb#8
4077
4077
  def stubbee; end
4078
4078
 
4079
- # source://mocha-1.14.0/lib/mocha/stubbed_method.rb:89
4079
+ # source://mocha//lib/mocha/stubbed_method.rb#89
4080
4080
  def to_s; end
4081
4081
 
4082
- # source://mocha-1.14.0/lib/mocha/stubbed_method.rb:22
4082
+ # source://mocha//lib/mocha/stubbed_method.rb#22
4083
4083
  def unstub; end
4084
4084
 
4085
4085
  private
4086
4086
 
4087
- # source://mocha-1.14.0/lib/mocha/stubbed_method.rb:108
4087
+ # source://mocha//lib/mocha/stubbed_method.rb#108
4088
4088
  def remove_original_method_from_stubbee; end
4089
4089
 
4090
- # source://mocha-1.14.0/lib/mocha/stubbed_method.rb:95
4090
+ # source://mocha//lib/mocha/stubbed_method.rb#95
4091
4091
  def retain_original_visibility(method_owner); end
4092
4092
 
4093
- # source://mocha-1.14.0/lib/mocha/stubbed_method.rb:100
4093
+ # source://mocha//lib/mocha/stubbed_method.rb#100
4094
4094
  def store_original_method_visibility; end
4095
4095
 
4096
4096
  # @return [Boolean]
4097
4097
  #
4098
- # source://mocha-1.14.0/lib/mocha/stubbed_method.rb:104
4098
+ # source://mocha//lib/mocha/stubbed_method.rb#104
4099
4099
  def stub_method_overwrites_original_method?; end
4100
4100
 
4101
- # source://mocha-1.14.0/lib/mocha/stubbed_method.rb:121
4101
+ # source://mocha//lib/mocha/stubbed_method.rb#121
4102
4102
  def stub_method_owner; end
4103
4103
 
4104
- # source://mocha-1.14.0/lib/mocha/stubbed_method.rb:116
4104
+ # source://mocha//lib/mocha/stubbed_method.rb#116
4105
4105
  def use_prepended_module_for_stub_method; end
4106
4106
 
4107
4107
  # @return [Boolean]
4108
4108
  #
4109
- # source://mocha-1.14.0/lib/mocha/stubbed_method.rb:112
4109
+ # source://mocha//lib/mocha/stubbed_method.rb#112
4110
4110
  def use_prepended_module_for_stub_method?; end
4111
4111
  end
4112
4112
 
4113
- # source://mocha-1.14.0/lib/mocha/stubbed_method.rb:6
4113
+ # source://mocha//lib/mocha/stubbed_method.rb#6
4114
4114
  class Mocha::StubbedMethod::PrependedModule < ::Module; end
4115
4115
 
4116
4116
  # Exception raised when stubbing a particular method is not allowed.
4117
4117
  #
4118
4118
  # @see Configuration.prevent
4119
4119
  #
4120
- # source://mocha-1.14.0/lib/mocha/stubbing_error.rb:7
4120
+ # source://mocha//lib/mocha/stubbing_error.rb#7
4121
4121
  class Mocha::StubbingError < ::Mocha::ErrorWithFilteredBacktrace; end
4122
4122
 
4123
- # source://mocha-1.14.0/lib/mocha/thrower.rb:2
4123
+ # source://mocha//lib/mocha/thrower.rb#2
4124
4124
  class Mocha::Thrower
4125
4125
  # @return [Thrower] a new instance of Thrower
4126
4126
  #
4127
- # source://mocha-1.14.0/lib/mocha/thrower.rb:3
4127
+ # source://mocha//lib/mocha/thrower.rb#3
4128
4128
  def initialize(tag, object = T.unsafe(nil)); end
4129
4129
 
4130
- # source://mocha-1.14.0/lib/mocha/thrower.rb:8
4130
+ # source://mocha//lib/mocha/thrower.rb#8
4131
4131
  def evaluate(invocation); end
4132
4132
  end
4133
4133
 
4134
- # source://mocha-1.14.0/lib/mocha/thrown_object.rb:2
4134
+ # source://mocha//lib/mocha/thrown_object.rb#2
4135
4135
  class Mocha::ThrownObject
4136
4136
  # @return [ThrownObject] a new instance of ThrownObject
4137
4137
  #
4138
- # source://mocha-1.14.0/lib/mocha/thrown_object.rb:3
4138
+ # source://mocha//lib/mocha/thrown_object.rb#3
4139
4139
  def initialize(tag, value = T.unsafe(nil)); end
4140
4140
 
4141
- # source://mocha-1.14.0/lib/mocha/thrown_object.rb:8
4141
+ # source://mocha//lib/mocha/thrown_object.rb#8
4142
4142
  def mocha_inspect; end
4143
4143
  end
4144
4144
 
4145
- # source://mocha-1.14.0/lib/mocha/version.rb:2
4145
+ # source://mocha//lib/mocha/version.rb#2
4146
4146
  Mocha::VERSION = T.let(T.unsafe(nil), String)
4147
4147
 
4148
- # source://mocha-1.14.0/lib/mocha/yield_parameters.rb:2
4148
+ # source://mocha//lib/mocha/yield_parameters.rb#2
4149
4149
  class Mocha::YieldParameters
4150
4150
  # @return [YieldParameters] a new instance of YieldParameters
4151
4151
  #
4152
- # source://mocha-1.14.0/lib/mocha/yield_parameters.rb:3
4152
+ # source://mocha//lib/mocha/yield_parameters.rb#3
4153
4153
  def initialize; end
4154
4154
 
4155
- # source://mocha-1.14.0/lib/mocha/yield_parameters.rb:15
4155
+ # source://mocha//lib/mocha/yield_parameters.rb#15
4156
4156
  def add(*parameter_groups); end
4157
4157
 
4158
- # source://mocha-1.14.0/lib/mocha/yield_parameters.rb:7
4158
+ # source://mocha//lib/mocha/yield_parameters.rb#7
4159
4159
  def next_invocation; end
4160
4160
  end
4161
4161
 
4162
4162
  # @private
4163
4163
  #
4164
- # source://mocha-1.14.0/lib/mocha/parameter_matchers/instance_methods.rb:16
4164
+ # source://mocha//lib/mocha/parameter_matchers/instance_methods.rb#16
4165
4165
  class Object < ::BasicObject
4166
- include ::ActiveSupport::ForkTracker::CoreExt
4167
4166
  include ::Kernel
4167
+ include ::PP::ObjectMixin
4168
4168
  include ::Mocha::ParameterMatchers::InstanceMethods
4169
4169
  include ::Mocha::Inspect::ObjectMethods
4170
4170
  include ::Mocha::ObjectMethods
4171
4171
  end
4172
4172
 
4173
- # source://mocha-1.14.0/lib/mocha/inspect.rb:53
4173
+ # source://mocha//lib/mocha/inspect.rb#53
4174
4174
  class Time
4175
4175
  include ::Comparable
4176
4176
  include ::Mocha::Inspect::TimeMethods