diff --git a/README.md b/README.md index 59be77d..7d260d4 100644 --- a/README.md +++ b/README.md @@ -8,12 +8,16 @@ lua-resty-jwt - [JWT](http://self-issued.info/docs/draft-jones-json-web-token-01 **Attention :exclamation: the hmac lib used here is [lua-resty-hmac](https://github.com/jkeys089/lua-resty-hmac), not the one in luarocks.** -You can use luarocks to install this lib, everything will be there when the installation is done. +Installation +============ +- opm: `opm get SkyLothar/lua-resty-jwt` +- luarocks: `luarocks install lua-resty-jwt` +- Head to [release page](https://github.com/SkyLothar/lua-resty-jwt/releases) and download `tar.gz` version ======= -0.1.8 +0.1.9 Table of Contents diff --git a/dist.ini b/dist.ini new file mode 100644 index 0000000..d7dd480 --- /dev/null +++ b/dist.ini @@ -0,0 +1,10 @@ +name = lua-resty-jwt +abstract = JWT For The Great Openresty +author = SkyLothar (skylothar) +is_original = yes +license = apache2 +lib_dir = lib +doc_dir = lib +repo_link = https://github.com/SkyLothar/lua-resty-jwt +main_module = lib/resty/jwt.lua +requires = luajit, jkeys089/lua-resty-hmac >= 0.01 diff --git a/lib/resty/jwt.lua b/lib/resty/jwt.lua index 681dc66..78e16e6 100644 --- a/lib/resty/jwt.lua +++ b/lib/resty/jwt.lua @@ -5,7 +5,7 @@ local evp = require "resty.evp" local hmac = require "resty.hmac" local resty_random = require "resty.random" -local _M = {_VERSION="0.1.8"} +local _M = {_VERSION="0.1.9"} local mt = {__index=_M} local string_match= string.match