On 12/21/12 8:29 AM, Daniel DeLeo wrote:It appears this behaves differently on different Ruby versions. On Ruby
>
> On Friday, December 21, 2012 at 7:50 AM, Jesse Campbell wrote:
>
>> Anyone know if there's a list of breaking changes and major
>> improvements between 0.10.6 and now (10.16.2)?
> In general there shouldn't be any. We consider breaking changes in
> minor/patch versions to be regressions and fix them as we find them.
>
>>
>> So far I've discovered:
>> - an array of nodes (returned from search) used to be able to be
>> sorted with .sort, now that fails. Not in any release notes I've
>> found, not sure when it changed.
> I'm not sure how this ever worked for you. I checked out 0.10.6 in my
> git repo and was unable to sort nodes with a simple #sort call.
>
> https://gist.github.com/18e7bb1d74075c47f750
1.9.2 I get the error Dan posted. On Ruby 1.8.7, no error is raised.
Cheers,
Steve
--
Steven Danna
Systems Engineer, Opscode, Inc
GPG Key: http://stevendanna.github.com/downloads/code/public.key
Archive powered by MHonArc 2.6.16.