mocha 1.8.0 → 1.9.0

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 (62) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +11 -3
  3. data/RELEASE.md +10 -0
  4. data/bin/build-matrix +1 -2
  5. data/docs/Mocha.html +3 -3
  6. data/docs/Mocha/API.html +3 -3
  7. data/docs/Mocha/ClassMethods.html +3 -3
  8. data/docs/Mocha/Configuration.html +3 -3
  9. data/docs/Mocha/Expectation.html +3 -3
  10. data/docs/Mocha/ExpectationError.html +3 -3
  11. data/docs/Mocha/ExpectationErrorFactory.html +3 -3
  12. data/docs/Mocha/Hooks.html +3 -3
  13. data/docs/Mocha/Integration.html +3 -3
  14. data/docs/Mocha/Integration/MiniTest.html +3 -3
  15. data/docs/Mocha/Integration/MiniTest/Adapter.html +3 -3
  16. data/docs/Mocha/Integration/TestUnit.html +3 -3
  17. data/docs/Mocha/Integration/TestUnit/Adapter.html +3 -3
  18. data/docs/Mocha/Mock.html +3 -3
  19. data/docs/Mocha/ObjectMethods.html +3 -3
  20. data/docs/Mocha/ParameterMatchers.html +3 -3
  21. data/docs/Mocha/ParameterMatchers/AllOf.html +3 -3
  22. data/docs/Mocha/ParameterMatchers/AnyOf.html +3 -3
  23. data/docs/Mocha/ParameterMatchers/AnyParameters.html +3 -3
  24. data/docs/Mocha/ParameterMatchers/Anything.html +3 -3
  25. data/docs/Mocha/ParameterMatchers/Base.html +3 -3
  26. data/docs/Mocha/ParameterMatchers/Equals.html +3 -3
  27. data/docs/Mocha/ParameterMatchers/EquivalentUri.html +3 -3
  28. data/docs/Mocha/ParameterMatchers/HasEntries.html +3 -3
  29. data/docs/Mocha/ParameterMatchers/HasEntry.html +3 -3
  30. data/docs/Mocha/ParameterMatchers/HasKey.html +3 -3
  31. data/docs/Mocha/ParameterMatchers/HasValue.html +3 -3
  32. data/docs/Mocha/ParameterMatchers/Includes.html +3 -3
  33. data/docs/Mocha/ParameterMatchers/InstanceOf.html +3 -3
  34. data/docs/Mocha/ParameterMatchers/IsA.html +3 -3
  35. data/docs/Mocha/ParameterMatchers/KindOf.html +3 -3
  36. data/docs/Mocha/ParameterMatchers/Not.html +3 -3
  37. data/docs/Mocha/ParameterMatchers/Optionally.html +3 -3
  38. data/docs/Mocha/ParameterMatchers/RegexpMatches.html +3 -3
  39. data/docs/Mocha/ParameterMatchers/RespondsWith.html +3 -3
  40. data/docs/Mocha/ParameterMatchers/YamlEquivalent.html +3 -3
  41. data/docs/Mocha/Sequence.html +3 -3
  42. data/docs/Mocha/StateMachine.html +3 -3
  43. data/docs/Mocha/StateMachine/State.html +3 -3
  44. data/docs/Mocha/StateMachine/StatePredicate.html +3 -3
  45. data/docs/Mocha/StubbingError.html +3 -3
  46. data/docs/Mocha/UnexpectedInvocation.html +3 -3
  47. data/docs/_index.html +4 -4
  48. data/docs/file.COPYING.html +3 -3
  49. data/docs/file.MIT-LICENSE.html +3 -3
  50. data/docs/file.README.html +14 -6
  51. data/docs/file.RELEASE.html +15 -3
  52. data/docs/frames.html +1 -1
  53. data/docs/index.html +14 -6
  54. data/docs/js/app.js +11 -0
  55. data/docs/top-level-namespace.html +3 -3
  56. data/lib/mocha/any_instance_method.rb +17 -43
  57. data/lib/mocha/class_method.rb +79 -45
  58. data/lib/mocha/version.rb +1 -1
  59. data/test/unit/any_instance_method_test.rb +24 -0
  60. data/test/unit/class_method_test.rb +22 -0
  61. metadata +3 -5
  62. data/docs/CNAME +0 -1
