A while back someone submitted a bug against Lua 5.2 running lunit tests...
appears lunit does work now but my test assumed it was writing to global
scope... which it wasn't doing for Lua 5.2... so not a huge deal there.
However, I did finally pull in the fix to allow metatables to declare that
a given table was an array.
If you declare __is_luajson_array as a truthy value, the check if it is an
array will pass and even if it has keys or is empty, it will be treated as
an array ignoring any keys.
Rock here:
https://raw.github.com/harningt/luajson/master/rockspecs/luajson-1.3.3-1.rockspec
--
Thomas Harning Jr. (http://about.me/harningt)
------------------------------------------------------------------------------
Learn Graph Databases - Download FREE O'Reilly Book
"Graph Databases" is the definitive new guide to graph databases and their
applications. Written by three acclaimed leaders in the field,
this first edition is now available. Download your free book today!
http://p.sf.net/sfu/NeoTech
_______________________________________________
Luarocks-developers mailing list
Luarocks-developers@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/luarocks-developers