Michael,

> >  addr_spec.force_encoding('binary') if RUBY_VERSION >= '1.9.0'
>
> > would be a fast workaround I thought. It's an encoding problem.
> > Though RUBY_VERSION >= '1.9.0' is a bad version guard.
>
> I already found that out. Will be fixed soon, thank you. We will be  
> using same guard as MSpec/RubySpec.

I found an alternative work-around that appears to be even less
invasive:

  
http://github.com/datamapper/dm-more/commit/63327515cc4430a7a59c717afec5c14c9f299d3d

With this fix all of dm-validations specs pass with Ruby 1.9.1-p0.
This fixes one of the three remaining issues I outlined at the
beginning of this thread.  The other two issues are with externals
gems and outside of our direct control.

--

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
-~----------~----~----~----~------~----~------~--~---

Reply via email to