Re: [Rubygems-developers] Gem name validation

2009-10-01 Thread John Barnette
On Oct 1, 2009, at 7:41 AM, Josh Susser wrote: On Sep 30, 2009, at 11:44 PM, John Barnette wrote: I'd like to add an error to Specification#validate if the spec's name doesn't match /[a-z][a-z0-9-_]*/i. Any objections? Disregarding obviously malformed specs, all current gem names match.

Re: [Rubygems-developers] Gem name validation

2009-10-01 Thread Josh Susser
On Sep 30, 2009, at 11:44 PM, John Barnette wrote: I'd like to add an error to Specification#validate if the spec's name doesn't match /[a-z][a-z0-9-_]*/i. Any objections? Disregarding obviously malformed specs, all current gem names match. Sounds good, with one minor nitpick: your regexp

Re: [Rubygems-developers] Gem name validation

2009-10-01 Thread Luis Lavena
On Thu, Oct 1, 2009 at 8:44 AM, John Barnette wrote: > All, > > I'd like to add an error to Specification#validate if the spec's name > doesn't match /[a-z][a-z0-9-_]*/i. Any objections? Disregarding obviously > malformed specs, all current gem names match. > No objection from here, that will red

Re: [Rubygems-developers] Gem name validation

2009-10-01 Thread Chad Woolley
On Wed, Sep 30, 2009 at 11:44 PM, John Barnette wrote: > All, > > I'd like to add an error to Specification#validate if the spec's name > doesn't match /[a-z][a-z0-9-_]*/i. Any objections? Disregarding obviously > malformed specs, all current gem names match. That sounds like a good idea. ___

[Rubygems-developers] Gem name validation

2009-09-30 Thread John Barnette
All, I'd like to add an error to Specification#validate if the spec's name doesn't match /[a-z][a-z0-9-_]*/i. Any objections? Disregarding obviously malformed specs, all current gem names match. ~ j. ___ Rubygems-developers mailing list http://r