[Rubygems-developers] Gem#status?

Eric Hodel drbrain at segment7.net
Thu Nov 13 15:31:49 EST 2008

On Nov 11, 2008, at 11:41 AM, Hugh Sasse wrote:
> On Tue, 11 Nov 2008, Phil Hagelberg wrote:
>> Ryan Davis <ryand-ruby at zenspider.com> writes:
>>>> * Version parts with letters are prerelease (e.g. 'a', 'b5', or
>>>> RC1').
>>> the second you do this you're gonna get bugs filed saying that you
>>> didn't sort the versions the way the user intended... how do you  
>>> sort
>>> a1' vs 'b5' vs 'rc1' vs 'z7'?
>> Really? String#<=> is pretty well-understood as far as I can tell.
> Oh, I bet will get scarier than that: Locale, current character set,
> multibyte chars, utf-[8,16,32], and is the -K option in use, and are
> we doing case sensitive matches or not?  {Is anyone still using  
> I hope not, that's scarier than some of the things lurking in  
> Dwemthy's
> Array! :-)}

It will be simple enough to restrict version characters to the ASCII  

More information about the Rubygems-developers mailing list