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.
- checksums.yaml +4 -4
- data/README.md +11 -3
- data/RELEASE.md +10 -0
- data/bin/build-matrix +1 -2
- data/docs/Mocha.html +3 -3
- data/docs/Mocha/API.html +3 -3
- data/docs/Mocha/ClassMethods.html +3 -3
- data/docs/Mocha/Configuration.html +3 -3
- data/docs/Mocha/Expectation.html +3 -3
- data/docs/Mocha/ExpectationError.html +3 -3
- data/docs/Mocha/ExpectationErrorFactory.html +3 -3
- data/docs/Mocha/Hooks.html +3 -3
- data/docs/Mocha/Integration.html +3 -3
- data/docs/Mocha/Integration/MiniTest.html +3 -3
- data/docs/Mocha/Integration/MiniTest/Adapter.html +3 -3
- data/docs/Mocha/Integration/TestUnit.html +3 -3
- data/docs/Mocha/Integration/TestUnit/Adapter.html +3 -3
- data/docs/Mocha/Mock.html +3 -3
- data/docs/Mocha/ObjectMethods.html +3 -3
- data/docs/Mocha/ParameterMatchers.html +3 -3
- data/docs/Mocha/ParameterMatchers/AllOf.html +3 -3
- data/docs/Mocha/ParameterMatchers/AnyOf.html +3 -3
- data/docs/Mocha/ParameterMatchers/AnyParameters.html +3 -3
- data/docs/Mocha/ParameterMatchers/Anything.html +3 -3
- data/docs/Mocha/ParameterMatchers/Base.html +3 -3
- data/docs/Mocha/ParameterMatchers/Equals.html +3 -3
- data/docs/Mocha/ParameterMatchers/EquivalentUri.html +3 -3
- data/docs/Mocha/ParameterMatchers/HasEntries.html +3 -3
- data/docs/Mocha/ParameterMatchers/HasEntry.html +3 -3
- data/docs/Mocha/ParameterMatchers/HasKey.html +3 -3
- data/docs/Mocha/ParameterMatchers/HasValue.html +3 -3
- data/docs/Mocha/ParameterMatchers/Includes.html +3 -3
- data/docs/Mocha/ParameterMatchers/InstanceOf.html +3 -3
- data/docs/Mocha/ParameterMatchers/IsA.html +3 -3
- data/docs/Mocha/ParameterMatchers/KindOf.html +3 -3
- data/docs/Mocha/ParameterMatchers/Not.html +3 -3
- data/docs/Mocha/ParameterMatchers/Optionally.html +3 -3
- data/docs/Mocha/ParameterMatchers/RegexpMatches.html +3 -3
- data/docs/Mocha/ParameterMatchers/RespondsWith.html +3 -3
- data/docs/Mocha/ParameterMatchers/YamlEquivalent.html +3 -3
- data/docs/Mocha/Sequence.html +3 -3
- data/docs/Mocha/StateMachine.html +3 -3
- data/docs/Mocha/StateMachine/State.html +3 -3
- data/docs/Mocha/StateMachine/StatePredicate.html +3 -3
- data/docs/Mocha/StubbingError.html +3 -3
- data/docs/Mocha/UnexpectedInvocation.html +3 -3
- data/docs/_index.html +4 -4
- data/docs/file.COPYING.html +3 -3
- data/docs/file.MIT-LICENSE.html +3 -3
- data/docs/file.README.html +14 -6
- data/docs/file.RELEASE.html +15 -3
- data/docs/frames.html +1 -1
- data/docs/index.html +14 -6
- data/docs/js/app.js +11 -0
- data/docs/top-level-namespace.html +3 -3
- data/lib/mocha/any_instance_method.rb +17 -43
- data/lib/mocha/class_method.rb +79 -45
- data/lib/mocha/version.rb +1 -1
- data/test/unit/any_instance_method_test.rb +24 -0
- data/test/unit/class_method_test.rb +22 -0
- metadata +3 -5
- data/docs/CNAME +0 -1
@@ -6,7 +6,7 @@
|
|
6
6
|
<title>
|
7
7
|
Class: Mocha::ParameterMatchers::AnyParameters
|
8
8
|
|
9
|
-
— Mocha 1.
|
9
|
+
— 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
|
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.
|
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
|
-
— Mocha 1.
|
9
|
+
— 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
|
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.
|
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
|
-
— Mocha 1.
|
|
9
|
+
— 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
|
|
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.
|
|
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
|
-
— Mocha 1.
|
9
|
+
— 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
|
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.
|
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
|
-
— Mocha 1.
|
9
|
+
— 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
|
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.
|
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
|
-
— Mocha 1.
|
9
|
+
— 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
|
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.
|
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
|
-
— Mocha 1.
|
9
|
+
— 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
|
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.
|
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
|
-
— Mocha 1.
|
9
|
+
— 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
|
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.
|
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
|
-
— Mocha 1.
|
9
|
+
— 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
|
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.
|
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
|
-
— Mocha 1.
|
9
|
+
— 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
|
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.
|
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
|
-
— Mocha 1.
|
9
|
+
— 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
|
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.
|
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
|
-
— Mocha 1.
|
9
|
+
— 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
|
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.
|
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
|
-
— Mocha 1.
|
9
|
+
— 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
|
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.
|
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
|
-
— Mocha 1.
|
9
|
+
— 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
|
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.
|
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
|
-
— Mocha 1.
|
9
|
+
— 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
|
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.
|
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
|
-
— Mocha 1.
|
9
|
+
— 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
|
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.
|
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
|
-
— Mocha 1.
|
9
|
+
— 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
|
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.
|
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
|
-
— Mocha 1.
|
9
|
+
— 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
|
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.
|
149
|
+
0.9.19 (ruby-2.5.3).
|
150
150
|
</div>
|
151
151
|
|
152
152
|
</div>
|
data/docs/Mocha/Sequence.html
CHANGED
@@ -6,7 +6,7 @@
|
|
6
6
|
<title>
|
7
7
|
Class: Mocha::Sequence
|
8
8
|
|
9
|
-
— Mocha 1.
|
9
|
+
— 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
|
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.
|
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
|
-
— Mocha 1.
|
9
|
+
— 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
|
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.
|
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
|
-
— Mocha 1.
|
9
|
+
— 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
|
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.
|
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
|
-
— Mocha 1.
|
9
|
+
— 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
|
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.
|
136
|
+
0.9.19 (ruby-2.5.3).
|
137
137
|
</div>
|
138
138
|
|
139
139
|
</div>
|