@@ -6,7 +6,7 @@
6
6
  <title>
7
7
  Class: Mocha::ParameterMatchers::AnyParameters
8
8
 
9
- &mdash; Mocha 1.8.0
9
+ &mdash; Mocha 1.9.0
10
10
 
11
11
  </title>
12
12
 
@@ -143,9 +143,9 @@
143
143
  </div>
144
144
 
145
145
  <div id="footer">
146
- Generated on Tue Jan 15 17:13:06 2019 by
146
+ Generated on Mon Jun 17 18:38:44 2019 by
147
147
  <a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
148
- 0.9.16 (ruby-2.5.3).
148
+ 0.9.19 (ruby-2.5.3).
149
149
  </div>
150
150
 
151
151
  </div>
@@ -6,7 +6,7 @@
6
6
  <title>
7
7
  Class: Mocha::ParameterMatchers::Anything
8
8
 
9
- &mdash; Mocha 1.8.0
9
+ &mdash; Mocha 1.9.0
10
10
 
11
11
  </title>
12
12
 
@@ -143,9 +143,9 @@
143
143
  </div>
144
144
 
145
145
  <div id="footer">
146
- Generated on Tue Jan 15 17:13:06 2019 by
146
+ Generated on Mon Jun 17 18:38:44 2019 by
147
147
  <a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
148
- 0.9.16 (ruby-2.5.3).
148
+ 0.9.19 (ruby-2.5.3).
149
149
  </div>
150
150
 
151
151
  </div>
@@ -6,7 +6,7 @@
6
6
  <title>
7
7
  Class: Mocha::ParameterMatchers::Base
8
8
 
9
- &mdash; Mocha 1.8.0
9
+ &mdash; Mocha 1.9.0
10
10
 
11
11
  </title>
12
12
 
@@ -438,9 +438,9 @@ explicit
438
438
  </div>
439
439
 
440
440
  <div id="footer">
441
- Generated on Tue Jan 15 17:13:06 2019 by
441
+ Generated on Mon Jun 17 18:38:44 2019 by
442
442
  <a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
443
- 0.9.16 (ruby-2.5.3).
443
+ 0.9.19 (ruby-2.5.3).
444
444
  </div>
445
445
 
446
446
  </div>
@@ -6,7 +6,7 @@
6
6
  <title>
7
7
  Class: Mocha::ParameterMatchers::Equals
8
8
 
9
- &mdash; Mocha 1.8.0
9
+ &mdash; Mocha 1.9.0
10
10
 
11
11
  </title>
12
12
 
@@ -144,9 +144,9 @@ value.

144
144
  </div>
145
145
 
146
146
  <div id="footer">
147
- Generated on Tue Jan 15 17:13:06 2019 by
147
+ Generated on Mon Jun 17 18:38:44 2019 by
148
148
  <a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
149
- 0.9.16 (ruby-2.5.3).
149
+ 0.9.19 (ruby-2.5.3).
150
150
  </div>
151
151
 
152
152
  </div>
@@ -6,7 +6,7 @@
6
6
  <title>
7
7
  Class: Mocha::ParameterMatchers::EquivalentUri
8
8
 
9
- &mdash; Mocha 1.8.0
9
+ &mdash; Mocha 1.9.0
10
10
 
11
11
  </title>
12
12
 
@@ -143,9 +143,9 @@
143
143
  </div>
144
144
 
145
145
  <div id="footer">
146
- Generated on Tue Jan 15 17:13:06 2019 by
146
+ Generated on Mon Jun 17 18:38:44 2019 by
147
147
  <a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
148
- 0.9.16 (ruby-2.5.3).
148
+ 0.9.19 (ruby-2.5.3).
149
149
  </div>
150
150
 
151
151
  </div>
@@ -6,7 +6,7 @@
6
6
  <title>
7
7
  Class: Mocha::ParameterMatchers::HasEntries
8
8
 
9
- &mdash; Mocha 1.8.0
9
+ &mdash; Mocha 1.9.0
10
10
 
11
11
  </title>
