mocha 1.10.0.alpha → 1.10.0.beta.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (57) hide show
  1. checksums.yaml +4 -4
  2. data/RELEASE.md +4 -0
  3. data/docs/Mocha.html +2 -2
  4. data/docs/Mocha/API.html +2 -2
  5. data/docs/Mocha/ClassMethods.html +2 -77
  6. data/docs/Mocha/Configuration.html +2 -2
  7. data/docs/Mocha/Expectation.html +2 -2
  8. data/docs/Mocha/ExpectationError.html +2 -2
  9. data/docs/Mocha/ExpectationErrorFactory.html +2 -2
  10. data/docs/Mocha/Hooks.html +2 -2
  11. data/docs/Mocha/Integration.html +2 -2
  12. data/docs/Mocha/Integration/MiniTest.html +2 -2
  13. data/docs/Mocha/Integration/MiniTest/Adapter.html +2 -2
  14. data/docs/Mocha/Integration/TestUnit.html +2 -2
  15. data/docs/Mocha/Integration/TestUnit/Adapter.html +2 -2
  16. data/docs/Mocha/Mock.html +2 -2
  17. data/docs/Mocha/ObjectMethods.html +2 -2
  18. data/docs/Mocha/ParameterMatchers.html +2 -2
  19. data/docs/Mocha/ParameterMatchers/AllOf.html +2 -2
  20. data/docs/Mocha/ParameterMatchers/AnyOf.html +2 -2
  21. data/docs/Mocha/ParameterMatchers/AnyParameters.html +2 -2
  22. data/docs/Mocha/ParameterMatchers/Anything.html +2 -2
  23. data/docs/Mocha/ParameterMatchers/Base.html +2 -2
  24. data/docs/Mocha/ParameterMatchers/Equals.html +2 -2
  25. data/docs/Mocha/ParameterMatchers/EquivalentUri.html +2 -2
  26. data/docs/Mocha/ParameterMatchers/HasEntries.html +2 -2
  27. data/docs/Mocha/ParameterMatchers/HasEntry.html +2 -2
  28. data/docs/Mocha/ParameterMatchers/HasKey.html +2 -2
  29. data/docs/Mocha/ParameterMatchers/HasValue.html +2 -2
  30. data/docs/Mocha/ParameterMatchers/Includes.html +2 -2
  31. data/docs/Mocha/ParameterMatchers/InstanceOf.html +2 -2
  32. data/docs/Mocha/ParameterMatchers/IsA.html +2 -2
  33. data/docs/Mocha/ParameterMatchers/KindOf.html +2 -2
  34. data/docs/Mocha/ParameterMatchers/Not.html +2 -2
  35. data/docs/Mocha/ParameterMatchers/Optionally.html +2 -2
  36. data/docs/Mocha/ParameterMatchers/RegexpMatches.html +2 -2
  37. data/docs/Mocha/ParameterMatchers/RespondsWith.html +2 -2
  38. data/docs/Mocha/ParameterMatchers/YamlEquivalent.html +2 -2
  39. data/docs/Mocha/Sequence.html +2 -2
  40. data/docs/Mocha/StateMachine.html +2 -2
  41. data/docs/Mocha/StateMachine/State.html +2 -2
  42. data/docs/Mocha/StateMachine/StatePredicate.html +2 -2
  43. data/docs/Mocha/StubbingError.html +2 -2
  44. data/docs/_index.html +3 -3
  45. data/docs/file.COPYING.html +2 -2
  46. data/docs/file.MIT-LICENSE.html +2 -2
  47. data/docs/file.README.html +2 -2
  48. data/docs/file.RELEASE.html +8 -2
  49. data/docs/frames.html +1 -1
  50. data/docs/index.html +2 -2
  51. data/docs/method_list.html +48 -56
  52. data/docs/top-level-namespace.html +2 -2
  53. data/lib/mocha/class_methods.rb +3 -2
  54. data/lib/mocha/mockery.rb +2 -2
  55. data/lib/mocha/stubbed_method.rb +2 -2
  56. data/lib/mocha/version.rb +1 -1
  57. metadata +2 -2
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 17067ef2117df2bcf63d40f8e764f28d584a5e6243e40d42533a571532329c43
4
- data.tar.gz: c2ce2f9b3ca8950dc8fa8958a106bac339f3a96018849c50954ac4b53f024893
3
+ metadata.gz: 58a66a6791868b4174368bf78fa27dbf3335ba3af2eea692b4b9b447033d61ba
4
+ data.tar.gz: 20fddd992f604a102df77446d880de54bb1695414c30e0abbd7a7c21b1ed9580
5
5
  SHA512:
