6 Commits

Author SHA1 Message Date
lukas
bd6fb10361 Fixed recognition of versions like 'foobar-4.50-beta' in Pathname#version
Sphinx currently has a download name 'http://sphinxsearch.com/downloads/sphinx-1.10-beta.tar.gz', which homebrew currently can't correctly identify - with a small change to the regex for 'foobar-4.5.0-beta1' (make that trailing number optional) - it works like a charm.

Signed-off-by: David Höppner <0xffea@gmail.com>
2010-08-27 17:53:06 +02:00
Adam Vandenberg
375f8094d3 Add debian style names to version checker. 2010-07-06 13:17:50 -07:00
Adam Vandenberg
4ae8029557 Update version tests 2010-07-06 13:17:43 -07:00
Adam Vandenberg
4c2a8a7f1c Move version tests to separate file. 2010-04-06 08:27:11 -07:00
Joshua Peek
04855ddd48 fix github version parser with multidigit number
Signed-off-by: Adam Vandenberg <flangy@gmail.com>
2010-03-27 14:01:19 -07:00
Adam Vandenberg
a309403d8a Update test suite.
* Break single test case class into several test cases.
* Fix broken arch test.
* Make update tests optional (seem to only work for mxcl).
* Add more tests.
* Move fixtures to separate folder.
2010-02-02 09:08:10 -08:00