12
12
 
@@ -144,9 +144,9 @@
144
144
  </div>
145
145
 
146
146
  <div id="footer">
147
- Generated on Tue Jan 15 17:13:06 2019 by
147
+ Generated on Mon Jun 17 18:38:44 2019 by
148
148
  <a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
149
- 0.9.16 (ruby-2.5.3).
149
+ 0.9.19 (ruby-2.5.3).
150
150
  </div>
151
151
 
152
152
  </div>
@@ -6,7 +6,7 @@
6
6
  <title>
7
7
  Class: Mocha::ParameterMatchers::HasEntry
8
8
 
9
- &mdash; Mocha 1.8.0
9
+ &mdash; Mocha 1.9.0
10
10
 
11
11
  </title>
12
12
 
@@ -144,9 +144,9 @@
144
144
  </div>
145
145
 
146
146
  <div id="footer">
147
- Generated on Tue Jan 15 17:13:06 2019 by
147
+ Generated on Mon Jun 17 18:38:44 2019 by
148
148
  <a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
149
- 0.9.16 (ruby-2.5.3).
149
+ 0.9.19 (ruby-2.5.3).
150
150
  </div>
151
151
 
152
152
  </div>
@@ -6,7 +6,7 @@
6
6
  <title>
7
7
  Class: Mocha::ParameterMatchers::HasKey
8
8
 
9
- &mdash; Mocha 1.8.0
9
+ &mdash; Mocha 1.9.0
10
10
 
11
11
  </title>
12
12
 
@@ -144,9 +144,9 @@
144
144
  </div>
145
145
 
146
146
  <div id="footer">
147
- Generated on Tue Jan 15 17:13:06 2019 by
147
+ Generated on Mon Jun 17 18:38:44 2019 by
148
148
  <a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
149
- 0.9.16 (ruby-2.5.3).
149
+ 0.9.19 (ruby-2.5.3).
150
150
  </div>
151
151
 
152
152
  </div>
@@ -6,7 +6,7 @@
6
6
  <title>
7
7
  Class: Mocha::ParameterMatchers::HasValue
8
8
 
9
- &mdash; Mocha 1.8.0
9
+ &mdash; Mocha 1.9.0
10
10
 
11
11
  </title>
12
12
 
@@ -144,9 +144,9 @@
144
144
  </div>
145
145
 
146
146
  <div id="footer">
147
- Generated on Tue Jan 15 17:13:06 2019 by
147
+ Generated on Mon Jun 17 18:38:44 2019 by
148
148
  <a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
149
- 0.9.16 (ruby-2.5.3).
149
+ 0.9.19 (ruby-2.5.3).
150
150
  </div>
151
151
 
152
152
  </div>
@@ -6,7 +6,7 @@
6
6
  <title>
7
7
  Class: Mocha::ParameterMatchers::Includes
8
8
 
9
- &mdash; Mocha 1.8.0
9
+ &mdash; Mocha 1.9.0
10
10
 
11
11
  </title>
12
12
 
@@ -144,9 +144,9 @@ values.

144
144
  </div>
145
145
 
146
146
  <div id="footer">
147
- Generated on Tue Jan 15 17:13:06 2019 by
147
+ Generated on Mon Jun 17 18:38:44 2019 by
148
148
  <a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
149
- 0.9.16 (ruby-2.5.3).
149
+ 0.9.19 (ruby-2.5.3).
150
150
  </div>
151
151
 
152
152
  </div>
@@ -6,7 +6,7 @@
6
6
  <title>
7
7
  Class: Mocha::ParameterMatchers::InstanceOf
8
8
 
9
- &mdash; Mocha 1.8.0
9
+ &mdash; Mocha 1.9.0
10
10
 
11
11
  </title>
12
12
 
@@ -144,9 +144,9 @@ specified class.

144
144
  </div>
145
145
 
146
146
  <div id="footer">
147
- Generated on Tue Jan 15 17:13:06 2019 by
147
+ Generated on Mon Jun 17 18:38:44 2019 by
148
148
  <a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
149
- 0.9.16 (ruby-2.5.3).
149
+ 0.9.19 (ruby-2.5.3).
150
150
  </div>