6
- metadata.gz: c40927eb7a63d40a2fd77676e5a3c2362d20f3e0601386c3e848f96d631d1ee1101d46619ed8a3f1fea952e3d9a56f0cc9205fe94b115866358bac2baadf3958
7
- data.tar.gz: ce24527412963c7c89611d2517ee20790e01efa4dafa5b3c0f6229b7993baaf5c8db2b7e49b378f65d61070390ab0ccf797f7b1cbf1bcfa3ba98f363b6473e21
6
+ metadata.gz: 02ce0e65773eb45640820cc2fc4ca3bc3992be0534783915b6a60c6cd113db9577227e1fa83cd58fe8fa392f640fcaa9fe89d9f33dec602ff0bbdbd213fe0353
7
+ data.tar.gz: be6ef2b18064ff4a539bef5f42c5c8e96aaaf10a78b771d1ad8a815b62e9f30591e353863c3a909560eb81e95832bd0137849f9e726b5278261495302d78cd85
data/RELEASE.md CHANGED
@@ -1,5 +1,9 @@
1
1
  # Release Notes
2
2
 
3
+ ## 1.10.0.beta.1
4
+
5
+ * Hide `ClassMethods#method_visibility` & `#method_exists?` methods to avoid clash with Rails (#428)
6
+
3
7
  ## 1.10.0.alpha
4
8
 
5
9
  ### External changes
@@ -6,7 +6,7 @@
6
6
  <title>
7
7
  Module: Mocha
8
8
 
9
- &mdash; Mocha 1.10.0.alpha
9
+ &mdash; Mocha 1.10.0.beta.1
10
10
 
11
11
  </title>
12
12
 
@@ -244,7 +244,7 @@
244
244
  </div>
245
245
 
246
246
  <div id="footer">
247
- Generated on Sun Nov 24 15:26:48 2019 by
247
+ Generated on Tue Nov 26 21:53:01 2019 by
248
248
  <a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
249
249
  0.9.20 (ruby-2.6.5).
250
250
  </div>
@@ -6,7 +6,7 @@
6
6
  <title>
7
7
  Module: Mocha::API
8
8
 
9
- &mdash; Mocha 1.10.0.alpha
9
+ &mdash; Mocha 1.10.0.beta.1
10
10
 
11
11
  </title>
12
12
 
@@ -1119,7 +1119,7 @@
1119
1119
  </div>
1120
1120
 
1121
1121
  <div id="footer">
1122
- Generated on Sun Nov 24 15:26:49 2019 by
1122
+ Generated on Tue Nov 26 21:53:01 2019 by
1123
1123
  <a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
1124
1124
  0.9.20 (ruby-2.6.5).
1125
1125
  </div>
@@ -6,7 +6,7 @@
6
6
  <title>
7
7
  Module: Mocha::ClassMethods
8
8
 
9
- &mdash; Mocha 1.10.0.alpha
9
+ &mdash; Mocha 1.10.0.beta.1
10
10
 
11
11
  </title>
12
12
 
@@ -130,32 +130,6 @@
130
130
  <p>A mock object which will detect calls to any instance of this class.</p>
131
131
  </div></span>
132
132
 
133
- </li>
134
-
135
-
136
- <li class="public ">
137
- <span class="summary_signature">
138
-
139
- <a href="#method_visibility-instance_method" title="#method_visibility (instance method)">#<strong>method_visibility</strong>(method, include_public_methods = true) &#x21d2; Object </a>
140
-
141
-
142
-
143
- (also: #method_exists?)
144
-
145
- </span>
146
-
147
-
148
-
149
-
150
-
151
-
152
-
153
-
154
-
155
- <span class="summary_desc"><div class='inline'>
156
- <p>rubocop:disable Metrics/CyclomaticComplexity.</p>
157
- </div></span>
158
-
159
133
  </li>
160
134
 
161
135
 
@@ -265,55 +239,6 @@
265
239
  </td>
266
240
  </tr>
267
241
  </table>
268
- </div>
269
-
270
- <div class="method_details ">
271
- <h3 class="signature " id="method_visibility-instance_method">
272
-
273
- #<strong>method_visibility</strong>(method, include_public_methods = true) &#x21d2; <tt><span class='object_link'>Object</span></tt>
274
-
275
-
276
-
277
- <span class="aliases">Also known as:
278
- <span class="names"><span id='method_exists?-instance_method'>method_exists?</span></span>
279
- </span>
280
-
281
-
282
-
283
- </h3><div class="docstring">
284
- <div class="discussion">
285
-
286
- <p>rubocop:disable Metrics/CyclomaticComplexity</p>
287
-
288
-
289
- </div>
290
- </div>
291
- <div class="tags">
292
-
293
-
294
- </div><table class="source_code">
295
- <tr>
296
- <td>
297
- <pre class="lines">
298
-
299
-
300
- 53
301
- 54
302
- 55
303
- 56
304
- 57</pre>
305
- </td>
306
- <td>
307
- <pre class="code"><span class="info file"># File 'lib/mocha/class_methods.rb', line 53</span>
308
-
309
- <span class='kw'>def</span> <span class='id identifier rubyid_method_visibility'>method_visibility</span><span class='lparen'>(</span><span class='id identifier rubyid_method'>method</span><span class='comma'>,</span> <span class='id identifier rubyid_include_public_methods'>include_public_methods</span> <span class='op'>=</span> <span class='kw'>true</span><span class='rparen'>)</span>
310
- <span class='lparen'>(</span><span class='id identifier rubyid_include_public_methods'>include_public_methods</span> <span class='op'>&amp;&amp;</span> <span class='id identifier rubyid_public_method_defined?'>public_method_defined?</span><span class='lparen'>(</span><span class='id identifier rubyid_method'>method</span><span class='rparen'>)</span> <span class='op'>&amp;&amp;</span> <span class='symbol'>:public</span><span class='rparen'>)</span> <span class='op'>||</span>
311
- <span class='lparen'>(</span><span class='id identifier rubyid_protected_method_defined?'>protected_method_defined?</span><span class='lparen'>(</span><span class='id identifier rubyid_method'>method</span><span class='rparen'>)</span> <span class='op'>&amp;&amp;</span> <span class='symbol'>:protected</span><span class='rparen'>)</span> <span class='op'>||</span>
312
- <span class='lparen'>(</span><span class='id identifier rubyid_private_method_defined?'>private_method_defined?</span><span class='lparen'>(</span><span class='id identifier rubyid_method'>method</span><span class='rparen'>)</span> <span class='op'>&amp;&amp;</span> <span class='symbol'>:private</span><span class='rparen'>)</span>
313
- <span class='kw'>end</span></pre>
314
- </td>
315
- </tr>
316
- </table>
317
242
  </div>
318
243
 
319
244
  </div>
@@ -329,7 +254,7 @@
329
254
  </div>
330
255
 
331
256
  <div id="footer">
332
- Generated on Sun Nov 24 15:26:49 2019 by
257
+ Generated on Tue Nov 26 21:53:01 2019 by
333
258
  <a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
334
259
  0.9.20 (ruby-2.6.5).
335
260
  </div>
@@ -6,7 +6,7 @@
6
6
  <title>
7
7
  Class: Mocha::Configuration
8
8
 
9
- &mdash; Mocha 1.10.0.alpha
9
+ &mdash; Mocha 1.10.0.beta.1
10
10
 
11
11
  </title>
12
12
 
@@ -1373,7 +1373,7 @@ satisfied expectations:
1373
1373
  </div>
1374
1374
 
1375
1375
  <div id="footer">
1376
- Generated on Sun Nov 24 15:26:50 2019 by
1376
+ Generated on Tue Nov 26 21:53:03 2019 by
1377
1377
  <a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
1378
1378
  0.9.20 (ruby-2.6.5).
1379
1379
  </div>
@@ -6,7 +6,7 @@
6
6
  <title>
7
7
  Class: Mocha::Expectation
8
8
 
9
- &mdash; Mocha 1.10.0.alpha
9
+ &mdash; Mocha 1.10.0.beta.1
10
10
 
11
11
  </title>
12
12
 
@@ -2644,7 +2644,7 @@
2644
2644
  </div>
2645
2645
 
2646
2646
  <div id="footer">
2647
- Generated on Sun Nov 24 15:26:50 2019 by
2647
+ Generated on Tue Nov 26 21:53:02 2019 by
2648
2648
  <a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
2649
2649
  0.9.20 (ruby-2.6.5).
2650
2650
  </div>
@@ -6,7 +6,7 @@
6
6
  <title>
7
7
  Exception: Mocha::ExpectationError
8
8
 
9
- &mdash; Mocha 1.10.0.alpha
9
+ &mdash; Mocha 1.10.0.beta.1
10
10
 
11
11
  </title>
12
12
 
@@ -142,7 +142,7 @@
142
142
  </div>
143
143
 
144
144
  <div id="footer">
145
- Generated on Sun Nov 24 15:26:50 2019 by
145
+ Generated on Tue Nov 26 21:53:03 2019 by
146
146
  <a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
147
147
  0.9.20 (ruby-2.6.5).
148
148
  </div>
@@ -6,7 +6,7 @@
6
6
  <title>
7
7
  Class: Mocha::ExpectationErrorFactory
8
8
 
9
- &mdash; Mocha 1.10.0.alpha
9
+ &mdash; Mocha 1.10.0.beta.1
10
10
 
11
11
  </title>
12
12
 
@@ -250,7 +250,7 @@
250
250
  </div>
251
251
 
252
252
  <div id="footer">
253
- Generated on Sun Nov 24 15:26:50 2019 by
253
+ Generated on Tue Nov 26 21:53:03 2019 by
254
254
  <a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
255
255
  0.9.20 (ruby-2.6.5).
256
256
  </div>
@@ -6,7 +6,7 @@
6
6
  <title>
7
7
  Module: Mocha::Hooks
8
8
 
9
- &mdash; Mocha 1.10.0.alpha
9
+ &mdash; Mocha 1.10.0.beta.1
10
10
 
11
11
  </title>
12
12
 
@@ -360,7 +360,7 @@
360
360
  </div>
361
361
 
362
362
  <div id="footer">
363
- Generated on Sun Nov 24 15:26:49 2019 by
363
+ Generated on Tue Nov 26 21:53:01 2019 by
364
364
  <a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
365
365
  0.9.20 (ruby-2.6.5).
366
366
  </div>
@@ -6,7 +6,7 @@
6
6
  <title>
7
7
  Module: Mocha::Integration
8
8
 
9
- &mdash; Mocha 1.10.0.alpha
9
+ &mdash; Mocha 1.10.0.beta.1
10
10
 
11
11
  </title>
12
12
 
@@ -115,7 +115,7 @@
115
115
  </div>
116
116
 
117
117
  <div id="footer">
118
- Generated on Sun Nov 24 15:26:49 2019 by
118
+ Generated on Tue Nov 26 21:53:02 2019 by
119
119
  <a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
120
120
  0.9.20 (ruby-2.6.5).
121
121
  </div>
@@ -6,7 +6,7 @@
6
6
  <title>
7
7
  Module: Mocha::Integration::MiniTest
8
8
 
9
- &mdash; Mocha 1.10.0.alpha
9
+ &mdash; Mocha 1.10.0.beta.1
10
10
 
11
11
  </title>
12
12
 
@@ -113,7 +113,7 @@
113
113
  </div>
114
114
 
115
115
  <div id="footer">
116
- Generated on Sun Nov 24 15:26:49 2019 by
116
+ Generated on Tue Nov 26 21:53:02 2019 by
117
117
  <a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
118
118
  0.9.20 (ruby-2.6.5).
119
119
  </div>
@@ -6,7 +6,7 @@
6
6
  <title>
7
7
  Module: Mocha::Integration::MiniTest::Adapter
8
8
 
9
- &mdash; Mocha 1.10.0.alpha
9
+ &mdash; Mocha 1.10.0.beta.1
10
10
 
11
11
  </title>
12
12
 
@@ -154,7 +154,7 @@
154
154
  </div>
155
155
 
156
156
  <div id="footer">
157
- Generated on Sun Nov 24 15:26:49 2019 by
157
+ Generated on Tue Nov 26 21:53:02 2019 by
158
158
  <a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
159
159
  0.9.20 (ruby-2.6.5).
160
160
  </div>
@@ -6,7 +6,7 @@
6
6
  <title>
7
7
  Module: Mocha::Integration::TestUnit
8
8
 
9
- &mdash; Mocha 1.10.0.alpha
9
+ &mdash; Mocha 1.10.0.beta.1
10
10
 
11
11
  </title>
12
12
 
@@ -113,7 +113,7 @@
113
113
  </div>
114
114
 
115
115
  <div id="footer">
116
- Generated on Sun Nov 24 15:26:49 2019 by
116
+ Generated on Tue Nov 26 21:53:02 2019 by
117
117
  <a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
118
118
  0.9.20 (ruby-2.6.5).
119
119
  </div>
@@ -6,7 +6,7 @@
6
6
  <title>
7
7
  Module: Mocha::Integration::TestUnit::Adapter
8
8
 
9
- &mdash; Mocha 1.10.0.alpha
9
+ &mdash; Mocha 1.10.0.beta.1
10
10
 
11
11
  </title>
12
12
 
@@ -154,7 +154,7 @@
154
154
  </div>
155
155
 
156
156
  <div id="footer">
157
- Generated on Sun Nov 24 15:26:49 2019 by
157
+ Generated on Tue Nov 26 21:53:02 2019 by
158
158
  <a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
159
159
  0.9.20 (ruby-2.6.5).
160
160
  </div>
@@ -6,7 +6,7 @@
6
6
  <title>
7
7
  Class: Mocha::Mock
8
8
 
9
- &mdash; Mocha 1.10.0.alpha
9
+ &mdash; Mocha 1.10.0.beta.1
10
10
 
11
11
  </title>
12
12
 
@@ -1227,7 +1227,7 @@ object.stubbed_method # =&gt; unexpected invocation: #&lt;Mock:mock&gt;.stubbed_
1227
1227
  </div>
1228
1228
 
1229
1229
  <div id="footer">
1230
- Generated on Sun Nov 24 15:26:49 2019 by
1230
+ Generated on Tue Nov 26 21:53:02 2019 by
1231
1231
  <a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
1232
1232
  0.9.20 (ruby-2.6.5).
1233
1233
  </div>
@@ -6,7 +6,7 @@
6
6
  <title>
7
7
  Module: Mocha::ObjectMethods
8
8
 
9
- &mdash; Mocha 1.10.0.alpha
9
+ &mdash; Mocha 1.10.0.beta.1
10
10
 
11
11
  </title>
12
12
 
@@ -755,7 +755,7 @@
755
755
  </div>
756
756
 
757
757
  <div id="footer">
758
- Generated on Sun Nov 24 15:26:49 2019 by
758
+ Generated on Tue Nov 26 21:53:01 2019 by
759
759
  <a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
760
760
  0.9.20 (ruby-2.6.5).
761
761
  </div>
@@ -6,7 +6,7 @@
6
6
  <title>
7
7
  Module: Mocha::ParameterMatchers
8
8
 
9
- &mdash; Mocha 1.10.0.alpha
9
+ &mdash; Mocha 1.10.0.beta.1
10
10
 
11
11
  </title>
12
12
 
@@ -2951,7 +2951,7 @@ object.method_1(&#39;http://example.com/foo?a=1&amp;b=3&#39;)
2951
2951
  </div>
2952
2952
 
2953
2953
  <div id="footer">
2954
- Generated on Sun Nov 24 15:26:49 2019 by
2954
+ Generated on Tue Nov 26 21:53:02 2019 by
2955
2955
  <a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
2956
2956
  0.9.20 (ruby-2.6.5).
2957
2957
  </div>
@@ -6,7 +6,7 @@
6
6
  <title>
7
7
  Class: Mocha::ParameterMatchers::AllOf
8
8
 
9
- &mdash; Mocha 1.10.0.alpha
9
+ &mdash; Mocha 1.10.0.beta.1
10
10
 
11
11
  </title>
12
12
 
@@ -143,7 +143,7 @@
143
143
  </div>
144
144
 
145
145
  <div id="footer">
146
- Generated on Sun Nov 24 15:26:50 2019 by
146
+ Generated on Tue Nov 26 21:53:03 2019 by
147
147
  <a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
148
148
  0.9.20 (ruby-2.6.5).
149
149
  </div>
@@ -6,7 +6,7 @@
6
6
  <title>
7
7
  Class: Mocha::ParameterMatchers::AnyOf
8
8
 
9
- &mdash; Mocha 1.10.0.alpha
9
+ &mdash; Mocha 1.10.0.beta.1
10
10
 
11
11
  </title>
12
12
 
@@ -143,7 +143,7 @@
143
143
  </div>
144
144
 
145
145
  <div id="footer">
146
- Generated on Sun Nov 24 15:26:50 2019 by
146
+ Generated on Tue Nov 26 21:53:03 2019 by
147
147
  <a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
148
148
  0.9.20 (ruby-2.6.5).
149
149
  </div>
@@ -6,7 +6,7 @@
6
6
  <title>
7
7
  Class: Mocha::ParameterMatchers::AnyParameters
8
8
 
9
- &mdash; Mocha 1.10.0.alpha
9
+ &mdash; Mocha 1.10.0.beta.1
10
10
 
11
11
  </title>
12
12
 
@@ -143,7 +143,7 @@
143
143
  </div>
144
144
 
145
145
  <div id="footer">
146
- Generated on Sun Nov 24 15:26:50 2019 by
146
+ Generated on Tue Nov 26 21:53:03 2019 by
147
147
  <a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
148
148
  0.9.20 (ruby-2.6.5).
149
149
  </div>