canton7 / canton7/sem_version

' 1.1.001' is not a valid semantic version

Open
#2 0 comments 0 reactions 0 assignees View on GitHub
bug
Dominant language
Ruby
Stars
14
Forks
3
PR merge metrics
No merged PRs in 30d

Description

```
SemVersion.valid? '1.1.001'
```
should return `false` but returns `true` instead.

> A normal version number MUST take the form X.Y.Z where X, Y, and Z are non-negative integers, and **MUST NOT contain leading zeroes**.

source: https://semver.org/#spec-item-2

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.