#Changelog
- Changed store enumerable to enumerate on values of hash instead of key/value.
- New
reset
plugin added - New
merge
plugin added - Improved support for plugins in modules.
- CONFIGURABLE: Added before_update and after_update callbacks
- CONFIGURABLE: Support validation plugin
- Rewrite getter and setter middleware to use before/after instead of priority
- COERCION: Added support for with
add
,<<
andmerge
when mutating Set. - COERCION: Added support for with
insert
when mutating Array. - COERCION: Added support for with
merge!
andstore
when mutating Hash. - COERCION: Added support for Proc class.
- VALIDATION: Support for validate_on_init and validate_on_set plugin options
- VALIDATION: Support sending list as arguments as well as array in
exclude_from?
andincluded_in?
predicates. - VALIDATION: Automatically validate Array[SomeClass] instances if validation is supported.
- VALIDATION: Updated each_key and each_value error messages.
- EQUALITY: Changed
include_in_equality
option toexclude_from_equality
- Support loading plugin as both string and symbol.
- COERCION: Fix to disable coercion per attribute.
- EQUALITY: Return false if classes don't match
- COERCION/IMMUTABLE: Ensure Array/Set/Hash mutation methods works with coercion when mutating.
- Fix correct ruby version requirement in gemspec
This is the first version of Wardrobe released to RubyGems and considered beta.