diff options
author | taca <taca@pkgsrc.org> | 2013-06-16 14:38:10 +0000 |
---|---|---|
committer | taca <taca@pkgsrc.org> | 2013-06-16 14:38:10 +0000 |
commit | 31942f88bfd5fd0d6248e624e52c8affaac53af1 (patch) | |
tree | bf109d3fa06b96a82681b4a663c6afec4eef98a5 /databases | |
parent | d0d38a32b6aeb19f6a4c34f4c0674ad1b6c9be2c (diff) | |
download | pkgsrc-31942f88bfd5fd0d6248e624e52c8affaac53af1.tar.gz |
Update ruby-pg to 0.15.0.
== v0.15.0 [2013-03-03] Michael Granger <ged@FaerieMUD.org>
Bugfixes:
- Fix segfault in PG::Result#field_values when called with non String value.
- Fix encoding of messages delivered by notice callbacks.
- Fix text encoding for Connection#wait_for_notify and Connection#notifies.
- Fix 'Bad file descriptor' problems under Windows: wrong behaviour of
#wait_for_notify() and timeout handling of #block on Ruby 1.9.
Documentation fixes:
- conn#socket() can not be used with IO.for_fd() on Windows.
Enhancements:
- Tested under Ruby 2.0.0p0.
- Add single row mode of PostgreSQL 9.2.
- Set fallback_application_name to programm name $0. Thanks to Will Leinweber
for the patch.
- Release Ruby's GVL while calls to blocking libpq functions to allow better
concurrency in threaded applications.
- Refactor different variants of waiting for the connection socket.
- Make use of rb_thread_fd_select() on Ruby 1.9 and avoid deprecated
rb_thread_select().
- Add an example of how to insert array data using a prepared statement (#145).
- Add continous integration tests on travis-ci.org.
- Add PG::Result#each_row for iterative over result sets by row. Thanks to
Aaron Patterson for the patch.
- Add a PG::Connection#socket_io method for fetching a (non-autoclosing) IO
object for the connection's socket.
Specs:
- Fix various specs to run on older PostgreSQL and Ruby versions.
- Avoid fork() in specs to allow usage on Windows and JRuby.
Diffstat (limited to 'databases')
-rw-r--r-- | databases/ruby-pg/Makefile | 4 | ||||
-rw-r--r-- | databases/ruby-pg/PLIST | 5 | ||||
-rw-r--r-- | databases/ruby-pg/distinfo | 8 |
3 files changed, 10 insertions, 7 deletions
diff --git a/databases/ruby-pg/Makefile b/databases/ruby-pg/Makefile index 5699db997bf..950297f5285 100644 --- a/databases/ruby-pg/Makefile +++ b/databases/ruby-pg/Makefile @@ -1,6 +1,6 @@ -# $NetBSD: Makefile,v 1.14 2012/09/03 15:13:47 taca Exp $ +# $NetBSD: Makefile,v 1.15 2013/06/16 14:38:10 taca Exp $ -DISTNAME= pg-0.14.1 +DISTNAME= pg-0.15.0 PKGNAME= ${RUBY_PKGPREFIX}-${DISTNAME:C/postgres/&ql/} CATEGORIES= databases diff --git a/databases/ruby-pg/PLIST b/databases/ruby-pg/PLIST index f6c6315977a..fd37da26f52 100644 --- a/databases/ruby-pg/PLIST +++ b/databases/ruby-pg/PLIST @@ -1,4 +1,4 @@ -@comment $NetBSD: PLIST,v 1.8 2012/07/31 13:46:52 taca Exp $ +@comment $NetBSD: PLIST,v 1.9 2013/06/16 14:38:10 taca Exp $ ${GEM_HOME}/cache/${GEM_NAME}.gem ${GEM_LIBDIR}/.gemtest ${GEM_LIBDIR}/BSDL @@ -15,6 +15,8 @@ ${GEM_LIBDIR}/README.rdoc ${GEM_LIBDIR}/Rakefile ${GEM_LIBDIR}/Rakefile.cross ${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 @@ -28,6 +30,7 @@ ${GEM_LIBDIR}/lib/pg/constants.rb ${GEM_LIBDIR}/lib/pg/exceptions.rb ${GEM_LIBDIR}/lib/pg/result.rb ${GEM_LIBDIR}/lib/pg_ext.${RUBY_DLEXT} +${GEM_LIBDIR}/sample/array_insert.rb ${GEM_LIBDIR}/sample/async_api.rb ${GEM_LIBDIR}/sample/async_copyto.rb ${GEM_LIBDIR}/sample/async_mixed.rb diff --git a/databases/ruby-pg/distinfo b/databases/ruby-pg/distinfo index f575911d35d..3e30e98bac7 100644 --- a/databases/ruby-pg/distinfo +++ b/databases/ruby-pg/distinfo @@ -1,5 +1,5 @@ -$NetBSD: distinfo,v 1.9 2012/09/03 15:13:47 taca Exp $ +$NetBSD: distinfo,v 1.10 2013/06/16 14:38:10 taca Exp $ -SHA1 (pg-0.14.1.gem) = 0447b9260a53a9efe5368f727d8f3b018bf45f54 -RMD160 (pg-0.14.1.gem) = 958f7e756dd62301a741949bebc6b447d9f1c0e8 -Size (pg-0.14.1.gem) = 108544 bytes +SHA1 (pg-0.15.0.gem) = 2c228c50b2cdcf4246edfcc54c298cefa6cbceb2 +RMD160 (pg-0.15.0.gem) = 05694749fec8df51bccebe7ac5784cd339720f53 +Size (pg-0.15.0.gem) = 120832 bytes |