Skip to content
This repository was archived by the owner on Apr 23, 2021. It is now read-only.

cowboyhq/Semver.Swift-obsolete

 
 

Repository files navigation

Swift Semantic Versioning Library

Build Status Carthage compatible CocoaPods

Semver.swift is described by the v2.0.0 specification found at http://semver.org/.

Usage

Semver.valid("1.2.3") // true
Semver.valid("a.b.c") // false
Semver.clean("  =v1.2.3   ") // '1.2.3'
Semver.gt("1.2.3", "9.8.7") // false
Semver.lt("1.2.3", "9.8.7") // true
Semver.gte("1.2.3", "9.8.7") // false
Semver.lte("1.2.3", "9.8.7") // true
Semver.eq("1.2.3", "9.8.7") // false

Author

di wu, di.wu@me.com

License

Semver.swift is available under the MIT license. See the LICENSE file for more info.

About

Semantic Versioning library for Swift

Resources

License

Stars

Watchers

Forks

Packages

 
 
 

Contributors

Languages

  • Swift 87.7%
  • Ruby 6.4%
  • Objective-C 5.9%