Skip to content

Commit fb7b5fb

Browse files
committed
bumped API version to 0.1.23.
1 parent b3970c7 commit fb7b5fb

File tree

2 files changed

+9
-9
lines changed

2 files changed

+9
-9
lines changed

README.markdown

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -110,8 +110,8 @@ of this library in the particular OpenResty release you are using. Otherwise you
110110
into serious compatibility issues.
111111

112112
* LuaJIT 2.1 (for now, it is the v2.1 git branch in the official luajit-2.0 git repository: http://luajit.org/download.html )
113-
* [ngx_http_lua_module](https://github.com/openresty/lua-nginx-module) v0.10.20.
114-
* [ngx_stream_lua_module](https://github.com/openresty/stream-lua-nginx-module) v0.0.10.
113+
* [ngx_http_lua_module](https://github.com/openresty/lua-nginx-module) v0.10.21.
114+
* [ngx_stream_lua_module](https://github.com/openresty/stream-lua-nginx-module) v0.0.11.
115115
* [lua-resty-lrucache](https://github.com/openresty/lua-resty-lrucache)
116116

117117
[Back to TOC](#table-of-contents)

lib/resty/core/base.lua

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -19,22 +19,22 @@ if subsystem == 'http' then
1919
local ngx_lua_v = ngx.config.ngx_lua_version
2020
if not ngx.config
2121
or not ngx.config.ngx_lua_version
22-
or (ngx_lua_v ~= 10019 and ngx_lua_v ~= 10020)
22+
or ngx_lua_v ~= 10021
2323
then
24-
error("ngx_http_lua_module 0.10.19 or 0.10.20 required")
24+
error("ngx_http_lua_module 0.10.21 required")
2525
end
2626

2727
elseif subsystem == 'stream' then
2828
if not ngx.config
2929
or not ngx.config.ngx_lua_version
30-
or ngx.config.ngx_lua_version ~= 10
30+
or ngx.config.ngx_lua_version ~= 11
3131
then
32-
error("ngx_stream_lua_module 0.0.10 required")
32+
error("ngx_stream_lua_module 0.0.11 required")
3333
end
3434

3535
else
36-
error("ngx_http_lua_module 0.10.20 or "
37-
.. "ngx_stream_lua_module 0.0.10 required")
36+
error("ngx_http_lua_module 0.10.21 or "
37+
.. "ngx_stream_lua_module 0.0.11 required")
3838
end
3939

4040

@@ -133,7 +133,7 @@ local c_buf_type = ffi.typeof("char[?]")
133133
local _M = new_tab(0, 18)
134134

135135

136-
_M.version = "0.1.22"
136+
_M.version = "0.1.23"
137137
_M.new_tab = new_tab
138138
_M.clear_tab = clear_tab
139139

0 commit comments

Comments
 (0)