v0.13
·
273 commits
to master
since this release
Features
- Objects can now provide alternative versions of themselves for equalsOnly comparison by simply providing the name of a
equalsOnlyValueProvider
method. The values returned by this method will then be compared viaequals
method. Thanks to j1ee for adding this feature. For some more detailed examples, take a look at this Spock specification. [#69] - Equality of objects implementing
Comparable
can now also be checked viacompareTo
method, by configuring them ascompareToOnlyType
. Thanks to Jean-Eudes and jlrigau for adding this feature. For some more detailed examples, take a look at this Spock specification [#67]
Bugfixes
- Explicitly including a property now implicitly includes its children as well. [#70]
BigDecimal
is now compared viacompareTo
instead ofequals
. [#67]
Improvements
- Added TravisCI support. Because it's awesome!