Skip to content

Commit

Permalink
version bump
Browse files Browse the repository at this point in the history
  • Loading branch information
leafo committed Mar 26, 2020
1 parent 205dafe commit e14ba4c
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 2 deletions.
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -349,6 +349,7 @@ Homepage: <http://leafo.net>

# Changelog

* 1.11.0 — 2020-03-26 - allow for TLS v1.2 when using LuaSec (Miles Elam)
* 1.10.0 — 2019-04-15 - support luaossl for crypto functions, added better error when missing crypto library
* 1.9.0 — 2018-04-02 - nginx pool name includes user, connection reports name as `pgmoon`
* 1.8.0 — 2016-11-07 — Add cqueues support, SSL calling fix for Nginx cosocket (@thibaultCha)
Expand Down
2 changes: 1 addition & 1 deletion pgmoon/init.lua
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ do
rshift, lshift, band = _obj_0.rshift, _obj_0.lshift, _obj_0.band
end
local unpack = table.unpack or unpack
local VERSION = "1.10.0"
local VERSION = "1.11.0"
local _len
_len = function(thing, t)
if t == nil then
Expand Down
2 changes: 1 addition & 1 deletion pgmoon/init.moon
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import rshift, lshift, band from require "bit"

unpack = table.unpack or unpack

VERSION = "1.10.0"
VERSION = "1.11.0"

_len = (thing, t=type(thing)) ->
switch t
Expand Down
5 changes: 5 additions & 0 deletions spec/pgmoon_spec.moon
Original file line number Diff line number Diff line change
Expand Up @@ -335,6 +335,11 @@ describe "pgmoon with server", ->
drop table types_test
]]

it "deserializes row types correctly #ddd", ->
pg\query "select 1"
pg\query "select row(1, 'hello', 5.999)"
pg\query "select (1, 'hello', 5.999)"

describe "custom deserializer", ->
it "deserializes big integer to string", ->
assert pg\query [[
Expand Down

0 comments on commit e14ba4c

Please sign in to comment.