diff --git a/.jazzy.yml b/.jazzy.yml index 2e8b75b..3d67b97 100644 --- a/.jazzy.yml +++ b/.jazzy.yml @@ -15,4 +15,3 @@ xcodebuild_arguments: - SwiftVersionCompare.xcodeproj - -scheme - SwiftVersionCompare-Package - diff --git a/Sources/SwiftVersionCompare/SemanticVersionComparable/SemanticVersionComparable+Comparable.swift b/Sources/SwiftVersionCompare/SemanticVersionComparable/SemanticVersionComparable+Comparable.swift index 7e76e8a..c42f5f7 100644 --- a/Sources/SwiftVersionCompare/SemanticVersionComparable/SemanticVersionComparable+Comparable.swift +++ b/Sources/SwiftVersionCompare/SemanticVersionComparable/SemanticVersionComparable+Comparable.swift @@ -6,6 +6,9 @@ // public extension SemanticVersionComparable { + /// Compare versions using the `SemVer` ranking system. + /// + /// - Note: Build-meta-data have no influence on a version's rank. static func < (lhs: Self, rhs: Self) -> Bool { // if versions are identical on major, minor and patch level, compare them lexicographiocally guard lhs.hasEqualVersionCore(as: rhs) else { @@ -61,12 +64,4 @@ public extension SemanticVersionComparable { // lastly, if number of identifiers of lhs version is lower than rhs version, it ranks lower return lhspr.count < rhspr.count } - - static func <= (lhs: Self, rhs: Self) -> Bool { - lhs == rhs || lhs < rhs - } - - static func >= (lhs: Self, rhs: Self) -> Bool { - lhs == rhs || lhs > rhs - } } diff --git a/Sources/SwiftVersionCompare/SemanticVersionComparable/SemanticVersionComparable+Hashable.swift b/Sources/SwiftVersionCompare/SemanticVersionComparable/SemanticVersionComparable+Hashable.swift index 4f940de..d4c1280 100644 --- a/Sources/SwiftVersionCompare/SemanticVersionComparable/SemanticVersionComparable+Hashable.swift +++ b/Sources/SwiftVersionCompare/SemanticVersionComparable/SemanticVersionComparable+Hashable.swift @@ -6,6 +6,10 @@ // extension SemanticVersionComparable { + /// Conformance to `Hashable` protocol. + /// + /// - Note: Since build-meta-data are not considered in ranking semantic version, it won't be considered + /// here either. public func hash(into hasher: inout Hasher) { hasher.combine(major) hasher.combine(minor) diff --git a/docs/Enums.html b/docs/Enums.html index 40a0f9e..414dd30 100644 --- a/docs/Enums.html +++ b/docs/Enums.html @@ -207,7 +207,7 @@
Pre-release identifier of a version.
-Build-meta-data of a version.
-
-
+
- <(_:_:)
+ <(_:_:)
Extension method
@@ -282,71 +268,19 @@ Swift
-static func < (lhs: Self, rhs: Self) -> Bool
+ Compare versions using the SemVer
ranking system.
Note
+ Build-meta-data have no influence on a version’s rank. -
-
-
- <=(_:_:)
-
-
- Extension method
-
- Swift
-static func <= (lhs: Self, rhs: Self) -> Bool
+
-
-
- >=(_:_:)
-
-
- Extension method
-
- Swift
-static func >= (lhs: Self, rhs: Self) -> Bool
+ static func < (lhs: Self, rhs: Self) -> Bool
-
+
- hash(into:)
+ hash(into:)
Extension method
@@ -437,7 +371,14 @@ Conformance to Hashable
protocol.
Note
+ Since build-meta-data are not considered in ranking semantic version, it won’t be considered + here either. + +Pre-release identifier of a version.
-Build-meta-data of a version.
-
-
+
- <(_:_:)
+ <(_:_:)
Extension method
@@ -282,71 +268,19 @@ Swift
-static func < (lhs: Self, rhs: Self) -> Bool
+ Compare versions using the SemVer
ranking system.
Note
+ Build-meta-data have no influence on a version’s rank. -
-
-
- <=(_:_:)
-
-
- Extension method
-
- Swift
-static func <= (lhs: Self, rhs: Self) -> Bool
+
-
-
- >=(_:_:)
-
-
- Extension method
-
- Swift
-static func >= (lhs: Self, rhs: Self) -> Bool
+ static func < (lhs: Self, rhs: Self) -> Bool
-
+
- hash(into:)
+ hash(into:)
Extension method
@@ -437,7 +371,14 @@ Conformance to Hashable
protocol.
Note
+ Since build-meta-data are not considered in ranking semantic version, it won’t be considered + here either. + +Swift Package Manager:
-package(url: https://github.com/nihilias/SwiftVersionCompare.git", from: "1.0.0"))
+package(url: https://github.com/mflknr/SwiftVersionCompare.git", from: "1.0.0"))
Usage
-For detailed implenentation information see documentation.
+For detailed implenentation information see documentation.
// use the version core identifier for initialization
let versionOne = Version(1, 0, 0)
let versionTwo = Version(
@@ -129,7 +129,7 @@ Usage
diff --git a/docs/docsets/.docset/Contents/Resources/Documents/search.json b/docs/docsets/.docset/Contents/Resources/Documents/search.json
index fdbfb8f..1c6c4b0 100644
--- a/docs/docsets/.docset/Contents/Resources/Documents/search.json
+++ b/docs/docsets/.docset/Contents/Resources/Documents/search.json
@@ -1 +1 @@
-{"Structs/Version.html#/s:19SwiftVersionCompare08SemanticB10ComparableP5majorSuvp":{"name":"major","parent_name":"Version"},"Structs/Version.html#/s:19SwiftVersionCompare08SemanticB10ComparableP5minorSuSgvp":{"name":"minor","parent_name":"Version"},"Structs/Version.html#/s:19SwiftVersionCompare08SemanticB10ComparableP5patchSuSgvp":{"name":"patch","parent_name":"Version"},"Structs/Version.html#/s:19SwiftVersionCompare08SemanticB10ComparableP10prereleaseSayAA20PrereleaseIdentifierOGSgvp":{"name":"prerelease","parent_name":"Version"},"Structs/Version.html#/s:19SwiftVersionCompare08SemanticB10ComparableP5buildSayAA13BuildMetaDataOGSgvp":{"name":"build","parent_name":"Version"},"Structs/Version.html#/s:19SwiftVersionCompare0B0VyACSu_SuSgADSayAA20PrereleaseIdentifierOGSgSayAA13BuildMetaDataOGSgtcfc":{"name":"init(_:_:_:_:_:)","abstract":"Creates a new version.
","parent_name":"Version"},"Structs/Version.html#/s:19SwiftVersionCompare0B0V5major5minor5patch10prerelease5buildACSu_SuSgAISayAA20PrereleaseIdentifierOGSgSayAA13BuildMetaDataOGSgtcfc":{"name":"init(major:minor:patch:prerelease:build:)","abstract":"Creates a new version.
","parent_name":"Version"},"Structs/Version.html#/s:19SwiftVersionCompare0B0V7privateACSgSS_tcfc":{"name":"init(private:)","abstract":"Creates a new version using a string.
","parent_name":"Version"},"Structs/Version.html#/s:19SwiftVersionCompare0B0VyACSgSScfc":{"name":"init(_:)","abstract":"Creates a new version from a string.
","parent_name":"Version"},"Structs/Version.html#/s:s23CustomStringConvertibleP11descriptionSSvp":{"name":"description","parent_name":"Version"},"Structs/Version.html#/s:19SwiftVersionCompare0B0V13stringLiteralACSS_tcfc":{"name":"init(stringLiteral:)","abstract":"Creates a new version from a string literal.
","parent_name":"Version"},"Structs/Version.html#/s:19SwiftVersionCompare0B0V19stringInterpolationACs013DefaultStringE0V_tcfc":{"name":"init(stringInterpolation:)","abstract":"Creates a new version from a string interpolation.
","parent_name":"Version"},"Structs/Version.html#/s:19SwiftVersionCompare0B0V7initialACvpZ":{"name":"initial","abstract":"An initial version representing the string 0.0.0
.
","parent_name":"Version"},"Structs/Version.html#/s:s28CustomDebugStringConvertibleP16debugDescriptionSSvp":{"name":"debugDescription","parent_name":"Version"},"Structs/Version.html":{"name":"Version","abstract":"A version type conforming to SemVer
.
"},"Protocols/SemanticVersionComparable.html#/s:19SwiftVersionCompare08SemanticB10ComparableP5majorSuvp":{"name":"major","abstract":"The MAJOR
identifier of a version.
","parent_name":"SemanticVersionComparable"},"Protocols/SemanticVersionComparable.html#/s:19SwiftVersionCompare08SemanticB10ComparableP5minorSuSgvp":{"name":"minor","abstract":"The MINOR
identifier of a version
","parent_name":"SemanticVersionComparable"},"Protocols/SemanticVersionComparable.html#/s:19SwiftVersionCompare08SemanticB10ComparableP5patchSuSgvp":{"name":"patch","abstract":"The PATCH
identifer of a verion.
","parent_name":"SemanticVersionComparable"},"Protocols/SemanticVersionComparable.html#/s:19SwiftVersionCompare08SemanticB10ComparableP10prereleaseSayAA20PrereleaseIdentifierOGSgvp":{"name":"prerelease","abstract":"Pre-release identifier of a version.
","parent_name":"SemanticVersionComparable"},"Protocols/SemanticVersionComparable.html#/s:19SwiftVersionCompare08SemanticB10ComparableP5buildSayAA13BuildMetaDataOGSgvp":{"name":"build","abstract":"Build-meta-data of a version.
","parent_name":"SemanticVersionComparable"},"Protocols/SemanticVersionComparable.html#/s:SL1loiySbx_xtFZ":{"name":"<(_:_:)","parent_name":"SemanticVersionComparable"},"Protocols/SemanticVersionComparable.html#/s:SL2leoiySbx_xtFZ":{"name":"<=(_:_:)","parent_name":"SemanticVersionComparable"},"Protocols/SemanticVersionComparable.html#/s:SL2geoiySbx_xtFZ":{"name":">=(_:_:)","parent_name":"SemanticVersionComparable"},"Protocols/SemanticVersionComparable.html#/s:19SwiftVersionCompare08SemanticB10ComparablePAAE2eeoiySbx_xtFZ":{"name":"==(_:_:)","abstract":"Compares version objects for equality.
","parent_name":"SemanticVersionComparable"},"Protocols/SemanticVersionComparable.html#/s:19SwiftVersionCompare08SemanticB10ComparablePAAE3eeeoiySbx_xtFZ":{"name":"===(_:_:)","abstract":"Strictly compares version objects for equality.
","parent_name":"SemanticVersionComparable"},"Protocols/SemanticVersionComparable.html#/s:SH4hash4intoys6HasherVz_tF":{"name":"hash(into:)","parent_name":"SemanticVersionComparable"},"Protocols/SemanticVersionComparable.html#/s:19SwiftVersionCompare08SemanticB10ComparablePAAE12isCompatible4withSbx_tF":{"name":"isCompatible(with:)","abstract":"A Boolean value indicating the compatibility of two versions.
","parent_name":"SemanticVersionComparable"},"Protocols/SemanticVersionComparable.html#/s:19SwiftVersionCompare08SemanticB10ComparablePAAE7compare4withAA0bC6ResultOx_tF":{"name":"compare(with:)","abstract":"Compare versions for their update severity.
","parent_name":"SemanticVersionComparable"},"Protocols/SemanticVersionComparable.html#/s:19SwiftVersionCompare08SemanticB10ComparablePAAE08hasEqualB4Core2asSbx_tF":{"name":"hasEqualVersionCore(as:)","abstract":"Check if a version has an equal version core as another version.
","parent_name":"SemanticVersionComparable"},"Protocols/SemanticVersionComparable.html#/s:19SwiftVersionCompare08SemanticB10ComparablePAAE14absoluteStringSSvp":{"name":"absoluteString","abstract":"The absolute string of the version.
","parent_name":"SemanticVersionComparable"},"Protocols/SemanticVersionComparable.html#/s:19SwiftVersionCompare08SemanticB10ComparablePAAE10coreStringSSvp":{"name":"coreString","abstract":"The string of the version representing MAJOR.MINOR.PATCH
.
","parent_name":"SemanticVersionComparable"},"Protocols/SemanticVersionComparable.html#/s:19SwiftVersionCompare08SemanticB10ComparablePAAE15extensionStringSSSgvp":{"name":"extensionString","abstract":"The string of the version representing the pre-release identifier and build-meta-data.
","parent_name":"SemanticVersionComparable"},"Protocols/SemanticVersionComparable.html#/s:19SwiftVersionCompare08SemanticB10ComparablePAAE26prereleaseIdentifierStringSSSgvp":{"name":"prereleaseIdentifierString","abstract":"The pre-release identifier as a string if available.
","parent_name":"SemanticVersionComparable"},"Protocols/SemanticVersionComparable.html#/s:19SwiftVersionCompare08SemanticB10ComparablePAAE19buildMetaDataStringSSSgvp":{"name":"buildMetaDataString","abstract":"The build meta data as a string if available.
","parent_name":"SemanticVersionComparable"},"Protocols/SemanticVersionComparable.html":{"name":"SemanticVersionComparable","abstract":"A type that can be expressed as a semantic version conforming to SemVer
.
"},"Extensions/ProcessInfo.html#/s:So13NSProcessInfoC19SwiftVersionCompareE025comparableOperatingSystemD0AC0D0Vvp":{"name":"comparableOperatingSystemVersion","abstract":"The version of the operating system on which the current process is executing.
","parent_name":"ProcessInfo"},"Extensions/Bundle.html#/s:So8NSBundleC19SwiftVersionCompareE05shortC0AC0C0VSgvp":{"name":"shortVersion","abstract":"The version of the current bundle.
","parent_name":"Bundle"},"Extensions/Bundle.html#/s:So8NSBundleC19SwiftVersionCompareE7versionAC0C0VSgvp":{"name":"version","abstract":"The full version of the current bundle.
","parent_name":"Bundle"},"Extensions/Bundle.html":{"name":"Bundle"},"Extensions/ProcessInfo.html":{"name":"ProcessInfo"},"Enums/PrereleaseIdentifier.html#/s:19SwiftVersionCompare20PrereleaseIdentifierO5alphayA2CmF":{"name":"alpha","abstract":"Identifier displaying alpha
.
","parent_name":"PrereleaseIdentifier"},"Enums/PrereleaseIdentifier.html#/s:19SwiftVersionCompare20PrereleaseIdentifierO4betayA2CmF":{"name":"beta","abstract":"Identifier displaying beta
.
","parent_name":"PrereleaseIdentifier"},"Enums/PrereleaseIdentifier.html#/s:19SwiftVersionCompare20PrereleaseIdentifierO10prereleaseyA2CmF":{"name":"prerelease","abstract":"Identifier displaying prerelease
.
","parent_name":"PrereleaseIdentifier"},"Enums/PrereleaseIdentifier.html#/s:19SwiftVersionCompare20PrereleaseIdentifierO16releaseCandidateyA2CmF":{"name":"releaseCandidate","abstract":"Identifier displaying rc
.
","parent_name":"PrereleaseIdentifier"},"Enums/PrereleaseIdentifier.html#/s:19SwiftVersionCompare20PrereleaseIdentifierO12alphaNumericyACSScACmF":{"name":"alphaNumeric(_:)","abstract":"Alphanumeric identifier are lower- and uppercased letters and numbers from 0-9.
","parent_name":"PrereleaseIdentifier"},"Enums/PrereleaseIdentifier.html#/s:19SwiftVersionCompare20PrereleaseIdentifierO7numericyACSucACmF":{"name":"numeric(_:)","abstract":"Numeric identifier are positive numbers and zeros, yet they do not allow for leading zeros.
","parent_name":"PrereleaseIdentifier"},"Enums/PrereleaseIdentifier.html#/s:19SwiftVersionCompare20PrereleaseIdentifierO7unknownyA2CmF":{"name":"unknown","abstract":"Unknown identifier are used when string literals do not conform to SemVer
and are removed.
","parent_name":"PrereleaseIdentifier"},"Enums/PrereleaseIdentifier.html#/s:19SwiftVersionCompare20PrereleaseIdentifierO2eeoiySbAC_ACtFZ":{"name":"==(_:_:)","abstract":"Compares pre-release identifiers for equality.
","parent_name":"PrereleaseIdentifier"},"Enums/PrereleaseIdentifier.html#/s:s25LosslessStringConvertiblePyxSgSScfc":{"name":"init(_:)","parent_name":"PrereleaseIdentifier"},"Enums/PrereleaseIdentifier.html#/s:s23CustomStringConvertibleP11descriptionSSvp":{"name":"description","parent_name":"PrereleaseIdentifier"},"Enums/PrereleaseIdentifier.html#/s:s26ExpressibleByStringLiteralP06stringD0x0cD4TypeQz_tcfc":{"name":"init(stringLiteral:)","parent_name":"PrereleaseIdentifier"},"Enums/PrereleaseIdentifier.html#/s:s27ExpressibleByIntegerLiteralP07integerD0x0cD4TypeQz_tcfc":{"name":"init(integerLiteral:)","parent_name":"PrereleaseIdentifier"},"Enums/PrereleaseIdentifier.html#/s:19SwiftVersionCompare20PrereleaseIdentifierO5valueSSvp":{"name":"value","abstract":"Undocumented
","parent_name":"PrereleaseIdentifier"},"Enums/BuildMetaData.html#/s:19SwiftVersionCompare13BuildMetaDataO12alphaNumericyACSScACmF":{"name":"alphaNumeric(_:)","abstract":"Alphanumeric identifier are lower- and uppercased letters and numbers from 0-9.
","parent_name":"BuildMetaData"},"Enums/BuildMetaData.html#/s:19SwiftVersionCompare13BuildMetaDataO6digitsyACSScACmF":{"name":"digits(_:)","abstract":"Digit identifier are positive numbers and zeros, thus allowing leading zeros.
","parent_name":"BuildMetaData"},"Enums/BuildMetaData.html#/s:19SwiftVersionCompare13BuildMetaDataO7unknownyA2CmF":{"name":"unknown","abstract":"Unknown identifier are used when string literals do not conform to SemVer
and are removed.
","parent_name":"BuildMetaData"},"Enums/BuildMetaData.html#/s:s25LosslessStringConvertiblePyxSgSScfc":{"name":"init(_:)","parent_name":"BuildMetaData"},"Enums/BuildMetaData.html#/s:s23CustomStringConvertibleP11descriptionSSvp":{"name":"description","parent_name":"BuildMetaData"},"Enums/BuildMetaData.html#/s:s26ExpressibleByStringLiteralP06stringD0x0cD4TypeQz_tcfc":{"name":"init(stringLiteral:)","parent_name":"BuildMetaData"},"Enums/BuildMetaData.html#/s:19SwiftVersionCompare13BuildMetaDataO5valueSSvp":{"name":"value","abstract":"Undocumented
","parent_name":"BuildMetaData"},"Enums/VersionCompareResult.html#/s:19SwiftVersionCompare0bC6ResultO5majoryA2CmF":{"name":"major","abstract":"A MAJOR
update
","parent_name":"VersionCompareResult"},"Enums/VersionCompareResult.html#/s:19SwiftVersionCompare0bC6ResultO5minoryA2CmF":{"name":"minor","abstract":"A MINOR
update
","parent_name":"VersionCompareResult"},"Enums/VersionCompareResult.html#/s:19SwiftVersionCompare0bC6ResultO5patchyA2CmF":{"name":"patch","abstract":"A PATCH
update
","parent_name":"VersionCompareResult"},"Enums/VersionCompareResult.html#/s:19SwiftVersionCompare0bC6ResultO10prereleaseyA2CmF":{"name":"prerelease","abstract":"A pre-release update
","parent_name":"VersionCompareResult"},"Enums/VersionCompareResult.html#/s:19SwiftVersionCompare0bC6ResultO5buildyA2CmF":{"name":"build","abstract":"A build update
","parent_name":"VersionCompareResult"},"Enums/VersionCompareResult.html#/s:19SwiftVersionCompare0bC6ResultO8noUpdateyA2CmF":{"name":"noUpdate","abstract":"The version is not an update (less or equal)
","parent_name":"VersionCompareResult"},"Enums/VersionCompareResult.html":{"name":"VersionCompareResult","abstract":"The severity of an update between versions.
"},"Enums/BuildMetaData.html":{"name":"BuildMetaData","abstract":"Typed build-meta-data identifier.
"},"Enums/PrereleaseIdentifier.html":{"name":"PrereleaseIdentifier","abstract":"Typed pre-release identifier.
"},"Enums.html":{"name":"Enumerations","abstract":"The following enumerations are available globally.
"},"Extensions.html":{"name":"Extensions","abstract":"The following extensions are available globally.
"},"Protocols.html":{"name":"Protocols","abstract":"The following protocols are available globally.
"},"Structs.html":{"name":"Structures","abstract":"The following structures are available globally.
"}}
\ No newline at end of file
+{"Structs/Version.html#/s:19SwiftVersionCompare08SemanticB10ComparableP5majorSuvp":{"name":"major","parent_name":"Version"},"Structs/Version.html#/s:19SwiftVersionCompare08SemanticB10ComparableP5minorSuSgvp":{"name":"minor","parent_name":"Version"},"Structs/Version.html#/s:19SwiftVersionCompare08SemanticB10ComparableP5patchSuSgvp":{"name":"patch","parent_name":"Version"},"Structs/Version.html#/s:19SwiftVersionCompare08SemanticB10ComparableP10prereleaseSayAA20PrereleaseIdentifierOGSgvp":{"name":"prerelease","parent_name":"Version"},"Structs/Version.html#/s:19SwiftVersionCompare08SemanticB10ComparableP5buildSayAA13BuildMetaDataOGSgvp":{"name":"build","parent_name":"Version"},"Structs/Version.html#/s:19SwiftVersionCompare0B0VyACSu_SuSgADSayAA20PrereleaseIdentifierOGSgSayAA13BuildMetaDataOGSgtcfc":{"name":"init(_:_:_:_:_:)","abstract":"Creates a new version.
","parent_name":"Version"},"Structs/Version.html#/s:19SwiftVersionCompare0B0V5major5minor5patch10prerelease5buildACSu_SuSgAISayAA20PrereleaseIdentifierOGSgSayAA13BuildMetaDataOGSgtcfc":{"name":"init(major:minor:patch:prerelease:build:)","abstract":"Creates a new version.
","parent_name":"Version"},"Structs/Version.html#/s:19SwiftVersionCompare0B0V7privateACSgSS_tcfc":{"name":"init(private:)","abstract":"Creates a new version using a string.
","parent_name":"Version"},"Structs/Version.html#/s:19SwiftVersionCompare0B0VyACSgSScfc":{"name":"init(_:)","abstract":"Creates a new version from a string.
","parent_name":"Version"},"Structs/Version.html#/s:s23CustomStringConvertibleP11descriptionSSvp":{"name":"description","parent_name":"Version"},"Structs/Version.html#/s:19SwiftVersionCompare0B0V13stringLiteralACSS_tcfc":{"name":"init(stringLiteral:)","abstract":"Creates a new version from a string literal.
","parent_name":"Version"},"Structs/Version.html#/s:19SwiftVersionCompare0B0V19stringInterpolationACs013DefaultStringE0V_tcfc":{"name":"init(stringInterpolation:)","abstract":"Creates a new version from a string interpolation.
","parent_name":"Version"},"Structs/Version.html#/s:19SwiftVersionCompare0B0V7initialACvpZ":{"name":"initial","abstract":"An initial version representing the string 0.0.0
.
","parent_name":"Version"},"Structs/Version.html#/s:s28CustomDebugStringConvertibleP16debugDescriptionSSvp":{"name":"debugDescription","parent_name":"Version"},"Structs/Version.html":{"name":"Version","abstract":"A version type conforming to SemVer
.
"},"Protocols/SemanticVersionComparable.html#/s:19SwiftVersionCompare08SemanticB10ComparableP5majorSuvp":{"name":"major","abstract":"The MAJOR
identifier of a version.
","parent_name":"SemanticVersionComparable"},"Protocols/SemanticVersionComparable.html#/s:19SwiftVersionCompare08SemanticB10ComparableP5minorSuSgvp":{"name":"minor","abstract":"The MINOR
identifier of a version
","parent_name":"SemanticVersionComparable"},"Protocols/SemanticVersionComparable.html#/s:19SwiftVersionCompare08SemanticB10ComparableP5patchSuSgvp":{"name":"patch","abstract":"The PATCH
identifer of a verion.
","parent_name":"SemanticVersionComparable"},"Protocols/SemanticVersionComparable.html#/s:19SwiftVersionCompare08SemanticB10ComparableP10prereleaseSayAA20PrereleaseIdentifierOGSgvp":{"name":"prerelease","abstract":"Pre-release identifier of a version.
","parent_name":"SemanticVersionComparable"},"Protocols/SemanticVersionComparable.html#/s:19SwiftVersionCompare08SemanticB10ComparableP5buildSayAA13BuildMetaDataOGSgvp":{"name":"build","abstract":"Build-meta-data of a version.
","parent_name":"SemanticVersionComparable"},"Protocols/SemanticVersionComparable.html#/s:19SwiftVersionCompare08SemanticB10ComparablePAAE1loiySbx_xtFZ":{"name":"<(_:_:)","abstract":"Compare versions using the SemVer
ranking system.
","parent_name":"SemanticVersionComparable"},"Protocols/SemanticVersionComparable.html#/s:19SwiftVersionCompare08SemanticB10ComparablePAAE2eeoiySbx_xtFZ":{"name":"==(_:_:)","abstract":"Compares version objects for equality.
","parent_name":"SemanticVersionComparable"},"Protocols/SemanticVersionComparable.html#/s:19SwiftVersionCompare08SemanticB10ComparablePAAE3eeeoiySbx_xtFZ":{"name":"===(_:_:)","abstract":"Strictly compares version objects for equality.
","parent_name":"SemanticVersionComparable"},"Protocols/SemanticVersionComparable.html#/s:19SwiftVersionCompare08SemanticB10ComparablePAAE4hash4intoys6HasherVz_tF":{"name":"hash(into:)","abstract":"Conformance to Hashable
protocol.
","parent_name":"SemanticVersionComparable"},"Protocols/SemanticVersionComparable.html#/s:19SwiftVersionCompare08SemanticB10ComparablePAAE12isCompatible4withSbx_tF":{"name":"isCompatible(with:)","abstract":"A Boolean value indicating the compatibility of two versions.
","parent_name":"SemanticVersionComparable"},"Protocols/SemanticVersionComparable.html#/s:19SwiftVersionCompare08SemanticB10ComparablePAAE7compare4withAA0bC6ResultOx_tF":{"name":"compare(with:)","abstract":"Compare versions for their update severity.
","parent_name":"SemanticVersionComparable"},"Protocols/SemanticVersionComparable.html#/s:19SwiftVersionCompare08SemanticB10ComparablePAAE08hasEqualB4Core2asSbx_tF":{"name":"hasEqualVersionCore(as:)","abstract":"Check if a version has an equal version core as another version.
","parent_name":"SemanticVersionComparable"},"Protocols/SemanticVersionComparable.html#/s:19SwiftVersionCompare08SemanticB10ComparablePAAE14absoluteStringSSvp":{"name":"absoluteString","abstract":"The absolute string of the version.
","parent_name":"SemanticVersionComparable"},"Protocols/SemanticVersionComparable.html#/s:19SwiftVersionCompare08SemanticB10ComparablePAAE10coreStringSSvp":{"name":"coreString","abstract":"The string of the version representing MAJOR.MINOR.PATCH
.
","parent_name":"SemanticVersionComparable"},"Protocols/SemanticVersionComparable.html#/s:19SwiftVersionCompare08SemanticB10ComparablePAAE15extensionStringSSSgvp":{"name":"extensionString","abstract":"The string of the version representing the pre-release identifier and build-meta-data.
","parent_name":"SemanticVersionComparable"},"Protocols/SemanticVersionComparable.html#/s:19SwiftVersionCompare08SemanticB10ComparablePAAE26prereleaseIdentifierStringSSSgvp":{"name":"prereleaseIdentifierString","abstract":"The pre-release identifier as a string if available.
","parent_name":"SemanticVersionComparable"},"Protocols/SemanticVersionComparable.html#/s:19SwiftVersionCompare08SemanticB10ComparablePAAE19buildMetaDataStringSSSgvp":{"name":"buildMetaDataString","abstract":"The build meta data as a string if available.
","parent_name":"SemanticVersionComparable"},"Protocols/SemanticVersionComparable.html":{"name":"SemanticVersionComparable","abstract":"A type that can be expressed as a semantic version conforming to SemVer
.
"},"Extensions/ProcessInfo.html#/s:So13NSProcessInfoC19SwiftVersionCompareE025comparableOperatingSystemD0AC0D0Vvp":{"name":"comparableOperatingSystemVersion","abstract":"The version of the operating system on which the current process is executing.
","parent_name":"ProcessInfo"},"Extensions/Bundle.html#/s:So8NSBundleC19SwiftVersionCompareE05shortC0AC0C0VSgvp":{"name":"shortVersion","abstract":"The version of the current bundle.
","parent_name":"Bundle"},"Extensions/Bundle.html#/s:So8NSBundleC19SwiftVersionCompareE7versionAC0C0VSgvp":{"name":"version","abstract":"The full version of the current bundle.
","parent_name":"Bundle"},"Extensions/Bundle.html":{"name":"Bundle"},"Extensions/ProcessInfo.html":{"name":"ProcessInfo"},"Enums/PrereleaseIdentifier.html#/s:19SwiftVersionCompare20PrereleaseIdentifierO5alphayA2CmF":{"name":"alpha","abstract":"Identifier displaying alpha
.
","parent_name":"PrereleaseIdentifier"},"Enums/PrereleaseIdentifier.html#/s:19SwiftVersionCompare20PrereleaseIdentifierO4betayA2CmF":{"name":"beta","abstract":"Identifier displaying beta
.
","parent_name":"PrereleaseIdentifier"},"Enums/PrereleaseIdentifier.html#/s:19SwiftVersionCompare20PrereleaseIdentifierO10prereleaseyA2CmF":{"name":"prerelease","abstract":"Identifier displaying prerelease
.
","parent_name":"PrereleaseIdentifier"},"Enums/PrereleaseIdentifier.html#/s:19SwiftVersionCompare20PrereleaseIdentifierO16releaseCandidateyA2CmF":{"name":"releaseCandidate","abstract":"Identifier displaying rc
.
","parent_name":"PrereleaseIdentifier"},"Enums/PrereleaseIdentifier.html#/s:19SwiftVersionCompare20PrereleaseIdentifierO12alphaNumericyACSScACmF":{"name":"alphaNumeric(_:)","abstract":"Alphanumeric identifier are lower- and uppercased letters and numbers from 0-9.
","parent_name":"PrereleaseIdentifier"},"Enums/PrereleaseIdentifier.html#/s:19SwiftVersionCompare20PrereleaseIdentifierO7numericyACSucACmF":{"name":"numeric(_:)","abstract":"Numeric identifier are positive numbers and zeros, yet they do not allow for leading zeros.
","parent_name":"PrereleaseIdentifier"},"Enums/PrereleaseIdentifier.html#/s:19SwiftVersionCompare20PrereleaseIdentifierO7unknownyA2CmF":{"name":"unknown","abstract":"Unknown identifier are used when string literals do not conform to SemVer
and are removed.
","parent_name":"PrereleaseIdentifier"},"Enums/PrereleaseIdentifier.html#/s:19SwiftVersionCompare20PrereleaseIdentifierO2eeoiySbAC_ACtFZ":{"name":"==(_:_:)","abstract":"Compares pre-release identifiers for equality.
","parent_name":"PrereleaseIdentifier"},"Enums/PrereleaseIdentifier.html#/s:s25LosslessStringConvertiblePyxSgSScfc":{"name":"init(_:)","parent_name":"PrereleaseIdentifier"},"Enums/PrereleaseIdentifier.html#/s:s23CustomStringConvertibleP11descriptionSSvp":{"name":"description","parent_name":"PrereleaseIdentifier"},"Enums/PrereleaseIdentifier.html#/s:s26ExpressibleByStringLiteralP06stringD0x0cD4TypeQz_tcfc":{"name":"init(stringLiteral:)","parent_name":"PrereleaseIdentifier"},"Enums/PrereleaseIdentifier.html#/s:s27ExpressibleByIntegerLiteralP07integerD0x0cD4TypeQz_tcfc":{"name":"init(integerLiteral:)","parent_name":"PrereleaseIdentifier"},"Enums/PrereleaseIdentifier.html#/s:19SwiftVersionCompare20PrereleaseIdentifierO5valueSSvp":{"name":"value","abstract":"Undocumented
","parent_name":"PrereleaseIdentifier"},"Enums/BuildMetaData.html#/s:19SwiftVersionCompare13BuildMetaDataO12alphaNumericyACSScACmF":{"name":"alphaNumeric(_:)","abstract":"Alphanumeric identifier are lower- and uppercased letters and numbers from 0-9.
","parent_name":"BuildMetaData"},"Enums/BuildMetaData.html#/s:19SwiftVersionCompare13BuildMetaDataO6digitsyACSScACmF":{"name":"digits(_:)","abstract":"Digit identifier are positive numbers and zeros, thus allowing leading zeros.
","parent_name":"BuildMetaData"},"Enums/BuildMetaData.html#/s:19SwiftVersionCompare13BuildMetaDataO7unknownyA2CmF":{"name":"unknown","abstract":"Unknown identifier are used when string literals do not conform to SemVer
and are removed.
","parent_name":"BuildMetaData"},"Enums/BuildMetaData.html#/s:s25LosslessStringConvertiblePyxSgSScfc":{"name":"init(_:)","parent_name":"BuildMetaData"},"Enums/BuildMetaData.html#/s:s23CustomStringConvertibleP11descriptionSSvp":{"name":"description","parent_name":"BuildMetaData"},"Enums/BuildMetaData.html#/s:s26ExpressibleByStringLiteralP06stringD0x0cD4TypeQz_tcfc":{"name":"init(stringLiteral:)","parent_name":"BuildMetaData"},"Enums/BuildMetaData.html#/s:19SwiftVersionCompare13BuildMetaDataO5valueSSvp":{"name":"value","abstract":"Undocumented
","parent_name":"BuildMetaData"},"Enums/VersionCompareResult.html#/s:19SwiftVersionCompare0bC6ResultO5majoryA2CmF":{"name":"major","abstract":"A MAJOR
update
","parent_name":"VersionCompareResult"},"Enums/VersionCompareResult.html#/s:19SwiftVersionCompare0bC6ResultO5minoryA2CmF":{"name":"minor","abstract":"A MINOR
update
","parent_name":"VersionCompareResult"},"Enums/VersionCompareResult.html#/s:19SwiftVersionCompare0bC6ResultO5patchyA2CmF":{"name":"patch","abstract":"A PATCH
update
","parent_name":"VersionCompareResult"},"Enums/VersionCompareResult.html#/s:19SwiftVersionCompare0bC6ResultO10prereleaseyA2CmF":{"name":"prerelease","abstract":"A pre-release update
","parent_name":"VersionCompareResult"},"Enums/VersionCompareResult.html#/s:19SwiftVersionCompare0bC6ResultO5buildyA2CmF":{"name":"build","abstract":"A build update
","parent_name":"VersionCompareResult"},"Enums/VersionCompareResult.html#/s:19SwiftVersionCompare0bC6ResultO8noUpdateyA2CmF":{"name":"noUpdate","abstract":"The version is not an update (less or equal)
","parent_name":"VersionCompareResult"},"Enums/VersionCompareResult.html":{"name":"VersionCompareResult","abstract":"The severity of an update between versions.
"},"Enums/BuildMetaData.html":{"name":"BuildMetaData","abstract":"Typed build-meta-data identifier.
"},"Enums/PrereleaseIdentifier.html":{"name":"PrereleaseIdentifier","abstract":"Typed pre-release identifier.
"},"Enums.html":{"name":"Enumerations","abstract":"The following enumerations are available globally.
"},"Extensions.html":{"name":"Extensions","abstract":"The following extensions are available globally.
"},"Protocols.html":{"name":"Protocols","abstract":"The following protocols are available globally.
"},"Structs.html":{"name":"Structures","abstract":"The following structures are available globally.
"}}
\ No newline at end of file
diff --git a/docs/docsets/.docset/Contents/Resources/Documents/undocumented.json b/docs/docsets/.docset/Contents/Resources/Documents/undocumented.json
index ac7c16b..77f0725 100644
--- a/docs/docsets/.docset/Contents/Resources/Documents/undocumented.json
+++ b/docs/docsets/.docset/Contents/Resources/Documents/undocumented.json
@@ -2,14 +2,14 @@
"warnings": [
{
"file": "/Users/nihilias/Developer/Repositories/SwiftVersionCompare/Sources/SwiftVersionCompare/SemanticVersionComparable/BuildMetaData/BuildMetaData.swift",
- "line": 32,
+ "line": 35,
"symbol": "BuildMetaData.value",
"symbol_kind": "source.lang.swift.decl.var.instance",
"warning": "undocumented"
},
{
"file": "/Users/nihilias/Developer/Repositories/SwiftVersionCompare/Sources/SwiftVersionCompare/SemanticVersionComparable/PrereleaseIdentifier/PrereleaseIdentifier.swift",
- "line": 46,
+ "line": 49,
"symbol": "PrereleaseIdentifier.value",
"symbol_kind": "source.lang.swift.decl.var.instance",
"warning": "undocumented"
diff --git a/docs/docsets/.docset/Contents/Resources/docSet.dsidx b/docs/docsets/.docset/Contents/Resources/docSet.dsidx
index 2ca7104..4ee9cc7 100644
Binary files a/docs/docsets/.docset/Contents/Resources/docSet.dsidx and b/docs/docsets/.docset/Contents/Resources/docSet.dsidx differ
diff --git a/docs/docsets/.tgz b/docs/docsets/.tgz
index 13230c7..e009a02 100644
Binary files a/docs/docsets/.tgz and b/docs/docsets/.tgz differ
diff --git a/docs/index.html b/docs/index.html
index dc57a0c..a0d6426 100644
--- a/docs/index.html
+++ b/docs/index.html
@@ -93,11 +93,11 @@ SwiftVersionCheck
Installation
Swift Package Manager:
-package(url: https://github.com/nihilias/SwiftVersionCompare.git", from: "1.0.0"))
+package(url: https://github.com/mflknr/SwiftVersionCompare.git", from: "1.0.0"))
Usage
-For detailed implenentation information see documentation.
+For detailed implenentation information see documentation.
// use the version core identifier for initialization
let versionOne = Version(1, 0, 0)
let versionTwo = Version(
@@ -129,7 +129,7 @@ Usage
diff --git a/docs/search.json b/docs/search.json
index fdbfb8f..1c6c4b0 100644
--- a/docs/search.json
+++ b/docs/search.json
@@ -1 +1 @@
-{"Structs/Version.html#/s:19SwiftVersionCompare08SemanticB10ComparableP5majorSuvp":{"name":"major","parent_name":"Version"},"Structs/Version.html#/s:19SwiftVersionCompare08SemanticB10ComparableP5minorSuSgvp":{"name":"minor","parent_name":"Version"},"Structs/Version.html#/s:19SwiftVersionCompare08SemanticB10ComparableP5patchSuSgvp":{"name":"patch","parent_name":"Version"},"Structs/Version.html#/s:19SwiftVersionCompare08SemanticB10ComparableP10prereleaseSayAA20PrereleaseIdentifierOGSgvp":{"name":"prerelease","parent_name":"Version"},"Structs/Version.html#/s:19SwiftVersionCompare08SemanticB10ComparableP5buildSayAA13BuildMetaDataOGSgvp":{"name":"build","parent_name":"Version"},"Structs/Version.html#/s:19SwiftVersionCompare0B0VyACSu_SuSgADSayAA20PrereleaseIdentifierOGSgSayAA13BuildMetaDataOGSgtcfc":{"name":"init(_:_:_:_:_:)","abstract":"Creates a new version.
","parent_name":"Version"},"Structs/Version.html#/s:19SwiftVersionCompare0B0V5major5minor5patch10prerelease5buildACSu_SuSgAISayAA20PrereleaseIdentifierOGSgSayAA13BuildMetaDataOGSgtcfc":{"name":"init(major:minor:patch:prerelease:build:)","abstract":"Creates a new version.
","parent_name":"Version"},"Structs/Version.html#/s:19SwiftVersionCompare0B0V7privateACSgSS_tcfc":{"name":"init(private:)","abstract":"Creates a new version using a string.
","parent_name":"Version"},"Structs/Version.html#/s:19SwiftVersionCompare0B0VyACSgSScfc":{"name":"init(_:)","abstract":"Creates a new version from a string.
","parent_name":"Version"},"Structs/Version.html#/s:s23CustomStringConvertibleP11descriptionSSvp":{"name":"description","parent_name":"Version"},"Structs/Version.html#/s:19SwiftVersionCompare0B0V13stringLiteralACSS_tcfc":{"name":"init(stringLiteral:)","abstract":"Creates a new version from a string literal.
","parent_name":"Version"},"Structs/Version.html#/s:19SwiftVersionCompare0B0V19stringInterpolationACs013DefaultStringE0V_tcfc":{"name":"init(stringInterpolation:)","abstract":"Creates a new version from a string interpolation.
","parent_name":"Version"},"Structs/Version.html#/s:19SwiftVersionCompare0B0V7initialACvpZ":{"name":"initial","abstract":"An initial version representing the string 0.0.0
.
","parent_name":"Version"},"Structs/Version.html#/s:s28CustomDebugStringConvertibleP16debugDescriptionSSvp":{"name":"debugDescription","parent_name":"Version"},"Structs/Version.html":{"name":"Version","abstract":"A version type conforming to SemVer
.
"},"Protocols/SemanticVersionComparable.html#/s:19SwiftVersionCompare08SemanticB10ComparableP5majorSuvp":{"name":"major","abstract":"The MAJOR
identifier of a version.
","parent_name":"SemanticVersionComparable"},"Protocols/SemanticVersionComparable.html#/s:19SwiftVersionCompare08SemanticB10ComparableP5minorSuSgvp":{"name":"minor","abstract":"The MINOR
identifier of a version
","parent_name":"SemanticVersionComparable"},"Protocols/SemanticVersionComparable.html#/s:19SwiftVersionCompare08SemanticB10ComparableP5patchSuSgvp":{"name":"patch","abstract":"The PATCH
identifer of a verion.
","parent_name":"SemanticVersionComparable"},"Protocols/SemanticVersionComparable.html#/s:19SwiftVersionCompare08SemanticB10ComparableP10prereleaseSayAA20PrereleaseIdentifierOGSgvp":{"name":"prerelease","abstract":"Pre-release identifier of a version.
","parent_name":"SemanticVersionComparable"},"Protocols/SemanticVersionComparable.html#/s:19SwiftVersionCompare08SemanticB10ComparableP5buildSayAA13BuildMetaDataOGSgvp":{"name":"build","abstract":"Build-meta-data of a version.
","parent_name":"SemanticVersionComparable"},"Protocols/SemanticVersionComparable.html#/s:SL1loiySbx_xtFZ":{"name":"<(_:_:)","parent_name":"SemanticVersionComparable"},"Protocols/SemanticVersionComparable.html#/s:SL2leoiySbx_xtFZ":{"name":"<=(_:_:)","parent_name":"SemanticVersionComparable"},"Protocols/SemanticVersionComparable.html#/s:SL2geoiySbx_xtFZ":{"name":">=(_:_:)","parent_name":"SemanticVersionComparable"},"Protocols/SemanticVersionComparable.html#/s:19SwiftVersionCompare08SemanticB10ComparablePAAE2eeoiySbx_xtFZ":{"name":"==(_:_:)","abstract":"Compares version objects for equality.
","parent_name":"SemanticVersionComparable"},"Protocols/SemanticVersionComparable.html#/s:19SwiftVersionCompare08SemanticB10ComparablePAAE3eeeoiySbx_xtFZ":{"name":"===(_:_:)","abstract":"Strictly compares version objects for equality.
","parent_name":"SemanticVersionComparable"},"Protocols/SemanticVersionComparable.html#/s:SH4hash4intoys6HasherVz_tF":{"name":"hash(into:)","parent_name":"SemanticVersionComparable"},"Protocols/SemanticVersionComparable.html#/s:19SwiftVersionCompare08SemanticB10ComparablePAAE12isCompatible4withSbx_tF":{"name":"isCompatible(with:)","abstract":"A Boolean value indicating the compatibility of two versions.
","parent_name":"SemanticVersionComparable"},"Protocols/SemanticVersionComparable.html#/s:19SwiftVersionCompare08SemanticB10ComparablePAAE7compare4withAA0bC6ResultOx_tF":{"name":"compare(with:)","abstract":"Compare versions for their update severity.
","parent_name":"SemanticVersionComparable"},"Protocols/SemanticVersionComparable.html#/s:19SwiftVersionCompare08SemanticB10ComparablePAAE08hasEqualB4Core2asSbx_tF":{"name":"hasEqualVersionCore(as:)","abstract":"Check if a version has an equal version core as another version.
","parent_name":"SemanticVersionComparable"},"Protocols/SemanticVersionComparable.html#/s:19SwiftVersionCompare08SemanticB10ComparablePAAE14absoluteStringSSvp":{"name":"absoluteString","abstract":"The absolute string of the version.
","parent_name":"SemanticVersionComparable"},"Protocols/SemanticVersionComparable.html#/s:19SwiftVersionCompare08SemanticB10ComparablePAAE10coreStringSSvp":{"name":"coreString","abstract":"The string of the version representing MAJOR.MINOR.PATCH
.
","parent_name":"SemanticVersionComparable"},"Protocols/SemanticVersionComparable.html#/s:19SwiftVersionCompare08SemanticB10ComparablePAAE15extensionStringSSSgvp":{"name":"extensionString","abstract":"The string of the version representing the pre-release identifier and build-meta-data.
","parent_name":"SemanticVersionComparable"},"Protocols/SemanticVersionComparable.html#/s:19SwiftVersionCompare08SemanticB10ComparablePAAE26prereleaseIdentifierStringSSSgvp":{"name":"prereleaseIdentifierString","abstract":"The pre-release identifier as a string if available.
","parent_name":"SemanticVersionComparable"},"Protocols/SemanticVersionComparable.html#/s:19SwiftVersionCompare08SemanticB10ComparablePAAE19buildMetaDataStringSSSgvp":{"name":"buildMetaDataString","abstract":"The build meta data as a string if available.
","parent_name":"SemanticVersionComparable"},"Protocols/SemanticVersionComparable.html":{"name":"SemanticVersionComparable","abstract":"A type that can be expressed as a semantic version conforming to SemVer
.
"},"Extensions/ProcessInfo.html#/s:So13NSProcessInfoC19SwiftVersionCompareE025comparableOperatingSystemD0AC0D0Vvp":{"name":"comparableOperatingSystemVersion","abstract":"The version of the operating system on which the current process is executing.
","parent_name":"ProcessInfo"},"Extensions/Bundle.html#/s:So8NSBundleC19SwiftVersionCompareE05shortC0AC0C0VSgvp":{"name":"shortVersion","abstract":"The version of the current bundle.
","parent_name":"Bundle"},"Extensions/Bundle.html#/s:So8NSBundleC19SwiftVersionCompareE7versionAC0C0VSgvp":{"name":"version","abstract":"The full version of the current bundle.
","parent_name":"Bundle"},"Extensions/Bundle.html":{"name":"Bundle"},"Extensions/ProcessInfo.html":{"name":"ProcessInfo"},"Enums/PrereleaseIdentifier.html#/s:19SwiftVersionCompare20PrereleaseIdentifierO5alphayA2CmF":{"name":"alpha","abstract":"Identifier displaying alpha
.
","parent_name":"PrereleaseIdentifier"},"Enums/PrereleaseIdentifier.html#/s:19SwiftVersionCompare20PrereleaseIdentifierO4betayA2CmF":{"name":"beta","abstract":"Identifier displaying beta
.
","parent_name":"PrereleaseIdentifier"},"Enums/PrereleaseIdentifier.html#/s:19SwiftVersionCompare20PrereleaseIdentifierO10prereleaseyA2CmF":{"name":"prerelease","abstract":"Identifier displaying prerelease
.
","parent_name":"PrereleaseIdentifier"},"Enums/PrereleaseIdentifier.html#/s:19SwiftVersionCompare20PrereleaseIdentifierO16releaseCandidateyA2CmF":{"name":"releaseCandidate","abstract":"Identifier displaying rc
.
","parent_name":"PrereleaseIdentifier"},"Enums/PrereleaseIdentifier.html#/s:19SwiftVersionCompare20PrereleaseIdentifierO12alphaNumericyACSScACmF":{"name":"alphaNumeric(_:)","abstract":"Alphanumeric identifier are lower- and uppercased letters and numbers from 0-9.
","parent_name":"PrereleaseIdentifier"},"Enums/PrereleaseIdentifier.html#/s:19SwiftVersionCompare20PrereleaseIdentifierO7numericyACSucACmF":{"name":"numeric(_:)","abstract":"Numeric identifier are positive numbers and zeros, yet they do not allow for leading zeros.
","parent_name":"PrereleaseIdentifier"},"Enums/PrereleaseIdentifier.html#/s:19SwiftVersionCompare20PrereleaseIdentifierO7unknownyA2CmF":{"name":"unknown","abstract":"Unknown identifier are used when string literals do not conform to SemVer
and are removed.
","parent_name":"PrereleaseIdentifier"},"Enums/PrereleaseIdentifier.html#/s:19SwiftVersionCompare20PrereleaseIdentifierO2eeoiySbAC_ACtFZ":{"name":"==(_:_:)","abstract":"Compares pre-release identifiers for equality.
","parent_name":"PrereleaseIdentifier"},"Enums/PrereleaseIdentifier.html#/s:s25LosslessStringConvertiblePyxSgSScfc":{"name":"init(_:)","parent_name":"PrereleaseIdentifier"},"Enums/PrereleaseIdentifier.html#/s:s23CustomStringConvertibleP11descriptionSSvp":{"name":"description","parent_name":"PrereleaseIdentifier"},"Enums/PrereleaseIdentifier.html#/s:s26ExpressibleByStringLiteralP06stringD0x0cD4TypeQz_tcfc":{"name":"init(stringLiteral:)","parent_name":"PrereleaseIdentifier"},"Enums/PrereleaseIdentifier.html#/s:s27ExpressibleByIntegerLiteralP07integerD0x0cD4TypeQz_tcfc":{"name":"init(integerLiteral:)","parent_name":"PrereleaseIdentifier"},"Enums/PrereleaseIdentifier.html#/s:19SwiftVersionCompare20PrereleaseIdentifierO5valueSSvp":{"name":"value","abstract":"Undocumented
","parent_name":"PrereleaseIdentifier"},"Enums/BuildMetaData.html#/s:19SwiftVersionCompare13BuildMetaDataO12alphaNumericyACSScACmF":{"name":"alphaNumeric(_:)","abstract":"Alphanumeric identifier are lower- and uppercased letters and numbers from 0-9.
","parent_name":"BuildMetaData"},"Enums/BuildMetaData.html#/s:19SwiftVersionCompare13BuildMetaDataO6digitsyACSScACmF":{"name":"digits(_:)","abstract":"Digit identifier are positive numbers and zeros, thus allowing leading zeros.
","parent_name":"BuildMetaData"},"Enums/BuildMetaData.html#/s:19SwiftVersionCompare13BuildMetaDataO7unknownyA2CmF":{"name":"unknown","abstract":"Unknown identifier are used when string literals do not conform to SemVer
and are removed.
","parent_name":"BuildMetaData"},"Enums/BuildMetaData.html#/s:s25LosslessStringConvertiblePyxSgSScfc":{"name":"init(_:)","parent_name":"BuildMetaData"},"Enums/BuildMetaData.html#/s:s23CustomStringConvertibleP11descriptionSSvp":{"name":"description","parent_name":"BuildMetaData"},"Enums/BuildMetaData.html#/s:s26ExpressibleByStringLiteralP06stringD0x0cD4TypeQz_tcfc":{"name":"init(stringLiteral:)","parent_name":"BuildMetaData"},"Enums/BuildMetaData.html#/s:19SwiftVersionCompare13BuildMetaDataO5valueSSvp":{"name":"value","abstract":"Undocumented
","parent_name":"BuildMetaData"},"Enums/VersionCompareResult.html#/s:19SwiftVersionCompare0bC6ResultO5majoryA2CmF":{"name":"major","abstract":"A MAJOR
update
","parent_name":"VersionCompareResult"},"Enums/VersionCompareResult.html#/s:19SwiftVersionCompare0bC6ResultO5minoryA2CmF":{"name":"minor","abstract":"A MINOR
update
","parent_name":"VersionCompareResult"},"Enums/VersionCompareResult.html#/s:19SwiftVersionCompare0bC6ResultO5patchyA2CmF":{"name":"patch","abstract":"A PATCH
update
","parent_name":"VersionCompareResult"},"Enums/VersionCompareResult.html#/s:19SwiftVersionCompare0bC6ResultO10prereleaseyA2CmF":{"name":"prerelease","abstract":"A pre-release update
","parent_name":"VersionCompareResult"},"Enums/VersionCompareResult.html#/s:19SwiftVersionCompare0bC6ResultO5buildyA2CmF":{"name":"build","abstract":"A build update
","parent_name":"VersionCompareResult"},"Enums/VersionCompareResult.html#/s:19SwiftVersionCompare0bC6ResultO8noUpdateyA2CmF":{"name":"noUpdate","abstract":"The version is not an update (less or equal)
","parent_name":"VersionCompareResult"},"Enums/VersionCompareResult.html":{"name":"VersionCompareResult","abstract":"The severity of an update between versions.
"},"Enums/BuildMetaData.html":{"name":"BuildMetaData","abstract":"Typed build-meta-data identifier.
"},"Enums/PrereleaseIdentifier.html":{"name":"PrereleaseIdentifier","abstract":"Typed pre-release identifier.
"},"Enums.html":{"name":"Enumerations","abstract":"The following enumerations are available globally.
"},"Extensions.html":{"name":"Extensions","abstract":"The following extensions are available globally.
"},"Protocols.html":{"name":"Protocols","abstract":"The following protocols are available globally.
"},"Structs.html":{"name":"Structures","abstract":"The following structures are available globally.
"}}
\ No newline at end of file
+{"Structs/Version.html#/s:19SwiftVersionCompare08SemanticB10ComparableP5majorSuvp":{"name":"major","parent_name":"Version"},"Structs/Version.html#/s:19SwiftVersionCompare08SemanticB10ComparableP5minorSuSgvp":{"name":"minor","parent_name":"Version"},"Structs/Version.html#/s:19SwiftVersionCompare08SemanticB10ComparableP5patchSuSgvp":{"name":"patch","parent_name":"Version"},"Structs/Version.html#/s:19SwiftVersionCompare08SemanticB10ComparableP10prereleaseSayAA20PrereleaseIdentifierOGSgvp":{"name":"prerelease","parent_name":"Version"},"Structs/Version.html#/s:19SwiftVersionCompare08SemanticB10ComparableP5buildSayAA13BuildMetaDataOGSgvp":{"name":"build","parent_name":"Version"},"Structs/Version.html#/s:19SwiftVersionCompare0B0VyACSu_SuSgADSayAA20PrereleaseIdentifierOGSgSayAA13BuildMetaDataOGSgtcfc":{"name":"init(_:_:_:_:_:)","abstract":"Creates a new version.
","parent_name":"Version"},"Structs/Version.html#/s:19SwiftVersionCompare0B0V5major5minor5patch10prerelease5buildACSu_SuSgAISayAA20PrereleaseIdentifierOGSgSayAA13BuildMetaDataOGSgtcfc":{"name":"init(major:minor:patch:prerelease:build:)","abstract":"Creates a new version.
","parent_name":"Version"},"Structs/Version.html#/s:19SwiftVersionCompare0B0V7privateACSgSS_tcfc":{"name":"init(private:)","abstract":"Creates a new version using a string.
","parent_name":"Version"},"Structs/Version.html#/s:19SwiftVersionCompare0B0VyACSgSScfc":{"name":"init(_:)","abstract":"Creates a new version from a string.
","parent_name":"Version"},"Structs/Version.html#/s:s23CustomStringConvertibleP11descriptionSSvp":{"name":"description","parent_name":"Version"},"Structs/Version.html#/s:19SwiftVersionCompare0B0V13stringLiteralACSS_tcfc":{"name":"init(stringLiteral:)","abstract":"Creates a new version from a string literal.
","parent_name":"Version"},"Structs/Version.html#/s:19SwiftVersionCompare0B0V19stringInterpolationACs013DefaultStringE0V_tcfc":{"name":"init(stringInterpolation:)","abstract":"Creates a new version from a string interpolation.
","parent_name":"Version"},"Structs/Version.html#/s:19SwiftVersionCompare0B0V7initialACvpZ":{"name":"initial","abstract":"An initial version representing the string 0.0.0
.
","parent_name":"Version"},"Structs/Version.html#/s:s28CustomDebugStringConvertibleP16debugDescriptionSSvp":{"name":"debugDescription","parent_name":"Version"},"Structs/Version.html":{"name":"Version","abstract":"A version type conforming to SemVer
.
"},"Protocols/SemanticVersionComparable.html#/s:19SwiftVersionCompare08SemanticB10ComparableP5majorSuvp":{"name":"major","abstract":"The MAJOR
identifier of a version.
","parent_name":"SemanticVersionComparable"},"Protocols/SemanticVersionComparable.html#/s:19SwiftVersionCompare08SemanticB10ComparableP5minorSuSgvp":{"name":"minor","abstract":"The MINOR
identifier of a version
","parent_name":"SemanticVersionComparable"},"Protocols/SemanticVersionComparable.html#/s:19SwiftVersionCompare08SemanticB10ComparableP5patchSuSgvp":{"name":"patch","abstract":"The PATCH
identifer of a verion.
","parent_name":"SemanticVersionComparable"},"Protocols/SemanticVersionComparable.html#/s:19SwiftVersionCompare08SemanticB10ComparableP10prereleaseSayAA20PrereleaseIdentifierOGSgvp":{"name":"prerelease","abstract":"Pre-release identifier of a version.
","parent_name":"SemanticVersionComparable"},"Protocols/SemanticVersionComparable.html#/s:19SwiftVersionCompare08SemanticB10ComparableP5buildSayAA13BuildMetaDataOGSgvp":{"name":"build","abstract":"Build-meta-data of a version.
","parent_name":"SemanticVersionComparable"},"Protocols/SemanticVersionComparable.html#/s:19SwiftVersionCompare08SemanticB10ComparablePAAE1loiySbx_xtFZ":{"name":"<(_:_:)","abstract":"Compare versions using the SemVer
ranking system.
","parent_name":"SemanticVersionComparable"},"Protocols/SemanticVersionComparable.html#/s:19SwiftVersionCompare08SemanticB10ComparablePAAE2eeoiySbx_xtFZ":{"name":"==(_:_:)","abstract":"Compares version objects for equality.
","parent_name":"SemanticVersionComparable"},"Protocols/SemanticVersionComparable.html#/s:19SwiftVersionCompare08SemanticB10ComparablePAAE3eeeoiySbx_xtFZ":{"name":"===(_:_:)","abstract":"Strictly compares version objects for equality.
","parent_name":"SemanticVersionComparable"},"Protocols/SemanticVersionComparable.html#/s:19SwiftVersionCompare08SemanticB10ComparablePAAE4hash4intoys6HasherVz_tF":{"name":"hash(into:)","abstract":"Conformance to Hashable
protocol.
","parent_name":"SemanticVersionComparable"},"Protocols/SemanticVersionComparable.html#/s:19SwiftVersionCompare08SemanticB10ComparablePAAE12isCompatible4withSbx_tF":{"name":"isCompatible(with:)","abstract":"A Boolean value indicating the compatibility of two versions.
","parent_name":"SemanticVersionComparable"},"Protocols/SemanticVersionComparable.html#/s:19SwiftVersionCompare08SemanticB10ComparablePAAE7compare4withAA0bC6ResultOx_tF":{"name":"compare(with:)","abstract":"Compare versions for their update severity.
","parent_name":"SemanticVersionComparable"},"Protocols/SemanticVersionComparable.html#/s:19SwiftVersionCompare08SemanticB10ComparablePAAE08hasEqualB4Core2asSbx_tF":{"name":"hasEqualVersionCore(as:)","abstract":"Check if a version has an equal version core as another version.
","parent_name":"SemanticVersionComparable"},"Protocols/SemanticVersionComparable.html#/s:19SwiftVersionCompare08SemanticB10ComparablePAAE14absoluteStringSSvp":{"name":"absoluteString","abstract":"The absolute string of the version.
","parent_name":"SemanticVersionComparable"},"Protocols/SemanticVersionComparable.html#/s:19SwiftVersionCompare08SemanticB10ComparablePAAE10coreStringSSvp":{"name":"coreString","abstract":"The string of the version representing MAJOR.MINOR.PATCH
.
","parent_name":"SemanticVersionComparable"},"Protocols/SemanticVersionComparable.html#/s:19SwiftVersionCompare08SemanticB10ComparablePAAE15extensionStringSSSgvp":{"name":"extensionString","abstract":"The string of the version representing the pre-release identifier and build-meta-data.
","parent_name":"SemanticVersionComparable"},"Protocols/SemanticVersionComparable.html#/s:19SwiftVersionCompare08SemanticB10ComparablePAAE26prereleaseIdentifierStringSSSgvp":{"name":"prereleaseIdentifierString","abstract":"The pre-release identifier as a string if available.
","parent_name":"SemanticVersionComparable"},"Protocols/SemanticVersionComparable.html#/s:19SwiftVersionCompare08SemanticB10ComparablePAAE19buildMetaDataStringSSSgvp":{"name":"buildMetaDataString","abstract":"The build meta data as a string if available.
","parent_name":"SemanticVersionComparable"},"Protocols/SemanticVersionComparable.html":{"name":"SemanticVersionComparable","abstract":"A type that can be expressed as a semantic version conforming to SemVer
.
"},"Extensions/ProcessInfo.html#/s:So13NSProcessInfoC19SwiftVersionCompareE025comparableOperatingSystemD0AC0D0Vvp":{"name":"comparableOperatingSystemVersion","abstract":"The version of the operating system on which the current process is executing.
","parent_name":"ProcessInfo"},"Extensions/Bundle.html#/s:So8NSBundleC19SwiftVersionCompareE05shortC0AC0C0VSgvp":{"name":"shortVersion","abstract":"The version of the current bundle.
","parent_name":"Bundle"},"Extensions/Bundle.html#/s:So8NSBundleC19SwiftVersionCompareE7versionAC0C0VSgvp":{"name":"version","abstract":"The full version of the current bundle.
","parent_name":"Bundle"},"Extensions/Bundle.html":{"name":"Bundle"},"Extensions/ProcessInfo.html":{"name":"ProcessInfo"},"Enums/PrereleaseIdentifier.html#/s:19SwiftVersionCompare20PrereleaseIdentifierO5alphayA2CmF":{"name":"alpha","abstract":"Identifier displaying alpha
.
","parent_name":"PrereleaseIdentifier"},"Enums/PrereleaseIdentifier.html#/s:19SwiftVersionCompare20PrereleaseIdentifierO4betayA2CmF":{"name":"beta","abstract":"Identifier displaying beta
.
","parent_name":"PrereleaseIdentifier"},"Enums/PrereleaseIdentifier.html#/s:19SwiftVersionCompare20PrereleaseIdentifierO10prereleaseyA2CmF":{"name":"prerelease","abstract":"Identifier displaying prerelease
.
","parent_name":"PrereleaseIdentifier"},"Enums/PrereleaseIdentifier.html#/s:19SwiftVersionCompare20PrereleaseIdentifierO16releaseCandidateyA2CmF":{"name":"releaseCandidate","abstract":"Identifier displaying rc
.
","parent_name":"PrereleaseIdentifier"},"Enums/PrereleaseIdentifier.html#/s:19SwiftVersionCompare20PrereleaseIdentifierO12alphaNumericyACSScACmF":{"name":"alphaNumeric(_:)","abstract":"Alphanumeric identifier are lower- and uppercased letters and numbers from 0-9.
","parent_name":"PrereleaseIdentifier"},"Enums/PrereleaseIdentifier.html#/s:19SwiftVersionCompare20PrereleaseIdentifierO7numericyACSucACmF":{"name":"numeric(_:)","abstract":"Numeric identifier are positive numbers and zeros, yet they do not allow for leading zeros.
","parent_name":"PrereleaseIdentifier"},"Enums/PrereleaseIdentifier.html#/s:19SwiftVersionCompare20PrereleaseIdentifierO7unknownyA2CmF":{"name":"unknown","abstract":"Unknown identifier are used when string literals do not conform to SemVer
and are removed.
","parent_name":"PrereleaseIdentifier"},"Enums/PrereleaseIdentifier.html#/s:19SwiftVersionCompare20PrereleaseIdentifierO2eeoiySbAC_ACtFZ":{"name":"==(_:_:)","abstract":"Compares pre-release identifiers for equality.
","parent_name":"PrereleaseIdentifier"},"Enums/PrereleaseIdentifier.html#/s:s25LosslessStringConvertiblePyxSgSScfc":{"name":"init(_:)","parent_name":"PrereleaseIdentifier"},"Enums/PrereleaseIdentifier.html#/s:s23CustomStringConvertibleP11descriptionSSvp":{"name":"description","parent_name":"PrereleaseIdentifier"},"Enums/PrereleaseIdentifier.html#/s:s26ExpressibleByStringLiteralP06stringD0x0cD4TypeQz_tcfc":{"name":"init(stringLiteral:)","parent_name":"PrereleaseIdentifier"},"Enums/PrereleaseIdentifier.html#/s:s27ExpressibleByIntegerLiteralP07integerD0x0cD4TypeQz_tcfc":{"name":"init(integerLiteral:)","parent_name":"PrereleaseIdentifier"},"Enums/PrereleaseIdentifier.html#/s:19SwiftVersionCompare20PrereleaseIdentifierO5valueSSvp":{"name":"value","abstract":"Undocumented
","parent_name":"PrereleaseIdentifier"},"Enums/BuildMetaData.html#/s:19SwiftVersionCompare13BuildMetaDataO12alphaNumericyACSScACmF":{"name":"alphaNumeric(_:)","abstract":"Alphanumeric identifier are lower- and uppercased letters and numbers from 0-9.
","parent_name":"BuildMetaData"},"Enums/BuildMetaData.html#/s:19SwiftVersionCompare13BuildMetaDataO6digitsyACSScACmF":{"name":"digits(_:)","abstract":"Digit identifier are positive numbers and zeros, thus allowing leading zeros.
","parent_name":"BuildMetaData"},"Enums/BuildMetaData.html#/s:19SwiftVersionCompare13BuildMetaDataO7unknownyA2CmF":{"name":"unknown","abstract":"Unknown identifier are used when string literals do not conform to SemVer
and are removed.
","parent_name":"BuildMetaData"},"Enums/BuildMetaData.html#/s:s25LosslessStringConvertiblePyxSgSScfc":{"name":"init(_:)","parent_name":"BuildMetaData"},"Enums/BuildMetaData.html#/s:s23CustomStringConvertibleP11descriptionSSvp":{"name":"description","parent_name":"BuildMetaData"},"Enums/BuildMetaData.html#/s:s26ExpressibleByStringLiteralP06stringD0x0cD4TypeQz_tcfc":{"name":"init(stringLiteral:)","parent_name":"BuildMetaData"},"Enums/BuildMetaData.html#/s:19SwiftVersionCompare13BuildMetaDataO5valueSSvp":{"name":"value","abstract":"Undocumented
","parent_name":"BuildMetaData"},"Enums/VersionCompareResult.html#/s:19SwiftVersionCompare0bC6ResultO5majoryA2CmF":{"name":"major","abstract":"A MAJOR
update
","parent_name":"VersionCompareResult"},"Enums/VersionCompareResult.html#/s:19SwiftVersionCompare0bC6ResultO5minoryA2CmF":{"name":"minor","abstract":"A MINOR
update
","parent_name":"VersionCompareResult"},"Enums/VersionCompareResult.html#/s:19SwiftVersionCompare0bC6ResultO5patchyA2CmF":{"name":"patch","abstract":"A PATCH
update
","parent_name":"VersionCompareResult"},"Enums/VersionCompareResult.html#/s:19SwiftVersionCompare0bC6ResultO10prereleaseyA2CmF":{"name":"prerelease","abstract":"A pre-release update
","parent_name":"VersionCompareResult"},"Enums/VersionCompareResult.html#/s:19SwiftVersionCompare0bC6ResultO5buildyA2CmF":{"name":"build","abstract":"A build update
","parent_name":"VersionCompareResult"},"Enums/VersionCompareResult.html#/s:19SwiftVersionCompare0bC6ResultO8noUpdateyA2CmF":{"name":"noUpdate","abstract":"The version is not an update (less or equal)
","parent_name":"VersionCompareResult"},"Enums/VersionCompareResult.html":{"name":"VersionCompareResult","abstract":"The severity of an update between versions.
"},"Enums/BuildMetaData.html":{"name":"BuildMetaData","abstract":"Typed build-meta-data identifier.
"},"Enums/PrereleaseIdentifier.html":{"name":"PrereleaseIdentifier","abstract":"Typed pre-release identifier.
"},"Enums.html":{"name":"Enumerations","abstract":"The following enumerations are available globally.
"},"Extensions.html":{"name":"Extensions","abstract":"The following extensions are available globally.
"},"Protocols.html":{"name":"Protocols","abstract":"The following protocols are available globally.
"},"Structs.html":{"name":"Structures","abstract":"The following structures are available globally.
"}}
\ No newline at end of file