Skip to content

Commit

Permalink
Release 1.0. Added rockspec.
Browse files Browse the repository at this point in the history
  • Loading branch information
bungle committed Sep 15, 2014
1 parent d225507 commit 3c6f6a1
Show file tree
Hide file tree
Showing 2 changed files with 31 additions and 0 deletions.
9 changes: 9 additions & 0 deletions lib/resty/validation/ngx.lua
Original file line number Diff line number Diff line change
Expand Up @@ -49,3 +49,12 @@ function factory.crc32()
return true, crc32long(value)
end
end
return {
escape_uri = factory.escape_uri,
unescape_uri = factory.unescape_uri,
base64enc = factory.base64enc,
base64dec = factory.base64dec,
crc32short = factory.crc32short,
crc32long = factory.crc32long,
crc32 = factory.crc32,
}
22 changes: 22 additions & 0 deletions lua-resty-validation-dev-1.rockspec
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
package = "lua-resty-validation"
version = "dev-1"
source = {
url = "git://github.com/bungle/lua-resty-validation.git"
}
description = {
summary = "Validation Library (Input Validation and Filtering) for Lua and OpenResty",
detailed = "ua-resty-validation is an extendable chaining validation and filtering library for Lua and OpenResty.",
homepage = "https://github.com/bungle/lua-resty-validation",
maintainer = "Aapo Talvensaari <[email protected]>",
license = "BSD"
}
dependencies = {
"lua >= 5.1"
}
build = {
type = "builtin",
modules = {
["resty.validation"] = "lib/resty/validation.lua",
["resty.validation.ngx"] = "lib/resty/validation/ngx.lua"
}
}

0 comments on commit 3c6f6a1

Please sign in to comment.