8 Commits

Author SHA1 Message Date
Enrique García Cota
a4b708ba24 Merge pull request #13 from OmgImAlexis/patch-1
chore: fix typo "tother" -> "this"
2025-01-30 17:09:40 +01:00
Enrique García Cota
e75daccd6d Merge pull request #14 from tomodachi94/master
chore: Fix URL to Busted
2025-01-30 17:09:14 +01:00
Tomo
37d184fe00 chore: Fix URL to Busted 2022-11-11 10:48:33 -08:00
Alexis Tyler
0c868789e8 chore: fix typo "tother" -> "this" 2022-02-23 13:02:50 +10:30
Enrique García Cota
af495adc85 Merge pull request #9 from JonasJurczok/patch-1 2022-01-20 23:34:41 +01:00
Jonas
8d88140533 remove misleading statement
Hi,
I'm thinking about using the library for a project and found this sentence in the readme.
It seems that the lib is not used at all (no reference to class or middleclass in the code).

Sorry if I'm wrong :)
2019-03-19 08:53:24 +01:00
kikito
42a67e2d22 update changelog 2016-08-04 12:30:28 +02:00
Enrique García
2023667d33 Merge pull request #8 from Guard13007/patch-2
Fix #6 Pre-1.0 upgrades should not be safe
2016-08-04 12:27:48 +02:00
2 changed files with 5 additions and 4 deletions

View File

@@ -66,8 +66,6 @@ local v = require 'semver'
Using `v` allows for the nice string syntax: `v'1.2.3-alpha'`. 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). 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 # 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 # 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 busted
@@ -104,3 +102,6 @@ busted
* Fix several errors and inconsistencies in the way the comparisons where implemented. * 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 * 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

View File

@@ -15,7 +15,7 @@ local semver = {
permit persons to whom the Software is furnished to do so, subject to permit persons to whom the Software is furnished to do so, subject to
the following conditions: 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. in all copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS