From c8fc62e4f955248f2655e996872b6833b86b1523 Mon Sep 17 00:00:00 2001 From: Mark Pulford Date: Sun, 29 May 2011 20:04:53 +0930 Subject: Update version to 1.0.2 --- Makefile | 2 +- NEWS | 10 +++++++++- README | 4 ++-- lua-cjson-1.0.1-1.rockspec | 31 ------------------------------- lua-cjson-1.0.2-1.rockspec | 31 +++++++++++++++++++++++++++++++ lua-cjson.spec | 10 ++++++++-- 6 files changed, 51 insertions(+), 37 deletions(-) delete mode 100644 lua-cjson-1.0.1-1.rockspec create mode 100644 lua-cjson-1.0.2-1.rockspec diff --git a/Makefile b/Makefile index 7ab8fd4..42919c9 100644 --- a/Makefile +++ b/Makefile @@ -1,4 +1,4 @@ -CJSON_VERSION = 1.0.1dev +CJSON_VERSION = 1.0.2 LUA_VERSION = 5.1 # See http://lua-users.org/wiki/BuildingModules for platform specific diff --git a/NEWS b/NEWS index f123b73..ee268f0 100644 --- a/NEWS +++ b/NEWS @@ -1,8 +1,16 @@ +Version 1.0.2 (May 30 2011) +* Portability improvements for Windows + - No longer links with -lm + - Use "socket" instead of "posix" for sub-second timing +* Removed UTF-8 test dependency on Perl Text::Iconv +* Added simple CLI commands for testing Lua <-> JSON conversions +* Added cjson.encode_number_precision() + Version 1.0.1 (May 10 2011) * Added build support for OSX * Removed unnecessary whitespace from JSON output * Added cjson.encode_keep_buffer() -* Fixed memory leak on stack overflow +* Fixed memory leak on Lua stack overflow exception Version 1.0 (May 9 2011) * Initial release diff --git a/README b/README index b4f5bcd..0d912a8 100644 --- a/README +++ b/README @@ -1,4 +1,4 @@ -Lua CJSON v1.0.1 +Lua CJSON v1.0.2 ================ Lua CJSON is covered by the MIT license. See the file "LICENSE" for @@ -44,7 +44,7 @@ Review and update the included Makefile to suit your platform. Then: Linux distributions using RPM should be able to build a package with the following command: - # rpmbuild -tb lua-cjson-1.0.1.tar.gz + # rpmbuild -tb lua-cjson-1.0.2.zip Lua CJSON API diff --git a/lua-cjson-1.0.1-1.rockspec b/lua-cjson-1.0.1-1.rockspec deleted file mode 100644 index ea9b82a..0000000 --- a/lua-cjson-1.0.1-1.rockspec +++ /dev/null @@ -1,31 +0,0 @@ -package = "lua-cjson" -version = "1.0.1-1" - -source = { - url = "http://www.kyne.com.au/~mark/software/lua-cjson-1.0.1.zip", -} - -description = { - summary = "Fast JSON encoding/parsing support for Lua", - detailed = [[ - Lua CJSON provides fast UTF-8 JSON parsing/encoding support for Lua, - and has no external dependencies. - ]], - homepage = "http://www.kyne.com.au/~mark/software/lua-cjson.php", - license = "MIT" -} - -dependencies = { - "lua >= 5.1" -} - -build = { - type = "builtin", - modules = { - cjson = { - sources = { "lua_cjson.c", "strbuf.c" }, - defines = { "VERSION=\"1.0.1\"" } - } - }, - copy_directories = { "tests" } -} diff --git a/lua-cjson-1.0.2-1.rockspec b/lua-cjson-1.0.2-1.rockspec new file mode 100644 index 0000000..e20132e --- /dev/null +++ b/lua-cjson-1.0.2-1.rockspec @@ -0,0 +1,31 @@ +package = "lua-cjson" +version = "1.0.2-1" + +source = { + url = "http://www.kyne.com.au/~mark/software/lua-cjson-1.0.2.zip", +} + +description = { + summary = "Fast JSON encoding/parsing support for Lua", + detailed = [[ + Lua CJSON provides fast UTF-8 JSON parsing/encoding support for Lua, + and has no external dependencies. + ]], + homepage = "http://www.kyne.com.au/~mark/software/lua-cjson.php", + license = "MIT" +} + +dependencies = { + "lua >= 5.1" +} + +build = { + type = "builtin", + modules = { + cjson = { + sources = { "lua_cjson.c", "strbuf.c" }, + defines = { "VERSION=\"1.0.2\"" } + } + }, + copy_directories = { "tests" } +} diff --git a/lua-cjson.spec b/lua-cjson.spec index 63cdcaf..abc6bca 100644 --- a/lua-cjson.spec +++ b/lua-cjson.spec @@ -2,14 +2,14 @@ %define lualibdir %{_libdir}/lua/%{luaver} Name: lua-cjson -Version: 1.0.1dev +Version: 1.0.2 Release: 1%{?dist} Summary: JSON support for the Lua language Group: Development/Libraries License: MIT URL: http://www.kyne.com.au/~mark/software/lua-cjson/ -Source0: http://www.kyne.com.au/~mark/software/lua-cjson/lua-cjson-%{version}.tar.gz +Source0: http://www.kyne.com.au/~mark/software/lua-cjson/lua-cjson-%{version}.zip BuildRoot: %(mktemp -ud %{_tmppath}/%{name}-%{version}-%{release}-XXXXXX) BuildRequires: lua >= %{luaver}, lua-devel >= %{luaver} @@ -44,5 +44,11 @@ rm -rf "$RPM_BUILD_ROOT" %changelog +* Sun May 29 2011 Mark Pulford - 1.0.2-1 +- Updated for 1.0.2 + +* Sun May 10 2011 Mark Pulford - 1.0.1-1 +- Updated for 1.0.1 + * Sun May 1 2011 Mark Pulford - 1.0-1 - Initial package -- cgit v1.2.3-55-g6feb