forked from pool/lua-dkjson
Compare commits
2 Commits
Author | SHA256 | Date | |
---|---|---|---|
4141f17cb0 | |||
e07cb36eea |
BIN
dkjson-2.8.tar.gz
(Stored with Git LFS)
Normal file
BIN
dkjson-2.8.tar.gz
(Stored with Git LFS)
Normal file
Binary file not shown.
BIN
dkjson.tar.gz
(Stored with Git LFS)
BIN
dkjson.tar.gz
(Stored with Git LFS)
Binary file not shown.
@@ -1,3 +1,28 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Sat Dec 28 00:26:59 UTC 2024 - Matej Cepl <mcepl@cepl.eu>
|
||||||
|
|
||||||
|
- Update to 2.8:
|
||||||
|
- Fix handling of decoding errors when Lua is compiled with
|
||||||
|
LUA_NOCVTN2S.
|
||||||
|
- Update to 2.7:
|
||||||
|
- Enable working with newer versions of LPeg where the
|
||||||
|
"version" field is no longer a function.
|
||||||
|
- Fix error messages when an encoding error happens in an
|
||||||
|
ordered dictionary.
|
||||||
|
- Update to 2.6:
|
||||||
|
- The decode function is no longer automatically replaced by
|
||||||
|
the version implemented using LPeg, but an LPeg-enabled
|
||||||
|
copy of the module has to be requested explicitly with
|
||||||
|
the function use_lpeg. This was changed to improve the
|
||||||
|
predictability of the code and make audits more reliable.
|
||||||
|
- The LPeg-version of the decode function now reports
|
||||||
|
unterminated strings, arrays and objects with the position
|
||||||
|
where they started rather than where parsing failed which was
|
||||||
|
usually at the end of the input string. This was already the
|
||||||
|
behavior of the pure-Lua-implementation.
|
||||||
|
- Fixed a bug where entries in a dictionary were not put in the
|
||||||
|
desired order when their value was the boolean false.
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Wed Nov 23 10:17:15 UTC 2022 - Michal Suchanek <msuchanek@suse.com>
|
Wed Nov 23 10:17:15 UTC 2022 - Michal Suchanek <msuchanek@suse.com>
|
||||||
|
|
||||||
|
@@ -1,7 +1,7 @@
|
|||||||
#
|
#
|
||||||
# spec file for package lua-dkjson
|
# spec file for package lua-dkjson
|
||||||
#
|
#
|
||||||
# Copyright (c) 2022 SUSE LLC
|
# Copyright (c) 2024 SUSE LLC
|
||||||
#
|
#
|
||||||
# All modifications and additions to the file contributed by third parties
|
# All modifications and additions to the file contributed by third parties
|
||||||
# remain the property of their copyright owners, unless otherwise agreed
|
# remain the property of their copyright owners, unless otherwise agreed
|
||||||
@@ -18,14 +18,14 @@
|
|||||||
|
|
||||||
%define flavor @BUILD_FLAVOR@
|
%define flavor @BUILD_FLAVOR@
|
||||||
%define mod_name dkjson
|
%define mod_name dkjson
|
||||||
%define uptag release_2_5
|
%define uptag 2.8
|
||||||
Version: 2.5.2
|
Version: 2.8.0
|
||||||
Release: 0
|
Release: 0
|
||||||
Summary: David Kolf's JSON module for Lua
|
Summary: David Kolf's JSON module for Lua
|
||||||
License: MIT
|
License: MIT
|
||||||
Group: Development/Libraries/Other
|
Group: Development/Libraries/Other
|
||||||
URL: http://dkjson.org/
|
URL: http://dkjson.org/
|
||||||
Source: http://dkolf.de/src/dkjson-lua.fsl/tarball/%{uptag}/dkjson.tar.gz
|
Source: http://dkolf.de/dkjson-lua/dkjson-%{uptag}.tar.gz
|
||||||
BuildRequires: %{flavor}-devel
|
BuildRequires: %{flavor}-devel
|
||||||
BuildRequires: lua-macros
|
BuildRequires: lua-macros
|
||||||
Requires: %{flavor}
|
Requires: %{flavor}
|
||||||
@@ -50,7 +50,7 @@ dkjson is written in Lua without any dependencies, but
|
|||||||
when LPeg is available dkjson can use it to speed up decoding.
|
when LPeg is available dkjson can use it to speed up decoding.
|
||||||
|
|
||||||
%prep
|
%prep
|
||||||
%setup -q -n %{uptag}/%{mod_name}
|
%autosetup -p1 -n dkjson-%{uptag}
|
||||||
|
|
||||||
%build
|
%build
|
||||||
/bin/true
|
/bin/true
|
||||||
|
Reference in New Issue
Block a user