Skip to content

Commit

Permalink
uploaded to opm
Browse files Browse the repository at this point in the history
  • Loading branch information
jianhao.dai committed Aug 31, 2018
1 parent 8ddc61d commit 4003ead
Show file tree
Hide file tree
Showing 15 changed files with 21 additions and 19 deletions.
12 changes: 7 additions & 5 deletions dist.ini
@@ -1,8 +1,10 @@
name=lua-resty-sm3
abstract=SM3 hash algorithm for OpenResty/LuaJIT
author=toruneko
name=lua-resty-influx
abstract=Lua influx metrics module for OpenResty/LuaJIT
author=Jianhao Dai(toruneko)
is_original=yes
license=mit
lib_dir=lib
repo_link=https://github.com/toruneko/lua-resty-sm3
version=0.01
repo_link=https://github.com/toruneko/lua-resty-influx
version=0.0.1
requires=pintsized/lua-resty-http
main_module=lib/resty/influx/registry.lua
2 changes: 1 addition & 1 deletion lib/resty/influx/db/client.lua
Expand Up @@ -3,7 +3,7 @@ local http = require "resty.http"

local setmetatable = setmetatable

local _M = { _VERSION = '0.01' }
local _M = { _VERSION = '0.0.1' }
local mt = { __index = _M }

function _M.new(url, username, password, db)
Expand Down
2 changes: 1 addition & 1 deletion lib/resty/influx/db/point.lua
Expand Up @@ -12,7 +12,7 @@ local tonumber = tonumber
local pairs = pairs
local type = type

local _M = { _VERSION = '0.01' }
local _M = { _VERSION = '0.0.1' }
local mt = { __index = _M }

local ok, new_tab = pcall(require, "table.new")
Expand Down
2 changes: 1 addition & 1 deletion lib/resty/influx/db/reporter.lua
Expand Up @@ -11,7 +11,7 @@ local tonumber = tonumber
local pairs = pairs
local error = error

local _M = { _VERSION = '0.01' }
local _M = { _VERSION = '0.0.1' }
local mt = { __index = _M }

local ok, new_tab = pcall(require, "table.new")
Expand Down
2 changes: 1 addition & 1 deletion lib/resty/influx/measurement.lua
Expand Up @@ -8,7 +8,7 @@ local histogram = require "resty.influx.metrics.histogram"
local pairs = pairs
local setmetatable = setmetatable

local _M = { _VERSION = '0.01' }
local _M = { _VERSION = '0.0.1' }
local mt = { __index = _M }

local ok, new_tab = pcall(require, "table.new")
Expand Down
2 changes: 1 addition & 1 deletion lib/resty/influx/metrics/averager.lua
Expand Up @@ -2,7 +2,7 @@

local setmetatable = setmetatable

local _M = { _VERSION = '0.01' }
local _M = { _VERSION = '0.0.1' }
local mt = { __index = _M }

function _M.new(key, name)
Expand Down
2 changes: 1 addition & 1 deletion lib/resty/influx/metrics/counter.lua
Expand Up @@ -2,7 +2,7 @@

local setmetatable = setmetatable

local _M = { _VERSION = '0.01' }
local _M = { _VERSION = '0.0.1' }
local mt = { __index = _M }

function _M.new(key, name)
Expand Down
2 changes: 1 addition & 1 deletion lib/resty/influx/metrics/histogram.lua
Expand Up @@ -4,7 +4,7 @@ local reservoir = require "resty.influx.metrics.histogram.reservoir"

local setmetatable = setmetatable

local _M = { _VERSION = '0.01' }
local _M = { _VERSION = '0.0.1' }
local mt = { __index = _M }

function _M.new(key, name, opts)
Expand Down
2 changes: 1 addition & 1 deletion lib/resty/influx/metrics/histogram/reservoir.lua
Expand Up @@ -10,7 +10,7 @@ local sort = table.sort
local ipairs = ipairs
local exp = math.exp

local _M = { _VERSION = '0.01' }
local _M = { _VERSION = '0.0.1' }
local mt = { __index = _M }

local ok, new_tab = pcall(require, "table.new")
Expand Down
2 changes: 1 addition & 1 deletion lib/resty/influx/metrics/histogram/snapshot.lua
Expand Up @@ -3,7 +3,7 @@
local setmetatable = setmetatable
local sqrt = math.sqrt

local _M = { _VERSION = '0.01' }
local _M = { _VERSION = '0.0.1' }
local mt = { __index = _M }

local ok, new_tab = pcall(require, "table.new")
Expand Down
2 changes: 1 addition & 1 deletion lib/resty/influx/metrics/timer.lua
Expand Up @@ -4,7 +4,7 @@ local averager = require "resty.influx.metrics.averager"
local context = require "resty.influx.metrics.timer.context"
local setmetatable = setmetatable

local _M = { _VERSION = '0.01' }
local _M = { _VERSION = '0.0.1' }
local mt = { __index = _M }

function _M.new(key, name)
Expand Down
2 changes: 1 addition & 1 deletion lib/resty/influx/metrics/timer/context.lua
Expand Up @@ -5,7 +5,7 @@ local clock = require "resty.influx.util.clock"
local setmetatable = setmetatable
local error = error

local _M = { _VERSION = '0.01' }
local _M = { _VERSION = '0.0.1' }
local mt = { __index = _M }

function _M.new(timer)
Expand Down
2 changes: 1 addition & 1 deletion lib/resty/influx/registry.lua
Expand Up @@ -9,7 +9,7 @@ local md5 = ngx.md5
local ipairs = ipairs
local pairs = pairs

local _M = { _VERSION = '0.01' }
local _M = { _VERSION = '0.0.1' }
local mt = { __index = _M }

local ok, new_tab = pcall(require, "table.new")
Expand Down
2 changes: 1 addition & 1 deletion lib/resty/influx/util/clock.lua
Expand Up @@ -21,7 +21,7 @@ ffi.cdef [[
]]
local timeval_type = ffi.typeof("struct clock_timeval_t")

local _M = { _VERSION = '0.01' }
local _M = { _VERSION = '0.0.1' }

local function usectime()
if ngx_utime then
Expand Down
2 changes: 1 addition & 1 deletion lib/resty/influx/util/skiplist.lua
Expand Up @@ -256,7 +256,7 @@ local function iterator(list)
end
end

local _M = { _VERSION = '0.01' }
local _M = { _VERSION = '0.0.1' }
local mt = { __index = _M }

function _M.new()
Expand Down

0 comments on commit 4003ead

Please sign in to comment.