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/compare/v3.6.0.beta2...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/compare/v3.6.0.beta1...v3.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/compare/v3.5.0...v3.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)
|
2016-10-09 17:04:44 by Takahiro Kambe | Files touched by this commit (3) |
Log message:
Update ruby-rspec-mocks to 3.5.0.
### 3.5.0 / 2016-07-01
[Full Changelog](http://github.com/rspec/rspec-mocks/compare/v3.5.0.beta4...v3.5.0)
Enhancements:
* Provides a nice string representation of
`RSpec::Mocks::MessageExpectation` (Myron Marston, #1095)
### 3.5.0.beta4 / 2016-06-05
[Full \
Changelog](http://github.com/rspec/rspec-mocks/compare/v3.5.0.beta3...v3.5.0.beta4)
Enhancements:
* Add `and_throw` to any instance handling. (Tobias Bühlmann, #1068)
### 3.5.0.beta3 / 2016-04-02
[Full \
Changelog](http://github.com/rspec/rspec-mocks/compare/v3.5.0.beta2...v3.5.0.beta3)
Enhancements:
* Issue warning when attempting to use unsupported
`allow(...).to receive(...).ordered`. (Jon Rowe, #1000)
* Add `rspec/mocks/minitest_integration`, to properly integrate rspec-mocks
with minitest. (Myron Marston, #1065)
### 3.5.0.beta2 / 2016-03-10
[Full \
Changelog](http://github.com/rspec/rspec-mocks/compare/v3.5.0.beta1...v3.5.0.beta2)
Enhancements:
* Improve error message displayed when using `and_wrap_original` on pure test
doubles. (betesh, #1063)
Bug Fixes:
* Fix issue that prevented `receive_message_chain(...).with(...)` working
correctly on "any instance" mocks. (Jon Rowe, #1061)
### 3.5.0.beta1 / 2016-02-06
[Full Changelog](http://github.com/rspec/rspec-mocks/compare/v3.4.1...v3.5.0.beta1)
Bug Fixes:
* Allow `any_instance_of(...).to receive(...)` to use `and_yield` multiple
times. (Kilian Cirera Sant, #1054)
* Allow matchers which inherit from `rspec-mocks` matchers to be used for
`allow`. (Andrew Kozin, #1056)
* Prevent stubbing `respond_to?` on partial doubles from causing infinite
recursion. (Jon Rowe, #1013)
* Prevent aliased methods from disapearing after being mocked with
`any_instance` (regression from #1043). (Joe Rafaniello, #1060)
|
2016-02-16 17:01:13 by Takahiro Kambe | Files touched by this commit (2) |
Log message:
Update ruby-rspec-mocks to 3.4.1.
### 3.4.1 / 2016-01-10
[Full Changelog](http://github.com/rspec/rspec-mocks/compare/v3.4.0...v3.4.1)
Bug Fixes:
* Fix `any_instance` to work properly on Ruby 2.3. (Joe Rafaniello, #1043)
|
2015-11-29 15:51:46 by Takahiro Kambe | Files touched by this commit (3) |
Log message:
Update ruby-rspec-mocks to 3.4.0.
### 3.4.0 / 2015-11-11
[Full Changelog](http://github.com/rspec/rspec-mocks/compare/v3.3.2...v3.4.0)
Enhancements:
* Make `expect(...).to have_received` work without relying upon
rspec-expectations. (Myron Marston, #978)
* Add option for failing tests when expectations are set on `nil`.
(Liz Rush, #983)
Bug Fixes:
* Fix `have_received { ... }` so that any block passed when the message
was received is forwarded to the `have_received` block. (Myron Marston, #1006)
* Fix infinite loop in error generator when stubbing `respond_to?`.
(Alex Dowad, #1022)
* Fix issue with using `receive` on subclasses (at a class level) with 1.8.7.
(Alex Dowad, #1026)
|
2015-11-03 04:29:40 by Alistair G. Crooks | Files touched by this commit (1995) |
Log message:
Add SHA512 digests for distfiles for devel category
Issues found with existing distfiles:
distfiles/eclipse-sourceBuild-srcIncluded-3.0.1.zip
distfiles/fortran-utils-1.1.tar.gz
distfiles/ivykis-0.39.tar.gz
distfiles/enum-1.11.tar.gz
distfiles/pvs-3.2-libraries.tgz
distfiles/pvs-3.2-linux.tgz
distfiles/pvs-3.2-solaris.tgz
distfiles/pvs-3.2-system.tgz
No changes made to these distinfo files.
Otherwise, existing SHA1 digests verified and found to be the same on
the machine holding the existing distfiles (morden). All existing
SHA1 digests retained for now as an audit trail.
|
2015-09-13 13:54:16 by Takahiro Kambe | Files touched by this commit (3) |
Log message:
Update ruby-rspec-mocks to 3.3.2.
### 3.3.2 / 2015-07-15
[Full Changelog](http://github.com/rspec/rspec-mocks/compare/v3.3.1...v3.3.2)
Bug Fixes:
* Prevent thread deadlock errors during proxy creation (e.g. when using
`before_verifying_doubles` callbacks). (Jon Rowe, #980, #979)
### 3.3.1 / 2015-06-19
[Full Changelog](http://github.com/rspec/rspec-mocks/compare/v3.3.0...v3.3.1)
Bug Fixes:
* Fix bug in `before_verifying_double` callback logic that caused it to be called
once for each class in the ancestor list when mocking or stubbing a class. Now
it is only called for the mocked or stubbed class, as you would expect. (Sam
Phippen, #974)
|
2015-06-13 01:59:06 by Takahiro Kambe | Files touched by this commit (3) |
Log message:
Update ruby-rspec-mocks to 3.3.0.
### 3.3.0 / 2015-06-12
[Full Changelog](http://github.com/rspec/rspec-mocks/compare/v3.2.1...v3.3.0)
Enhancements:
* When stubbing `new` on `MyClass` or `class_double(MyClass)`, use the
method signature from `MyClass#initialize` to verify arguments.
(Myron Marston, #886)
* Use matcher descriptions when generating description of received arguments
for mock expectation failures. (Tim Wade, #891)
* Avoid loading `stringio` unnecessarily. (Myron Marston, #894)
* Verifying doubles failure messages now distinguish between class and instance
level methods. (Tim Wade, #896, #908)
* Improve mock expectation failure messages so that it combines both
number of times and the received arguments in the output. (John Ceh, #918)
* Improve how test doubles are represented in failure messages.
(Siva Gollapalli, Myron Marston, #932)
* Rename `RSpec::Mocks::Configuration#when_declaring_verifying_double` to
`RSpec::Mocks::Configuration#before_verifying_doubles` and utilise when
verifying partial doubles. (Jon Rowe, #940)
* Use rspec-support's `ObjectFormatter` for improved formatting of
arguments in failure messages so that, for example, full time
precisions is displayed for time objects. (Gavin Miller, Myron Marston, #955)
Bug Fixes:
* Ensure expectations that raise eagerly also raise during RSpec verification.
This means that if exceptions are caught inside test execution the test will
still fail. (Sam Phippen, #884)
* Fix `have_received(msg).with(args).exactly(n).times` and
`receive(msg).with(args).exactly(n).times` failure messages
for when the message was received the wrong number of times with
the specified args, and also received additional times with other
arguments. Previously it confusingly listed the arguments as being
mis-matched (even when the double was allowed to receive with any
args) rather than listing the count. (John Ceh, #918)
* Fix `any_args`/`anything` support so that we avoid calling `obj == anything`
on user objects that may have improperly implemented `==` in a way that
raises errors. (Myron Marston, #924)
* Fix edge case involving stubbing the same method on a class and a subclass
which previously hit a `NoMethodError` internally in RSpec. (Myron Marston #954)
* Fix edge case where the message received count would be incremented multiple
times for one failure. (Myron Marston, #957)
* Fix failure messages for when spies received the expected message with
different arguments and also received another message. (Maur«¿cio \
Linhares, #960)
* Silence whitespace-only diffs. (Myron Marston, #969)
|
2015-03-13 14:46:44 by Takahiro Kambe | Files touched by this commit (2) |
Log message:
Update ruby-rspec-mocks to 3.2.1.
### 3.2.1 / 2015-02-23
[Full Changelog](http://github.com/rspec/rspec-mocks/compare/v3.2.0...v3.2.1)
Bug Fixes:
* Add missing `rspec/support/differ` require so that rspec-mocks can be
used w/o rspec-expectations (which also loads the differ and hided the
fact we forgot to require it). (Myron Marston, #893)
* Revert tracking of received arg mutation (added in 3.2.0 to provide an
error in a situation we can't support) as our implementation has side
effects on non-standard objects and there's no solution we could come
up with that always works. (Myron Marston, #900)
|
2015-02-07 15:42:31 by Takahiro Kambe | Files touched by this commit (2) |
Log message:
Update ruby-rspec-mocks to 3.2.0.
### 3.2.0 / 2015-02-03
[Full Changelog](http://github.com/rspec/rspec-mocks/compare/v3.1.3...v3.2.0)
Enhancements:
* Treat `any_args` as an arg splat, allowing it to match an arbitrary
number of args at any point in an arg list. (Myron Marston, #786)
* Print diffs when arguments in mock expectations are mismatched.
(Sam Phippen, #751)
* Support names for verified doubles (`instance_double`, `instance_spy`,
`class_double`, `class_spy`, `object_double`, `object_spy`). (Cezary
Baginski, #826)
* Make `array_including` and `hash_including` argument matchers composable.
(Sam Phippen, #819)
* Make `allow_any_instance_of(...).to receive(...).and_wrap_original`
work. (Ryan Fitzgerald, #869)
Bug Fixes:
* Provide a clear error when users wrongly combine `no_args` with
additional arguments (e.g. `expect().to receive().with(no_args, 1)`).
(Myron Marston, #786)
* Provide a clear error when users wrongly use `any_args` multiple times in the
same argument list (e.g. `expect().to receive().with(any_args, 1, any_args)`.
(Myron Marston, #786)
* Prevent the error generator from using user object #description methods.
See [#685](https://github.com/rspec/rspec-mocks/issues/685).
(Sam Phippen, #751)
* Make verified doubles declared as `(instance|class)_double(SomeConst)`
work properly when `SomeConst` has previously been stubbed.
`(instance|class)_double("SomeClass")` already worked properly.
(Myron Marston, #824)
* Add a matcher description for `receive`, `receive_messages` and
`receive_message_chain`. (Myron Marston, #828)
* Validate invocation args for null object verified doubles.
(Myron Marston, #829)
* Fix `RSpec::Mocks::Constant.original` when called with an invalid
constant to return an object indicating the constant name is invalid,
rather than blowing up. (Myron Marston, #833)
* Make `extend RSpec::Mocks::ExampleMethods` on any object work properly
to add the rspec-mocks API to that object. Previously, `expect` would
be undefined. (Myron Marston, #846)
* Fix `require 'rspec/mocks/standalone'` so that it only affects `main`
and not every object. It's really only intended to be used in a REPL
like IRB, but some gems have loaded it, thinking it needs to be loaded
when using rspec-mocks outside the context of rspec-core.
(Myron Marston, #846)
* Prevent message expectations from being modified by customization methods
(e.g. `with`) after they have been invoked. (Sam Phippen and Melanie Gilman, #837)
* Handle cases where a method stub cannot be removed due to something
external to RSpec monkeying with the method definition. This can
happen, for example, when you `file.reopen(io)` after previously
stubbing a method on the `file` object. (Myron Marston, #853)
* Provide a clear error when received message args are mutated before
a `have_received(...).with(...)` expectation. (Myron Marston, #868)
|