Skip to content

Commit

Permalink
add support for opm
Browse files Browse the repository at this point in the history
  • Loading branch information
SkyLothar committed Nov 25, 2016
1 parent 409a6ff commit 6f23c40
Show file tree
Hide file tree
Showing 3 changed files with 17 additions and 3 deletions.
8 changes: 6 additions & 2 deletions README.md
Expand Up @@ -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
Expand Down
10 changes: 10 additions & 0 deletions 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
2 changes: 1 addition & 1 deletion lib/resty/jwt.lua
Expand Up @@ -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
Expand Down

0 comments on commit 6f23c40

Please sign in to comment.