found drama

get oblique

Daily Archives: May 17, 2011

a better version comparator

by Rob Friesel

Back in February, I wrote a little Ruby script to deal with sorting version numbers as they’re dumped out of the git tag command. The problem (in a nutshell) is that “1.0.2” < “1.0.10” — except that git returns these as strings which sort alphabetically. Hence the original Ruby script. Now: if you’re behaving yourself, and following […]