Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
镜像
thibaultcha
lua-resty-jit-uuid
提交
77ba6d9e
L
lua-resty-jit-uuid
项目概览
镜像
/
thibaultcha
/
lua-resty-jit-uuid
通知
0
Star
0
Fork
0
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
0
列表
看板
标记
里程碑
合并请求
0
DevOps
流水线
流水线任务
计划
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
L
lua-resty-jit-uuid
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
0
Issue
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
Pages
DevOps
DevOps
流水线
流水线任务
计划
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
流水线任务
提交
Issue看板
前往新版Gitcode,体验更适合开发者的 AI 搜索 >>
提交
77ba6d9e
编写于
9月 20, 2016
作者:
T
Thibault Charbonnier
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
chore(ci) setup code coverage
上级
c4c676bb
变更
9
隐藏空白更改
内联
并排
Showing
9 changed file
with
38 addition
and
16 deletion
+38
-16
.gitignore
.gitignore
+1
-0
.travis.yml
.travis.yml
+5
-1
README.md
README.md
+5
-0
t/01-sanity.t
t/01-sanity.t
+2
-3
t/02-is_valid.t
t/02-is_valid.t
+2
-3
t/03-v4.t
t/03-v4.t
+2
-3
t/04-v3.t
t/04-v3.t
+2
-3
t/05-v5.t
t/05-v5.t
+2
-3
t/Util.pm
t/Util.pm
+17
-0
未找到文件。
.gitignore
浏览文件 @
77ba6d9e
t/servroot
*.lua
!bench.lua
luacov.*
.travis.yml
浏览文件 @
77ba6d9e
...
...
@@ -22,9 +22,13 @@ before_install:
-
export PATH=$PATH:$PWD/lua_install/bin:$OPENRESTY_DIR/nginx/sbin
-
eval `luarocks path`
-
luarocks install luacheck
-
luarocks install luacov-coveralls
install
:
-
luarocks make
script
:
make lint && make test
script
:
-
make lint
-
make test
-
luacov-coveralls -i lib/resty
cache
:
cpan
:
true
apt
:
true
...
...
README.md
浏览文件 @
77ba6d9e
...
...
@@ -2,6 +2,7 @@
[
![Module Version
][
badge-version-image
]
][luarocks-resty-jit-uuid]
[
![Build Status
][
badge-travis-image
]
][badge-travis-url]
[
![Coverage Status
][
badge-coveralls-image
]
][badge-coveralls-url]
A pure LuaJIT (no dependencies) UUID library tuned for performance.
...
...
@@ -152,4 +153,8 @@ Work licensed under the MIT License.
[
badge-travis-url
]:
https://travis-ci.org/thibaultcha/lua-resty-jit-uuid
[
badge-travis-image
]:
https://travis-ci.org/thibaultcha/lua-resty-jit-uuid.svg?branch=master
[
badge-coveralls-url
]:
https://coveralls.io/r/thibaultcha/lua-resty-jit-uuid?branch=master
[
badge-coveralls-image
]:
https://coveralls.io/repos/thibaultcha/lua-resty-jit-uuid/badge.svg?branch=master&style=flat
[
badge-version-image
]:
https://img.shields.io/badge/version-0.0.5-blue.svg?style=flat
t/01-sanity.t
浏览文件 @
77ba6d9e
# vi:ts=4 sw=4 et fdm=marker:
use
Test::Nginx::Socket::
Lua
;
use
t::
Util
;
our
$HttpConfig
=
<<_EOC_;
lua_package_path 'lib/?.lua;lib/?/init.lua;;';
_EOC_
our
$HttpConfig
=
$
t::Util::
HttpConfig
;
master_on
();
workers
(
2
);
...
...
t/02-is_valid.t
浏览文件 @
77ba6d9e
# vim:set ts=4 sw=4 et fdm=marker:
use
Test::Nginx::Socket::
Lua
;
use
t::
Util
;
our
$HttpConfig
=
<<_EOC_;
lua_package_path 'lib/?.lua;lib/?/init.lua;;';
_EOC_
our
$HttpConfig
=
$
t::Util::
HttpConfig
;
master_on
();
...
...
t/03-v4.t
浏览文件 @
77ba6d9e
# vim:set ts=4 sw=4 et fdm=marker:
use
Test::Nginx::Socket::
Lua
;
use
t::
Util
;
our
$HttpConfig
=
<<_EOC_;
lua_package_path 'lib/?.lua;lib/?/init.lua;;';
_EOC_
our
$HttpConfig
=
$
t::Util::
HttpConfig
;
master_on
();
...
...
t/04-v3.t
浏览文件 @
77ba6d9e
# vim:set ts=4 sw=4 et fdm=marker:
use
Test::Nginx::Socket::
Lua
;
use
t::
Util
;
our
$HttpConfig
=
<<_EOC_;
lua_package_path 'lib/?.lua;lib/?/init.lua;;';
_EOC_
our
$HttpConfig
=
$
t::Util::
HttpConfig
;
master_on
();
...
...
t/05-v5.t
浏览文件 @
77ba6d9e
# vim:set ts=4 sw=4 et fdm=marker:
use
Test::Nginx::Socket::
Lua
;
use
t::
Util
;
our
$HttpConfig
=
<<_EOC_;
lua_package_path 'lib/?.lua;lib/?/init.lua;;';
_EOC_
our
$HttpConfig
=
$
t::Util::
HttpConfig
;
master_on
();
...
...
t/Util.pm
0 → 100644
浏览文件 @
77ba6d9e
package
t::
Util
;
use
strict
;
use
warnings
;
our
$HttpConfig
=
<<'_EOC_';
lua_package_path 'lib/?.lua;lib/?/init.lua;;';
init_by_lua_block {
runner = require 'luacov.runner'
runner.tick = true
runner.init {savestepsize = 3}
jit.off()
}
_EOC_
1
;
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录