Mocha Release 0.9.4
- 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, 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.
- Removed deprecated gem autorequire.