Re: [Rubygems-developers] API access to versions in list command

2010-05-26 Thread James Tucker
On 23 May 2010, at 07:40, Chad Woolley wrote: > On Sun, May 23, 2010 at 1:21 AM, Chad Woolley wrote: >> 1. Are we doing it wrong? Does the RubyGems API provide a way to avoid >> this manual parsing? >> 2. Should there be a --[no-]platforms option to the 'list' command, >> which would have made t

Re: [Rubygems-developers] API access to versions in list command

2010-05-23 Thread Chad Woolley
On Sun, May 23, 2010 at 1:21 AM, Chad Woolley wrote: > 1. Are we doing it wrong? Does the RubyGems API provide a way to avoid > this manual parsing? > 2. Should there be a --[no-]platforms option to the 'list' command, > which would have made these updates to the parsing logic unnecessary? So, I

[Rubygems-developers] API access to versions in list command

2010-05-23 Thread Chad Woolley
This [1] manual Gem version parsing was just added to chef to handle the addition of platforms to the version string in 1.3.7. I had to update GemInstaller in a similar fashion [2]. Two questions: 1. Are we doing it wrong? Does the RubyGems API provide a way to avoid this manual parsing? 2. Shou