[Rubygems-developers] Bug: Gem.latest_load_paths
Gavin Sinclair
gsinclair at soyabean.com.au
Mon Sep 20 21:35:15 EDT 2004
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]]
Gavin
More information about the Rubygems-developers
mailing list