Browse files

Prepare for 0.9.5 release.

  • Loading branch information...
1 parent 5615d96 commit 624244755b86bb36ca79ca255ffad9fbc49e566b @floehopper floehopper committed Feb 1, 2009
Showing with 8 additions and 2 deletions.
  1. +7 −1 RELEASE
  2. +1 −1 Rakefile
@@ -1,11 +1,17 @@
+= 0.9.5 (5615d965463451cf75d6f05616a514f46798f2ff)
+* Fixed Lighthouse bug #32 - stub_everything should mean mock responds to anything.
+* Added Expectation#twice to improve readability. Tthanks to pull request from Celestino Gomes.
+* In Ruby 1.9, requiring 'test/unit' loads a thin wrapper around MiniTest and Test::Unit::TestCase ends up inheriting from MiniTest::Unit::TestCase. So we need to avoid including the Mocha modules more than once to avoid nasty consequences. Thanks to Matthias Hennemeyer for help with this.
+* Ruby 1.9 includes rake, but not rake/contrib. For the moment I've moved the sshpublisher require into the only rake task that needs it, so that I can at least run the tests in Ruby 1.9. It looks like I will need to build a rake/contrib gem or similar to get this working properly -
= 0.9.4 (8a59c6ff0f99f34b02bd99f19536a7893be2b340)
* Added mocha.gemspec file generated with Chad Woolley's new rake task, so that a floehopper-mocha gem will get built on GitHub.
* Add rake task to update mocha.gemspec with unique version, which will cause gem to be auto-built on github
* 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]
* Removed deprecated gem autorequire.
= 0.9.3 (8219bb2d2881c8529c93fc21e97a11d01203c759)
-* Added support for MiniTest thanks to sprsquish.
+* Added support for MiniTest thanks to Jeff Smick.
* Fixed a possible bug with some of the non-default Configuration options relating to the argument to Object#respond_to?
* As per Jay Fields recommendations [1] and with further impetus from a talk at Ruby Manor, any methods added to core classes are now added by including a module. This means that Mocha is a better citizen of the Ruby world and it's behaviour is more easily extended. [1] &
* Removed deprecated gem autorequire.
2 Rakefile
@@ -4,7 +4,7 @@ require 'rake/gempackagetask'
require 'rake/testtask'
module Mocha
- VERSION = "0.9.4"
+ VERSION = "0.9.5"
desc "Run all tests"

0 comments on commit 6242447

Please sign in to comment.