diff --git a/.codecov.yml b/.codecov.yml new file mode 100644 index 0000000..da6eabc --- /dev/null +++ b/.codecov.yml @@ -0,0 +1,26 @@ +# For more configuration details: +# https://docs.codecov.io/docs/codecov-yaml +# Check if this file is valid by running in bash: +# curl -X POST --data-binary @.codecov.yml https://codecov.io/validate +# Coverage configuration +# ---------------------- +coverage: +status: +patch: false +range: 70..90 # First number represents red, and second represents green + +# (default is 70..100) +round: down # up, down, or nearest +precision: 2 # Number of decimal places, between 0 and 5 + +# Ignoring Paths +# -------------- +# which folders/files to ignore +ignore: +- Tests/**/* + +# Pull request comments: +# ---------------------- +# Diff is the Coverage Diff of the pull request. +# Files are the files impacted by the pull request +comment: false diff --git a/.github/workflows/main-release.yml b/.github/workflows/main-release.yml deleted file mode 100644 index 6976649..0000000 --- a/.github/workflows/main-release.yml +++ /dev/null @@ -1,22 +0,0 @@ -name: main-release - -on: - push: - branches: - - main - tags: - - 1.* - -jobs: - build: - runs-on: macos-latest - steps: - - uses: actions/checkout@v2 - - uses: actions/create@v1 - env: - GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} # This token is provided by Actions, you do not need to create your own token - with: - tag_name: ${{ github.ref }} - release_name: ${{ github.ref }} - draft: true - prerelease: false diff --git a/README.md b/README.md index 85e79b1..8beab8a 100644 --- a/README.md +++ b/README.md @@ -1,4 +1,4 @@ -# SwiftVersionCheck +# SwiftVersionCompare ![platforms](https://img.shields.io/badge/platforms-macOS%20%7C%20iOS%20%7C%20tvOS%20%7C%20watchOS-lightgrey.svg) ![languages](https://img.shields.io/badge/swift-5.0%20%7C%205.1%20%7C%205.2%20%7C%205.3-orange.svg) diff --git a/Sources/SwiftVersionCompare/Helper/Character+Extensions.swift b/Sources/SwiftVersionCompare/Helper/Character+Extensions.swift index 3b5ab74..fef607b 100644 --- a/Sources/SwiftVersionCompare/Helper/Character+Extensions.swift +++ b/Sources/SwiftVersionCompare/Helper/Character+Extensions.swift @@ -9,8 +9,7 @@ internal extension Character { var isZero: Bool { if self == "0" { return true - } else { - return false } + return false } } diff --git a/Sources/SwiftVersionCompare/Helper/String+Regex.swift b/Sources/SwiftVersionCompare/Helper/String+Regex.swift index 2b9458c..e937706 100644 --- a/Sources/SwiftVersionCompare/Helper/String+Regex.swift +++ b/Sources/SwiftVersionCompare/Helper/String+Regex.swift @@ -17,10 +17,10 @@ internal extension String { } var isAlphaNumericString: Bool { - matches("[a-zA-Z-][0-9a-zA-Z-]+") + matches("^[a-zA-Z0-9-]+$") } var isNumericString: Bool { - matches("[0-9]+") + matches("[0-9]+$") } } diff --git a/Sources/SwiftVersionCompare/SemanticVersionComparable/BuildMetaData/BuildMetaData.swift b/Sources/SwiftVersionCompare/SemanticVersionComparable/BuildMetaData/BuildMetaData.swift index 563eee3..72636ea 100644 --- a/Sources/SwiftVersionCompare/SemanticVersionComparable/BuildMetaData/BuildMetaData.swift +++ b/Sources/SwiftVersionCompare/SemanticVersionComparable/BuildMetaData/BuildMetaData.swift @@ -5,7 +5,7 @@ // Created by Marius Hötten-Löns on 12.03.21. // -/// Typed build-meta-data identifier. +/// Typed build-meta-data. /// /// - Note: Identifier can be described using alphanumeric letters or digits. /// @@ -32,6 +32,7 @@ public enum BuildMetaData: Comparable { } public extension BuildMetaData { + /// Raw string representation of a build-meta-data. var value: String { switch self { case let .alphaNumeric(identifier): diff --git a/Sources/SwiftVersionCompare/SemanticVersionComparable/PrereleaseIdentifier/PrereleaseIdentifier.swift b/Sources/SwiftVersionCompare/SemanticVersionComparable/PrereleaseIdentifier/PrereleaseIdentifier.swift index 29b0524..ef05cf8 100644 --- a/Sources/SwiftVersionCompare/SemanticVersionComparable/PrereleaseIdentifier/PrereleaseIdentifier.swift +++ b/Sources/SwiftVersionCompare/SemanticVersionComparable/PrereleaseIdentifier/PrereleaseIdentifier.swift @@ -46,6 +46,7 @@ public enum PrereleaseIdentifier: Comparable, Hashable { } public extension PrereleaseIdentifier { + /// Raw string representation of a pre-release identifier. var value: String { switch self { case .alpha: diff --git a/Sources/SwiftVersionCompare/Version.swift b/Sources/SwiftVersionCompare/Version.swift index e613f93..fb34139 100644 --- a/Sources/SwiftVersionCompare/Version.swift +++ b/Sources/SwiftVersionCompare/Version.swift @@ -118,7 +118,8 @@ public struct Version: SemanticVersionComparable { // check for non-empty or invalid version string e.g. "-alpha" guard !versionSplitPrerelease.isEmpty, - let versionStringElement = versionSplitPrerelease.first else { + let versionStringElement = versionSplitPrerelease.first, + !versionStringElement.isEmpty else { return nil } @@ -165,9 +166,9 @@ public struct Version: SemanticVersionComparable { .compactMap { if let asInt = Int($0) { return PrereleaseIdentifier.init(integerLiteral: asInt) - } else { - return PrereleaseIdentifier.init($0) } + + return PrereleaseIdentifier.init($0) } // if a pre-release identifier element is initialized as .unkown, we can savely assume that the given // string is not a valid `SemVer` version string. diff --git a/SwiftVersionCompare.xcodeproj/project.pbxproj b/SwiftVersionCompare.xcodeproj/project.pbxproj index 39cdbe4..9bca658 100644 --- a/SwiftVersionCompare.xcodeproj/project.pbxproj +++ b/SwiftVersionCompare.xcodeproj/project.pbxproj @@ -63,6 +63,7 @@ /* End PBXContainerItemProxy section */ /* Begin PBXFileReference section */ + 24322B402613C4EC0028E151 /* .codecov.yml */ = {isa = PBXFileReference; lastKnownFileType = text.yaml; path = .codecov.yml; sourceTree = ""; }; 24828B612613B4EC00AF8BA2 /* Character+Extensions.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = "Character+Extensions.swift"; sourceTree = ""; }; 24A6A24525A3DD3B00E12D71 /* Error.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = Error.swift; sourceTree = ""; }; 24A6A25825A5198900E12D71 /* String+Regex.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = "String+Regex.swift"; sourceTree = ""; }; @@ -191,6 +192,7 @@ OBJ_20 /* LICENSE */, OBJ_21 /* README.md */, 24A6A2BB25A67D1200E12D71 /* .jazzy.yml */, + 24322B402613C4EC0028E151 /* .codecov.yml */, ); sourceTree = ""; }; diff --git a/Tests/SwiftVersionCompareTests/SemanticVersionComparableTests.swift b/Tests/SwiftVersionCompareTests/SemanticVersionComparableTests.swift index c9de62c..436162f 100644 --- a/Tests/SwiftVersionCompareTests/SemanticVersionComparableTests.swift +++ b/Tests/SwiftVersionCompareTests/SemanticVersionComparableTests.swift @@ -81,7 +81,8 @@ final class SemanticVersionComparableTests: XCTestCase { Version("13.1.1-alpha"): Version("13.1.1-beta"), Version("5-h2o4hr"): Version("5"), Version("5-alpha.1"): Version("5-alpha.2"), - Version("5-alpha.2"): Version("5-alpha.beta") + Version("5-alpha.2"): Version("5-alpha.beta"), + Version("5-alpha.23+500"): Version("5-alpha.beta+200") ] testData.forEach { lhs, rhs in diff --git a/Tests/SwiftVersionCompareTests/VersionTests.swift b/Tests/SwiftVersionCompareTests/VersionTests.swift index e62109d..3babc7a 100644 --- a/Tests/SwiftVersionCompareTests/VersionTests.swift +++ b/Tests/SwiftVersionCompareTests/VersionTests.swift @@ -87,7 +87,9 @@ final class VersionTests: XCTestCase { "1.1.4354vdf", "18+123+something", "1.2.3-test+123-123-123-123+", - "0000001.00000001.01111" + "0000001.00000001.01111", + "1.1.1-alpha%", + "2-beta+23$" ] func testValidConstruction() { diff --git a/docs/Enums.html b/docs/Enums.html index 414dd30..5f866bf 100644 --- a/docs/Enums.html +++ b/docs/Enums.html @@ -17,7 +17,7 @@
-

