- remove 1.8.7 support from gemspec #39
- add option
use_lcs
#35
- add option
array_path
#34
- performance improvement of HashDiff#similar? #31
- replace
Fixnum
byInteger
#28
- fix an error when a hash has mixed types #26
- support
:case_insensitive
option
- improve performance of LCS algorithm #12
- make library 1.8.7 compatible
- yield added/deleted keys for custom comparison
- support custom comparison blocks
- support
:strip
,:numeric_tolerance
and:strict
options
- use options for parameters
:delimiter
and:similarity
in interfaces
- Add parameter for custom property-path delimiter.
- fix a bug in judging whehter two objects are similiar.
- add more spec test for HashDiff.best_diff
Main changes in this version is to output the whole object in addition & deletion, instead of recursely add/deletes the object.
For example, `diff({a:2, c:[4, 5]}, {a:2}) will generate following output:
[['-', 'c', [4, 5]]]
instead of following:
[['-', 'c[0]', 4], ['-', 'c[1]', 5], ['-', 'c', []]]