aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Homebrew/test/test_versions.rb
AgeCommit message (Collapse)Author
2012-03-11Remove redundant versions and update version testsJack Nagel
Signed-off-by: Jack Nagel <jacknagel@gmail.com>
2012-03-10Support bottles for non-Lion OSX versions.Mike McQuaid
2012-01-14Fix libinet version detectionMax Howell
2011-09-21Correctly parse ImageMagick bottle versionJack Nagel
Commit 2695821e98 ("Only use the bottle if its version is up-to-date") essentially broke the ImageMagick bottle, because the version parsing logic returns "1" as the bottle version. Fixing this requires only a slight modification to the bottle URL regex; includes a test. Signed-off-by: Jack Nagel <jacknagel@gmail.com>
2011-06-21Fix brew bottle versioning.Mike McQuaid
2011-03-25Adding version detection to sf.net /download urlsAustin Ziegler
SourceForge links can end with /download which appears to be part of what is used to drive mirror selection. Modifying the version detection extension of pathname.rb to detect this case for both sourceforge.net and sf.net download selections. This is sufficient for version detection but may not be sufficient for other uses of /download links. I have not found any problems with links that use /download, though. Signed-off-by: Adam Vandenberg <flangy@gmail.com>
2010-08-27Fixed recognition of versions like 'foobar-4.50-beta' in Pathname#versionlukas
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-07-06Add debian style names to version checker.Adam Vandenberg
2010-07-06Update version testsAdam Vandenberg
2010-04-06Move version tests to separate file.Adam Vandenberg
2010-03-27fix github version parser with multidigit numberJoshua Peek
Signed-off-by: Adam Vandenberg <flangy@gmail.com>
2010-02-02Update test suite.Adam Vandenberg
* 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.