- Fix bug in ignore_keys option #88 (@Matzfan)
- Exclude spec files from gem package #94 (@amatsuda)
- Add ignore_keys option (#86 @Matzfan)
- Remove pinned version of rake < 11
- Bump rspec dep ~> 3.5
- Bump rubocop dep >= 1.52.1
- Bump rubocop-rspec dep > 1.16.0
- Add indifferent option
- Fix typo in readme (#72 @koic)
- Fix Rubocop offence (#73 @koic)
- Bumps version to v1.0.0 (#74 @jfelchner)
- fix warnings in ci (#69 @y-yagi)
- drop warnings of the constant change (#70 @jfelchner)
- refactoring (#56 #57 #59 #61 krzysiek1507)
- fix typo in README (#64 @pboling)
- change HashDiff to Hashdiff (#65 @jfelchner)
- Performance tweak (thanks @krzysiek1507: #51 #52 #53)
- Add Rubocop and drops Ruby 1.9 support #47
- remove 1.8.7 support from gemspec #39
- add option
use_lcs
#35
- add option
array_path
#34
- performance improvement of
#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
.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', []]]