[Rubygems-developers] [ rubygems-Bugs-25493 ] Feature: Make trailing zeroes in gem version significant

Hugh Sasse hgs at dmu.ac.uk
Thu Apr 16 08:48:24 EDT 2009


On Thu, 16 Apr 2009, Austin Ziegler wrote:

> On Thu, Apr 16, 2009 at 3:15 AM,  <noreply at rubyforge.org> wrote:
> > Summary: Feature: Make trailing zeroes in gem version significant
> >
> > Initial Comment:
> > I'd like for 1.0.0 to be seen as > 1.0
> 
> I'm sorry, but this makes no sense to me and I suspect that it would
> be significantly more confusing to users.
> 
> What's the use case for this? Why should (1.0.0 > 1.0) be true? To me,
> 1, 1.0, and 1.0.0 are all the same in a dotted versioning system.

The only case I've heard of where this would occur is that of TeX;
I heard Donald Knuth uses successive digits of Pi and e for his
version numbers, adding one more digit for each release.  Conceivably
adding a digit which happens to do zero mus occur.  Maybe he just
adds more digits till he hits a nonzero. I don't know.

> 
> -austin

        Hugh


More information about the Rubygems-developers mailing list