diff options
| author | Mark Pulford <mark@kyne.com.au> | 2011-05-29 20:04:53 +0930 |
|---|---|---|
| committer | Mark Pulford <mark@kyne.com.au> | 2011-05-29 20:04:53 +0930 |
| commit | c8fc62e4f955248f2655e996872b6833b86b1523 (patch) | |
| tree | 81c514c63475e3657ecbdacd9bd316432b3f12fd | |
| parent | 3d1c5e19f45cf484774926ba6e2555d1c8e4c39b (diff) | |
| download | lua-cjson-c8fc62e4f955248f2655e996872b6833b86b1523.tar.gz lua-cjson-c8fc62e4f955248f2655e996872b6833b86b1523.tar.bz2 lua-cjson-c8fc62e4f955248f2655e996872b6833b86b1523.zip | |
Update version to 1.0.2
| -rw-r--r-- | Makefile | 2 | ||||
| -rw-r--r-- | NEWS | 10 | ||||
| -rw-r--r-- | README | 4 | ||||
| -rw-r--r-- | lua-cjson-1.0.2-1.rockspec (renamed from lua-cjson-1.0.1-1.rockspec) | 6 | ||||
| -rw-r--r-- | lua-cjson.spec | 10 |
5 files changed, 23 insertions, 9 deletions
| @@ -1,4 +1,4 @@ | |||
| 1 | CJSON_VERSION = 1.0.1dev | 1 | CJSON_VERSION = 1.0.2 |
| 2 | LUA_VERSION = 5.1 | 2 | LUA_VERSION = 5.1 |
| 3 | 3 | ||
| 4 | # See http://lua-users.org/wiki/BuildingModules for platform specific | 4 | # See http://lua-users.org/wiki/BuildingModules for platform specific |
| @@ -1,8 +1,16 @@ | |||
| 1 | Version 1.0.2 (May 30 2011) | ||
| 2 | * Portability improvements for Windows | ||
| 3 | - No longer links with -lm | ||
| 4 | - Use "socket" instead of "posix" for sub-second timing | ||
| 5 | * Removed UTF-8 test dependency on Perl Text::Iconv | ||
| 6 | * Added simple CLI commands for testing Lua <-> JSON conversions | ||
| 7 | * Added cjson.encode_number_precision() | ||
| 8 | |||
| 1 | Version 1.0.1 (May 10 2011) | 9 | Version 1.0.1 (May 10 2011) |
| 2 | * Added build support for OSX | 10 | * Added build support for OSX |
| 3 | * Removed unnecessary whitespace from JSON output | 11 | * Removed unnecessary whitespace from JSON output |
| 4 | * Added cjson.encode_keep_buffer() | 12 | * Added cjson.encode_keep_buffer() |
| 5 | * Fixed memory leak on stack overflow | 13 | * Fixed memory leak on Lua stack overflow exception |
| 6 | 14 | ||
| 7 | Version 1.0 (May 9 2011) | 15 | Version 1.0 (May 9 2011) |
| 8 | * Initial release | 16 | * Initial release |
| @@ -1,4 +1,4 @@ | |||
| 1 | Lua CJSON v1.0.1 | 1 | Lua CJSON v1.0.2 |
| 2 | ================ | 2 | ================ |
| 3 | 3 | ||
| 4 | Lua CJSON is covered by the MIT license. See the file "LICENSE" for | 4 | 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: | |||
| 44 | Linux distributions using RPM should be able to build a package with | 44 | Linux distributions using RPM should be able to build a package with |
| 45 | the following command: | 45 | the following command: |
| 46 | 46 | ||
| 47 | # rpmbuild -tb lua-cjson-1.0.1.tar.gz | 47 | # rpmbuild -tb lua-cjson-1.0.2.zip |
| 48 | 48 | ||
| 49 | 49 | ||
| 50 | Lua CJSON API | 50 | Lua CJSON API |
diff --git a/lua-cjson-1.0.1-1.rockspec b/lua-cjson-1.0.2-1.rockspec index ea9b82a..e20132e 100644 --- a/lua-cjson-1.0.1-1.rockspec +++ b/lua-cjson-1.0.2-1.rockspec | |||
| @@ -1,8 +1,8 @@ | |||
| 1 | package = "lua-cjson" | 1 | package = "lua-cjson" |
| 2 | version = "1.0.1-1" | 2 | version = "1.0.2-1" |
| 3 | 3 | ||
| 4 | source = { | 4 | source = { |
| 5 | url = "http://www.kyne.com.au/~mark/software/lua-cjson-1.0.1.zip", | 5 | url = "http://www.kyne.com.au/~mark/software/lua-cjson-1.0.2.zip", |
| 6 | } | 6 | } |
| 7 | 7 | ||
| 8 | description = { | 8 | description = { |
| @@ -24,7 +24,7 @@ build = { | |||
| 24 | modules = { | 24 | modules = { |
| 25 | cjson = { | 25 | cjson = { |
| 26 | sources = { "lua_cjson.c", "strbuf.c" }, | 26 | sources = { "lua_cjson.c", "strbuf.c" }, |
| 27 | defines = { "VERSION=\"1.0.1\"" } | 27 | defines = { "VERSION=\"1.0.2\"" } |
| 28 | } | 28 | } |
| 29 | }, | 29 | }, |
| 30 | copy_directories = { "tests" } | 30 | 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 @@ | |||
| 2 | %define lualibdir %{_libdir}/lua/%{luaver} | 2 | %define lualibdir %{_libdir}/lua/%{luaver} |
| 3 | 3 | ||
| 4 | Name: lua-cjson | 4 | Name: lua-cjson |
| 5 | Version: 1.0.1dev | 5 | Version: 1.0.2 |
| 6 | Release: 1%{?dist} | 6 | Release: 1%{?dist} |
| 7 | Summary: JSON support for the Lua language | 7 | Summary: JSON support for the Lua language |
| 8 | 8 | ||
| 9 | Group: Development/Libraries | 9 | Group: Development/Libraries |
| 10 | License: MIT | 10 | License: MIT |
| 11 | URL: http://www.kyne.com.au/~mark/software/lua-cjson/ | 11 | URL: http://www.kyne.com.au/~mark/software/lua-cjson/ |
| 12 | Source0: http://www.kyne.com.au/~mark/software/lua-cjson/lua-cjson-%{version}.tar.gz | 12 | Source0: http://www.kyne.com.au/~mark/software/lua-cjson/lua-cjson-%{version}.zip |
| 13 | BuildRoot: %(mktemp -ud %{_tmppath}/%{name}-%{version}-%{release}-XXXXXX) | 13 | BuildRoot: %(mktemp -ud %{_tmppath}/%{name}-%{version}-%{release}-XXXXXX) |
| 14 | 14 | ||
| 15 | BuildRequires: lua >= %{luaver}, lua-devel >= %{luaver} | 15 | BuildRequires: lua >= %{luaver}, lua-devel >= %{luaver} |
| @@ -44,5 +44,11 @@ rm -rf "$RPM_BUILD_ROOT" | |||
| 44 | 44 | ||
| 45 | 45 | ||
| 46 | %changelog | 46 | %changelog |
| 47 | * Sun May 29 2011 Mark Pulford <mark@kyne.com.au> - 1.0.2-1 | ||
| 48 | - Updated for 1.0.2 | ||
| 49 | |||
| 50 | * Sun May 10 2011 Mark Pulford <mark@kyne.com.au> - 1.0.1-1 | ||
| 51 | - Updated for 1.0.1 | ||
| 52 | |||
| 47 | * Sun May 1 2011 Mark Pulford <mark@kyne.com.au> - 1.0-1 | 53 | * Sun May 1 2011 Mark Pulford <mark@kyne.com.au> - 1.0-1 |
| 48 | - Initial package | 54 | - Initial package |
