mirror of
https://github.com/pkulchenko/serpent.git
synced 2024-11-21 23:24:24 +00:00
Updated documentation for 0.27.
This commit is contained in:
parent
ca4140a2d1
commit
8070d1edbb
@ -186,6 +186,11 @@ See LICENSE file.
|
|||||||
|
|
||||||
## History
|
## 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)
|
### v0.26 (Nov 05 2013)
|
||||||
- Added `load` function that (safely) loads serialized/pretty-printed values.
|
- Added `load` function that (safely) loads serialized/pretty-printed values.
|
||||||
- Updated documentation.
|
- Updated documentation.
|
||||||
|
25
misc/serpent-0.27-1.rockspec
Normal file
25
misc/serpent-0.27-1.rockspec
Normal 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" },
|
||||||
|
}
|
@ -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 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 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}
|
local badtype = {thread = true, userdata = true, cdata = true}
|
||||||
|
Loading…
Reference in New Issue
Block a user