[ANN] doodle 0.1.6 Released

2 views
Skip to first unread message

sean.o...@gmail.com

unread,
May 7, 2008, 9:47:29 PM5/7/08
to ruby-doodle
## 0.1.6 / 2008-05-08
- Features:
- short cut syntax for #must - can now specify constraints like
this:
must "size > 0"
must "self =~ /[A-Z]"
which will be evaluated as if you had written this:
must "self =~ /[A-Z]" do |v|
v.instance_eval("self =~ /[A-Z]")
end
- prefixed more public but undocumented methods with 'doodle_' to
avoid clashing with
common names (e.g. parents, attributes, validations, etc.) - this
may cause breakage
if you have been using these methods for reflection
- renamed Doodle::Attribute Doodle::DoodleAttribute for same reason
- updated specs to reflect name changes
- attribute level validation messages now denote containing class
- major refactoring of #has method - collections now handled by
specialized attribute collector classes
- plus general tidying up

- Bug fixes:
- can now load keyed collection from hash

== 0.1.5 / 2008-05-06
- Bug fixes:
- fixed bug where defaults were preventing validation working when
loading from
YAML and added spec

* <http://doodle.rubyforge.org>
Reply all
Reply to author
Forward
0 new messages