From 8a43f86ff7f99f95b11b7e00fcacb0e2ddb21c52 Mon Sep 17 00:00:00 2001 From: leslie Date: Mon, 14 Feb 2022 12:08:30 +0800 Subject: [PATCH 1/2] fix: add missing deps for rockspec --- rockspec/jsonschema-master-0.rockspec | 1 + 1 file changed, 1 insertion(+) diff --git a/rockspec/jsonschema-master-0.rockspec b/rockspec/jsonschema-master-0.rockspec index 4abd94d..894c035 100644 --- a/rockspec/jsonschema-master-0.rockspec +++ b/rockspec/jsonschema-master-0.rockspec @@ -20,6 +20,7 @@ Base on https://github.com/jdesgats/ljsonschema . dependencies = { "net-url", + "lrexlib-pcre = 2.9.1-1", } build = { From 8aff57512125e67fad354f28a01dc19cebba11b8 Mon Sep 17 00:00:00 2001 From: leslie Date: Mon, 14 Feb 2022 14:13:30 +0800 Subject: [PATCH 2/2] docs: update readme --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 4b555ce..73e4db4 100644 --- a/README.md +++ b/README.md @@ -32,7 +32,7 @@ Running the tests: The project references the pcre regular library. If you were using the LuaJIT of OpenResty, it will use the built-in `ngx.re.find` automatically. -But if you are using Lua 5.2, 5.3 or LuaJIT 2.1 beta, you will need to install `lrexlib-pcre`. +But if you are using Lua 5.2, 5.3 or LuaJIT 2.1 beta, it will use `lrexlib-pcre` instead. In addition, the project also relies on the `net_url` library, which you need to install anyway.