151
151
 
152
152
  </div>
@@ -6,7 +6,7 @@
6
6
  <title>
7
7
  Class: Mocha::ParameterMatchers::IsA
8
8
 
9
- &mdash; Mocha 1.8.0
9
+ &mdash; Mocha 1.9.0
10
10
 
11
11
  </title>
12
12
 
@@ -143,9 +143,9 @@
143
143
  </div>
144
144
 
145
145
  <div id="footer">
146
- Generated on Tue Jan 15 17:13:06 2019 by
146
+ Generated on Mon Jun 17 18:38:44 2019 by
147
147
  <a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
148
- 0.9.16 (ruby-2.5.3).
148
+ 0.9.19 (ruby-2.5.3).
149
149
  </div>
150
150
 
151
151
  </div>
@@ -6,7 +6,7 @@
6
6
  <title>
7
7
  Class: Mocha::ParameterMatchers::KindOf
8
8
 
9
- &mdash; Mocha 1.8.0
9
+ &mdash; Mocha 1.9.0
10
10
 
11
11
  </title>
12
12
 
@@ -144,9 +144,9 @@ specified class.

144
144
  </div>
145
145
 
146
146
  <div id="footer">
147
- Generated on Tue Jan 15 17:13:06 2019 by
147
+ Generated on Mon Jun 17 18:38:44 2019 by
148
148
  <a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
149
- 0.9.16 (ruby-2.5.3).
149
+ 0.9.19 (ruby-2.5.3).
150
150
  </div>
151
151
 
152
152
  </div>
@@ -6,7 +6,7 @@
6
6
  <title>
7
7
  Class: Mocha::ParameterMatchers::Not
8
8
 
9
- &mdash; Mocha 1.8.0
9
+ &mdash; Mocha 1.9.0
10
10
 
11
11
  </title>
12
12
 
@@ -144,9 +144,9 @@ logical NOT operation.

144
144
  </div>
145
145
 
146
146
  <div id="footer">
147
- Generated on Tue Jan 15 17:13:06 2019 by
147
+ Generated on Mon Jun 17 18:38:44 2019 by
148
148
  <a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
149
- 0.9.16 (ruby-2.5.3).
149
+ 0.9.19 (ruby-2.5.3).
150
150
  </div>
151
151
 
152
152
  </div>
@@ -6,7 +6,7 @@
6
6
  <title>
7
7
  Class: Mocha::ParameterMatchers::Optionally
8
8
 
9
- &mdash; Mocha 1.8.0
9
+ &mdash; Mocha 1.9.0
10
10
 
11
11
  </title>
12
12
 
@@ -143,9 +143,9 @@
143
143
  </div>
144
144
 
145
145
  <div id="footer">
146
- Generated on Tue Jan 15 17:13:06 2019 by
146
+ Generated on Mon Jun 17 18:38:44 2019 by
147
147
  <a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
148
- 0.9.16 (ruby-2.5.3).
148
+ 0.9.19 (ruby-2.5.3).
149
149
  </div>
150
150
 
151
151
  </div>
@@ -6,7 +6,7 @@
6
6
  <title>
7
7
  Class: Mocha::ParameterMatchers::RegexpMatches
8
8
 
9
- &mdash; Mocha 1.8.0
9
+ &mdash; Mocha 1.9.0
10
10
 
11
11
  </title>
12
12
 
@@ -144,9 +144,9 @@ actual paramter.

144
144
  </div>
145
145
 
146
146
  <div id="footer">
147
- Generated on Tue Jan 15 17:13:06 2019 by
147
+ Generated on Mon Jun 17 18:38:44 2019 by
148
148
  <a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
149
- 0.9.16 (ruby-2.5.3).
149
+ 0.9.19 (ruby-2.5.3).
150
150
  </div>
151
151
 
152
152
  </div>
@@ -6,7 +6,7 @@
6
6
  <title>
7
7
  Class: Mocha::ParameterMatchers::RespondsWith
8
8
 
9
- &mdash; Mocha 1.8.0
9
+ &mdash; Mocha 1.9.0
10
10
 
11
11
  </title>
12
12
 
@@ -144,9 +144,9 @@ when specified method is invoked.

