On 15/09/09 9:10 AM, Dan Kubb (dkubb) wrote:
>
> Chris,
>
>> Can anyone confirm wether sweatshop is working on 1.9.1?
>
> The specs for dm-sweatshop have been passing with Ruby 1.9.1 since the
> beginning of the year, although I do think there's one feature it
> can't support due to ParseTree not being available in Ruby 1.9.
I looked a bit more into it - unique {} is gracefully degredated if
ParseTree is not available:
"You need to install ParseTree to use an anonymous unique (gem install
ParseTree). In the mean time, explicitly declare a key: unique(:my_key)
{ ... }"
As such, the unique tests are also not run if ParseTree is not
available. This excludes tests that should be run - I will change this.
I guess the question is do we want a feature in DM that is only
supported optionally? I think the anon syntax is neat, but probably it's
too confusing, esp if we can't get it going on 1.9. Thoughts?
>
> What sort of problems are you seeing with it?
>
> --
>
> Dan
> (dkubb)
> >
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"DataMapper" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/datamapper?hl=en
-~----------~----~----~----~------~----~------~--~---