mirror of
https://github.com/TangentFoxy/semver.lua.git
synced 2025-07-29 03:22:19 +00:00
Compare commits
8 Commits
Author | SHA1 | Date | |
---|---|---|---|
|
a4b708ba24 | ||
|
e75daccd6d | ||
|
37d184fe00 | ||
|
0c868789e8 | ||
|
af495adc85 | ||
|
8d88140533 | ||
|
42a67e2d22 | ||
|
2023667d33 |
@@ -66,8 +66,6 @@ local v = require 'semver'
|
||||
|
||||
Using `v` allows for the nice string syntax: `v'1.2.3-alpha'`.
|
||||
|
||||
The `package.path` variable must be configured so that the folder in which middleclass.lua is copied is available, of course.
|
||||
|
||||
Please make sure that you read the license, too (for your convenience it's now included at the beginning of the semver.lua file).
|
||||
|
||||
# Notes about version comparison
|
||||
@@ -86,7 +84,7 @@ Builds are ignored when calculating precedence: version 1.2.3 and 1.2.3+build5 a
|
||||
|
||||
# Specs
|
||||
|
||||
This project uses "busted":http://olivinelabs.com/busted/ for its specs. If you want to run the specs, you will have to install telescope first. Then just execute the following from the root inspect folder:
|
||||
This project uses [`busted`](https://lunarmodules.github.io/busted/) for its specs. If you want to run the specs, you will have to install telescope first. Then just execute the following from the root inspect folder:
|
||||
|
||||
```
|
||||
busted
|
||||
@@ -104,3 +102,6 @@ busted
|
||||
* Fix several errors and inconsistencies in the way the comparisons where implemented.
|
||||
* Added a lot more tests to cover more edge cases when comparing versions
|
||||
|
||||
## v.1.2.1
|
||||
* Fix error on pessimistic update operator when applied to a 0.x.x version
|
||||
|
||||
|
@@ -15,7 +15,7 @@ local semver = {
|
||||
permit persons to whom the Software is furnished to do so, subject to
|
||||
the following conditions:
|
||||
|
||||
The above copyright notice and tother permission notice shall be included
|
||||
The above copyright notice and this permission notice shall be included
|
||||
in all copies or substantial portions of the Software.
|
||||
|
||||
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS
|
||||
|
Reference in New Issue
Block a user