Docs (97% documented)

+

Docs (100% documented)

@@ -135,7 +135,7 @@

Declaration

-

Typed build-meta-data identifier.

+

Typed build-meta-data.

Note

Identifier can be described using alphanumeric letters or digits.

diff --git a/docs/Enums/BuildMetaData.html b/docs/Enums/BuildMetaData.html index d5c3e9d..6ea6ae7 100644 --- a/docs/Enums/BuildMetaData.html +++ b/docs/Enums/BuildMetaData.html @@ -17,7 +17,7 @@
-

Docs (97% documented)

+

Docs (100% documented)

@@ -91,7 +91,7 @@

BuildMetaData

-

Typed build-meta-data identifier.

+

Typed build-meta-data.

Note

Identifier can be described using alphanumeric letters or digits.

@@ -278,7 +278,7 @@

Declaration

-

Undocumented

+

Raw string representation of a build-meta-data.

diff --git a/docs/Enums/PrereleaseIdentifier.html b/docs/Enums/PrereleaseIdentifier.html index a5a068d..dd51f1b 100644 --- a/docs/Enums/PrereleaseIdentifier.html +++ b/docs/Enums/PrereleaseIdentifier.html @@ -17,7 +17,7 @@
-

Docs (97% documented)

+

Docs (100% documented)

