struct SemanticVersion

Overview

Conforms to Semantic Versioning 2.0.0

See https://semver.org/ for more information.

Included Modules

Defined in:

ext/semantic_version.cr

Constructors

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.


[View source]