Posted By: Sean O'Halpin
Date: 2008-05-16 06:46
Summary: [ANN] doodle 0.1.8 Released
Project: doodle

doodle version 0.1.8 has been released.

* <http://doodle.rubyforge.org>

Doodle is a gem for simplifying the definition of Ruby classes by
making attributes and their properties more declarative. Doodle is
eco-friendly: it does not globally modify Object, Class or Module.

Changes:

## 0.1.8 / 2008-05-13
- Features:
- now applies instance level conversions (class level #from) to
attribute values, e.g.

class Name < String
include Doodle::Core
from String do |s|
Name.new(s)
end
end

class Person < Doodle
has Name
end

person = Person 'Arthur'
person.name.class # => Name

- better error reporting
- kind can now take an array of classes or modules to match against,
- e.g.

has :name, :kind => [String, Symbol]

- kind with no args now returns an array of kinds (possibly empty)

- Bug fixes:
- #has with class param was not enforcing :kind constraint
- moved more methods into DoodleInfo. You should now access metadata
via:
- obj.doodle.attributes
- obj.doodle.conversions
- obj.doodle.validations
- obj.doodle.parent
- obj.doodle.class_attributes
- collectors initializing too late when defined at class level

* <http://doodle.rubyforge.org>

Latest News
Version 1.6.0 of Mxx_ru released
    Nicolay Shmakov - 2013-06-19 12:07
TZInfo v1.0.0 and TZInfo::Data v1.2013.3 Released
    Philip Ross - 2013-06-02 17:12
icalendar 1.4.0 Released
    Ryan Ahearn - 2013-05-21 23:17
BinData 1.5.0 - source moved to github
    Dion Mendel - 2013-05-21 11:10
v13.5.0 Released !!
    id 774 - 2013-05-18 12:28

 

Forums | Admin

Discussion Forums: -ann--doodle-0.1.8-released

Start New Thread Start New Thread

 

Topic Topic Starter Replies Last Post