Subject: CVS commit: pkgsrc/devel/ruby-rspec-mocks
From: Takahiro Kambe
Date: 2012-12-16 17:45:06
Message id: 20121216164506.E6E19175DD@cvs.netbsd.org

Log Message:
Update ruby-rspec-mocks to 2.12.0.

### 2.12.0 / 2012-11-12
[full changelog](http://github.com/rspec/rspec-mocks/compare/v2.11.3...2.12.0)

Enhancements

* `and_raise` can accept an exception class and message, more closely
  matching `Kernel#raise` (e.g., `foo.stub(:bar).and_raise(RuntimeError, \ 
"message")`)
  (Bas Vodde)
* Add `and_call_original`, which will delegate the message to the
  original method (Myron Marston).

Deprecations:

* Add deprecation warning when using `and_return` with `should_not_receive`
  (Neha Kumari)

### 2.11.3 / 2012-09-19
[full changelog](http://github.com/rspec/rspec-mocks/compare/v2.11.2...v2.11.3)

Bug fixes

* Fix `:transfer_nested_constants` option of `stub_const` so that it
  doesn't blow up when there are inherited constants. (Myron Marston)
* `any_instance` stubs can be used on classes that override `Object#method`.
  (Andy Lindeman)
* Methods stubbed with `any_instance` are unstubbed after the test finishes.
  (Andy Lindeman)
* Fix confusing error message when calling a mocked class method an
  extra time with the wrong arguments (Myron Marston).

Files:
RevisionActionfile
1.7modifypkgsrc/devel/ruby-rspec-mocks/Makefile
1.7modifypkgsrc/devel/ruby-rspec-mocks/PLIST
1.7modifypkgsrc/devel/ruby-rspec-mocks/distinfo