1.6 KiB
1.6 KiB
0.3.0 2019-11-07
Added
- Memoization option for immutable objects. If
immutable: true
is passed the result of.hash
call will be memoized after its first invocation or on.freeze
call (skryukov)class User include Dry::Equalizer(:id, :name, :age, immutable: true) end
Changed
- [BREAKING] Dropped support for Ruby < 2.4
0.2.2 2019-03-08
Added
- Generation of
#to_s
and#inspect
can be disabled withinspect: false
(flash-gordon)class User include Dry::Equalizer(:id, :name, :age, inspect: false) end
0.2.1 2018-04-26
Fixed
- Including equalizer module with same keys multiple times won't cause duped keys in
inspect
output (radar)
0.2.0 2015-11-13
Really make it work with MRI 2.0 again (it's Friday 13th OK?!)
0.1.1 2015-11-13
Make it work with MRI 2.0 again
0.1.0 2015-11-11
Added
Dry::Equalizer()
method accepting a list of keys (solnic)
Changed
eql?
no longer tries to coerceother
withcoerce
method (solnic)