[ANN] doodle 0.2.3 Released

Discussion in 'Ruby' started by Sean O'Halpin, Mar 14, 2009.

  1. doodle version 0.2.3 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.2.3 / 2009-03-06

    - Features:
    - collect can now take multiple types, e.g.
    has :shapes, :collect => [Circle, Square]
    or
    has :shapes, :collect => {:circle => Circle, :square => Square}
    - to_json and from_json - see
    http:://doodle.rubyforge.org/doodle-json.html for details
    - can now specify :must and :from directly in #has params hash, e.g.
    has :answer, :from => { String => proc {|c| c.to_i } },
    :must => { "be 42" => proc {|c| c == 42 } }
    - added #assigned? for attributes, e.g.
    if obj.assigned?:)name) # => true if @name exists
    - added key_values:
    class Foo < Doodle
    has :name
    has :count
    end
    Foo.new('a', 1).doodle.key_values # => [[:name, "a"], [:count, 1]]
    - and key_values_without_defaults
    - added :expand => [false|true] to Doodle::App::Filename - expands
    path if set to true. Default = false
    - all specs pass on jruby-1.2.0RC2 and ruby 1.8.7p72
    - plus more docs + specs

    * <http://doodle.rubyforge.org>
    Sean O'Halpin, Mar 14, 2009
    #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:
    110
    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:
    80
    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:
    89
    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:
    90
    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:
    92
    Sean O'Halpin
    May 6, 2008
Loading...

Share This Page