Updated documentation for 0.27.

This commit is contained in:
Paul Kulchenko 2014-01-11 10:38:08 -08:00
parent ca4140a2d1
commit 8070d1edbb
3 changed files with 31 additions and 1 deletions

View File

@ -186,6 +186,11 @@ See LICENSE file.
## History
### v0.27 (Jan 11 2014)
- Fixed order of elements in the array part with `sortkeys=true` (fixes #13).
- Updated custom formatter documentation (closes #11).
- Added `load` function to deserialize; updated documentation (closes #9).
### v0.26 (Nov 05 2013)
- Added `load` function that (safely) loads serialized/pretty-printed values.
- Updated documentation.

View File

@ -0,0 +1,25 @@
package = "serpent"
version = "0.27-1"
source = {
url = "git://github.com/pkulchenko/serpent.git",
tag = "0.27"
}
description = {
summary = "Lua serializer and pretty printer",
homepage = "https://github.com/pkulchenko/serpent",
maintainer = "Paul Kulchenko <paul@kulchenko.com>",
license = "MIT",
}
dependencies = {
"lua >= 5.1, < 5.3",
}
build = {
type = "builtin",
modules = {
["serpent"] = "src/serpent.lua",
},
copy_directories = { "t" },
}

View File

@ -1,4 +1,4 @@
local n, v = "serpent", 0.262 -- (C) 2012-13 Paul Kulchenko; MIT License
local n, v = "serpent", 0.27 -- (C) 2012-13 Paul Kulchenko; MIT License
local c, d = "Paul Kulchenko", "Lua serializer and pretty printer"
local snum = {[tostring(1/0)]='1/0 --[[math.huge]]',[tostring(-1/0)]='-1/0 --[[-math.huge]]',[tostring(0/0)]='0/0'}
local badtype = {thread = true, userdata = true, cdata = true}