@@ -445,7 +445,7 @@

Declaration

-

Undocumented

+

Raw string representation of a pre-release identifier.

diff --git a/docs/Enums/VersionCompareResult.html b/docs/Enums/VersionCompareResult.html index 5396649..e7b11de 100644 --- a/docs/Enums/VersionCompareResult.html +++ b/docs/Enums/VersionCompareResult.html @@ -17,7 +17,7 @@
-

Docs (97% documented)

+

Docs (100% documented)

diff --git a/docs/Extensions.html b/docs/Extensions.html index 1a10a88..352d4fb 100644 --- a/docs/Extensions.html +++ b/docs/Extensions.html @@ -17,7 +17,7 @@

-

Docs (97% documented)

+

Docs (100% documented)

diff --git a/docs/Extensions/Bundle.html b/docs/Extensions/Bundle.html index e8a5089..03501ff 100644 --- a/docs/Extensions/Bundle.html +++ b/docs/Extensions/Bundle.html @@ -17,7 +17,7 @@

-

Docs (97% documented)

+

Docs (100% documented)

diff --git a/docs/Extensions/ProcessInfo.html b/docs/Extensions/ProcessInfo.html index c2a52c8..84ba84e 100644 --- a/docs/Extensions/ProcessInfo.html +++ b/docs/Extensions/ProcessInfo.html @@ -17,7 +17,7 @@

-

Docs (97% documented)

+

Docs (100% documented)

diff --git a/docs/Protocols.html b/docs/Protocols.html index 5a24007..c23b45d 100644 --- a/docs/Protocols.html +++ b/docs/Protocols.html @@ -17,7 +17,7 @@

-

Docs (97% documented)

+

Docs (100% documented)

