[Rubygems-developers] Please review GemspecReference
Jim Weirich
jim at weirichhouse.org
Sun Sep 12 13:07:21 EDT 2004
Chad Fowler wrote:
>> [...] Also, what are all of the version
>> comparison options? In a separate email, Gavin suggested that
>> there's a ~> 1.0.5 which will give all versions 1.0.5 - 1.0.9,
>> but not 1.1.0. Is there? Where are these documented?
>
> i don't understand the first question. Rather, I don't understand how
> it's different from the example. Single vs. double quotes?
>
> You're right about the ~> stuff. I included it in the table of version
> operators in the pickaxe, but I'm not sure if it's been _really_
> documented anywhere yet. Probably should be. I suspect there aren't
> many people so far who have felt the desire to use it.
The user guide lists all the comparison operators. The ~> is covered in
both the user guide and in the gem reference spec. The particular
problem it addresses is covered in RationalVersioningPolicy and in
PessimisticVersionConstraint. These pages have been there since
mid-summer.
--
-- Jim Weirich jim at weirichhouse.org http://onestepback.org
-----------------------------------------------------------------
"Beware of bugs in the above code; I have only proved it correct,
not tried it." -- Donald Knuth (in a memo to Peter van Emde Boas)
More information about the Rubygems-developers
mailing list