Path to this page:
./
devel/ruby-rspec-mocks,
This is test-double framework for rspec
Branch: CURRENT,
Version: 3.10.2,
Package name: ruby26-rspec-mocks-3.10.2,
Maintainer: pkgsrc-usersBehaviour Driven Development for Ruby
# RSpec Mocks
rspec-mocks provides a test-double framework for rspec including support
for method stubs, fakes, and message expectations.
## Documentation
* [Cucumber features](http://relishapp.com/rspec/rspec-mocks/v/2-0)
* [RDoc](http://rubydoc.info/gems/rspec-mocks/2.0.1/frames)
Required to run:[
textproc/ruby-diff-lcs] [
devel/ruby-rspec-support] [
lang/ruby26-base]
Required to build:[
pkgtools/cwrappers]
Master sites:
SHA1: 6820ddf5448ca6116567759fabb85d0b634e161b
RMD160: 15fe4d2556767f59b281a2ce77d879e4058787b6
Filesize: 77.5 KB
Version history: (Expand)
- (2021-02-03) Updated to version: ruby26-rspec-mocks-3.10.2
- (2021-01-11) Updated to version: ruby26-rspec-mocks-3.10.1
- (2020-01-16) Updated to version: ruby26-rspec-mocks-3.9.1
- (2019-11-02) Updated to version: ruby24-rspec-mocks-3.9.0
- (2019-02-06) Updated to version: ruby24-rspec-mocks-3.8.0
- (2018-03-14) Updated to version: ruby24-rspec-mocks-3.7.0
CVS history: (Expand)
2021-02-03 15:17:20 by Takahiro Kambe | Files touched by this commit (2) |  |
Log message:
devel/ruby-rspec-mocs: update to 3.10.2
3.10.2 / 2021-01-27
Bug Fixes:
* Support keyword arguments with and_call_original on Ruby 3.0. (Bryan
Powell, #1385)
* RSpec::Mocks::Constant#previously_defined? is now always a
boolean. (Phil Pirozhkov, #1397)
* Support keyword arguments on Ruby 3.0 when used with
expect_any_instance_of or allow_any_instance_of with
and_call_original. (Jess Hottenstein, #1407)
|
2021-01-11 14:08:02 by Takahiro Kambe | Files touched by this commit (2) |  |
Log message:
devel/ruby-rspec-mocks: update to 3.10.1
### 3.10.1 / 2020-12-27
[Full Changelog](http://github.com/rspec/rspec-mocks/com … ...v3.10.1)
Bug Fixes:
* Issue `ArgumentError` rather than `TypeError` when unsupported methods on
unsupported objects are attempted to be stubbed. (@zhisme, #1357)
### 3.10.0 / 2020-10-30
[Full Changelog](http://github.com/rspec/rspec-mocks/com … ...v3.10.0)
Enhancements:
* Add the ability to set a custom error generator in `MessageExpectation`.
This will allow rspec-expectations to inject a custom failure message.
(Benoit Tigeot and Nicolas Zermati, #1312)
* Return the result of the block passed to `RSpec::Mocks.with_temporary_scope`
when block run. (@expeehaa, #1329)
|
2020-01-16 16:47:49 by Takahiro Kambe | Files touched by this commit (2) |  |
Log message:
devel/ruby-rspec-mocks: update to 3.9.1
Update ruby-rspec-mocks to 3.9.1.
### 3.9.1 / 2019-12-31
[Full Changelog](http://github.com/rspec/rspec-mocks/com … 0...v3.9.1)
Bug Fixes:
* Trigger `RSpec::Mocks.configuration.verifying_double_callbacks` when using
`allow_any_instance_of` or `expect_any_instance_of` (Daniel Orner, #1309)
|
2019-11-02 15:35:46 by Takahiro Kambe | Files touched by this commit (2) |  |
Log message:
devel/ruby-rspec-mocks: update to 3.9.0
Update ruby-rspec-mocks to 3.9.0.
pkgsr change: Add "USE_LANGUAGES= # none".
### 3.9.0 / 2019-10-07
[Full Changelog](http://github.com/rspec/rspec-mocks/com … 2...v3.9.0)
Enhancements:
* Improve thread safety of message expectations by using Mutex to prevent
deadlocking errors. (Ry Biesemeyer, #1236)
* Add the ability to use `time` as an alias for `times`. For example:
`expect(Class).to receive(:method).exactly(1).time`.
(Pistos, Benoit Tigeot, #1271)
### 3.8.2 / 2019-10-02
[Full Changelog](http://github.com/rspec/rspec-mocks/com … 1...v3.8.2)
* Allow `array_including` argument matchers to be nested.
(Emmanuel Delmas, #1291)
### 3.8.1 / 2019-06-13
[Full Changelog](http://github.com/rspec/rspec-mocks/com … 0...v3.8.1)
Bug Fixes:
* Ensure stubbing methods does not change their visibility.
(Kevin Boschert, #1277)
|
2019-02-06 16:13:55 by Takahiro Kambe | Files touched by this commit (2) |  |
Log message:
devel/ruby-rspec-mocks: update to 3.8.0
### 3.8.0 / 2018-08-04
[Full Changelog](http://github.com/rspec/rspec-mocks/com … 0...v3.8.0)
Bug Fixes:
* Issue error when encountering invalid "counted" negative message \
expectations.
(Sergiy Yarinovskiy, #1212)
* Ensure `allow_any_instance_of` and `expect_any_instance_of` can be temporarily
supressed. (Jon Rowe, #1228)
* Ensure `expect_any_instance_of(double).to_not have_received(:some_method)`
fails gracefully (as its not supported) rather than issuing a `NoMethodError`.
(Maxim Krizhanovsky, #1231)
|
2018-03-14 15:20:38 by Takahiro Kambe | Files touched by this commit (2) |  |
Log message:
devel/ruby-rspec-mocks: update to 3.7.0
### 3.7.0 / 2017-10-17
[Full Changelog](http://github.com/rspec/rspec-mocks/com … 0...v3.7.0)
Enhancements:
* Improve compatibility with `--enable-frozen-string-literal` option
on Ruby 2.3+. (Pat Allan, #1165)
Bug Fixes:
* Fix `hash_including` and `hash_excluding` so that they work against
subclasses of `Hash`. (Aaron Rosenberg, #1167)
|
2017-09-04 20:08:31 by Thomas Klausner | Files touched by this commit (163) |
Log message:
Follow some redirects.
|
2017-06-05 16:06:11 by Takahiro Kambe | Files touched by this commit (2) |  |
Log message:
Update ruby-rspec-mocks to 3.6.0.
### 3.6.0 / 2017-05-04
[Full Changelog](http://github.com/rspec/rspec-mocks/com … 2...v3.6.0)
Bug Fixes:
* Fix "instance variable @color not initialized" warning when using
rspec-mocks without rspec-core. (Myron Marston, #1142)
* Restore aliased module methods properly when stubbing on 1.8.7.
(Samuel Giddins, #1144)
* Allow a message chain expectation to be constrained by argument(s).
(Jon Rowe, #1156)
### 3.6.0.beta2 / 2016-12-12
[Full \
Changelog](http://github.com/rspec/rspec-mocks/com … .6.0.beta2)
Enhancements:
* Add new `without_partial_double_verification { }` API that lets you
temporarily turn off partial double verification for an example.
(Jon Rowe, #1104)
### 3.6.0.beta1 / 2016-10-09
[Full Changelog](http://github.com/rspec/rspec-mocks/com … .6.0.beta1)
Bug Fixes:
* Return the test double instance form `#freeze` (Alessandro Berardi, #1109)
* Allow the special logic for stubbing `new` to work when `<Class>.method` has
been redefined. (Proby, #1119)
|