Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

release 1.2.0-2 #33

Merged
merged 2 commits into from
Oct 24, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 3 additions & 1 deletion .github/workflows/lua.yml
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,9 @@ jobs:
- uses: leafo/gh-actions-luarocks@v4

- name: dependencies
run: make dev
run: |
make dev
luarocks install lua-cjson

- name: test
run: busted --lua=lua --Xoutput "--color"
4 changes: 3 additions & 1 deletion .github/workflows/openresty.yml
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,9 @@ jobs:
withLuaPath: "/usr/local/openresty/luajit/"

- name: dependencies
run: make dev
run: |
make dev
luarocks install lua-cjson

- name: test
run: busted
12 changes: 12 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,13 @@ The scope of what is covered by the version number excludes:

## Version history

### 1.2.0-2 (24-Oct-2024)

- this rockspec update was lost on 1.2.0 release (see 1.1.6-2 below), applying it again.
This is not a real release (has no tag), since it doesn't change any code. It only updates
the rockspec to revert [#23](https://github.com/Tieske/lua-resty-ljsonschema/pull/23).
See: https://github.com/openresty/lua-cjson/issues/96

### 1.2.0 (23-Oct-2024)

- fix: properly calculate utf8 sequence lengths instead of byte count
Expand All @@ -39,6 +46,11 @@ The scope of what is covered by the version number excludes:
- chore: restructure documentation and more repo-maintenance
([#25](https://github.com/Tieske/lua-resty-ljsonschema/pull/25))

### 1.1.6-2 (19-Oct-2023)

- this is not a real release (has no tag), since it doesn't change any code. It only updates
the rockspec to revert [#23](https://github.com/Tieske/lua-resty-ljsonschema/pull/23).
See: https://github.com/openresty/lua-cjson/issues/96

### 1.1.6 (21-Sep-2023)

Expand Down
2 changes: 1 addition & 1 deletion docs/examples/coercion.lua.html
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,7 @@ <h2>coercion.lua</h2>
</div> <!-- id="main" -->
<div id="about">
<i>generated by <a href="http://github.com/lunarmodules/LDoc">LDoc 1.5.0</a></i>
<i style="float:right;">Last updated 2024-10-23 10:01:23 </i>
<i style="float:right;">Last updated 2024-10-24 09:22:08 </i>
</div> <!-- id="about" -->
</div> <!-- id="container" -->
</body>
Expand Down
2 changes: 1 addition & 1 deletion docs/examples/format_attributes.lua.html
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,7 @@ <h2>format_attributes.lua</h2>
</div> <!-- id="main" -->
<div id="about">
<i>generated by <a href="http://github.com/lunarmodules/LDoc">LDoc 1.5.0</a></i>
<i style="float:right;">Last updated 2024-10-23 10:01:23 </i>
<i style="float:right;">Last updated 2024-10-24 09:22:08 </i>
</div> <!-- id="about" -->
</div> <!-- id="container" -->
</body>
Expand Down
2 changes: 1 addition & 1 deletion docs/examples/getting_started.lua.html
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@ <h2>getting_started.lua</h2>
</div> <!-- id="main" -->
<div id="about">
<i>generated by <a href="http://github.com/lunarmodules/LDoc">LDoc 1.5.0</a></i>
<i style="float:right;">Last updated 2024-10-23 10:01:23 </i>
<i style="float:right;">Last updated 2024-10-24 09:22:08 </i>
</div> <!-- id="about" -->
</div> <!-- id="container" -->
</body>
Expand Down
2 changes: 1 addition & 1 deletion docs/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -106,7 +106,7 @@ <h2>Examples</h2>
</div> <!-- id="main" -->
<div id="about">
<i>generated by <a href="http://github.com/lunarmodules/LDoc">LDoc 1.5.0</a></i>
<i style="float:right;">Last updated 2024-10-23 10:01:23 </i>
<i style="float:right;">Last updated 2024-10-24 09:22:08 </i>
</div> <!-- id="about" -->
</div> <!-- id="container" -->
</body>
Expand Down
2 changes: 1 addition & 1 deletion docs/modules/resty.ljsonschema.html
Original file line number Diff line number Diff line change
Expand Up @@ -253,7 +253,7 @@ <h3>Returns:</h3>
</div> <!-- id="main" -->
<div id="about">
<i>generated by <a href="http://github.com/lunarmodules/LDoc">LDoc 1.5.0</a></i>
<i style="float:right;">Last updated 2024-10-23 10:01:23 </i>
<i style="float:right;">Last updated 2024-10-24 09:22:08 </i>
</div> <!-- id="about" -->
</div> <!-- id="container" -->
</body>
Expand Down
2 changes: 1 addition & 1 deletion docs/modules/resty.ljsonschema.metaschema.html
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,7 @@ <h3>Usage:</h3>
</div> <!-- id="main" -->
<div id="about">
<i>generated by <a href="http://github.com/lunarmodules/LDoc">LDoc 1.5.0</a></i>
<i style="float:right;">Last updated 2024-10-23 10:01:23 </i>
<i style="float:right;">Last updated 2024-10-24 09:22:08 </i>
</div> <!-- id="about" -->
</div> <!-- id="container" -->
</body>
Expand Down
2 changes: 1 addition & 1 deletion docs/topics/01-introduction.md.html
Original file line number Diff line number Diff line change
Expand Up @@ -206,7 +206,7 @@ <h2>1.7 Development</h2>
</div> <!-- id="main" -->
<div id="about">
<i>generated by <a href="http://github.com/lunarmodules/LDoc">LDoc 1.5.0</a></i>
<i style="float:right;">Last updated 2024-10-23 10:01:23 </i>
<i style="float:right;">Last updated 2024-10-24 09:22:08 </i>
</div> <!-- id="about" -->
</div> <!-- id="container" -->
</body>
Expand Down
2 changes: 1 addition & 1 deletion docs/topics/02-format-attributes.md.html
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ <h1>2. Format attributes</h1>
</div> <!-- id="main" -->
<div id="about">
<i>generated by <a href="http://github.com/lunarmodules/LDoc">LDoc 1.5.0</a></i>
<i style="float:right;">Last updated 2024-10-23 10:01:23 </i>
<i style="float:right;">Last updated 2024-10-24 09:22:08 </i>
</div> <!-- id="about" -->
</div> <!-- id="container" -->
</body>
Expand Down
18 changes: 17 additions & 1 deletion docs/topics/CHANGELOG.md.html
Original file line number Diff line number Diff line change
Expand Up @@ -94,6 +94,15 @@ <h4>Releasing new versions</h4>
<p><a name="Version_history"></a></p>
<h2>Version history</h2>

<h3>1.2.0-2 (24-Oct-2024)</h3>

<ul>
<li>this rockspec update was lost on 1.2.0 release (see 1.1.6-2 below), applying it again.
This is not a real release (has no tag), since it doesn't change any code. It only updates
the rockspec to revert <a href="https://github.com/Tieske/lua-resty-ljsonschema/pull/23">#23</a>.
See: https://github.com/openresty/lua-cjson/issues/96</li>
</ul>

<h3>1.2.0 (23-Oct-2024)</h3>

<ul>
Expand All @@ -111,6 +120,13 @@ <h3>1.2.0 (23-Oct-2024)</h3>
(<a href="https://github.com/Tieske/lua-resty-ljsonschema/pull/25">#25</a>)</li>
</ul>

<h3>1.1.6-2 (19-Oct-2023)</h3>

<ul>
<li>this is not a real release (has no tag), since it doesn't change any code. It only updates
the rockspec to revert <a href="https://github.com/Tieske/lua-resty-ljsonschema/pull/23">#23</a>.
See: https://github.com/openresty/lua-cjson/issues/96</li>
</ul>

<h3>1.1.6 (21-Sep-2023)</h3>

Expand Down Expand Up @@ -223,7 +239,7 @@ <h3>7-Jun-2019 Forked from https://github.com/jdesgats/ljsonschema</h3>
</div> <!-- id="main" -->
<div id="about">
<i>generated by <a href="http://github.com/lunarmodules/LDoc">LDoc 1.5.0</a></i>
<i style="float:right;">Last updated 2024-10-23 10:01:23 </i>
<i style="float:right;">Last updated 2024-10-24 09:22:08 </i>
</div> <!-- id="about" -->
</div> <!-- id="container" -->
</body>
Expand Down
2 changes: 1 addition & 1 deletion docs/topics/LICENSE.md.html
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@ <h3>Copyright (c) 2017 Julien Desgats, 2019-2024 Thijs Schreijer</h3>
</div> <!-- id="main" -->
<div id="about">
<i>generated by <a href="http://github.com/lunarmodules/LDoc">LDoc 1.5.0</a></i>
<i style="float:right;">Last updated 2024-10-23 10:01:23 </i>
<i style="float:right;">Last updated 2024-10-24 09:22:08 </i>
</div> <!-- id="about" -->
</div> <!-- id="container" -->
</body>
Expand Down
2 changes: 1 addition & 1 deletion lua-resty-ljsonschema-scm-1.rockspec
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ description = {
dependencies = {
"lua >= 5.1",
"net-url",
"lua-cjson",
-- "lua-cjson", disabled, see https://github.com/openresty/lua-cjson/issues/96
}

build = {
Expand Down
41 changes: 41 additions & 0 deletions rockspecs/lua-resty-ljsonschema-1.1.6-2.rockspec
Original file line number Diff line number Diff line change
@@ -0,0 +1,41 @@
local package_name = "lua-resty-ljsonschema"
local package_version = "1.1.6"
local rockspec_revision = "2"
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",
-- "lua-cjson", disabled, see https://github.com/openresty/lua-cjson/issues/96
}

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",
}
}
42 changes: 42 additions & 0 deletions rockspecs/lua-resty-ljsonschema-1.2.0-2.rockspec
Original file line number Diff line number Diff line change
@@ -0,0 +1,42 @@
local package_name = "lua-resty-ljsonschema"
local package_version = "1.2.0"
local rockspec_revision = "2"
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",
-- "lua-cjson", disabled, see https://github.com/openresty/lua-cjson/issues/96
}

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",
["resty.ljsonschema.utf8"] = "src/resty/ljsonschema/utf8.lua",
}
}
Loading