Permalink
Browse files

add unpack

  • Loading branch information...
1 parent 389d820 commit 8c5bf025dab8fca1754ee21e39b950e680380cd4 @leafo committed Oct 21, 2016
Showing with 5 additions and 0 deletions.
  1. +1 −0 pgmoon/init.lua
  2. +2 −0 pgmoon/init.moon
  3. +2 −0 spec/pgmoon_spec.moon
View
@@ -6,6 +6,7 @@ do
local _obj_0 = require("bit")
rshift, lshift, band = _obj_0.rshift, _obj_0.lshift, _obj_0.band
end
+local unpack = table.unpack or unpack
local VERSION = "1.7.0"
local _len
_len = function(thing, t)
View
@@ -2,6 +2,8 @@ socket = require "pgmoon.socket"
import insert from table
import rshift, lshift, band from require "bit"
+unpack = table.unpack or unpack
+
VERSION = "1.7.0"
_len = (thing, t=type(thing)) ->
@@ -1,6 +1,8 @@
import Postgres from require "pgmoon"
+unpack = table.unpack or unpack
+
HOST = "127.0.0.1"
USER = "postgres"
DB = "pgmoon_test"

0 comments on commit 8c5bf02

Please sign in to comment.