Skip to content

Commit

Permalink
Update ruby-pg to 0.16.0.
Browse files Browse the repository at this point in the history
== v0.16.0 [2013-07-22] Michael Granger <ged@FaerieMUD.org>

Bugfixes:

- Avoid warnings about uninitialized instance variables.
- Use a more standard method of adding library and include directories.
  This fixes build on AIX (Github TritonDataCenter#7) and Solaris (TritonDataCenter#164).
- Cancel the running query, if a thread is about to be killed (e.g. by CTRL-C).
- Fix GVL issue with wait_for_notify/notifies and notice callbacks.
- Set proper encoding on the string returned by quote_ident, escape_literal
  and escape_identifier (TritonDataCenter#163).
- Use nil as PG::Error#result in case of a NULL-result from libpq (TritonDataCenter#166).
- Recalculate the timeout of conn#wait_for_notify and conn#block in case
  of socket events that require re-runs of select().

Documentation fixes:

- Fix non working example for PGresult#error_field.

Enhancements:

- Add unique exception classes for each PostgreSQL error type (TritonDataCenter#5).
- Return result of the block in conn#transaction instead of nil (TritonDataCenter#158).
- Allow 'rake compile' and 'rake gem' on non mercurial repos.
- Add support for PG_DIAG_*_NAME error fields of PostgreSQL-9.3 (TritonDataCenter#161).
  • Loading branch information
taca committed Sep 11, 2013
1 parent a0abdbb commit 0c9bfb9
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 8 deletions.
5 changes: 2 additions & 3 deletions databases/ruby-pg/Makefile
Original file line number Diff line number Diff line change
@@ -1,8 +1,7 @@
# $NetBSD: Makefile,v 1.16 2013/07/07 15:22:55 taca Exp $
# $NetBSD: Makefile,v 1.17 2013/09/11 15:18:55 taca Exp $

DISTNAME= pg-0.15.0
DISTNAME= pg-0.16.0
PKGNAME= ${RUBY_PKGPREFIX}-${DISTNAME:C/postgres/&ql/}
PKGREVISION= 1
CATEGORIES= databases

MAINTAINER= pkgsrc-users@NetBSD.org
Expand Down
6 changes: 5 additions & 1 deletion databases/ruby-pg/PLIST
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
@comment $NetBSD: PLIST,v 1.10 2013/07/07 15:22:55 taca Exp $
@comment $NetBSD: PLIST,v 1.11 2013/09/11 15:18:55 taca Exp $
${GEM_HOME}/build_info/${GEM_NAME}.info
${GEM_HOME}/cache/${GEM_NAME}.gem
${GEM_LIBDIR}/.gemtest
Expand All @@ -15,12 +15,16 @@ ${GEM_LIBDIR}/README.ja.rdoc
${GEM_LIBDIR}/README.rdoc
${GEM_LIBDIR}/Rakefile
${GEM_LIBDIR}/Rakefile.cross
${GEM_LIBDIR}/ext/errorcodes.def
${GEM_LIBDIR}/ext/errorcodes.rb
${GEM_LIBDIR}/ext/errorcodes.txt
${GEM_LIBDIR}/ext/extconf.rb
${GEM_LIBDIR}/ext/gvl_wrappers.c
${GEM_LIBDIR}/ext/gvl_wrappers.h
${GEM_LIBDIR}/ext/pg.c
${GEM_LIBDIR}/ext/pg.h
${GEM_LIBDIR}/ext/pg_connection.c
${GEM_LIBDIR}/ext/pg_errors.c
${GEM_LIBDIR}/ext/pg_result.c
${GEM_LIBDIR}/ext/vc/pg.sln
${GEM_LIBDIR}/ext/vc/pg_18/pg.vcproj
Expand Down
8 changes: 4 additions & 4 deletions databases/ruby-pg/distinfo
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
$NetBSD: distinfo,v 1.10 2013/06/16 14:38:10 taca Exp $
$NetBSD: distinfo,v 1.11 2013/09/11 15:18:55 taca Exp $

SHA1 (pg-0.15.0.gem) = 2c228c50b2cdcf4246edfcc54c298cefa6cbceb2
RMD160 (pg-0.15.0.gem) = 05694749fec8df51bccebe7ac5784cd339720f53
Size (pg-0.15.0.gem) = 120832 bytes
SHA1 (pg-0.16.0.gem) = 63e1394d99c070296138477ac19a9870ab39fd25
RMD160 (pg-0.16.0.gem) = 3a09e9f565506ad6c3d1bb2f5c24756a0f74d414
Size (pg-0.16.0.gem) = 139776 bytes

0 comments on commit 0c9bfb9

Please sign in to comment.