Releases: doudou/flexmock
Bugfix release v2.4.3
Fixed bugs:
with_kw_args
behaved differently on the v2.4 branch and on v3. The former would try to match the whole keyword arg hash with a matching object, the latter would iterate over the given keys. This release aligns the behavior of 2.4.3 with the one from 3.x. No changes on 3.x needed- make sure flexmock works even with activesupport's definition of
with
on Object - fixed some keyword argument forwarding issues
v2.4.0 - backward compatible release to v3.0.0
To properly support keyword arguments, we created the v3.0 version of flexmock. This version is backwards incompatible (even if it is mostly compatible).
v2.4.0 is the sibling release for ruby <3.0. It adds the same new APIs around keyword arguments and procs (e.g. with_kw_args
) so that tests that have been adapted to > v3.0 can still run on the v2.4 branch, easing the transition.
See the README for more details.
v3.0 - Ruby 3.0+ compatible release
This release adds new APIs to support keyword arguments as they are in Ruby 3.0-and-later. This breaks backwards compatibility.
The new v2.4.0 release adds the same APIs (even if less strict) so that tests that have been made compatible with flexmock v3.0 can still run on a < 3.0 Ruby using flexmock 2.4.0
See README for more details.