All Versions
28
Latest Version
Avg Release Cycle
59 days
Latest Release
3298 days ago

Changelog History
Page 3

  • v0.0.8 Changes

    August 25, 2011
    • ๐Ÿ›  [fixed] Fixed conflict with ActiveModel (RichGuk)
    • [changed] Renamed Coercion::String.to_class => Coercion::String.to_constant (emmanuel)

    Compare v0.0.7..v0.0.8

  • v0.0.7 Changes

    July 31, 2011
    • ๐Ÿšš [BREAKING CHANGE] Attribute.primitive? has been removed (solnic)
    • ๐Ÿ›  [fixed] Added missing coercion_method setting to Virtus::Attribute::Object (solnic)
    • 0๏ธโƒฃ [general] Default value logic has been extracted into Attribute::DefaultValue class (solnic)
    • [added] Virtus::Attribute::Class (solnic)

    Compare v0.0.6..v0.0.7

  • v0.0.6 Changes

    July 30, 2011
    • ๐Ÿšš [BREAKING CHANGE] Moved Virtus.determine_type to a shared module Virtus::TypeLookup (dkubb)
    • [BREAKING CHANGE] Attribute#typecast_to_primitive has been replaced by Attribute#coerce (solnic)
    • ๐Ÿšš [BREAKING CHANGE] Attribute#typecast logic was moved to Attribute#set which is now a public method (solnic)
    • 0๏ธโƒฃ [feature] Added support for default values (solnic)
    • [general] Added custom inspect for Attribute classes (solnic)
    • [general] Added backports as a development dependency (dkubb)
    • ๐Ÿ‘ [changed] Options API has been extracted from Attribute to a support module Virtus::Options (solnic)
    • [changed] Typecast classes have been replaced by a new hierarchy of Coercion classes like Coercion::String, Coercion::Integer etc. (solnic)
    • [changed] Attribute#get, #get!, #set, #set! & #coerce are now part of the public API (solnic)

    Compare v0.0.5..v0.0.6

  • v0.0.5 Changes

    July 10, 2011
    • ๐Ÿ›  [bugfix] Fixed DescendantsTracker + ActiveSupport collision (dkubb)

    Compare v0.0.4..v0.0.5

  • v0.0.4 Changes

    July 08, 2011
    • [BREAKING CHANGE] attributes hash has been replaced by a specialized class AttributeSet (dkubb)
    • [BREAKING CHANGE] Virtus::ClassMethods.attribute returns self instead of a created attribute (solnic)
    • [changed] descendants tracking has been extracted into DescendantsTracker module (dkubb)
    • [changed] Instance #primitive? method has been replaced by class utility method Virtus::Attribute.primitive? (solnic)
    • [changed] Virtus::Attribute::String#typecast_to_primitive delegates to Virtus::Typecast::String.call (solnic)

    Compare v0.0.3..v0.0.4

  • v0.0.3 Changes

    June 09, 2011
    • ๐Ÿšš [BREAKING CHANGE] Attribute classes were moved to Virtus::Attribute namespace (solnic)
    • [BREAKING CHANGE] Attribute instance no longer holds the reference to a model (solnic)
    • [BREAKING CHANGE] #typecast no longer receives an instance of a model (override #set which calls #typecast if you need that) (solnic)
    • ๐Ÿšš [changed] Adding reader/writer methods was moved from the attribute constructor to Virtus::ClassMethods.attribute (solnic)
    • ๐Ÿ‘€ [changed] Typecast logic has been moved into separate classes (see Virtus::Typecast) (solnic)
    • ๐Ÿ‘ [added] Virtus::Attribute::DateTime#typecast supports objects which implement #to_datetime (solnic)
    • [general] Internals have been cleaned up, simplified and properly documented (solnic)

    Compare v0.0.2..v0.0.3

  • v0.0.2 Changes

    June 06, 2011
    • ๐Ÿ›  [bugfix] Fixed #typecast in custom attribute classes (solnic)

    Compare v0.0.1..v0.0.2

  • v0.0.1 Changes

    June 04, 2011

    ๐Ÿš€ First public release :)