[Rubygems-developers] RubyGems 1.3.3?
luislavena at gmail.com
Sat May 2 13:36:14 EDT 2009
On Fri, May 1, 2009 at 10:08 PM, Hugh Sasse <hgs at dmu.ac.uk> wrote:
> On Fri, 1 May 2009, Chad Woolley wrote:
>> On Fri, May 1, 2009 at 5:32 PM, Eric Hodel <drbrain at segment7.net> wrote:
>> > I've cleaned out most of the easy stuff in the bug and patch queue again,
>> > should we release a 1.3.3?
> :-) Pretty sure what that's about, but I have only one caution:
> How do we check for version numbers? If we assume /\d\.\d\.\d/ as
> Ruby has in the past we will run out. If we assume /\d+\.\d+\.\d+/ then
> roll on Rubygems 12.230.965 and so on. :-) Redcloth just ran into this
> I think.
irb(main):004:0> v1 = Gem::Version.new('12.230.965')
=> #<Gem::Version "12.230.965">
irb(main):005:0> v2 = Gem::Version.new('12.230.875')
=> #<Gem::Version "12.230.875">
irb(main):006:0> v1 > v2
irb(main):007:0> v1 < v2
Perfection in design is achieved not when there is nothing more to add,
but rather when there is nothing more to take away.
Antoine de Saint-Exupéry
More information about the Rubygems-developers