aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Homebrew/version.rb
AgeCommit message (Collapse)Author
2017-07-22version: improve devel spec version parsingJCount
term this 'devel spec version style'; also improve dash version style parsing
2017-06-30Merge pull request #2827 from JCount/version-improve-url-only-version-parsingJCount
version: improve url-only version parsing
2017-06-30version: improve parsing of url-only, non-filename versionsJCount
add support for styles prefixed with a r,v,V and an optional _ , and styles with four groups of digits, seperated by periods; combinations of the two are also supported
2017-06-27Add PreToken compositeEd Flanagan ed@flanagan.xyz
2017-05-29Fixup all RuboCop warnings.Mike McQuaid
2017-05-08Remove `to_s` from some `Pathname`s.Markus Reiter
2017-05-01move before GitHub tarballsReto Kromer
2017-04-23remove inner groupReto Kromer
2017-04-23remove inner uncaptured groupReto Kromer
2017-04-18move before lame-398-1Reto Kromer
2017-04-14add date-based versioningReto Kromer
2017-03-14secure urls + remove -k from in-doc curl commandViktor Szakats
2017-02-12rubocop: trailing comma in multiline method callsAlyssa Ross
Discussed in https://github.com/Homebrew/brew/pull/1987/files#r100693581. This was originally ommitted because it wasn't compatible with Ruby 1.8. (See https://github.com/Homebrew/legacy-homebrew/pull/48144#r49928971).
2016-11-10Version: add #to_fMisty De Meo
This is used by things which used to compare against raw strings, for example Xcode.uncached_version
2016-11-10Version: allow coercing non-versions in comparisonsMisty De Meo
These are needed due to the raw string and fixnum comparisons which exist for legacy reasons, for instance compiler version and build comparisons.
2016-11-10Version: allow comparing against nilMisty De Meo
2016-11-10Version.parse: return Version::NULL for unparseable stringsMisty De Meo
2016-11-10Add Version::NULL singletonMisty De Meo
2016-09-24version: don't let a/b imply alpha/beta.Mike McQuaid
This is assumption is broken for at least OpenSSL which makes it a bad general rule. As discussed in #1102.
2016-09-24Merge pull request #1113 from reitermarkus/rubocop-guardclauseMarkus Reiter
RuboCop: Fix Style/GuardClause.
2016-09-24Fix Style/GuardClause.Markus Reiter
2016-09-24Merge pull request #1102 from zmwangx/alpha-rc-detectionZhiming Wang
version: improve alpha and rc detection (elasticsearch)
2016-09-23Style/Alias: Prefer `alias`.Markus Reiter
2016-09-23Fix Style/RegexpLiteral.Markus Reiter
2016-09-23Fix RuboCop CaseEquality.Markus Reiter
2016-09-23version: improve alpha and rc detectionZhiming Wang
2016-09-17rubocop --auto-correct all remaining files.Mike McQuaid
But remove some manual `.freeze`s on constants that shouldn't be constants.
2016-08-18version: fix parsing of URLs ending with versionilovezfs
https://github.com/lihaoyi/Ammonite/releases/download/0.7.4/0.7.4 was parsing as "0.7" not "0.7.4" since ".4" was being treated as a legitimate file extension. At minimum, let's insist that a valid file extension include at least one letter to avoid lopping off part of the correct version string.
2016-07-16version: introduce HeadVersionVlad Shablinsky
2016-07-13various: proper escape dot in regexXu Cheng
2016-05-03brew pull: cross-platform bottle verification, concise output (#132)Andrew Janke
Do the bottle check using any platform's bottle, so `brew pull` works on bottled formulae which don't include a bottle for the current system. Make output more concise and informative * Remove expected download error messages when waiting for Bintray publishing * Replace patch download progress bars with patch file name * Silence git output about switching to and from bottle-pulling branch * Include formula name and patch type in some progress messages
2016-02-19version: correctly parse codeload URLsAlex Dunn
Needed for Homebrew/homebrew#49346. Closes Homebrew/homebrew#49354. Signed-off-by: Alex Dunn <dunn.alex@gmail.com>
2016-02-17version: fix GitHub releases URLs parsingBaptiste Fontaine
The current code doesn't work with releases that have more than one digit in the third group, i.e.: .../releases/download/1.2.3/... works .../releases/download/1.2.34/... doesn't work Closes Homebrew/homebrew#49255. Signed-off-by: Baptiste Fontaine <batifon@yahoo.fr>
2016-01-02Improve dash separated version detection.Xiyue Deng
* Also with test case. Closes Homebrew/homebrew#47584. Signed-off-by: Baptiste Fontaine <batifon@yahoo.fr>
2015-12-26Fix version parsing on URLs with no extensionsStefano Pigozzi
2015-10-04version: parse opam archivesBaptiste Fontaine
Closes Homebrew/homebrew#44544. Signed-off-by: Baptiste Fontaine <batifon@yahoo.fr>
2015-08-06more core file style updated by rubocopXu Cheng
2015-08-03Core files style updates.BrewTestBot
Closes Homebrew/homebrew#42354. Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
2015-03-27Make Version#<=> allocation-freeJack Nagel
2015-03-17Return early for the == case in Version#<=>Jack Nagel
2015-03-17Add protected reader for version valueJack Nagel
2015-03-17Fix NullToken equalityJack Nagel
2015-03-17Remove explicit type checkJack Nagel
2015-03-14Remove unnecessary default argumentJack Nagel
This method is always called with two arguments.
2015-01-30Fix more version misdetections for URLs with archsBaptiste Fontaine
Closes Homebrew/homebrew#36368. Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
2015-01-28Fix version misdetections for URLs with OS/archsBaptiste Fontaine
Closes Homebrew/homebrew#36308. Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
2015-01-07Eliminate boolean argument to Version.newJack Nagel
2015-01-07Let Version.parse instantiate subclassesJack Nagel
2015-01-04Use more https in urls and updated some lost linksViktor Szakats
Closes Homebrew/homebrew#35531. Signed-off-by: Jack Nagel <jacknagel@gmail.com>
2014-10-06Compare patchlevels numerically rather than lexicallyJack Nagel
Fixes Homebrew/homebrew#32960.