diff --git a/docs/Protocols/SemanticVersionComparable.html b/docs/Protocols/SemanticVersionComparable.html index 2729bec..9be5972 100644 --- a/docs/Protocols/SemanticVersionComparable.html +++ b/docs/Protocols/SemanticVersionComparable.html @@ -17,7 +17,7 @@

-

Docs (97% documented)

+

Docs (100% documented)

diff --git a/docs/Structs.html b/docs/Structs.html index 8ce6327..fe093e4 100644 --- a/docs/Structs.html +++ b/docs/Structs.html @@ -17,7 +17,7 @@

-

Docs (97% documented)

+

Docs (100% documented)

diff --git a/docs/Structs/Version.html b/docs/Structs/Version.html index 22a98dd..fe2ebaf 100644 --- a/docs/Structs/Version.html +++ b/docs/Structs/Version.html @@ -17,7 +17,7 @@

-

Docs (97% documented)

+

Docs (100% documented)

diff --git a/docs/badge.svg b/docs/badge.svg index 5f56a7e..a096fec 100644 --- a/docs/badge.svg +++ b/docs/badge.svg @@ -1,15 +1,15 @@ - + - + - - + + @@ -18,11 +18,11 @@ documentation - - 97% + + 100% - - 97% + + 100% diff --git a/docs/docsets/.docset/Contents/Resources/Documents/Enums.html b/docs/docsets/.docset/Contents/Resources/Documents/Enums.html index 414dd30..5f866bf 100644 --- a/docs/docsets/.docset/Contents/Resources/Documents/Enums.html +++ b/docs/docsets/.docset/Contents/Resources/Documents/Enums.html @@ -17,7 +17,7 @@

-

Docs (97% documented)

+

Docs (100% documented)

@@ -135,7 +135,7 @@

Declaration

-

Typed build-meta-data identifier.

+

Typed build-meta-data.

Note

Identifier can be described using alphanumeric letters or digits.

diff --git a/docs/docsets/.docset/Contents/Resources/Documents/Enums/BuildMetaData.html b/docs/docsets/.docset/Contents/Resources/Documents/Enums/BuildMetaData.html index d5c3e9d..6ea6ae7 100644 --- a/docs/docsets/.docset/Contents/Resources/Documents/Enums/BuildMetaData.html +++ b/docs/docsets/.docset/Contents/Resources/Documents/Enums/BuildMetaData.html @@ -17,7 +17,7 @@
-

Docs (97% documented)

+

Docs (100% documented)

@@ -91,7 +91,7 @@

BuildMetaData

-

Typed build-meta-data identifier.

+

Typed build-meta-data.

Note

Identifier can be described using alphanumeric letters or digits.

@@ -278,7 +278,7 @@

Declaration

-

Undocumented

+

Raw string representation of a build-meta-data.

diff --git a/docs/docsets/.docset/Contents/Resources/Documents/Enums/PrereleaseIdentifier.html b/docs/docsets/.docset/Contents/Resources/Documents/Enums/PrereleaseIdentifier.html index a5a068d..dd51f1b 100644 --- a/docs/docsets/.docset/Contents/Resources/Documents/Enums/PrereleaseIdentifier.html +++ b/docs/docsets/.docset/Contents/Resources/Documents/Enums/PrereleaseIdentifier.html @@ -17,7 +17,7 @@
-

Docs (97% documented)

+

Docs (100% documented)

@@ -445,7 +445,7 @@

Declaration

-

Undocumented

+

Raw string representation of a pre-release identifier.

diff --git a/docs/docsets/.docset/Contents/Resources/Documents/Enums/VersionCompareResult.html b/docs/docsets/.docset/Contents/Resources/Documents/Enums/VersionCompareResult.html index 5396649..e7b11de 100644 --- a/docs/docsets/.docset/Contents/Resources/Documents/Enums/VersionCompareResult.html +++ b/docs/docsets/.docset/Contents/Resources/Documents/Enums/VersionCompareResult.html @@ -17,7 +17,7 @@
-

Docs (97% documented)

+

Docs (100% documented)

