Re: [Pharo-users] library for comparing semver versions

2016-05-27 Thread Dale Henrichs
The class MetacelloSemanticVersionNumber can be used to compare Semantic 
version numbers ... Note that there is an outstanding bug that 
MetacelloSemanticVersionNumber will read improperly formatted version 
numbers (fix is in the works), so it's not quite as good for validation 
(at the moment), but it should work for properly formed semantic version 
numbers ...


Dale


[1] https://github.com/dalehenrich/metacello-work/issues/392


On 5/27/16 5:21 AM, Peter Uhnak wrote:

Hi,

is there any library available that can compare versions according to
SemVer? http://semver.org/

Thanks,
Peter






Re: [Pharo-users] library for comparing semver versions

2016-05-27 Thread Christophe Demarey
Hi Peter,

> Le 27 mai 2016 à 14:21, Peter Uhnak  a écrit :
> 
> Hi,
> 
> is there any library available that can compare versions according to
> SemVer? http://semver.org/

You can check the SemanticVersion class from CargoPackageManager-Minimal at 
http://smalltalkhub.com/#!/~demarey/CargoPackageManager.

The comparison is not fully complete for the suffix part but can be added

Christophe


[Pharo-users] library for comparing semver versions

2016-05-27 Thread Peter Uhnak
Hi,

is there any library available that can compare versions according to
SemVer? http://semver.org/

Thanks,
Peter