- Fix bug where
:readonly
behaved as:writeonly
and vice versa
suppress_tainbox_initializer!
is inherited correctly
- raise
ArgumentError
if trying to assign a non-hash to#attributes
- Attribute is always set to nil and marked as not provided when the hash assigned via
#attributes=
or#new
does not have that attribute and the attribute does not have a default
- Prepend internal variables with 'tainbox_' to avoid clashes with client code
- String converter supports
strip
option to strip values
as_json
support for tainbox objects
as_json
implementation does not useto_hash
to avoid automatic casting from double star parameters
- String converter supports
downcase
option to downcase values
- Attributes can be assigned via any object which responds to
to_h
- Replace
readonly
andwriteonly
options withreader
andwriter
options for better semantics
- Add
patch_attributes
method
- Fix
Time
converter