Robinson
6b17c1ee4c
Cleaned up warnings
2022-03-07 18:33:29 +01:00
Robinson
88da905b87
Converted project to kotlin
2022-02-02 14:51:12 +01:00
Robinson
cfd60f2e02
Removed static methods to create a version object. It now uses the constructor.
2021-08-15 10:47:02 -06:00
Robinson
b094557268
Changed package structure to the same as other projects
2021-04-16 16:38:23 +02:00
Robinson
2ca31e0bc5
Modified to permit reading pre-release information following '_' (in addition to '-')
2021-04-14 14:45:37 +02:00
nathan
e1a8278cd5
Added exceptions for minor version number. A single major version number can be parsed, but will not be output in toString().
2020-08-06 15:09:23 +02:00
nathan
447cdfb68e
Added additional exception to parsing for SEMVER, so build information can be following the version numbers using '.'.
...
Not all projects follow semver in their version information, and if we are to use any sort of enforcable semantics for versioning, we have to permit PARSING more relaxed formats (using sensible defaults). When *writing* this information, it will be compatible and correct
2020-08-05 02:36:49 +02:00
nathan
994e3995b1
Added tests to make sure patch info is removed/kept appropriately
2018-08-05 15:38:37 +02:00
nathan
2c6aca86e3
Updated tests to also test for version string path info exclusion when incrementing major/minor
2018-08-05 15:34:36 +02:00
nathan
ef011766fa
Refactored package name from semver -> version
2018-08-05 15:10:01 +02:00
nathan
5e7929426e
Code cleanup and refactored package name. Patch information is now optional
2018-08-03 05:09:40 +02:00