From 190b336601710efa13ce0f9c85584bc4eef425d0 Mon Sep 17 00:00:00 2001 From: Thijs Schreijer Date: Sun, 11 Jul 2021 09:04:56 +0200 Subject: [PATCH] release 0.3 --- README.md | 8 ++++++++ rockspecs/uuid-0.3-1.rockspec | 35 +++++++++++++++++++++++++++++++++++ 2 files changed, 43 insertions(+) create mode 100644 rockspecs/uuid-0.3-1.rockspec diff --git a/README.md b/README.md index 962e146..c4df1cb 100644 --- a/README.md +++ b/README.md @@ -1,3 +1,5 @@ +[![Build Status](https://travis-ci.com/Tieske/uuid.svg?branch=master)](https://travis-ci.com/Tieske/uuid) + uuid ==== @@ -28,6 +30,12 @@ and LuaCheck for linting. Changes ======= +0.3 11-Jul-2021 + + - Fix: set proper type for UUIDv4 type + - Feat: improve seeding for OpenResty + - Doc: fix link in readme + 0.2 09-May-2013 - Bugfix; 0-hex was displayed as "" instead of "00", making some uuids too short diff --git a/rockspecs/uuid-0.3-1.rockspec b/rockspecs/uuid-0.3-1.rockspec new file mode 100644 index 0000000..1171b7f --- /dev/null +++ b/rockspecs/uuid-0.3-1.rockspec @@ -0,0 +1,35 @@ +local package_name = "uuid" +local package_version = "0.3" +local rockspec_revision = "1" +local github_account_name = "Tieske" +local github_repo_name = package_name + + +package = package_name +version = package_version.."-"..rockspec_revision +source = { + url = "git://github.com/"..github_account_name.."/"..github_repo_name..".git", + branch = (package_version == "dev") and "master" or nil, + tag = (package_version ~= "dev") and package_version or nil, +} + +description = { + summary = "Generates uuids in pure Lua", + detailed = [[ + Generates uuids in pure Lua, but requires a + good random seed or a unique string. Please check the documentation. + ]], + license = "Apache 2.0", + homepage = "https://github.com/"..github_account_name.."/"..github_repo_name, +} + +dependencies = { + "lua >= 5.1", +} + +build = { + type = "builtin", + modules = { + ["uuid"] = "src/uuid.lua", + }, +}