diff options
author | taca <taca@pkgsrc.org> | 2013-03-11 07:48:23 +0000 |
---|---|---|
committer | taca <taca@pkgsrc.org> | 2013-03-11 07:48:23 +0000 |
commit | b63c9aa035dcd249877acd47463fe74830de02cb (patch) | |
tree | 16b45e890c223489eb1c99fab2ccf7e7db8c2eaa /devel/ruby-rspec-mocks | |
parent | cf59a5dd6b26a824b30583030c65fed3a1beb740 (diff) | |
download | pkgsrc-b63c9aa035dcd249877acd47463fe74830de02cb.tar.gz |
Update ruby-rspec-mocks to 2.13.0.
### 2.13.0 / 2013-02-23
[full changelog](http://github.com/rspec/rspec-mocks/compare/v2.12.2...v2.13.0)
Bug fixes
* Fix bug that caused weird behavior when a method that had
previously been stubbed with multiple return values (e.g.
`obj.stub(:foo).and_return(1, 2)`) was later mocked with a
single return value (e.g. `obj.should_receive(:foo).once.and_return(1)`).
(Myron Marston)
* Fix bug related to a mock expectation for a method that already had
multiple stubs with different `with` constraints. Previously, the
first stub was used, even though it may not have matched the passed
args. The fix defers this decision until the message is received so
that the proper stub response can be chosen based on the passed
arguments (Myron Marston).
* Do not call `nil?` extra times on a mocked object, in case `nil?`
itself is expected a set number of times (Myron Marston).
* Fix `missing_default_stub_error` message so array args are handled
properly (Myron Marston).
* Explicitly disallow `any_instance.unstub!` (Ryan Jones).
* Fix `any_instance` stubbing so that it works with `Delegator`
subclasses (Myron Marston).
* Fix `and_call_original` so that it works with `Delegator` subclasses
(Myron Marston).
* Fix `any_instance.should_not_receive` when `any_instance.should_receive`
is used on the same class in the same example. Previously it would
wrongly report a failure even when the message was not received
(Myron Marston).
Diffstat (limited to 'devel/ruby-rspec-mocks')
-rw-r--r-- | devel/ruby-rspec-mocks/Makefile | 4 | ||||
-rw-r--r-- | devel/ruby-rspec-mocks/distinfo | 8 |
2 files changed, 6 insertions, 6 deletions
diff --git a/devel/ruby-rspec-mocks/Makefile b/devel/ruby-rspec-mocks/Makefile index dc3b4e02c9b..e596f1c58bc 100644 --- a/devel/ruby-rspec-mocks/Makefile +++ b/devel/ruby-rspec-mocks/Makefile @@ -1,6 +1,6 @@ -# $NetBSD: Makefile,v 1.9 2013/02/11 02:31:45 taca Exp $ +# $NetBSD: Makefile,v 1.10 2013/03/11 07:48:23 taca Exp $ -DISTNAME= rspec-mocks-2.12.2 +DISTNAME= rspec-mocks-2.13.0 CATEGORIES= devel MAINTAINER= pkgsrc-users@NetBSD.org diff --git a/devel/ruby-rspec-mocks/distinfo b/devel/ruby-rspec-mocks/distinfo index d3d29931569..1f8869d308a 100644 --- a/devel/ruby-rspec-mocks/distinfo +++ b/devel/ruby-rspec-mocks/distinfo @@ -1,5 +1,5 @@ -$NetBSD: distinfo,v 1.9 2013/02/11 02:31:45 taca Exp $ +$NetBSD: distinfo,v 1.10 2013/03/11 07:48:23 taca Exp $ -SHA1 (rspec-mocks-2.12.2.gem) = dd26b9b47e20b32e67faed9e67b03e3ddbe7e6c2 -RMD160 (rspec-mocks-2.12.2.gem) = 7613f65fba01e7bf1730d7898c00d53306f327f3 -Size (rspec-mocks-2.12.2.gem) = 72192 bytes +SHA1 (rspec-mocks-2.13.0.gem) = 9b9b26d013c073508891978fcad6da5ea04a65c3 +RMD160 (rspec-mocks-2.13.0.gem) = d405207ec25870bc8b24b04c9ef5cda0553eb71b +Size (rspec-mocks-2.13.0.gem) = 73728 bytes |