On Fri, 4 Aug 2006, Rick DeNatale wrote:

>> but this isn't correct by 'open source' standards
>> 
>>    http://codeforpeople.com/lib/ruby/library/library-0.0.0/doc/
>>    http://sources.redhat.com/autobook/autobook/autobook_91.html
>> 
>> in order to compare you have to consider the semantics of each positional
>> number
>
> I'm not sure I see the point.  Each level has less signficance than
> the one before.  I'm pretty sure that's how the code I posted orders
> versions.

you are right about that - i gues i was simply pointing out that, in order to
be correct with present open source standards one needs something that works
like

   version('1.2.1') =~ version('1.1.0')  #=> true

in otherwords, you need compaisson which implies compatibility, not just gt
and lt.

regards.

-a
-- 
we can never obtain peace in the outer world until we make peace with
ourselves.
- h.h. the 14th dali lama