[Rubygems-developers] Bug: Gem.latest_load_paths

Chad Fowler chad at chadfowler.com
Mon Sep 20 21:54:18 EDT 2004


On 20-Sep-04, at 9:35 PM, Gavin Sinclair wrote:

> On Tuesday, September 21, 2004, 11:10:44 AM, Chad wrote:
>
>>> sqlite-ruby-2.0.1
>
>> Fixed in CVS.
>
> The new code (below) looks for a version string of exactly three
> digit-groups.  Is that a correct assumption?  I thought you could
> specify as many as you like.  In fact, in the repository we have
> sqlite-ruby-1.2.9.1.
>
>         matches = /(.*)-([0-9]+\.[0-9]+\.[0-9]+)/.match(base)
>         name, version = [matches[1], matches[2]]


Oh yea :(

More later (fix it if you get the urge)

Chad



More information about the Rubygems-developers mailing list