diff --git a/docs/docsets/.docset/Contents/Resources/Documents/Extensions.html b/docs/docsets/.docset/Contents/Resources/Documents/Extensions.html index 1a10a88..352d4fb 100644 --- a/docs/docsets/.docset/Contents/Resources/Documents/Extensions.html +++ b/docs/docsets/.docset/Contents/Resources/Documents/Extensions.html @@ -17,7 +17,7 @@

-

Docs (97% documented)

+

Docs (100% documented)

diff --git a/docs/docsets/.docset/Contents/Resources/Documents/Extensions/Bundle.html b/docs/docsets/.docset/Contents/Resources/Documents/Extensions/Bundle.html index e8a5089..03501ff 100644 --- a/docs/docsets/.docset/Contents/Resources/Documents/Extensions/Bundle.html +++ b/docs/docsets/.docset/Contents/Resources/Documents/Extensions/Bundle.html @@ -17,7 +17,7 @@

-

Docs (97% documented)

+

Docs (100% documented)

diff --git a/docs/docsets/.docset/Contents/Resources/Documents/Extensions/ProcessInfo.html b/docs/docsets/.docset/Contents/Resources/Documents/Extensions/ProcessInfo.html index c2a52c8..84ba84e 100644 --- a/docs/docsets/.docset/Contents/Resources/Documents/Extensions/ProcessInfo.html +++ b/docs/docsets/.docset/Contents/Resources/Documents/Extensions/ProcessInfo.html @@ -17,7 +17,7 @@

-

Docs (97% documented)

+

Docs (100% documented)

diff --git a/docs/docsets/.docset/Contents/Resources/Documents/Protocols.html b/docs/docsets/.docset/Contents/Resources/Documents/Protocols.html index 5a24007..c23b45d 100644 --- a/docs/docsets/.docset/Contents/Resources/Documents/Protocols.html +++ b/docs/docsets/.docset/Contents/Resources/Documents/Protocols.html @@ -17,7 +17,7 @@

-

Docs (97% documented)

+

Docs (100% documented)

diff --git a/docs/docsets/.docset/Contents/Resources/Documents/Protocols/SemanticVersionComparable.html b/docs/docsets/.docset/Contents/Resources/Documents/Protocols/SemanticVersionComparable.html index 2729bec..9be5972 100644 --- a/docs/docsets/.docset/Contents/Resources/Documents/Protocols/SemanticVersionComparable.html +++ b/docs/docsets/.docset/Contents/Resources/Documents/Protocols/SemanticVersionComparable.html @@ -17,7 +17,7 @@

-

Docs (97% documented)

+

Docs (100% documented)

diff --git a/docs/docsets/.docset/Contents/Resources/Documents/Structs.html b/docs/docsets/.docset/Contents/Resources/Documents/Structs.html index 8ce6327..fe093e4 100644 --- a/docs/docsets/.docset/Contents/Resources/Documents/Structs.html +++ b/docs/docsets/.docset/Contents/Resources/Documents/Structs.html @@ -17,7 +17,7 @@

-

Docs (97% documented)

+

Docs (100% documented)

diff --git a/docs/docsets/.docset/Contents/Resources/Documents/Structs/Version.html b/docs/docsets/.docset/Contents/Resources/Documents/Structs/Version.html index 22a98dd..fe2ebaf 100644 --- a/docs/docsets/.docset/Contents/Resources/Documents/Structs/Version.html +++ b/docs/docsets/.docset/Contents/Resources/Documents/Structs/Version.html @@ -17,7 +17,7 @@

-

Docs (97% documented)

+

Docs (100% documented)

diff --git a/docs/docsets/.docset/Contents/Resources/Documents/index.html b/docs/docsets/.docset/Contents/Resources/Documents/index.html index a0d6426..ac848d7 100644 --- a/docs/docsets/.docset/Contents/Resources/Documents/index.html +++ b/docs/docsets/.docset/Contents/Resources/Documents/index.html @@ -16,7 +16,7 @@

-

Docs (97% documented)

+

Docs (100% documented)

@@ -81,7 +81,7 @@

-

SwiftVersionCheck

+

