GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — GitHub - Kong/version.lua: Simple version comparison library

BranchesTags
Open more actions menu

Latest commit

 

History

27 Commits
27 Commits

Folders and files

NameName
Last commit message
Last commit date
docs
docs
 
 
spec
spec
 
 
src
src
 
 
.editorconfig
.editorconfig
 
 
.gitignore
.gitignore
 
 
.luacheckrc
.luacheckrc
 
 
.luacov
.luacov
 
 
.travis.yml
.travis.yml
 
 
LICENSE
LICENSE
 
 
config.ld
config.ld
 
 
readme.md
readme.md
 
 
version-1.0.1-2.rockspec
version-1.0.1-2.rockspec
 
 

Repository files navigation

Build Status Coverage Status

Version

Version comparison library for Lua. Does simple comparisons between versions, ranges, and sets of ranges. Including basic SemVer support.

License: Apache 2.0

Copyright: Kong Inc.

Author: Thijs Schreijer

Installation

Install through LuaRocks (luarocks install version) or from source, see the github repo.

Documentation

Can be generated using Ldoc. Just run "./ldoc ." from the repo.

Tests are in the spec folder.

Copyright and License

Copyright 2016-2019 Kong Inc.

Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at

   http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.

History

1.0.1 10-Jan-2019

  • fixed an accidental global variable
  • added check on types to the __lt metamethod to prevent accidental bad comparisons

1.0 13-Oct-2017

  • many breaking changes, renamed methods, added SemVer, and updated 'strict'

0.3 18-Oct-2016

  • relaxed parsing rules, added the strict flag

0.2 14-May-2016

  • added 'tostring' meta-methods, and a required initial version for 'set'

0.1 13-May-2016

  • Initial version

About

Simple version comparison library

kong.github.io/version.lua/

Resources

Readme
Apache-2.0 license
Activity
Custom properties

Stars

11 stars

Watchers

36 watching

Forks

7 forks
Report repository

Releases

Packages

Used by

Contributors

Languages

You are visitor 01402520 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.