| Age | Commit message (Collapse) | Author | |
|---|---|---|---|
| 2014-10-06 | Compare patchlevels numerically rather than lexically | Jack Nagel | |
| Fixes #32960. | |||
| 2014-07-01 | Always use class.name to build inspect strings | Jack Nagel | |
| 2014-05-27 | Remove support for version "schemes", just pass version objects directly | Jack Nagel | |
| I'm not sure why I thought reinventing object instantiation was a good idea. | |||
| 2014-04-03 | Build the version scanner regexp once | Jack Nagel | |
| 2014-01-11 | Fix tokenizing openssl style versions | Jack Nagel | |
| Fixes #25736. | |||
| 2013-12-09 | Implement hash equality for Version | Jack Nagel | |
| 2013-11-14 | version: match Jenkins LTS releases. | Mike McQuaid | |
| 2013-10-25 | Disallow initializing Versions with non-strings | Jack Nagel | |
| Closes #23553. | |||
| 2013-08-03 | versions: remove perforce bottle detection. | Mike McQuaid | |
| 2013-07-24 | Adjust logic to properly sort erlang versions | Jack Nagel | |
| Fixes #21417. | |||
| 2013-06-28 | Detect versions in tag specs | Jack Nagel | |
| Closes #18300. Closes #20891. | |||
| 2013-06-28 | Simplify custom version scheme handling | Jack Nagel | |
| 2013-06-20 | perforce: add version detection regex. | Mike McQuaid | |
| 2013-06-14 | Remove Version#to_a alias | Jack Nagel | |
| Exposing this as "to_a" was a mistake, versions are not arrays and it causes incorrect behavior when splatted or using Kernel#Array(). Use the more correct name "tokens" instead. | |||
| 2013-06-11 | Fix version misdetection from fa582cb9ac65 | Jack Nagel | |
| 2013-06-05 | Define to_s for Version::Token | Jack Nagel | |
| 2013-06-05 | Improve tokenization of version strings | Jack Nagel | |
| Tokens like "b4", "beta1", "p195", &c. are now treated as atoms rather than being broken down even further. Additionally, we enable support for padding in the middle of versions strings, so we can successfully compare something like "2.1-p195" with "2.1.0-p194" by inferring that "2.1" is really "2.1.0". This fixes the comparison "9.9.3-P1" > "9.9.3" which previously has not been handled correctly. | |||
| 2013-06-03 | make erlang versions case-insensitive for bottles. | Mike McQuaid | |
| 2013-05-19 | Version: dup @version in #to_s | Jack Nagel | |
| 2013-05-06 | Avoid extra array allocations | Jack Nagel | |
| 2013-04-27 | Avoid capturing groups when unnused | Jack Nagel | |
| 2013-04-27 | Combine GitHub version regexes | Jack Nagel | |
| 2013-04-16 | VersionElement: attempt most likely match first | Jack Nagel | |
| 2013-04-16 | Only call Pathname#to_s once per Version object | Jack Nagel | |
| 2013-04-15 | Optimize Version#<=> | Jack Nagel | |
| 2013-02-07 | MacOSVersion -> MacOS::Version | Jack Nagel | |
| 2013-02-06 | Version: remove pointless private call | Jack Nagel | |
| 2013-02-06 | Version: kill silly class method | Jack Nagel | |
| Overriding <=> directly is much simpler. | |||
| 2013-01-30 | jpeg: support version format. | Mike McQuaid | |
| 2013-01-15 | version: mark some methods as protected | Jack Nagel | |
| 2013-01-07 | version: mark some implementation details as protected | Jack Nagel | |
| 2013-01-01 | Add Apache version style. | Cyril Scetbon | |
| Signed-off-by: Mike McQuaid <mike@mikemcquaid.com> | |||
| 2012-12-16 | Add another Erlang version format. | Mike McQuaid | |
| 2012-10-16 | Add Jenkins version matching (and test). | Mike McQuaid | |
| 2012-08-25 | erlang: fix version detection and bottles. | Mike McQuaid | |
| 2012-08-23 | Version: make MacOSVersion comparison more robust | Jack Nagel | |
| Signed-off-by: Jack Nagel <jacknagel@gmail.com> | |||
| 2012-08-18 | Version: build-in devel version comparisons | Jack Nagel | |
| The heuristic used by the default version comparison is simple. A version string is scanned for strings of digits, split into an array of these strings, and then an element-wise comparison is done. This fails when presented with something like Version.new("1.0.0beta7") <=> Version.new("1.0.0") because the first three digits match, and the fourth digit of the receiver (7) is greater than the assumed fourth digit of the parameter (0). Fix this by defining an element-wise comparator on a new VersionElement class. This allows us to correctly compare "alpha", "beta", and "rc" style version strings, and keeps the logic out of the main version comparison. Signed-off-by: Jack Nagel <jacknagel@gmail.com> | |||
| 2012-08-18 | Add custom comparator for MacOS.version | Jack Nagel | |
| This will allow us to do comparisons like if MacOS.version >= :lion and hopefully deprecate the MacOS.<name>? family of methods, which are counterinitutive. | |||
| 2012-08-18 | Add small DSL for defining comparators | Jack Nagel | |
| 2012-08-18 | Add support for custom version schemes | Jack Nagel | |
| A version scheme is a class that inherits from Version and reimplements Version#<=>. This will allow formulae to specify a custom comparison method that will be used instead of the default, for cases where the default is insufficient. | |||
| 2012-08-18 | Add Version#detected_from_url? | Jack Nagel | |
| 2012-08-18 | Move version detection to Version class | Jack Nagel | |
| Signed-off-by: Jack Nagel <jacknagel@gmail.com> | |||
| 2012-08-18 | Initial version comparison implementation | Jack Nagel | |
| Signed-off-by: Jack Nagel <jacknagel@gmail.com> | |||
| 2012-08-18 | Add Version class | Jack Nagel | |
