floehopper-mocha 0.9.3.20081220175348 → 0.9.3.20081230175553
Sign up to get free protection for your applications and to get access to all the features.
- data/README +5 -3
- data/RELEASE +6 -0
- data/Rakefile +1 -1
- metadata +2 -2
data/README
CHANGED
@@ -6,7 +6,7 @@ It can be used with many testing frameworks e.g. Test::Unit[http://www.ruby-doc.
|
|
6
6
|
|
7
7
|
Mocha provides a unified, simple and readable syntax for both traditional mocking and partial mocking.
|
8
8
|
|
9
|
-
Mocha was harvested from projects at Reevoo[http://www.reevoo.com] by me (James[http://blog.floehopper.org]) and my colleagues Ben[http://www.techbelly.com/], Chris[http://
|
9
|
+
Mocha was harvested from projects at Reevoo[http://www.reevoo.com] by me (James[http://blog.floehopper.org]) and my (then) colleagues Ben[http://www.techbelly.com/], Chris[http://chrisroos.co.uk] and Paul[http://po-ru.com].
|
10
10
|
|
11
11
|
== Download and Installation
|
12
12
|
|
@@ -16,9 +16,11 @@ Install the gem with the following command...
|
|
16
16
|
|
17
17
|
Or install the Rails[http://www.rubyonrails.org] plugin...
|
18
18
|
|
19
|
-
$ script/plugin install
|
19
|
+
$ script/plugin install git://github.com/floehopper/mocha.git
|
20
20
|
|
21
|
-
Or download Mocha
|
21
|
+
Or download Mocha...
|
22
|
+
|
23
|
+
http://rubyforge.org/frs/?group_id=1917
|
22
24
|
|
23
25
|
== Examples
|
24
26
|
|
data/RELEASE
CHANGED
@@ -1,3 +1,9 @@
|
|
1
|
+
= 0.9.4 (8a59c6ff0f99f34b02bd99f19536a7893be2b340)
|
2
|
+
* Added mocha.gemspec file generated with Chad Woolley's new rake task, so that a floehopper-mocha gem will get built on GitHub.
|
3
|
+
* Add rake task to update mocha.gemspec with unique version, which will cause gem to be auto-built on github
|
4
|
+
* As Tobias Crawley correctly pointed out in feature request #23055 "stubs(with_hash) not working with existing object" [1], following the principle of least surprise, it should be possible to call ObjectMethods#expects & ObjectMethods#stubs with a Hash of method_names vs return_values like you can with Mock#expects & Mock#stubs. I've also updated & improved the docs to reflect the changes. [1] http://rubyforge.org/tracker/index.php?func=detail&aid=23055&group_id=1917&atid=7480
|
5
|
+
* Removed deprecated gem autorequire.
|
6
|
+
|
1
7
|
= 0.9.3 (8219bb2d2881c8529c93fc21e97a11d01203c759)
|
2
8
|
* Added support for MiniTest thanks to sprsquish.
|
3
9
|
* Fixed a possible bug with some of the non-default Configuration options relating to the argument to Object#respond_to?
|
data/Rakefile
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: floehopper-mocha
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.9.3.
|
4
|
+
version: 0.9.3.20081230175553
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- James Mead
|
@@ -9,7 +9,7 @@ autorequire:
|
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
11
|
|
12
|
-
date: 2008-12-
|
12
|
+
date: 2008-12-30 00:00:00 -08:00
|
13
13
|
default_executable:
|
14
14
|
dependencies:
|
15
15
|
- !ruby/object:Gem::Dependency
|