All Versions
6
Latest Version
Avg Release Cycle
50 days
Latest Release
3065 days ago
Changelog History
Changelog History
-
v0.3.1 Changes
May 17, 2016๐ Fixed
- ๐ Fixes a bug where values for custom types would be unnecessarily coerced irrespective of whether they were already of the expected type or not
-
v0.3.0 Changes
March 07, 2016โ Added
- โ Adds benchmarks for ActiveAttr
- โ Adds benchmarks for ActiveRecord::Attributes
- โ Adds basic support for boolean attributes
-
v0.2.0 Changes
September 18, 2015โ Added
- โ Adds content to README.md
- โ Adds comprehensive YARD documentation
- โ Adds #attributes method to return attribute values as a hash
๐ Changed
- Renames generated coercion methods from
coerce_<attribute>_to_<type>
tocoerce_<attribute>
Lean::Attribute::CoercionHelpers
is no longer an included module but a utility for precompiling coercion methods
๐ Fixed
- ๐ Fixes a bug where Time attributes would be improperly parsed to January 1st
- ๐ Fixes a bug where coercion methods were not being called as documented
-
v0.1.0 Changes
September 09, 2015๐ Changed
- Makes calls to
coerce_<attribute>_to_<type>
unconditional when setting an attribute - Lean::Attributes::Coercion is now Lean::Attributes::CoercionHelpers
- Makes calls to
-
v0.0.2 Changes
September 09, 2015๐ Fixed
- ๐ Fixes error when setting Symbol attributes
-
v0.0.1 Changes
September 09, 2015โ Added
- ๐ Initial release
๐ [unreleased]: https://github.com/elliottmason/lean-attributes/compare/v0.3.1...HEAD