[ANN] doodle 0.1.9 Released

Discussion in 'Ruby' started by Sean O'Halpin, Dec 15, 2008.

  1. doodle version 0.1.9 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.9 / 2008-08-13
    - Features:
    - to_hash
    - doodle do .. end blocks now support #has, #from, #must and
    #arg_order
    - will now initialize a setter from a block by calling kind.new if
    kind is specified and kind is a Doodle or a Proc, e.g.

    class Animal
    has :species
    end

    class Barn
    has :animals, :collect => Animal
    end

    class Farm
    has Barn
    end

    farm = Farm do
    # this is new - will call Barn.new(&block)
    barn do
    animal 'chicken'
    animal 'pig'
    end
    end

    Will not try this for an attribute with :abstract => true

    - attributes now have :doc option
    - attributes now have :abstract option - will not try to
    auto-instantiate an object from this class
    - attributes now have a :readonly attribute - will not allow setting
    outside initialization
    - Doodle::Utils
    - deep_copy(obj)
    - normalize_keys!(hash, recursive = false, method = :to_sym),
    optionally recurse into child hashes
    - symbolize_keys!(hash, recursive = false)
    - stringify_keys!(hash, recursive = false)

    - Experimental:
    - Doodle::App for handlng command line application options
    - doodle/datatypes - added more datatypes

    - Bug fixes:
    - fixed reversion in 0.1.8 which enabled full backtrace from within
    doodle.rb
    - fixed bug where required attributes defined after attributes with
    default values were not being validated (had 'break' instead of 'next')

    * <http://doodle.rubyforge.org>
    Sean O'Halpin, Dec 15, 2008
    #1
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Sean O'Halpin

    [ANN] doodle-0.0.9 released

    Sean O'Halpin, Apr 12, 2008, in forum: Ruby
    Replies:
    2
    Views:
    97
    Sean O'Halpin
    Apr 13, 2008
  2. Sean O'Halpin

    [ANN] doodle version 0.0.10 released

    Sean O'Halpin, Apr 13, 2008, in forum: Ruby
    Replies:
    0
    Views:
    73
    Sean O'Halpin
    Apr 13, 2008
  3. Sean O'Halpin

    Subject: [ANN] doodle 0.1.0 Released

    Sean O'Halpin, Apr 26, 2008, in forum: Ruby
    Replies:
    0
    Views:
    81
    Sean O'Halpin
    Apr 26, 2008
  4. Sean O'Halpin

    [ANN] doodle 0.1.1 Released

    Sean O'Halpin, Apr 29, 2008, in forum: Ruby
    Replies:
    0
    Views:
    84
    Sean O'Halpin
    Apr 29, 2008
  5. Sean O'Halpin

    [ANN] doodle 0.1.4 Released

    Sean O'Halpin, May 6, 2008, in forum: Ruby
    Replies:
    0
    Views:
    81
    Sean O'Halpin
    May 6, 2008
Loading...

Share This Page