summaryrefslogtreecommitdiff
path: root/databases/ruby-pg/Makefile
AgeCommit message (Collapse)AuthorFilesLines
2017-03-11Update ruby-pg to 0.20.0taca1-3/+2
== v0.20.0 [2017-03-10] Michael Granger <ged@FaerieMUD.org> Enhancements: - Update error codes to PostgreSQL-9.6 - Update Windows binary gems to Ruby-2.4, PostgreSQL 9.6.1 and OpenSSL 1.0.2j. - Add support for RubyInstaller2 to Windows binary gems. Bugfixes: - Use secure JSON methods for JSON (de)serialisation. #248 - Fix Result#inspect on a cleared result. - Fix test case that failed on Ruby-2.4. #255 Documentation fixes: - Talk about Integer instead of Fixnum. - Fix method signature of Coder#encode.
2016-11-19Remove RUBY_RDOC_VERSION since All RUBY_VERSION_DEFAULT versions of Rubytaca1-2/+1
are satisfy minimum RUBY_RDOC_VERSION now.
2016-10-09Recursive bump for all users of pgsql now that the default is 95.wiz1-1/+2
2016-10-09Update ruby-pg to 0.19.0.taca1-2/+2
== v0.19.0 [2016-09-21] Michael Granger <ged@FaerieMUD.org> - Deprecate Ruby 1.9 Enhancements: - Respect and convert character encoding of all strings sent to the server. #231 - Add PostgreSQL-9.5 functions PQsslInUse(), PQsslAttribute() and PQsslAttributeNames(). - Various documentation fixes and improvements. - Add mechanism to build without pg_config: gem install pg -- --with-pg-config=ignore - Update Windows binary gems to Ruby-2.3, PostgreSQL 9.5.4 and OpenSSL 1.0.2f. - Add JSON coders and add them to BasicTypeMapForResults and BasicTypeMapBasedOnResult - Allow build from git per bundler. Bugfixes: - Release GVL while calling PQsetClientEncoding(). #245 - Add __EXTENSIONS__ to Solaris/SmartOS for Ruby >= 2.3.x. #236 - Fix wrong exception when running SQL while in Connection#copy_data block for output
2015-11-29Update ruby-pg to 0.18.4.taca1-2/+2
== v0.18.4 [2015-11-13] Michael Granger <ged@FaerieMUD.org> Enhancements: - Fixing compilation problems with Microsoft Visual Studio 2008. GH #10 - Avoid name clash with xcode and jemalloc. PR#22, PR#23 Bugfixes: - Avoid segfault, when quote_ident or TextEncoder::Identifier is called with Array containing non-strings. #226
2015-09-13Update ruby-pg to 0.18.3.taca1-2/+2
== v0.18.3 [2015-09-03] Michael Granger <ged@FaerieMUD.org> Enhancements: - Use rake-compiler-dock to build windows gems easily. - Add CI-tests on appveyor and fix test cases accordingly. Bugfixes: - Fix data type resulting in wrong base64 encoding. - Change instance_of checks to kind_of for subclassing. #220 - TextDecoder::Date returns an actual Ruby Date instead of a Time (thanks to Thomas Ramfjord)
2015-06-03Update ruby-pg to 0.18.2.taca1-2/+2
== v0.18.2 [2015-05-14] Michael Granger <ged@FaerieMUD.org> Enhancements: - Allow URI connection string (thanks to Chris Bandy) Bugfixes: - Speedups and fixes for PG::TextDecoder::Identifier and quoting behavior - Revert addition of PG::Connection#hostaddr [#202]. - Fix decoding of fractional timezones and timestamps [#203] - Fixes for non-C99 compilers - Avoid possible symbol name clash when linking againt static libpq.
2015-02-01Update ruby-pg to 0.18.1.taca1-2/+2
== v0.18.1 [2015-01-05] Michael Granger <ged@FaerieMUD.org> Correct the minimum compatible Ruby version to 1.9.3. #199 == v0.18.0 [2015-01-01] Michael Granger <ged@FaerieMUD.org> Bugfixes: - Fix OID to Integer mapping (it is unsigned now). #187 - Fix possible segfault in conjunction with notice receiver. #185 Enhancements: - Add an extensible type cast system. - A lot of performance improvements. - Return frozen String objects for result field names. - Add PG::Result#stream_each and #stream_each_row as fast helpers for the single row mode. - Add Enumerator variant to PG::Result#each and #each_row. - Add PG::Connection#conninfo and #hostaddr. - Add PG.init_openssl and PG.init_ssl methods. - Force zero termination for all text strings that are given to libpq. It raises an ArgumentError if the string contains a null byte. - Update Windows cross build to PostgreSQL 9.3.
2014-03-13Update ruby-pg to 0.17.1taca1-2/+2
pkgsrc change: Add GEM_EXTSDIR support. == v0.17.1 [2013-12-18] Michael Granger <ged@FaerieMUD.org> Bugfixes: - Fix compatibility with signal handlers defined in Ruby. This reverts cancelation of queries running on top of the blocking libpq API (like Connection#exec) in case of signals. As an alternative the #async_exec can be used, which is reverted to use the non-blocking API, again. - Wrap PQcancel to be called without GVL. It internally waits for the canceling connection. Documentation fixes: - Fix documentation for PG::Connection::conndefaults.
2013-12-08Update ruby-pg to 0.17.0.taca1-2/+2
== v0.17.0 [2013-09-15] Michael Granger <ged@FaerieMUD.org> Bugfixes: - Fix crash by calling PQsend* and PQisBusy without GVL (#171). Enhancements: - Add method PG::Connection#copy_data. - Add a Gemfile to allow installation of dependencies with bundler. - Add compatibility with rake-compiler-dev-box. - Return self from PG::Result#check instead of nil. This allows to stack method calls.
2013-09-11Update ruby-pg to 0.16.0.taca1-3/+2
== 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 #7) and Solaris (#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 (#163). - Use nil as PG::Error#result in case of a NULL-result from libpq (#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 (#5). - Return result of the block in conn#transaction instead of nil (#158). - Allow 'rake compile' and 'rake gem' on non mercurial repos. - Add support for PG_DIAG_*_NAME error fields of PostgreSQL-9.3 (#161).
2013-07-07Add build_info file to PLIST.taca1-3/+2
Bump PKGREVISION.
2013-06-16Update ruby-pg to 0.15.0.taca1-2/+2
== 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.
2012-09-03Update ruby-pg to 0.14.1.taca1-3/+2
== v0.14.1 [2012-09-02] Michael Granger <ged@FaerieMUD.org> Important bugfix: - Fix stack overflow bug in PG::Result#values and #column_values (#135). Thanks to everyone who reported the bug, and Lars Kanis especially for figuring out the problem. PostgreSQL 9.2 beta fixes: - Recognize PGRES_SINGLE_TUPLE as OK when checking PGresult (Jeremy Evans) Documentation fixes: - Add note about the usage scope of the result object received by the #set_notice_receiver block. (Lars Kanis) - Add PGRES_COPY_BOTH to documentation of PG::Result#result_status. (Lars Kanis) - Add some documentation to PG::Result#fnumber (fix for #139)
2012-08-21Require ruby-rdoc version 2.5.8 or later to fix build problem with ruby18.taca1-1/+3
2012-08-05Bump PKGREVISION for change of PostgreSQL default version to 9.1.obache1-1/+2
2012-07-31Update ruby-pg to 0.14.0.taca1-2/+2
== v0.14.0 [2012-06-17] Michael Granger <ged@FaerieMUD.org> Bugfixes: #47, #104 New Methods for PostgreSQL 9 and async API support: PG - ::library_version PG::Connection - ::ping - #escape_literal - #escape_identifier - #set_default_encoding PG::Result - #check New Samples: This release also comes with a collection of contributed sample scripts for doing resource-utilization reports, graphing database statistics, monitoring for replication lag, shipping WAL files for replication, automated tablespace partitioning, etc. See the samples/ directory.
2012-02-23Update databases/ruby-pg package to 0.13.2.taca1-3/+3
== v0.13.2 [2012-02-22] Michael Granger <ged@FaerieMUD.org> - Make builds against PostgreSQL earlier than 8.3 fail with a descriptive message instead of a compile failure. == v0.13.1 [2012-02-12] Michael Granger <ged@FaerieMUD.org> - Made use of a finished PG::Connection raise a PG::Error instead of a fatal error (#110). - Added missing BSDL license file (#108) == v0.13.0 [] Michael Granger <ged@FaerieMUD.org> Reorganization of modules/classes to be better Ruby citizens (with backward-compatible aliases): - Created toplevel namespace 'PG' to correspond with the gem name. - Renamed PGconn to PG::Connection (with ::PGconn alias) - Renamed PGresult to PG::Result (with ::PGresult alias) - Renamed PGError to PG::Error (with ::PGError alias) - Declare all constants inside PG::Constants, then include them in PG::Connection and PG::Result for backward-compatibility, and in PG for convenience. - Split the extension source up by class/module. - Removed old compatibility code for PostgreSQL versions < 8.3 Documentation: - Clarified licensing, updated to Ruby 1.9's license. - Merged authors list, added some missing people to the Contributor's list. - Cleaned up the sample/ directory - Making contact info a bit clearer, link to the Google+ page and the mailing list Enhancements: - Added a convenience method: PG.connect -> PG::Connection.new Bugfixes: - Fixed LATIN5-LATIN10 Postgres<->Ruby encoding conversions
2011-12-15Update ruby-pg package to 0.12.0.taca1-2/+2
== v0.12.0 [2011-12-07] Michael Granger <ged@FaerieMUD.org> - PGconn#wait_for_notify * send nil as the payload argument if the NOTIFY didn't have one. * accept a nil argument for no timeout (Sequel support) * Fixed API docs * Taint and encode event name and payload - Handle errors while rb_thread_select()ing in PGconn#block. (Brian Weaver). - Fixes for Win32 async queries (Rafa Bigaj) - Memory leak fixed: Closing opened WSA event. (rafal) - Fixes for #66 Win32 asynchronous queries hang on connection error. (rafal) - Fixed a typo in PGconn#error_message's documentation - fixing unused variable warnings for ruby 1.9.3 (Aaron Patterson) - Build system bugfixes - Converted to Hoe - Updates for the Win32 binary gem builds (Lars Kanis)
2011-11-08Remove .require_paths from GEM_CLEANBUILD since it isn't genrated any more.taca1-2/+2
2011-06-17Update ruby-pg package to 0.11.0.taca1-3/+2
230[tip] 24aa7899c696 2011-04-18 16:51 -0700 ged Move connection-parameter parsing into Ruby, and make option-handling more 229:228,222 b477174160c8 2011-03-30 06:13 -0700 ged Automated merge with ssh://bitbucket.org/larskanis/ruby-pg 228 cc3a7476465c 2011-03-15 13:21 +0100 kanis Update cross compilation tasks to use Ruby 1.8.7 instead of 1.8.6, since pg.gem requires at least 1.8.7 to get installed 227 b90f74cb11a5 2011-03-12 21:40 +0100 kanis Update readme for cross compile 226 780650f201e3 2011-03-12 21:38 +0100 kanis Use RUBY_CC_VERSION from command line, if set 225 31089d6c9dde 2011-03-11 22:14 +0100 kanis update PG and OpenSSL version for cross compile 224 dfe3e7c1ea27 2011-03-11 21:58 +0100 kanis always run "make libpq.a" for cross compilation 223:221 06e17573b133 2011-03-11 21:54 +0100 kanis re-add required libs for cross compilation 222 56098b479a23 2011-03-30 05:52 -0700 ged Comment the WIN32 console FD stuff so I remember what it does. 221 1baa7a8e673e 2011-02-23 14:11 -0800 ged Whitespace/line-ending fixes 220:217,219 fb7d22101adf 2011-02-23 11:40 -0800 ged Merged with 1c3a1ca9f0cd 219 1c3a1ca9f0cd 2011-01-22 04:41 +0800 ghazel for windows support, duplicate the sockets from libpq and create temporary CRT fds 218:214 c3f163bf1ecd 2011-01-22 22:11 -0800 ged Pulling fixes for Windows from ghazel on Github 217 18f413081e0c 2011-02-10 16:19 -0800 ged Bump minor version.
2011-02-21Bump PKGREVISION due to ABI change of ruby18-base.taca1-1/+2
2010-12-04Update ruby-pg package to 0.10.0.taca1-2/+2
Compact changes aren't available please refer the below page in detail: http://bitbucket.org/ged/ruby-pg/changesets
2010-09-10Update databases/ruby-pg to 0.9.0.taca1-7/+6
* Use lang/ruby/gem.mk instead of misc/rubygems/rubygem.mk. * Update HOMEPAGE. * Correct LICENSE. * Remove default value of GEM_BUILD. CHANGES: 158[tip] 872063e42b12 2010-02-19 08:02 -0800 ged Adding "fat gem" compatible loader, set the default RUBY_CC_VERSION. 157 ab525ca90531 2010-02-19 06:27 -0800 ged Updated the Rakefile so it includes itself in gems. (closes #15) Thanks to flameeyes@bitbucket for 156 9c65eb905416 2010-02-18 06:52 -0800 ged Applied patch for PGconn#async_exec to make it have the same semantics as PGconn#exec (closes #19). Thanks again to Lars Kanis for the patch. 155 b0017ac0ecb5 2010-02-17 15:30 -0800 ged Updated the Rakefile to always default the package version even if a version can't be read from the VERSION_FILE. 154 c7d5458af696 2010-02-17 06:23 -0800 ged Improving spec database setup function (closes #18). Thanks to Lars Kanis for another fine patch. 153 39b11474d035 2010-02-17 06:14 -0800 ged Ack! Removing typo 152 9d54bbc98488 2010-02-17 06:10 -0800 ged Adding a test to ensure the result encoding remains the same even when client_encoding in the connection changes. 151 31afece7c203 2010-01-18 09:15 -0800 ged Made the 'make_header' in the extconf more clear. 150:149,148 d9c920068712 2010-01-13 20:56 -0800 pgsql Merged 149:141 294eb6d5530b 2010-01-13 20:51 -0800 pgsql In rspec tests, replace the pattern: 148 74fab32c2687 2010-01-11 08:15 -0800 ged A better fix for the PGconn#block weirdness on Win32 (closes #16). 147 f8dfc1b6c51c 2010-01-06 06:17 -0800 ged Rearranged the sections of the README. 146 0df792de2a19 2010-01-05 08:48 -0800 ged Updating MacOS X README. 145 2894973bc63f 2010-01-04 18:28 -0800 ged Work around broken rb_thread_select() on win32; thanks to Lars Kanis for the patch! 144 88dacdb9c97d 2010-01-04 18:16 -0800 ged Reverted removal of PGresult::InvalidOid, fixed broken spec. 143 739cec560448 2010-01-04 17:55 -0800 ged Ignore some generated files, documentation work, removed type OID constants. 142 38a0d2a90664 2010-01-04 17:39 -0800 ged Applied patch for static cross-compilation of win32 gem from Lars Kanis with a few changes to 141 f31202539234 2010-01-03 11:40 -0800 ged Updated build system
2010-02-10Bump revision for change of PostgreSQL default version.joerg1-1/+2
2009-10-17Update ruby-pg package to 0.8.0.taca1-2/+3
* Add LICENSE. Release Name: ruby-pg-0.8.0 Notes: This release provides much better support for win32. Big thanks to: Charlie Savage <cfis [at] savagexi [dot] com> Also, numerous bug fixes, better support for Ruby 1.9.1, and improved tests. Changes: * many windows fixes and improvements (cfis) * some 1.9 fixes (jdavis, cfis) * fix headers to work on 1.8 and 1.9 (jdavis) * fix PGconn#lo_close, bug #24634, thanks to tietew for report (jdavis) * Fix socket leak on connection error, bug #24920, thanks to Andrea Barisani <andrea [at] inversepath [dot] com> and Rob Holland <rob [at] inversepath [dot] com> for report (jdavis)
2008-10-16Add the ruby-pg module, a newer replacement for ruby-postgreserh1-0/+17