Subject: [ANN] doodle 0.1.0 Released

5 views
Skip to first unread message

Sean O'Halpin

unread,
Apr 26, 2008, 4:53:37 PM4/26/08
to ruby-...@googlegroups.com
doodle version 0.1.0 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.0 / 2008-04-26
- doodle's first beta version - the API should remain stable from now on
- created a Google group: http://groups.google.com/group/ruby-doodle
- major change: changed Doodle from module to class so you now use
class Foo < Doodle
instead of
class Foo < Doodle::Base
- Doodle::Helper renamed Doodle::Core
- added #parent method - returns outer object in initialization blocks
(see spec/doodle_context_spec for example usage)
- fixed class and singleton attribute inheritance
- rake spec now passes all specs with ruby 1.8.6, ruby 1.9.0 and JRuby 1.1.1
- added more specs
- added lib/doodle/utils.rb (used by examples)
- removed (half-hearted) support for 1.8.5
- removed redundant methods & excised some cruft
- refactored project to use newgem

## 0.0.11 / 2008-04-13
- refactored attributes and conversions

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

Ryan Garver

unread,
Apr 28, 2008, 5:54:36 PM4/28/08
to ruby-doodle
Sean,
This is pretty cool. I've enjoyed working with this library so far.

It looks like your parent method break the class autoloading from
within a Doodle class under rails. ActiveSupport defines a parent
method that is used for const_missing calls.

See: activesupport-2.0.2/lib/active_support/core_ext/module/
introspection.rb:4

So before the name sticks, I wanted to let you know about an impact of
that method name.

sean.o...@gmail.com

unread,
Apr 28, 2008, 6:58:09 PM4/28/08
to ruby-doodle
On Apr 28, 10:54 pm, Ryan Garver <ragar...@gmail.com> wrote:

> It looks like your parent method break the class autoloading from
> within a Doodle class under rails. ActiveSupport defines a parent
> method that is used for const_missing calls.

> See: activesupport-2.0.2/lib/active_support/core_ext/module/
> introspection.rb:4

> So before the name sticks, I wanted to let you know about an impact of
> that method name.

I've changed the name to doodle_parent and released a new version of
the gem (0.1.1).

Thanks for reporting this!

Best regards,
Sean
Reply all
Reply to author
Forward
0 new messages