mocha 0.11.1 → 0.11.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.
- data/README.rdoc +1 -1
- data/RELEASE.rdoc +31 -28
- data/doc/.nojekyll +0 -0
- data/doc/Mocha.html +2 -2
- data/doc/Mocha/API.html +2 -2
- data/doc/Mocha/ClassMethods.html +7 -7
- data/doc/Mocha/Configuration.html +2 -2
- data/doc/Mocha/Expectation.html +2 -2
- data/doc/Mocha/Mock.html +2 -2
- data/doc/Mocha/ObjectMethods.html +17 -17
- data/doc/Mocha/ParameterMatchers.html +2 -2
- data/doc/Mocha/ParameterMatchers/AllOf.html +2 -2
- data/doc/Mocha/ParameterMatchers/AnyOf.html +2 -2
- data/doc/Mocha/ParameterMatchers/AnyParameters.html +2 -2
- data/doc/Mocha/ParameterMatchers/Anything.html +2 -2
- data/doc/Mocha/ParameterMatchers/Base.html +2 -2
- data/doc/Mocha/ParameterMatchers/Equals.html +2 -2
- data/doc/Mocha/ParameterMatchers/HasEntries.html +2 -2
- data/doc/Mocha/ParameterMatchers/HasEntry.html +2 -2
- data/doc/Mocha/ParameterMatchers/HasKey.html +2 -2
- data/doc/Mocha/ParameterMatchers/HasValue.html +2 -2
- data/doc/Mocha/ParameterMatchers/Includes.html +2 -2
- data/doc/Mocha/ParameterMatchers/InstanceOf.html +2 -2
- data/doc/Mocha/ParameterMatchers/IsA.html +2 -2
- data/doc/Mocha/ParameterMatchers/KindOf.html +2 -2
- data/doc/Mocha/ParameterMatchers/Not.html +2 -2
- data/doc/Mocha/ParameterMatchers/Optionally.html +2 -2
- data/doc/Mocha/ParameterMatchers/QueryStringMatches.html +2 -2
- data/doc/Mocha/ParameterMatchers/RegexpMatches.html +2 -2
- data/doc/Mocha/ParameterMatchers/RespondsWith.html +2 -2
- data/doc/Mocha/ParameterMatchers/YamlEquivalent.html +2 -2
- data/doc/Mocha/Sequence.html +2 -2
- data/doc/Mocha/StateMachine.html +2 -2
- data/doc/Mocha/StateMachine/State.html +2 -2
- data/doc/Mocha/StateMachine/StatePredicate.html +2 -2
- data/doc/Mocha/StubbingError.html +2 -2
- data/doc/Mocha/UnexpectedInvocation.html +2 -2
- data/doc/_index.html +3 -3
- data/doc/file.COPYING.html +2 -2
- data/doc/file.MIT-LICENSE.html +2 -2
- data/doc/file.README.html +4 -4
- data/doc/file.RELEASE.html +39 -30
- data/doc/file.misc.html +2 -2
- data/doc/file.mocha.html +2 -2
- data/doc/file.stubba.html +2 -2
- data/doc/frames.html +1 -1
- data/doc/index.html +4 -4
- data/doc/top-level-namespace.html +2 -2
- data/lib/mocha/class_method.rb +1 -1
- data/lib/mocha/object.rb +3 -0
- data/lib/mocha/version.rb +1 -1
- data/test/unit/class_method_test.rb +7 -0
- data/test/unit/object_test.rb +5 -0
- metadata +12 -11
@@ -6,7 +6,7 @@
|
|
6
6
|
<title>
|
7
7
|
Class: Mocha::ParameterMatchers::AllOf
|
8
8
|
|
9
|
-
— Mocha 0.11.
|
9
|
+
— Mocha 0.11.2
|
10
10
|
|
11
11
|
</title>
|
12
12
|
|
@@ -128,7 +128,7 @@ AND.</p>
|
|
128
128
|
</div>
|
129
129
|
|
130
130
|
<div id="footer">
|
131
|
-
Generated on
|
131
|
+
Generated on Tue Apr 24 11:15:45 2012 by
|
132
132
|
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
133
133
|
0.7.5 (ruby-1.9.3).
|
134
134
|
</div>
|
@@ -6,7 +6,7 @@
|
|
6
6
|
<title>
|
7
7
|
Class: Mocha::ParameterMatchers::AnyOf
|
8
8
|
|
9
|
-
— Mocha 0.11.
|
9
|
+
— Mocha 0.11.2
|
10
10
|
|
11
11
|
</title>
|
12
12
|
|
@@ -128,7 +128,7 @@ OR.</p>
|
|
128
128
|
</div>
|
129
129
|
|
130
130
|
<div id="footer">
|
131
|
-
Generated on
|
131
|
+
Generated on Tue Apr 24 11:15:45 2012 by
|
132
132
|
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
133
133
|
0.7.5 (ruby-1.9.3).
|
134
134
|
</div>
|
@@ -6,7 +6,7 @@
|
|
6
6
|
<title>
|
7
7
|
Class: Mocha::ParameterMatchers::AnyParameters
|
8
8
|
|
9
|
-
— Mocha 0.11.
|
9
|
+
— Mocha 0.11.2
|
10
10
|
|
11
11
|
</title>
|
12
12
|
|
@@ -127,7 +127,7 @@
|
|
127
127
|
</div>
|
128
128
|
|
129
129
|
<div id="footer">
|
130
|
-
Generated on
|
130
|
+
Generated on Tue Apr 24 11:15:45 2012 by
|
131
131
|
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
132
132
|
0.7.5 (ruby-1.9.3).
|
133
133
|
</div>
|
@@ -6,7 +6,7 @@
|
|
6
6
|
<title>
|
7
7
|
Class: Mocha::ParameterMatchers::Anything
|
8
8
|
|
9
|
-
— Mocha 0.11.
|
9
|
+
— Mocha 0.11.2
|
10
10
|
|
11
11
|
</title>
|
12
12
|
|
@@ -127,7 +127,7 @@
|
|
127
127
|
</div>
|
128
128
|
|
129
129
|
<div id="footer">
|
130
|
-
Generated on
|
130
|
+
Generated on Tue Apr 24 11:15:45 2012 by
|
131
131
|
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
132
132
|
0.7.5 (ruby-1.9.3).
|
133
133
|
</div>
|
@@ -6,7 +6,7 @@
|
|
6
6
|
<title>
|
7
7
|
Class: Mocha::ParameterMatchers::Base
|
8
8
|
|
9
|
-
— Mocha 0.11.
|
9
|
+
— Mocha 0.11.2
|
10
10
|
|
11
11
|
</title>
|
12
12
|
|
@@ -410,7 +410,7 @@ explicit <span class='object_link'><a href="Equals.html" title="Mocha::Parameter
|
|
410
410
|
</div>
|
411
411
|
|
412
412
|
<div id="footer">
|
413
|
-
Generated on
|
413
|
+
Generated on Tue Apr 24 11:15:45 2012 by
|
414
414
|
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
415
415
|
0.7.5 (ruby-1.9.3).
|
416
416
|
</div>
|
@@ -6,7 +6,7 @@
|
|
6
6
|
<title>
|
7
7
|
Class: Mocha::ParameterMatchers::Equals
|
8
8
|
|
9
|
-
— Mocha 0.11.
|
9
|
+
— Mocha 0.11.2
|
10
10
|
|
11
11
|
</title>
|
12
12
|
|
@@ -128,7 +128,7 @@ value.</p>
|
|
128
128
|
</div>
|
129
129
|
|
130
130
|
<div id="footer">
|
131
|
-
Generated on
|
131
|
+
Generated on Tue Apr 24 11:15:45 2012 by
|
132
132
|
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
133
133
|
0.7.5 (ruby-1.9.3).
|
134
134
|
</div>
|
@@ -6,7 +6,7 @@
|
|
6
6
|
<title>
|
7
7
|
Class: Mocha::ParameterMatchers::HasEntries
|
8
8
|
|
9
|
-
— Mocha 0.11.
|
9
|
+
— Mocha 0.11.2
|
10
10
|
|
11
11
|
</title>
|
12
12
|
|
@@ -128,7 +128,7 @@
|
|
128
128
|
</div>
|
129
129
|
|
130
130
|
<div id="footer">
|
131
|
-
Generated on
|
131
|
+
Generated on Tue Apr 24 11:15:45 2012 by
|
132
132
|
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
133
133
|
0.7.5 (ruby-1.9.3).
|
134
134
|
</div>
|
@@ -6,7 +6,7 @@
|
|
6
6
|
<title>
|
7
7
|
Class: Mocha::ParameterMatchers::HasEntry
|
8
8
|
|
9
|
-
— Mocha 0.11.
|
9
|
+
— Mocha 0.11.2
|
10
10
|
|
11
11
|
</title>
|
12
12
|
|
@@ -128,7 +128,7 @@
|
|
128
128
|
</div>
|
129
129
|
|
130
130
|
<div id="footer">
|
131
|
-
Generated on
|
131
|
+
Generated on Tue Apr 24 11:15:45 2012 by
|
132
132
|
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
133
133
|
0.7.5 (ruby-1.9.3).
|
134
134
|
</div>
|
@@ -6,7 +6,7 @@
|
|
6
6
|
<title>
|
7
7
|
Class: Mocha::ParameterMatchers::HasKey
|
8
8
|
|
9
|
-
— Mocha 0.11.
|
9
|
+
— Mocha 0.11.2
|
10
10
|
|
11
11
|
</title>
|
12
12
|
|
@@ -128,7 +128,7 @@
|
|
128
128
|
</div>
|
129
129
|
|
130
130
|
<div id="footer">
|
131
|
-
Generated on
|
131
|
+
Generated on Tue Apr 24 11:15:45 2012 by
|
132
132
|
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
133
133
|
0.7.5 (ruby-1.9.3).
|
134
134
|
</div>
|
@@ -6,7 +6,7 @@
|
|
6
6
|
<title>
|
7
7
|
Class: Mocha::ParameterMatchers::HasValue
|
8
8
|
|
9
|
-
— Mocha 0.11.
|
9
|
+
— Mocha 0.11.2
|
10
10
|
|
11
11
|
</title>
|
12
12
|
|
@@ -128,7 +128,7 @@
|
|
128
128
|
</div>
|
129
129
|
|
130
130
|
<div id="footer">
|
131
|
-
Generated on
|
131
|
+
Generated on Tue Apr 24 11:15:45 2012 by
|
132
132
|
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
133
133
|
0.7.5 (ruby-1.9.3).
|
134
134
|
</div>
|
@@ -6,7 +6,7 @@
|
|
6
6
|
<title>
|
7
7
|
Class: Mocha::ParameterMatchers::Includes
|
8
8
|
|
9
|
-
— Mocha 0.11.
|
9
|
+
— Mocha 0.11.2
|
10
10
|
|
11
11
|
</title>
|
12
12
|
|
@@ -128,7 +128,7 @@ value.</p>
|
|
128
128
|
</div>
|
129
129
|
|
130
130
|
<div id="footer">
|
131
|
-
Generated on
|
131
|
+
Generated on Tue Apr 24 11:15:45 2012 by
|
132
132
|
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
133
133
|
0.7.5 (ruby-1.9.3).
|
134
134
|
</div>
|
@@ -6,7 +6,7 @@
|
|
6
6
|
<title>
|
7
7
|
Class: Mocha::ParameterMatchers::InstanceOf
|
8
8
|
|
9
|
-
— Mocha 0.11.
|
9
|
+
— Mocha 0.11.2
|
10
10
|
|
11
11
|
</title>
|
12
12
|
|
@@ -128,7 +128,7 @@ specified class.</p>
|
|
128
128
|
</div>
|
129
129
|
|
130
130
|
<div id="footer">
|
131
|
-
Generated on
|
131
|
+
Generated on Tue Apr 24 11:15:45 2012 by
|
132
132
|
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
133
133
|
0.7.5 (ruby-1.9.3).
|
134
134
|
</div>
|
@@ -6,7 +6,7 @@
|
|
6
6
|
<title>
|
7
7
|
Class: Mocha::ParameterMatchers::IsA
|
8
8
|
|
9
|
-
— Mocha 0.11.
|
9
|
+
— Mocha 0.11.2
|
10
10
|
|
11
11
|
</title>
|
12
12
|
|
@@ -127,7 +127,7 @@
|
|
127
127
|
</div>
|
128
128
|
|
129
129
|
<div id="footer">
|
130
|
-
Generated on
|
130
|
+
Generated on Tue Apr 24 11:15:45 2012 by
|
131
131
|
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
132
132
|
0.7.5 (ruby-1.9.3).
|
133
133
|
</div>
|
@@ -6,7 +6,7 @@
|
|
6
6
|
<title>
|
7
7
|
Class: Mocha::ParameterMatchers::KindOf
|
8
8
|
|
9
|
-
— Mocha 0.11.
|
9
|
+
— Mocha 0.11.2
|
10
10
|
|
11
11
|
</title>
|
12
12
|
|
@@ -128,7 +128,7 @@ specified class.</p>
|
|
128
128
|
</div>
|
129
129
|
|
130
130
|
<div id="footer">
|
131
|
-
Generated on
|
131
|
+
Generated on Tue Apr 24 11:15:45 2012 by
|
132
132
|
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
133
133
|
0.7.5 (ruby-1.9.3).
|
134
134
|
</div>
|
@@ -6,7 +6,7 @@
|
|
6
6
|
<title>
|
7
7
|
Class: Mocha::ParameterMatchers::Not
|
8
8
|
|
9
|
-
— Mocha 0.11.
|
9
|
+
— Mocha 0.11.2
|
10
10
|
|
11
11
|
</title>
|
12
12
|
|
@@ -128,7 +128,7 @@ logical NOT operation.</p>
|
|
128
128
|
</div>
|
129
129
|
|
130
130
|
<div id="footer">
|
131
|
-
Generated on
|
131
|
+
Generated on Tue Apr 24 11:15:45 2012 by
|
132
132
|
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
133
133
|
0.7.5 (ruby-1.9.3).
|
134
134
|
</div>
|
@@ -6,7 +6,7 @@
|
|
6
6
|
<title>
|
7
7
|
Class: Mocha::ParameterMatchers::Optionally
|
8
8
|
|
9
|
-
— Mocha 0.11.
|
9
|
+
— Mocha 0.11.2
|
10
10
|
|
11
11
|
</title>
|
12
12
|
|
@@ -127,7 +127,7 @@
|
|
127
127
|
</div>
|
128
128
|
|
129
129
|
<div id="footer">
|
130
|
-
Generated on
|
130
|
+
Generated on Tue Apr 24 11:15:45 2012 by
|
131
131
|
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
132
132
|
0.7.5 (ruby-1.9.3).
|
133
133
|
</div>
|
@@ -6,7 +6,7 @@
|
|
6
6
|
<title>
|
7
7
|
Class: Mocha::ParameterMatchers::QueryStringMatches
|
8
8
|
|
9
|
-
— Mocha 0.11.
|
9
|
+
— Mocha 0.11.2
|
10
10
|
|
11
11
|
</title>
|
12
12
|
|
@@ -127,7 +127,7 @@
|
|
127
127
|
</div>
|
128
128
|
|
129
129
|
<div id="footer">
|
130
|
-
Generated on
|
130
|
+
Generated on Tue Apr 24 11:15:45 2012 by
|
131
131
|
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
132
132
|
0.7.5 (ruby-1.9.3).
|
133
133
|
</div>
|
@@ -6,7 +6,7 @@
|
|
6
6
|
<title>
|
7
7
|
Class: Mocha::ParameterMatchers::RegexpMatches
|
8
8
|
|
9
|
-
— Mocha 0.11.
|
9
|
+
— Mocha 0.11.2
|
10
10
|
|
11
11
|
</title>
|
12
12
|
|
@@ -128,7 +128,7 @@ actual paramter.</p>
|
|
128
128
|
</div>
|
129
129
|
|
130
130
|
<div id="footer">
|
131
|
-
Generated on
|
131
|
+
Generated on Tue Apr 24 11:15:45 2012 by
|
132
132
|
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
133
133
|
0.7.5 (ruby-1.9.3).
|
134
134
|
</div>
|
@@ -6,7 +6,7 @@
|
|
6
6
|
<title>
|
7
7
|
Class: Mocha::ParameterMatchers::RespondsWith
|
8
8
|
|
9
|
-
— Mocha 0.11.
|
9
|
+
— Mocha 0.11.2
|
10
10
|
|
11
11
|
</title>
|
12
12
|
|
@@ -128,7 +128,7 @@ when specified method is invoked.</p>
|
|
128
128
|
</div>
|
129
129
|
|
130
130
|
<div id="footer">
|
131
|
-
Generated on
|
131
|
+
Generated on Tue Apr 24 11:15:45 2012 by
|
132
132
|
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
133
133
|
0.7.5 (ruby-1.9.3).
|
134
134
|
</div>
|
@@ -6,7 +6,7 @@
|
|
6
6
|
<title>
|
7
7
|
Class: Mocha::ParameterMatchers::YamlEquivalent
|
8
8
|
|
9
|
-
— Mocha 0.11.
|
9
|
+
— Mocha 0.11.2
|
10
10
|
|
11
11
|
</title>
|
12
12
|
|
@@ -128,7 +128,7 @@ specified object.</p>
|
|
128
128
|
</div>
|
129
129
|
|
130
130
|
<div id="footer">
|
131
|
-
Generated on
|
131
|
+
Generated on Tue Apr 24 11:15:45 2012 by
|
132
132
|
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
133
133
|
0.7.5 (ruby-1.9.3).
|
134
134
|
</div>
|
data/doc/Mocha/Sequence.html
CHANGED
@@ -6,7 +6,7 @@
|
|
6
6
|
<title>
|
7
7
|
Class: Mocha::Sequence
|
8
8
|
|
9
|
-
— Mocha 0.11.
|
9
|
+
— Mocha 0.11.2
|
10
10
|
|
11
11
|
</title>
|
12
12
|
|
@@ -124,7 +124,7 @@
|
|
124
124
|
</div>
|
125
125
|
|
126
126
|
<div id="footer">
|
127
|
-
Generated on
|
127
|
+
Generated on Tue Apr 24 11:15:45 2012 by
|
128
128
|
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
129
129
|
0.7.5 (ruby-1.9.3).
|
130
130
|
</div>
|
data/doc/Mocha/StateMachine.html
CHANGED
@@ -6,7 +6,7 @@
|
|
6
6
|
<title>
|
7
7
|
Class: Mocha::StateMachine
|
8
8
|
|
9
|
-
— Mocha 0.11.
|
9
|
+
— Mocha 0.11.2
|
10
10
|
|
11
11
|
</title>
|
12
12
|
|
@@ -501,7 +501,7 @@ to be chained.</p>
|
|
501
501
|
</div>
|
502
502
|
|
503
503
|
<div id="footer">
|
504
|
-
Generated on
|
504
|
+
Generated on Tue Apr 24 11:15:45 2012 by
|
505
505
|
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
506
506
|
0.7.5 (ruby-1.9.3).
|
507
507
|
</div>
|
@@ -6,7 +6,7 @@
|
|
6
6
|
<title>
|
7
7
|
Class: Mocha::StateMachine::State
|
8
8
|
|
9
|
-
— Mocha 0.11.
|
9
|
+
— Mocha 0.11.2
|
10
10
|
|
11
11
|
</title>
|
12
12
|
|
@@ -116,7 +116,7 @@ in the future.</p>
|
|
116
116
|
</div>
|
117
117
|
|
118
118
|
<div id="footer">
|
119
|
-
Generated on
|
119
|
+
Generated on Tue Apr 24 11:15:45 2012 by
|
120
120
|
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
121
121
|
0.7.5 (ruby-1.9.3).
|
122
122
|
</div>
|
@@ -6,7 +6,7 @@
|
|
6
6
|
<title>
|
7
7
|
Class: Mocha::StateMachine::StatePredicate
|
8
8
|
|
9
|
-
— Mocha 0.11.
|
9
|
+
— Mocha 0.11.2
|
10
10
|
|
11
11
|
</title>
|
12
12
|
|
@@ -116,7 +116,7 @@ specified state at some point in the future.</p>
|
|
116
116
|
</div>
|
117
117
|
|
118
118
|
<div id="footer">
|
119
|
-
Generated on
|
119
|
+
Generated on Tue Apr 24 11:15:45 2012 by
|
120
120
|
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
121
121
|
0.7.5 (ruby-1.9.3).
|
122
122
|
</div>
|