struct SemanticVersion
- SemanticVersion
- Struct
- Value
- Object
Overview
Conforms to Semantic Versioning 2.0.0
See https://semver.org/ for more information.
Included Modules
- Comparable(SemanticVersion)
Defined in:
ext/semantic_version.crConstructors
-
.parse(str : String) : self
The distributed version of SemanticVersion#parse is too strict with leading zeros, causing it to fail on versions like Docker's
17.06.00
.
Constructor Detail
def self.parse(str : String) : self
#
The distributed version of SemanticVersion#parse is too strict with leading zeros,
causing it to fail on versions like Docker's 17.06.00
.
This patch loosens that up so that versions with leading zeros are accepted.