DruRly / gemrat

Save Time. Add the latest version of gems to your Gemfile from the command line.
http://bit.ly/18O9sNO
MIT License
170 stars 12 forks source link

Issues with gems ending in a number #16

Closed DruRly closed 11 years ago

DruRly commented 11 years ago

Gemrat is having an issue resolving the version of gems which end in a number. It seems like a parsing issue that involves appending the last character of the gem name to the version.

The sqlite3 case also has more interesting characteristics.

$ gemrat sqlite3
gem 'sqlite3', '31.3.78632863260' added to your Gemfile.
Bundling...

Actual version: gem "sqlite3", "~> 1.3.7"

$ gemrat s3
gem 's3', '30.3.12' added to your Gemfile.
Bundling...

Actual version: gem "s3", "~> 0.3.12"

DruRly commented 11 years ago

:+1: Much appreciated! Thanks. I'll manually test soon.

DruRly commented 11 years ago

Resolved by https://github.com/DruRly/gemrat/pull/17