SwiftVersionCompare

platforms languages diff --git a/docs/docsets/.docset/Contents/Resources/Documents/search.json b/docs/docsets/.docset/Contents/Resources/Documents/search.json index 1c6c4b0..b2cb8bc 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: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 MAJORupdate

","parent_name":"VersionCompareResult"},"Enums/VersionCompareResult.html#/s:19SwiftVersionCompare0bC6ResultO5minoryA2CmF":{"name":"minor","abstract":"

A MINORupdate

","parent_name":"VersionCompareResult"},"Enums/VersionCompareResult.html#/s:19SwiftVersionCompare0bC6ResultO5patchyA2CmF":{"name":"patch","abstract":"

A PATCHupdate

","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":"

Raw string representation of a pre-release identifier.

","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":"

Raw string representation of a build-meta-data.

","parent_name":"BuildMetaData"},"Enums/VersionCompareResult.html#/s:19SwiftVersionCompare0bC6ResultO5majoryA2CmF":{"name":"major","abstract":"

A MAJORupdate

","parent_name":"VersionCompareResult"},"Enums/VersionCompareResult.html#/s:19SwiftVersionCompare0bC6ResultO5minoryA2CmF":{"name":"minor","abstract":"

A MINORupdate

","parent_name":"VersionCompareResult"},"Enums/VersionCompareResult.html#/s:19SwiftVersionCompare0bC6ResultO5patchyA2CmF":{"name":"patch","abstract":"

A PATCHupdate

","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.

"},"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/.tgz b/docs/docsets/.tgz index e009a02..33ff4bf 100644 Binary files a/docs/docsets/.tgz and b/docs/docsets/.tgz differ diff --git a/docs/index.html b/docs/index.html index a0d6426..ac848d7 100644 --- a/docs/index.html +++ b/docs/index.html @@ -16,7 +16,7 @@
-

Docs (97% documented)

+

Docs (100% documented)

@@ -81,7 +81,7 @@

-

SwiftVersionCheck

+

SwiftVersionCompare

platforms languages diff --git a/docs/search.json b/docs/search.json index 1c6c4b0..b2cb8bc 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: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 MAJORupdate

","parent_name":"VersionCompareResult"},"Enums/VersionCompareResult.html#/s:19SwiftVersionCompare0bC6ResultO5minoryA2CmF":{"name":"minor","abstract":"

A MINORupdate

","parent_name":"VersionCompareResult"},"Enums/VersionCompareResult.html#/s:19SwiftVersionCompare0bC6ResultO5patchyA2CmF":{"name":"patch","abstract":"

A PATCHupdate

","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":"

Raw string representation of a pre-release identifier.

","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":"

Raw string representation of a build-meta-data.

","parent_name":"BuildMetaData"},"Enums/VersionCompareResult.html#/s:19SwiftVersionCompare0bC6ResultO5majoryA2CmF":{"name":"major","abstract":"

A MAJORupdate

","parent_name":"VersionCompareResult"},"Enums/VersionCompareResult.html#/s:19SwiftVersionCompare0bC6ResultO5minoryA2CmF":{"name":"minor","abstract":"

A MINORupdate

","parent_name":"VersionCompareResult"},"Enums/VersionCompareResult.html#/s:19SwiftVersionCompare0bC6ResultO5patchyA2CmF":{"name":"patch","abstract":"

A PATCHupdate

","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.

"},"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/undocumented.json b/docs/undocumented.json index 77f0725..4314a61 100644 --- a/docs/undocumented.json +++ b/docs/undocumented.json @@ -1,19 +1,6 @@ { "warnings": [ - { - "file": "/Users/nihilias/Developer/Repositories/SwiftVersionCompare/Sources/SwiftVersionCompare/SemanticVersionComparable/BuildMetaData/BuildMetaData.swift", - "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": 49, - "symbol": "PrereleaseIdentifier.value", - "symbol_kind": "source.lang.swift.decl.var.instance", - "warning": "undocumented" - } + ], "source_directory": "/Users/nihilias/Developer/Repositories/SwiftVersionCompare" } \ No newline at end of file