forked from jsonn/pkgsrc
-
Notifications
You must be signed in to change notification settings - Fork 64
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
## 0.13.1 * Fix #97 - `Mocha::ParameterMatchers#has_entry` does not work with an Array as the entry's value. Thanks to @ngokli. * Allow deprecation `:debug` mode to be switched on from `MOCHA_OPTIONS` environment variable. ## 0.13.0 * Major overhaul of MiniTest & Test::Unit integration. Mocha now integrates with later versions of the two test libraries using documented hooks rather than monkey-patching. This should mean that Mocha will integrate with new versions of either library without the need to release a new version of Mocha each time, which was clearly bad and unsustainable. Many thanks to @tenderlove, @zenspider & @kou for their help, suggestions & patience. * Temporarily deprecated `require 'mocha'`. Use `require 'mocha/setup'` instead. The plan is that eventually `require 'mocha'` will *not* automatically integrate with either of the two test libraries as it does at the moment, and you'll need to explicitly & separately trigger the integration. I think this will provide a lot more flexibility and will hopefully do away with the need for the `require: false` option in the `Gemfile` which has always confused people. * Deprecated `require 'mocha_standalone'` and `require 'mocha/standalone'`. Use `require 'mocha/api` instead. * Although these are not part of Mocha's public API, I thought I should mention that the MiniTest and Test::Unit assertion counter classes have been combined into a single class `Mocha::Integration::AssertionCounter`. * Extracted Mocha::Hooks module from Mocha::API and added documentation for test library authors. * Improvements to documentation. Much of it has been combined into the README file. * Fix #101 - Mock#respond_to? doesn't work with a string argument - thanks to @urbanautomaton. * Fix #105 - Travis link in README - thanks to @cknadler. * Various improvements to automated testing of integration with test libraries. * Make deprecation warnings more prominent. = 0.12.7 * Officially support minitest v4.1.0 (still monkey-patching). = 0.12.6 * Fixes #103. = 0.12.5 * Officially support minitest v3.5.0 (still monkey-patching).
- Loading branch information
taca
committed
Dec 16, 2012
1 parent
b1e7fb1
commit 5581d54
Showing
3 changed files
with
31 additions
and
23 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
# $NetBSD: Makefile,v 1.14 2012/09/15 12:28:00 taca Exp $ | ||
# $NetBSD: Makefile,v 1.15 2012/12/16 16:28:07 taca Exp $ | ||
|
||
DISTNAME= mocha-0.12.4 | ||
DISTNAME= mocha-0.13.1 | ||
CATEGORIES= devel | ||
|
||
MAINTAINER= [email protected] | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
$NetBSD: distinfo,v 1.13 2012/09/15 12:28:00 taca Exp $ | ||
$NetBSD: distinfo,v 1.14 2012/12/16 16:28:07 taca Exp $ | ||
|
||
SHA1 (mocha-0.12.4.gem) = 02a52753c30f0a1fe76504d96bc5a20633c63978 | ||
RMD160 (mocha-0.12.4.gem) = e810b5c143176b8364c8ca97b519f194bc765a94 | ||
Size (mocha-0.12.4.gem) = 76800 bytes | ||
SHA1 (mocha-0.13.1.gem) = b02818d6975d6d64a95094bb4c78e67d58f0485d | ||
RMD160 (mocha-0.13.1.gem) = 6d3fcdf62fe46ea7177755d8c7b47eeda678439c | ||
Size (mocha-0.13.1.gem) = 79872 bytes |