Skip to content

Commit

Permalink
release 1.2.0-2
Browse files Browse the repository at this point in the history
  • Loading branch information
Tieske committed Oct 24, 2024
1 parent a9581d6 commit f21e929
Show file tree
Hide file tree
Showing 14 changed files with 75 additions and 13 deletions.
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
2 changes: 1 addition & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ The scope of what is covered by the version number excludes:

## Version history

### 1.2.0-2 (19-Oct-2023)
### 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
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
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",
}
}

0 comments on commit f21e929

Please sign in to comment.