All Versions
6
Latest Version
Avg Release Cycle
50 days
Latest Release
1990 days ago

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> to coerce_<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
  • 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