S
Sean O'Halpin
Doodle 0.0.9 has been released.
Doodle simplifies the definition of Ruby classes by providing a simple
DSL for declaring attribute validations and conversions.
Doodle is eco-friendly =96 it does not globally modify Object, Class or
Module (and it plays nice with yaml).
For more info and examples, see the docs at http://doodle.rubyforge.org.
Changes for 0.0.9:
- new features:
- :collect now creates array by default if no :init specified
(thanks to James Adam
- :collect can now initialize from Enumerables by default
- raise UnknownAttributeError if initialize called with unspecified
attribute key
- added experimental Doodle.context and Doodle.parent (only valid
during initialization)
- new examples:
- datatypes
- mail example
- Doodle.parent
- new specs for singletons, Doodle.context and Doodle.parent, factory
- updated docs
- removed unused code and tidied up
- bug fixes:
- fixed memory leak
- fixed regex for factory methods
- fixed bug where validate! was creating instance variables with defaults
- fixed errors collection
- fixed yaml test for JRuby
- now doesn't try to define factory method if one with same name
already defined
Regards,
Sean
Doodle simplifies the definition of Ruby classes by providing a simple
DSL for declaring attribute validations and conversions.
Doodle is eco-friendly =96 it does not globally modify Object, Class or
Module (and it plays nice with yaml).
For more info and examples, see the docs at http://doodle.rubyforge.org.
Changes for 0.0.9:
- new features:
- :collect now creates array by default if no :init specified
(thanks to James Adam
- :collect can now initialize from Enumerables by default
- raise UnknownAttributeError if initialize called with unspecified
attribute key
- added experimental Doodle.context and Doodle.parent (only valid
during initialization)
- new examples:
- datatypes
- mail example
- Doodle.parent
- new specs for singletons, Doodle.context and Doodle.parent, factory
- updated docs
- removed unused code and tidied up
- bug fixes:
- fixed memory leak
- fixed regex for factory methods
- fixed bug where validate! was creating instance variables with defaults
- fixed errors collection
- fixed yaml test for JRuby
- now doesn't try to define factory method if one with same name
already defined
Regards,
Sean