Account Options

  1. Sign in
The old Google Groups will be going away soon, but your browser is incompatible with the new version.
Google Groups Home
« Groups Home
doodle 0.1.9 Released
There are currently too many topics in this group that display first. To make this topic appear first, remove this option from another topic.
There was an error processing your request. Please try again.
flag
  3 messages - Collapse all  -  Translate all to Translated (View all originals)
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post will appear after it is approved by moderators
 
From:
To:
Cc:
Followup To:
Add Cc | Add Followup-to | Edit Subject
Subject:
Validation:
For verification purposes please type the characters you see in the picture below or the numbers you hear by clicking the accessibility icon. Listen and type the numbers you hear
 
Sean O'Halpin  
View profile  
 More options Dec 15 2008, 10:34 am
From: "Sean O'Halpin" <sean.ohal...@gmail.com>
Date: Mon, 15 Dec 2008 15:34:57 +0000
Local: Mon, Dec 15 2008 10:34 am
Subject: [ANN] doodle 0.1.9 Released
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>


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Avdi Grimm  
View profile  
 More options Dec 15 2008, 10:57 am
From: "Avdi Grimm" <a...@avdi.org>
Date: Mon, 15 Dec 2008 10:57:59 -0500
Local: Mon, Dec 15 2008 10:57 am
Subject: Re: [ANN] doodle 0.1.9 Released

On Mon, Dec 15, 2008 at 10:34 AM, Sean O'Halpin <sean.ohal...@gmail.com> wrote:

> doodle version 0.1.9 has been released.

Spiffy!  Thanks for adding to_hash.

--
Avdi

Home: http://avdi.org
Developer Blog: http://avdi.org/devblog/
Twitter: http://twitter.com/avdi
Journal: http://avdi.livejournal.com


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Sean O'Halpin  
View profile  
 More options Dec 15 2008, 12:56 pm
From: "Sean O'Halpin" <sean.ohal...@gmail.com>
Date: Mon, 15 Dec 2008 17:56:12 +0000
Local: Mon, Dec 15 2008 12:56 pm
Subject: Re: [ANN] doodle 0.1.9 Released
On Mon, Dec 15, 2008 at 3:57 PM, Avdi Grimm <a...@avdi.org> wrote:

> On Mon, Dec 15, 2008 at 10:34 AM, Sean O'Halpin <sean.ohal...@gmail.com> wrote:

>> doodle version 0.1.9 has been released.

> Spiffy!  Thanks for adding to_hash.

> --
> Avdi

Hi Avdi,

Sorry it took me so long :S

Please let me know if #to_hash works the way you expect.

Cheers,
Sean


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
End of messages
« Back to Discussions « Newer topic     Older topic »