144
144
  </div>
145
145
 
146
146
  <div id="footer">
147
- Generated on Tue Jan 15 17:13:06 2019 by
147
+ Generated on Mon Jun 17 18:38:44 2019 by
148
148
  <a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
149
- 0.9.16 (ruby-2.5.3).
149
+ 0.9.19 (ruby-2.5.3).
150
150
  </div>
151
151
 
152
152
  </div>
@@ -6,7 +6,7 @@
6
6
  <title>
7
7
  Class: Mocha::ParameterMatchers::YamlEquivalent
8
8
 
9
- &mdash; Mocha 1.8.0
9
+ &mdash; Mocha 1.9.0
10
10
 
11
11
  </title>
12
12
 
@@ -144,9 +144,9 @@ specified object.

144
144
  </div>
145
145
 
146
146
  <div id="footer">
147
- Generated on Tue Jan 15 17:13:06 2019 by
147
+ Generated on Mon Jun 17 18:38:44 2019 by
148
148
  <a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
149
- 0.9.16 (ruby-2.5.3).
149
+ 0.9.19 (ruby-2.5.3).
150
150
  </div>
151
151
 
152
152
  </div>
@@ -6,7 +6,7 @@
6
6
  <title>
7
7
  Class: Mocha::Sequence
8
8
 
9
- &mdash; Mocha 1.8.0
9
+ &mdash; Mocha 1.9.0
10
10
 
11
11
  </title>
12
12
 
@@ -139,9 +139,9 @@
139
139
  </div>
140
140
 
141
141
  <div id="footer">
142
- Generated on Tue Jan 15 17:13:06 2019 by
142
+ Generated on Mon Jun 17 18:38:44 2019 by
143
143
  <a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
144
- 0.9.16 (ruby-2.5.3).
144
+ 0.9.19 (ruby-2.5.3).
145
145
  </div>
146
146
 
147
147
  </div>
@@ -6,7 +6,7 @@
6
6
  <title>
7
7
  Class: Mocha::StateMachine
8
8
 
9
- &mdash; Mocha 1.8.0
9
+ &mdash; Mocha 1.9.0
10
10
 
11
11
  </title>
12
12
 
@@ -529,9 +529,9 @@ to be chained.

529
529
  </div>
530
530
 
531
531
  <div id="footer">
532
- Generated on Tue Jan 15 17:13:06 2019 by
532
+ Generated on Mon Jun 17 18:38:44 2019 by
533
533
  <a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
534
- 0.9.16 (ruby-2.5.3).
534
+ 0.9.19 (ruby-2.5.3).
535
535
  </div>
536
536
 
537
537
  </div>
@@ -6,7 +6,7 @@
6
6
  <title>
7
7
  Class: Mocha::StateMachine::State
8
8
 
9
- &mdash; Mocha 1.8.0
9
+ &mdash; Mocha 1.9.0
10
10
 
11
11
  </title>
12
12
 
@@ -131,9 +131,9 @@ in the future.

131
131
  </div>
132
132
 
133
133
  <div id="footer">
134
- Generated on Tue Jan 15 17:13:06 2019 by
134
+ Generated on Mon Jun 17 18:38:44 2019 by
135
135
  <a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
136
- 0.9.16 (ruby-2.5.3).
136
+ 0.9.19 (ruby-2.5.3).
137
137
  </div>
138
138
 
139
139
  </div>
@@ -6,7 +6,7 @@
6
6
  <title>
7
7
  Class: Mocha::StateMachine::StatePredicate
8
8
 
9
- &mdash; Mocha 1.8.0
9
+ &mdash; Mocha 1.9.0
10
10
 
11
11
  </title>
12
12
 
@@ -131,9 +131,9 @@ specified state at some point in the future.

131
131
  </div>
132
132
 
133
133
  <div id="footer">
134
- Generated on Tue Jan 15 17:13:06 2019 by
134
+ Generated on Mon Jun 17 18:38:44 2019 by
135
135
  <a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
136
- 0.9.16 (ruby-2.5.3).
136
+ 0.9.19 (ruby-2.5.3).
137
137
  </div>
138
138
 
139
139
  </div>