Skip to content

Commit

Permalink
release 1.1.5
Browse files Browse the repository at this point in the history
  • Loading branch information
Tieske committed Jun 27, 2023
1 parent 255c970 commit d1c8586
Show file tree
Hide file tree
Showing 2 changed files with 41 additions and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -234,7 +234,7 @@ For version behaviour and scoping see [Versioning](#versioning).
- push the commit and the tag; `git push && git push --tags`
- upload rockspec; `luarocks upload rockspecs/lua-resty-ljsonschema-X.Y.Z-1.rockspec --api-key=abcdef`

### unreleased
### 1.1.5 (27-Jun-2023)
- fix: using default Lua `tostring` on numbers when generating code can loose
precision. Implemented a non-lossy function.
([#21](https://github.com/Tieske/lua-resty-ljsonschema/pull/21))
Expand Down
40 changes: 40 additions & 0 deletions rockspecs/lua-resty-ljsonschema-1.1.5-1.rockspec
Original file line number Diff line number Diff line change
@@ -0,0 +1,40 @@
local package_name = "lua-resty-ljsonschema"
local package_version = "1.1.5"
local rockspec_revision = "1"
local github_account_name = "Tieske"
local github_repo_name = package_name
local git_checkout = package_version == "scm" and "master" or package_version


package = package_name
version = package_version .. "-" .. rockspec_revision

source = {
url = "git://github.com/"..github_account_name.."/"..github_repo_name..".git",
branch = git_checkout
}

description = {
summary = "JSON Schema data validator",
detailed = [[
This module is a data validator that implements JSON Schema draft 4.
Given a JSON schema, it will generate a validator function that can be used
to validate any kind of data (not limited to JSON).
]],
homepage = "https://github.com/"..github_account_name.."/"..github_repo_name,
license = "MIT/X11"
}

dependencies = {
"lua >= 5.1",
"net-url",
}

build = {
type = "builtin",
modules = {
["resty.ljsonschema.init"] = "src/resty/ljsonschema/init.lua",
["resty.ljsonschema.store"] = "src/resty/ljsonschema/store.lua",
["resty.ljsonschema.metaschema"] = "src/resty/ljsonschema/metaschema.lua",
}
}

0 comments on commit d1c8586

Please sign in to comment.