Up to [cvs.NetBSD.org] / pkgsrc / databases / ruby-pg
Request diff between arbitrary revisions
Keyword substitution: kv
Default branch: MAIN
databases/ruby-pg: update to 1.7.0 1.7.0 (2026-10-02) Added: * Add PG::Connection#embed_params and keyword :typename for its parameter casting. #726 This allows to generate SQL strings with embedded parameters for easier debugging. * Add PG::Connection#full_protocol_version which is new in PostgreSQL-18 #695 * Add PG::Result#each_tuple #675 * Add PG::TypeMap#query_param_encoders to retrieve encoders. #726 * Deduplicate result field name strings for better performance. #750 Removed: * Remove compatibility to ruby < 3.1 and drops support of ruby-2.7 and ruby-3.0. #749 * Remove GLV unlocking at all functions which process data modifiable in a second thread. #721 This avoids possible premature garbage collection of query parameters and possible VM crash due to concurrent data manipulation. * Remove :static_symbol result field names. #691 * Remove enforced rpath addition when no rpath is configured in rbconfig. #699 Fixes: * Limit memory allocation on invalid input into PG::BinaryDecoder::Array. #743 * Free COPY buffers when decoders raise to avoid possible memory leak in get_copy_data. #742 * Prevent SQL injection in set_client_encoding. #741 * Add GC_GUARD to temporary ruby objects for conninfo string to avoid it's GC'ed prematurely. #739 * Remove option "quirks_mode" from JSON en/decoder to fix compat with json-3.0 gem. #737 * Respect calendar type of Ruby and PostgreSQL. #725 * Fix broken set_notice_(receiver|processor) callback after GC.compact. #734 * Disable DNS resolution in ruby when a service file is used, so that the priority of parameters is equal to libpq. #635 * Use RARRAY_LENINT to avoid possible overflow. #728 * Fix possible integer overflow at PG::BinaryEncoder::CopyRow and PG::TextEncoder::CopyRow. #714, #715 * Avoid possible integer overflow in query parameter encoding. #719 * Ensure conninfo is a valid C string before closing the connection to avoid a double free of PGconn. #709 * Raise on a too large input string to PG::TextEncoder::Bytea. #717 * Check PG::BinaryEncoder::CopyRow array input size instead of producing an invalid output. * Remove accidentally copied "static" keyword from Copy and Record encoder. #711 * Avoid possibility to replace typemap while being used in Copy and Record encoders and decoders. #707 * Add GC_GUARD's for encoding converted strings sent to the server. #705 * Fix incomplete transaction commit when thread is shutdown ungracefully. #704 * Assign VALUE after registration per rb_gc_register_address() #703 * Update dependencies for binary gems to PostgreSQL-18.6, OpenSSL-3.6.5, krb5-1.22.2 #752
databases/ruby-pg: update to 1.6.3 1.6.3 (2025-12-29) Added: * Add binary gems for ruby-4.0, now providing ruby-3.0 to 4.0. #682 * Update fat binary gem to OpenSSL-3.6.0 and PostgreSQL-18.1. * Improve documentation of PG::Result and README. #676 * Update errorcodes to PostgreSQL-18. * Use rb_hash_new_capa on Ruby-3.2+ . #674 * Deny any server communication on a frozen PG::Connection . #677 * Fix possible race condition in PG::Result in Ractor context. #674 Removed: * Drop binary gem support for platform x86-mingw32. #682 * Drop binary gems for ruby-2.7.
databases/ruby-pg: update to 1.6.2 1.6.2 (2025-09-02) * Remove several absolute paths from native binaries which pointed to build directories. #668 * Fix bad fallback path to pg_service.conf. #666 * Use rbpg_ prefix for base64_* functions to avoid name clashes with functions provided by other libraries like Heimdal on Macos. #667 * Raise a more descriptive error message in case of pg_ext LoadError. #664 * Freeze some constants to make them available in a Ractor context. #660 * Several documentation improvements. * Update native binary gems to OpenSSL-3.5.2, krb5-1.22.1 and PostgreSQL-17.6.
databases/ruby-pg: update to 1.6.1 1.6.1 (2025-08-03) * Add binary gems for platforms aarch64-linux-musl and x86_64-linux-musl without the need to install package gcompat. #657. * Serialize CompositeCoder#dimensions only when set. #652 This fixes the compatibility to pg-1.5.9, when deserializing Marshal data from pg-1.6, as long as the new attribute isn't used. * Remove dependency to MSYS2 package "postgresql" from binary Windows gem #654
databases/ruby-pg: update to 1.6.0 1.6.0 (2025-07-27) Added: * Add binary gems for Ruby 3.4. * Add fat binary gem for platform aarch64-mingw-ucrt aka Windows on ARM #626, for platform Macos on Intel and ARM #643, for platform aarch64-linux #646 and for platform x86_64-linux #551. * Update fat binary gem to OpenSSL-3.5.1 and PostgreSQL-17.5. * Add a patch to libpq to avoid starvation on bigger SSL records, which some database engines other than vanilla PostgreSQL use. This patch applies to platform specific binary gems only. #616 * Add support for new query cancel functions of PostgreSQL-17. This adds the new class PG::CancelConnection which provides the ability to cancel a query per blocking or per non-blocking functions. If the new functions are available they are used and the older are no longer compiled in. This way we can get rid of reading out the internal PGcancel struct by Connection#backend_key. #614 * Add PG::BinaryDecoder::Array and PG::BinaryEncoder::Array to parse and encode PostgreSQL arrays in binary format. #603 * Add possibility to define the number of array dimensions to be encoded. Setting dimensions is especially useful, when a Record shall be encoded into an Array, since the Array encoder can not distinguish if the array shall be encoded as a higher dimension or as a record otherwise. #622 * Add Connection#set_chunked_rows_mode #610 * Add PG::Connection#close_prepared, PG::Connection#close_portal, PG::Connection#send_close_prepared and PG::Connection#send_close_portal which are new in PostgreSQL-17. #611 * Add Connection#send_pipeline_sync, async_pipeline_sync and release GVL at PQ(sendP|P)ipelineSync. #612 * Add MINGW package dependency which is resolved by RubyInstaller. #617 * Change conn.server_version and conn.protocol_version to raise instead of return 0 on error. #632 * Fix connecting to multiple hosts after connnect_timeout. #637 * Fix making PG::BasicTypeMapForQueries shareable for Ractor in ruby-3.5. #636 * Fix missing array input verification in PG::TypeMapByColumn. This could cause a segfault. #620 * Rename History.md to CHANGELOG.md, which is more common. #642 Removed: * Drop support of Ruby < 2.7 #606 * Drop support of PostgreSQL < 10 #606 * Remove workaround for Truffleruby < 21.3.0 #613
databases/ruby-pg: update to 1.5.9 1.5.9 (2024-10-24) * Enable thread safety in static OpenSSL build for Windows. #595 * Remove raising conect_timeout from 1 to 2 seconds. #590 * Fix binary copy_data in Ractor context. #594 * Exclude CI files and hidden files from built gem. #591 This is to simplify security inspection. * Update error classes to PostgreSQL-17. * Update Windows fat binary gem to OpenSSL-3.4.0 and PostgreSQL-17.0.
databases/ruby-pg: update to 1.5.8 1.5.7 (2024-07-28) * Remove deprecated use of fptr->fd.#562 Direct access is disallowed since ruby-3.4. * Make pgconn_connect_poll close the socket prior to calling PQconnectPoll. #564 This could result in an exception while connecting when used multi threaded. * Fix several typos and improve spelling in documentation and code. #566 * Add missing PG::RollbackTransaction as an option to exit conn.transaction. #560 Usage like in rails: https://api.rubyonrails.org/classes/ActiveRecord/Rollback.html * Don't print a warning when bigdecimal is required on ruby-3.4+ #574 * Update Windows fat binary gem to OpenSSL-3.3.1 and PostgreSQL-16.3. 1.5.8 (2024-09-06) * Fix host list duplication every time conn.reset is used. #586 * Add default decoder for anonymous record types to BasicTypeRegistry #579 * Update Windows fat binary gem to OpenSSL-3.3.2 and PostgreSQL-16.4.
databases/ruby-pg: update to 1.5.6 1.5.6 (2024-03-01) * Renew address resolution (DNS) in conn.reset. #558 This is important, if DNS is used for load balancing, etc. * Make bigdecimal an optional dependency. #556 It's a gem in ruby-3.4+, so that users shouldn't be forced to use it.
databases/ruby-pg: update to 1.5.5 1.5.5 (2024-02-15) * Explicitly retype timespec fields to int64_t to fix compatibility with 32bit arches. #547 * Fix possible buffer overflows in PG::BinaryDecoder::CopyRow on 32 bit systems. #548 * Add binary Windows gems for Ruby 3.3. * Update Windows fat binary gem to OpenSSL-3.2.1 and PostgreSQL-16.2.
databases/ruby-pg: update to 1.5.4 1.5.4 (2023-09-01) * Fix compiling the pg extension with MSVC 2022. #535 * Set PG::Connection's encoding even if setting client_encoding on connection startup fails. #541 * Don't set the server's client_encoding if it's unnecessary. #542 This is important for connection proxies, who disallow configuration settings. * Update Windows fat binary gem to OpenSSL-3.1.2 and PostgreSQL-15.4.
databases/ruby-pg: update to 1.5.3 1.5.3 (2023-04-28) * Fix possible segfault when creating a new PG::Result with type map. #530 * Add category to deprecation warnings of Coder.new, so that they are suppressed for most users. #528
databases/ruby-pg: update to 1.5.2
1.5.0 (2023-04-24)
Enhancements:
o Better support for binary format:
* Extend PG::Connection#copy_data to better support binary transfers #511
* Add binary COPY encoder and decoder:
- PG::BinaryEncoder::CopyRow
- PG::BinaryDecoder::CopyRow
* Add binary timestamp encoders:
- PG::BinaryEncoder::TimestampUtc
- PG::BinaryEncoder::TimestampLocal
- PG::BinaryEncoder::Timestamp
* Add PG::BinaryEncoder::Float4 and Float8
* Add binary date type: #515
- PG::BinaryEncoder::Date
- PG::BinaryDecoder::Date
* Add PG::Result#binary_tuples #511 It is useful for COPY and not
deprecated in that context.
* Add PG::TextEncoder::Bytea to BasicTypeRegistry #506
o Ractor support: #519
* Pg is now fully compatible with Ractor introduced in Ruby-3.0 and
doesn't use any global mutable state.
* All type en/decoders and type maps are shareable between ractors if they
are made frozen by Ractor.make_shareable.
* Also frozen PG::Result and PG::Tuple objects can be shared.
* All frozen objects (except PG::Connection) can still be used to do
communication with the PostgreSQL server or to read retrieved data.
* PG::Connection is not shareable and must be created within each Ractor
to establish a dedicated connection.
o Use keyword arguments instead of hashes for Coder initialization and
#to_h. #511
o Add PG::Result.res_status as a class method and extend Result#res_status
to return the status of self. #508
o Reduce the number of files loaded at require 'pg' by using autoload. #513
Previously stdlib libraries date, json, ipaddr and bigdecimal were static
dependencies, but now only socket is mandatory.
o Improve garbage collector performance by adding write barriers to all PG
classes. #518 Now they can be promoted to the old generation, which means
they only get marked on major GC.
o New method PG::Connection#check_socket to check the socket state. #521
o Mark many internal constants as private. #522
o Update Windows fat binary gem to OpenSSL-3.1.0.
Bugfixes:
o Move nfields-check of stream-methods after result status check #507 This
ensures that the nfield-check doesn't hide errors like statement timeout.
Removed:
o Remove deprecated PG::BasicTypeRegistry.register_type and co. Part of #519
o Add deprecation warning about PG::Coder initialization per Hash argument.
#514 It is recommended to use keyword arguments instead.
o The internal encoding cache was removed. #516 It shouldn't have a
practical performance impact.
Repository:
o rake test tries to find PostgreSQL server commands by pg_config #503 So
there's no need to set the PATH manuelly any longer.
1.5.1 (2023-04-24)
o Don't overwrite flags of timestamp coders. #524 Fixes a regression in
rails: rails/rails#48049
1.5.2 (2023-04-26)
o Fix regression in copy_data regarding binary format when using no coder.
#527
databases/ruby-pg: update to 1.4.6 1.4.6 [2023-02-26] Lars Kanis lars@greiz-reinsdorf.de * Add japanese README file. #502 * Improve discard_results to not block under memory pressure. #500 * Use a dedicated error class PG::LostCopyState for errors due to another query within copy_data and mention that it's probably due to another query. Previously the "no COPY in progress" PG::Error was less specific. #499 * Make sure an error in put_copy_end of copy_data doesn't lose the original exception. * Disable nonblocking mode while large object calls. #498 Since pg-1.3.0 libpq's "lo_*" calls failed when a bigger amount of data was transferred. This specifically forced the active_storage-postgresql gem to use pg-1.2.3. * Add rdoc options to gemspec, so that "gem install" generates complete offline documentation. * Add binary Windows gems for Ruby 3.2. * Update Windows fat binary gem to PostgreSQL-15.2 and OpenSSL-3.0.8.
databases/ruby-pg: update to 1.4.5 1.4.5 (2022-11-17) * Return the libpq default port when blank in conninfo. #492 * Add PG::DEF_PGPORT constant and use it in specs. #492 * Fix name resolution when empty or `nil` port is given. * Update error codes to PostgreSQL-15. * Update Windows fat binary gem to PostgreSQL-15.1 AND OpenSSL-1.1.1s.
databases/ruby-pg: update to 1.4.4 1.4.4 (2022-10-11) * Revert to let libpq do the host iteration while connecting. #485 Ensure that parameter `connect_timeout` is still respected. * Handle multiple hosts in the connection string, where only one host has writable session. #476 * Add some useful information to PG::Connection#inspect. #487 * Support new pgresult_stream_any API in sequel_pg-1.17.0. #481 * Update Windows fat binary gem to PostgreSQL-14.5.
databases/ruby-pg: update to 1.4.3 pkgsrc change: Update HOMEPAGE to GitHUb. Here are quote from changes of two minor release, for full change, please refer: <https://github.com/ged/ruby-pg/blob/master/History.rdoc>. 1.4.0 (2022-06-20) Added: * Add PG::Connection#hostaddr, present since PostgreSQL-12. #453 * Add PG::Connection.conninfo_parse to wrap PQconninfoParse. #453 Bugfixes: * Try IPv6 and IPv4 addresses, if DNS resolves to both. #452 * Re-add block-call semantics to PG::Connection.new accidently removed in pg-1.3.0. #454 * Handle client error after all data consumed in #copy_data for output. #455 * Avoid spurious keyword argument warning on Ruby 2.7. #456 * Change connection setup to respect connect_timeout parameter. #459 * Fix indefinite hang in case of connection error on Windows #458 * Set connection attribute of PG::Error in various places where it was missing. #461 * Fix transaction leak on early break/return. #463 * Update Windows fat binary gem to OpenSSL-1.1.1o and PostgreSQL-14.4. Enhancements: * Don't flush at each put_copy_data call, but flush at get_result. #462 1.3.0 (2022-01-20) Install Enhancements: * Print some install help if libpq wasn't found. #396 This should help to pick the necessary package without googling. * Update Windows fat binary gem to OpenSSL-1.1.1m and PostgreSQL-14.1. * Add binary Windows gems for Ruby 3.0 and 3.1. * Make the library path of libpq available in ruby as PG::POSTGRESQL_LIB_PATH and add it to the search paths on Windows similar to rpath on Unix systems. #373 * Fall back to pkg-config if pg_config is not found. #380 * Add option to extconf.rb to disable nogvl-wrapping of libpq functions. All methods (except PG::Connection.ping) are nonblocking now, so that GVL unlock is in theory no longer necessary. However it can have some advantage in concurrency, so that GVL unlock is still enabled by default. Use: gem inst pg – –disable-gvl-unlock API Enhancements: * Add full compatibility to Fiber.scheduler introduced in Ruby-3.0. #397 * Add support for pipeline mode of PostgreSQL-14. #401 * Allow specification of multiple hosts in PostgreSQL URI. #387 * Add new method conn.backend_key - used to implement our own cancel method. Type cast enhancements: * Add PG::BasicTypeMapForQueries::BinaryData for encoding of bytea columns. #348 * Reduce time to build coder maps and permit to reuse them for several type maps per PG::BasicTypeRegistry::CoderMapsBundle.new(conn) . #376 * Make BasicTypeRegistry a class and use a global default instance of it. Now a local type registry can be instanciated and given to the type map, to avoid changing shared global states. * Allow PG::BasicTypeMapForQueries to take a Proc as callback for undefined types. Other Enhancements: * Convert all PG classes implemented in C to TypedData objects. #349 * Support ObjectSpace.memsize_of(obj) on all classes implemented in C. #393 * Make all PG objects implemented in C memory moveable and therefore GC.compact friendly. #349 * Update errorcodes and error classes to PostgreSQL-14.0. * Add PG::CONNECTION_* constants for conn.status of newer PostgreSQL versions. * Add better support for logical replication. #339 * Change conn.socket_io to read+write mode and to a BasicSocket object instead of IO. * Use rb_io_wait() and the conn.socket_io object if available for better compatibility to Fiber.scheduler . Fall back to rb_wait_for_single_fd() on ruby < 3.0. * On Windows use a specialized wait function as a workaround for very poor performance of rb_io_wait(). #416 Bugfixes: * Release GVL while calling PQping which is a blocking method, but it didn't release GVL so far. * Fix Connection#transaction to no longer block on interrupts, for instance when pressing Ctrl-C and cancel a running query. #390 * Avoid casting of OIDs to fix compat with Redshift database. #369 * Call conn.block before each conn.get_result call to avoid possible blocking in case of a slow network and multiple query results. * Sporadic Errno::ENOTSOCK when using conn.socket_io on Windows #398 Deprecated: * Add deprecation warning to PG::BasicTypeRegistry.register_type and siblings. Removed: * Remove support of ruby-2.2, 2.3 and 2.4. Minimum is ruby-2.5 now. * Remove support for PostgreSQL-9.2. Minimum is PostgreSQL-9.3 now. * Remove constant PG::REVISION, which was broken since pg-1.1.4. Repository: * Replace Hoe by Bundler for gem packaging * Add Github Actions CI and testing of source and binary gems.
databases/ruby-pg: update to 1.2.3 Update ruby-pg to 1.2.3. == v1.2.3 [2020-03-18] Michael Granger <ged@FaerieMUD.org> Bugfixes: - Fix possible segfault at `PG::Coder#encode`, `decode` or their implicit calls through a typemap after GC.compact. #327 - Fix possible segfault in `PG::TypeMapByClass` after GC.compact. #328
databases/ruby-pg: update to 1.2.2 == v1.2.2 [2020-01-06] Michael Granger <ged@FaerieMUD.org> Enhancements: - Add a binary gem for Ruby 2.7. == v1.2.1 [2020-01-02] Michael Granger <ged@FaerieMUD.org> Enhancements: - Added internal API for sequel_pg compatibility. == v1.2.0 [2019-12-20] Michael Granger <ged@FaerieMUD.org> Repository: - Our primary repository has been moved to Github https://github.com/ged/ruby-pg . Most of the issues from https://bitbucket.org/ged/ruby-pg have been migrated. #43 API enhancements: - Add PG::Result#field_name_type= and siblings to allow symbols to be used as field names. #306 - Add new methods for error reporting: - PG::Connection#set_error_context_visibility - PG::Result#verbose_error_message - PG::Result#result_verbose_error_message (alias) - Update errorcodes and error classes to PostgreSQL-12.0. - New constants: PG_DIAG_SEVERITY_NONLOCALIZED, PQERRORS_SQLSTATE, PQSHOW_CONTEXT_NEVER, PQSHOW_CONTEXT_ERRORS, PQSHOW_CONTEXT_ALWAYS Type cast enhancements: - Add PG::TextEncoder::Record and PG::TextDecoder::Record for en/decoding of Composite Types. #258, #36 - Add PG::BasicTypeRegistry.register_coder to register instances instead of classes. This is useful to register parametrized en/decoders like PG::TextDecoder::Record . - Add PG::BasicTypeMapForQueries#encode_array_as= to switch between various interpretations of ruby arrays. - Add Time, Array<Time>, Array<BigDecimal> and Array<IPAddr> encoders to PG::BasicTypeMapForQueries - Exchange sprintf based float encoder by very fast own implementation with more natural format. #301 - Define encode and decode methods only in en/decoders that implement it, so that they can be queried by respond_to? . - Improve PG::TypeMapByColumn#inspect - Accept Integer and Float as input to TextEncoder::Numeric . #310 Other enhancements: - Allocate the data part and the ruby object of PG::Result in one step, so that we don't need to check for valid data. This removes PG::Result.allocate and PG::Result.new, which were callable but without any practical use. #42 - Make use of PQresultMemorySize() of PostgreSQL-12 and fall back to our internal estimator. - Improve performance of PG::Result#stream_each_tuple . - Store client encoding in data part of PG::Connection and PG::Result objects, so that we no longer use ruby's internal encoding bits. #280 - Update Windows fat binary gem to OpenSSL-1.1.1d and PostgreSQL-12.1. - Add support for TruffleRuby. It is regulary tested as part of our CI. - Enable +frozen_string_literal+ in all pg's ruby files Bugfixes: - Update the license in gemspec to "BSD-2-Clause". It was incorrectly labeled "BSD-3-Clause". #40 - Respect PG::Coder#flags in PG::Coder#to_h. - Fix PG::Result memsize reporting after #clear. - Release field names to GC on PG::Result#clear. - Fix double free in PG::Result#stream_each_tuple when an exception is raised in the block. - Fix PG::Result#stream_each_tuple to deliver typemapped values. - Fix encoding of Array<unknown> with PG::BasicTypeMapForQueries Deprecated: - Add a deprecation warning to PG::Connection#socket . Removed: - Remove PG::Connection#guess_result_memsize= which was temporary added in pg-1.1. - Remove PG::Result.allocate and PG::Result.new (see enhancements). - Remove support of tainted objects. #307 - Remove support of ruby-2.0 and 2.1. Minimum is ruby-2.2 now. Documentation: - Update description of connection params. See PG::Connection.new - Link many method descriptions to corresponding libpq's documentation. - Update sync_* and async_* query method descriptions and document the aliases. The primary documentation is now at the async_* methods which are the default since pg-1.1. - Fix documentation of many constants
databases/ruby-pg: update to 1.1.4 == v1.1.4 [2019-01-08] Michael Granger <ged@FaerieMUD.org> - Fix PG::BinaryDecoder::Timestamp on 32 bit systems. # 284 - Add new error-codes of PostgreSQL-11. - Add ruby-2.6 support for Windows fat binary gems and remove ruby-2.0 and 2.1.
databases/ruby-pg: update to 1.1.3 == v1.1.3 [2018-09-06] Michael Granger <ged@FaerieMUD.org> - Revert opimization that was sometimes causing EBADF in rb_wait_for_single_fd(). == v1.1.2 [2018-08-28] Michael Granger <ged@FaerieMUD.org> - Don't generate aliases for JOHAB encoding. This avoids linking to deprecated/private function rb_enc(db)_alias(). == v1.1.1 [2018-08-27] Michael Granger <ged@FaerieMUD.org> - Reduce deprecation warnings to only one message per deprecation. == v1.1.0 [2018-08-24] Michael Granger <ged@FaerieMUD.org> Deprecated (disable warnings per PG_SKIP_DEPRECATION_WARNING=1): - Forwarding conn.exec to conn.exec_params is deprecated. - Forwarding conn.exec_params to conn.exec is deprecated. - Forwarding conn.async_exec to conn.async_exec_params. - Forwarding conn.send_query to conn.send_query_params is deprecated. - Forwarding conn.async_exec_params to conn.async_exec is deprecated. PG::Connection enhancements: - Provide PG::Connection#sync_* and PG::Connection#async_* query methods for explicit calling syncronous or asynchronous libpq API. - Make PG::Connection#exec and siblings switchable between sync and async API per PG::Connection.async_api= and change the default to async flavors. - Add async flavors of exec_params, prepare, exec_prepared, describe_prepared and describe_portal. They are identical to their syncronous counterpart, but make use of PostgreSQL's async API. - Replace `rb_thread_fd_select()` by faster `rb_wait_for_single_fd()` in `conn.block` and `conn.async_exec` . - Add PG::Connection#discard_results . - Raise an ArgumentError for strings containing zero bytes by #escape, #escape_literal, #escape_identifier, #quote_ident and PG::TextEncoder::Identifier. These methods previously truncated strings. Result retrieval enhancements: - Add PG::Result#tuple_values to retrieve all field values of a row as array. - Add PG::Tuple, PG::Result#tuple and PG::Result#stream_each_tuple . PG::Tuple offers a way to lazy cast result values. - Estimate PG::Result size allocated by libpq and notify the garbage collector about it when running on Ruby-2.4 or newer. - Make the estimated PG::Result size available to ObjectSpace.memsize_of(result) . Type cast enhancements: - Replace Ruby code by a faster C implementation of the SimpleDecoder's timestamp decode functions. github #20 - Interpret years with up to 7 digists and BC dates by timestamp decoder. - Add text timestamp decoders for UTC vs. local timezone variations. - Add text timestamp encoders for UTC timezone. - Add decoders for binary timestamps: PG::BinaryDecoder::Timestamp and variations. - Add PG::Coder#flags accessor to allow modifications of de- respectively encoder behaviour. - Add a flag to raise TypeError for invalid input values to PG::TextDecoder::Array . - Add a text decoder for inet/cidr written in C. - Add a numeric decoder written in C. - Ensure input text is zero terminated for text format in PG::Coder#decode . Source code enhancements: - Fix headers and permission bits of various repository files. Bugfixes: - Properly decode array with prepended dimensions. #272 For now dimension decorations are ignored, but a correct Array is returned. - Array-Decoder: Avoid leaking memory when an Exception is raised while parsing. Fixes #279
databases/ruby-pg: update to 1.0.0 v1.0.0 [2018-01-10] Michael Granger <ged@FaerieMUD.org> Deprecated: * Deprecate Ruby older than 2.2. * Deprecate Connection#socket in favor of #socket_io. Removed: * Remove compatibility code for Ruby < 2.0 and PostgreSQL < 9.2. * Remove partial compatibility with Rubinius. * Remove top-level constants PGconn, PGresult, and PGError. Enhancements: * Update error codes to PostgreSQL-10 * Update Windows binary gems to Ruby-2.5, PostgreSQL 10.1 and OpenSSL 1.1.0g. Bugfixes: * Fix URI detection for connection strings. #265 (thanks to jjoos) * MINGW: Workaround segfault due to GCC linker error in conjunction with MSVC. This happens when linking to PostgreSQL-10.0-x64 from EnterpriseDB. Documentation fixes: * Add PostgreSQL version since when the given function is supported. #263 * Better documentation to `encoder` and `decoder` arguments of COPY related methods.
Follow some redirects.
Update ruby-pg to 0.21.0. == v0.21.0 [2017-06-12] Michael Granger <ged@FaerieMUD.org> Enhancements: - Move add_dll_directory to the Runtime namespace for newest versions of RubyInstaller. - Deprecate PGconn, PGresult, and PGError top-level constants; a warning will be output the first time one of them is used. They will be removed in the upcoming 1.0 release. Documentation fixes: - Update the docs for PG::Result#cmd_tuples
Update ruby-pg to 0.20.0 == 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.
Remove RUBY_RDOC_VERSION since All RUBY_VERSION_DEFAULT versions of Ruby are satisfy minimum RUBY_RDOC_VERSION now.
Recursive bump for all users of pgsql now that the default is 95.
Update ruby-pg to 0.19.0.
== 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
Update ruby-pg to 0.18.4. == 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
Update ruby-pg to 0.18.3. == 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)
Update ruby-pg to 0.18.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.
Update ruby-pg to 0.18.1. == 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.
Update ruby-pg to 0.17.1 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.
Update ruby-pg to 0.17.0. == 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.
Update ruby-pg to 0.16.0. == 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).
Pullup ticket #4179 - requested by taca
misc/rubygems: build fix
textproc/ruby-xslt: build fix
Revisions pulled up:
- converters/ruby-unf_ext/Makefile 1.4
- converters/ruby-unf_ext/PLIST 1.3
- databases/ruby-ldap/Makefile 1.15
- databases/ruby-ldap/PLIST 1.6
- databases/ruby-odbc/Makefile 1.14
- databases/ruby-odbc/PLIST 1.8
- databases/ruby-pg/Makefile 1.16
- databases/ruby-pg/PLIST 1.10
- devel/ruby-rbtree/Makefile 1.10
- devel/ruby-rbtree/PLIST 1.6
- graphics/ruby-gd/Makefile 1.40
- graphics/ruby-gd/PLIST 1.9
- lang/ruby/gem.mk 1.21-1.22
- lang/ruby193-base/Makefile 1.31
- lang/ruby193-base/PLIST 1.9
- lang/ruby193-base/distinfo 1.23
- lang/ruby193-base/patches/patch-lib_rubygems_command.rb 1.1
- lang/ruby193-base/patches/patch-lib_rubygems_command__manager.rb 1.1
- lang/ruby193-base/patches/patch-lib_rubygems_dependency__installer.rb 1.4
- lang/ruby193-base/patches/patch-lib_rubygems_gem__runner.rb 1.1
- lang/ruby193-base/patches/patch-lib_rubygems_installer.rb 1.2
- lang/ruby193-base/patches/patch-lib_rubygems_specification.rb 1.4
- math/ruby-narray/Makefile 1.2
- math/ruby-narray/PLIST 1.2
- misc/rubygems/Makefile 1.53
- misc/rubygems/PLIST 1.23
- misc/rubygems/distinfo 1.42
- misc/rubygems/patches/patch-ad 1.12
- security/ruby-shadow/Makefile 1.2
- security/ruby-shadow/PLIST 1.2
- textproc/ruby-libxml/Makefile 1.19
- textproc/ruby-libxml/PLIST 1.12
- textproc/ruby-xslt/Makefile 1.11
- textproc/ruby-xslt/PLIST 1.7
- www/ruby-fcgi/Makefile 1.16
- www/ruby-fcgi/PLIST 1.5
---
Module Name: pkgsrc
Committed By: taca
Date: Sun Jul 7 15:01:01 UTC 2013
Modified Files:
pkgsrc/lang/ruby193-base: Makefile PLIST distinfo
pkgsrc/lang/ruby193-base/patches:
patch-lib_rubygems_dependency__installer.rb
patch-lib_rubygems_installer.rb patch-lib_rubygems_specification.rb
Added Files:
pkgsrc/lang/ruby193-base/patches: patch-lib_rubygems_command.rb
patch-lib_rubygems_command__manager.rb
patch-lib_rubygems_gem__runner.rb
Log Message:
Add partly support build_info to bundled rubygems to make compatibilty with
rubygems 2.0.3.
Bump PKGREVISION.
---
Module Name: pkgsrc
Committed By: taca
Date: Sun Jul 7 15:02:57 UTC 2013
Modified Files:
pkgsrc/misc/rubygems: Makefile distinfo
pkgsrc/misc/rubygems/patches: patch-ad
Log Message:
Fix creating proper build_info directory.
Bump PKGREVISION.
---
Module Name: pkgsrc
Committed By: taca
Date: Sun Jul 7 15:12:56 UTC 2013
Modified Files:
pkgsrc/misc/rubygems: PLIST
Log Message:
Remove Ruby's version denendent directory.
No PKGREVISION bump for short time updates.
---
Module Name: pkgsrc
Committed By: taca
Date: Sun Jul 7 15:16:38 UTC 2013
Modified Files:
pkgsrc/lang/ruby: gem.mk
Log Message:
Fix gem handling.
o Don't assume _DISTDIR end with '/' (by DESTDIR).
o A small clean up to GEM_CLEANBUILD handling.
A few clean up.
---
Module Name: pkgsrc
Committed By: taca
Date: Sun Jul 7 15:18:11 UTC 2013
Modified Files:
pkgsrc/converters/ruby-unf_ext: Makefile PLIST
Log Message:
No need to specify GEM_CLEANBUILD and fix PLIST.
Bump PKGREVISION.
---
Module Name: pkgsrc
Committed By: taca
Date: Sun Jul 7 15:20:16 UTC 2013
Modified Files:
pkgsrc/databases/ruby-ldap: Makefile PLIST
Log Message:
o Clean up GEM_CLEANBUILD and fix PLIST.
o Use RUBY_DLEXT in PLIST.
Bump PKGREVISION.
---
Module Name: pkgsrc
Committed By: taca
Date: Sun Jul 7 15:21:33 UTC 2013
Modified Files:
pkgsrc/databases/ruby-odbc: Makefile PLIST
Log Message:
Add build_info file to PLIST.
Bump PKGREVISION.
---
Module Name: pkgsrc
Committed By: taca
Date: Sun Jul 7 15:22:55 UTC 2013
Modified Files:
pkgsrc/databases/ruby-pg: Makefile PLIST
Log Message:
Add build_info file to PLIST.
Bump PKGREVISION.
---
Module Name: pkgsrc
Committed By: taca
Date: Sun Jul 7 15:26:00 UTC 2013
Modified Files:
pkgsrc/devel/ruby-rbtree: Makefile PLIST
Log Message:
Change GEM_CLEANBUILD not to include the same Ruby's extension file in
package.
Bump PKGREVISION.
---
Module Name: pkgsrc
Committed By: taca
Date: Sun Jul 7 15:27:26 UTC 2013
Modified Files:
pkgsrc/graphics/ruby-gd: Makefile PLIST
Log Message:
o Add build_info file to PLIST.
o Utilize GEM_NAME in PLIST.
Bump PKGREVISION.
---
Module Name: pkgsrc
Committed By: taca
Date: Sun Jul 7 15:29:47 UTC 2013
Modified Files:
pkgsrc/math/ruby-narray: Makefile PLIST
Log Message:
Change GEM_CLEANBUILD not to include working file to package.
Bump PKGREVISION.
---
Module Name: pkgsrc
Committed By: taca
Date: Sun Jul 7 15:32:56 UTC 2013
Modified Files:
pkgsrc/security/ruby-shadow: Makefile PLIST
Log Message:
o Clean up GEM_CLEANBUILD not to include the same Ruby's extension file and
working files in package
o Use RUBY_DLEXT in PLIST.
Bump PKGREVISION.
---
Module Name: pkgsrc
Committed By: taca
Date: Sun Jul 7 15:34:45 UTC 2013
Modified Files:
pkgsrc/textproc/ruby-libxml: Makefile PLIST
Log Message:
o Add build_info file to PLIST.
o Don't include extconf.h, a working file to package.
Bump PKGREVISION.
---
Module Name: pkgsrc
Committed By: taca
Date: Sun Jul 7 15:36:37 UTC 2013
Modified Files:
pkgsrc/www/ruby-fcgi: Makefile PLIST
Log Message:
o Add build_info file to PLIST.
o Utilize GEM_NAME in PLIST.
Bump PKGREVISION.
---
Module Name: pkgsrc
Committed By: taca
Date: Sun Jul 7 16:07:25 UTC 2013
Modified Files:
pkgsrc/textproc/ruby-xslt: Makefile PLIST
Log Message:
Add build_info file to PLIST.
Bump PKGREVISION.
---
Module Name: pkgsrc
Committed By: jperkin
Date: Sun Jul 14 21:08:17 UTC 2013
Modified Files:
pkgsrc/lang/ruby: gem.mk
Log Message:
Fix shell syntax error which has been breaking all gem builds on SunOS for
the past week as per the reports on pkgsrc-bulk. Not sure why it wasn't
showing up on other platforms, but I am assuming this is the correct fix.
Add build_info file to PLIST. Bump PKGREVISION.
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.
Update ruby-pg to 0.14.1. == 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)
Require ruby-rdoc version 2.5.8 or later to fix build problem with ruby18.
Bump PKGREVISION for change of PostgreSQL default version to 9.1.
Update ruby-pg to 0.14.0. == 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.
Update databases/ruby-pg package to 0.13.2. == 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
Update ruby-pg package to 0.12.0. == 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)
Remove .require_paths from GEM_CLEANBUILD since it isn't genrated any more.
Update ruby-pg package to 0.11.0. 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.
Pullup ticket #3361 - requested by taca
archivers/ruby-libarchive: dependence update
comms/ruby-termios: dependence update
converters/ruby-uconv: dependence update
databases/ruby-do_sqlite3: dependence update
databases/ruby-ldap: dependence update
databases/ruby-mysql: dependence update
databases/ruby-odbc: dependence update
databases/ruby-pg: dependence update
databases/ruby-postgresql: dependence update
databases/ruby-qdbm: dependence update
databases/ruby-sqlite: dependence update
databases/ruby-sqlite3: dependence update
databases/ruby-tokyocabinet: dependence update
devel/ruby-SDL: dependence update
devel/ruby-debug-base: dependence update
devel/ruby-eet: dependence update
devel/ruby-eventmachine: dependence update
devel/ruby-ffi: dependence update
devel/ruby-gnome2-atk: dependence update
devel/ruby-gnome2-bonobo: dependence update
devel/ruby-gnome2-bonoboui: dependence update
devel/ruby-gnome2-gconf: dependence update
devel/ruby-gnome2-gio: dependence update
devel/ruby-gnome2-glib: dependence update
devel/ruby-gnome2-libglade: dependence update
devel/ruby-gnome2-pango: dependence update
devel/ruby-linecache: dependence update
devel/ruby-memcache: dependence update
devel/ruby-ncurses: dependence update
devel/ruby-priority-queue: dependence update
devel/ruby-racc: dependence update
devel/ruby-rbtree: dependence update
devel/ruby-rcov: dependence update
devel/ruby-rcsparse: dependence update
devel/ruby-subversion: dependence update
devel/ruby-thrift: dependence update
graphics/ruby-RMagick: dependence update
graphics/ruby-clutter-cairo: dependence update
graphics/ruby-clutter-core: dependence update
graphics/ruby-clutter-gtk: dependence update
graphics/ruby-gd: dependence update
graphics/ruby-gnome2-gdkpixbuf: dependence update
graphics/ruby-gnome2-gnomecanvas: dependence update
graphics/ruby-gnome2-goocanvas: dependence update
graphics/ruby-gnome2-gtkglext: dependence update
graphics/ruby-gnome2-libart: dependence update
graphics/ruby-gnome2-rsvg: dependence update
graphics/ruby-imlib2: dependence update
graphics/ruby-opengl: dependence update
graphics/ruby-rcairo: dependence update
inputmethod/ruby-zinnia: dependence update
lang/ruby: dependence update
lang/ruby18-base: security update
lang/ruby19-base: security update
mail/ruby-tmail: dependence update
math/ruby-rb-gsl: dependence update
multimedia/ruby-clutter-gst: dependence update
multimedia/ruby-gnome2-gstreamer: dependence update
multimedia/ruby-ming: dependence update
print/ruby-gnome2-gnomeprint: dependence update
print/ruby-gnome2-gnomeprintui: dependence update
print/ruby-gnome2-poppler: dependence update
security/ruby-password: dependence update
security/ruby-tcpwrap: dependence update
sysutils/ruby-quota: dependence update
textproc/ruby-bluecloth: dependence update
textproc/ruby-cabocha: dependence update
textproc/ruby-eruby: dependence update
textproc/ruby-ferret: dependence update
textproc/ruby-hpricot: dependence update
textproc/ruby-itex2MML: dependence update
textproc/ruby-json: dependence update
textproc/ruby-libxml: dependence update
textproc/ruby-mecab: dependence update
textproc/ruby-native-hyperestraier: dependence update
textproc/ruby-nokogiri: dependence update
textproc/ruby-oniguruma: dependence update
textproc/ruby-redcloth: dependence update
textproc/ruby-sary: dependence update
textproc/ruby-xmlparser: dependence update
textproc/ruby-xslt: dependence update
textproc/ruby-yamcha: dependence update
www/mongrel: dependence update
www/ruby-clearsilver: dependence update
www/ruby-fcgi: dependence update
www/ruby-gnome2-gtkhtml2: dependence update
www/ruby-gnome2-gtkmozembed: dependence update
www/ruby-patron: dependence update
www/thin: dependence update
x11/ruby-gnome2-gnome: dependence update
x11/ruby-gnome2-gtk: dependence update
x11/ruby-gnome2-gtksourceview: dependence update
x11/ruby-gnome2-gtksourceview2: dependence update
x11/ruby-gnome2-panelapplet: dependence update
x11/ruby-gnome2-vte: dependence update
Revisions pulled up:
- archivers/ruby-libarchive/Makefile 1.2
- comms/ruby-termios/Makefile 1.23
- converters/ruby-uconv/Makefile 1.19
- databases/ruby-do_sqlite3/Makefile 1.2
- databases/ruby-ldap/Makefile 1.7
- databases/ruby-mysql/Makefile 1.34 via patch
- databases/ruby-odbc/Makefile 1.10 via patch
- databases/ruby-pg/Makefile 1.6
- databases/ruby-postgresql/Makefile 1.37
- databases/ruby-qdbm/Makefile 1.12
- databases/ruby-sqlite/Makefile 1.3
- databases/ruby-sqlite3/Makefile 1.15
- databases/ruby-tokyocabinet/Makefile 1.24
- devel/ruby-SDL/Makefile 1.9 via patch
- devel/ruby-debug-base/Makefile 1.7
- devel/ruby-eet/Makefile 1.8
- devel/ruby-eventmachine/Makefile 1.7
- devel/ruby-ffi/Makefile 1.3
- devel/ruby-gnome2-atk/Makefile 1.8
- devel/ruby-gnome2-bonobo/Makefile patch
- devel/ruby-gnome2-bonoboui/Makefile patch
- devel/ruby-gnome2-gconf/Makefile patch
- devel/ruby-gnome2-gio/Makefile 1.3 via patch
- devel/ruby-gnome2-glib/Makefile 1.11
- devel/ruby-gnome2-libglade/Makefile patch
- devel/ruby-gnome2-pango/Makefile 1.18 via patch
- devel/ruby-linecache/Makefile 1.5
- devel/ruby-memcache/Makefile 1.4
- devel/ruby-ncurses/Makefile 1.9
- devel/ruby-priority-queue/Makefile 1.6
- devel/ruby-racc/Makefile 1.18
- devel/ruby-rbtree/Makefile 1.6
- devel/ruby-rcov/Makefile 1.5
- devel/ruby-rcsparse/Makefile 1.10
- devel/ruby-subversion/Makefile 1.28
- devel/ruby-thrift/Makefile 1.4 via patch
- graphics/ruby-RMagick/Makefile 1.76 via patch
- graphics/ruby-clutter-cairo/Makefile 1.8 via patch
- graphics/ruby-clutter-core/Makefile 1.11 via patch
- graphics/ruby-clutter-gtk/Makefile 1.8 via patch
- graphics/ruby-gd/Makefile 1.34 via patch
- graphics/ruby-gnome2-gdkpixbuf/Makefile 1.20 via patch
- graphics/ruby-gnome2-gnomecanvas/Makefile patch
- graphics/ruby-gnome2-goocanvas/Makefile 1.12 via patch
- graphics/ruby-gnome2-gtkglext/Makefile patch
- graphics/ruby-gnome2-libart/Makefile patch
- graphics/ruby-gnome2-rsvg/Makefile 1.21 va patch
- graphics/ruby-imlib2/Makefile 1.24 va patch
- graphics/ruby-opengl/Makefile 1.31
- graphics/ruby-rcairo/Makefile 1.22 via patch
- inputmethod/ruby-zinnia/Makefile 1.3
- lang/ruby/buildlink3.mk 1.13
- lang/ruby/rubyversion.mk 1.58-1.59
- lang/ruby18-base/distinfo 1.47
- lang/ruby19-base/DEINSTALL 1.2
- lang/ruby19-base/Makefile 1.7
- lang/ruby19-base/PLIST 1.4
- lang/ruby19-base/distinfo 1.4
- lang/ruby19-base/patches/patch-string.c 1.1
- mail/ruby-tmail/Makefile 1.19
- math/ruby-rb-gsl/Makefile 1.9
- multimedia/ruby-clutter-gst/Makefile 1.9 via patch
- multimedia/ruby-gnome2-gstreamer/Makefile 1.7
- multimedia/ruby-ming/Makefile 1.15 via patch
- print/ruby-gnome2-gnomeprint/Makefile patch
- print/ruby-gnome2-gnomeprintui/Makefile patch
- print/ruby-gnome2-poppler/Makefile 1.19 via patch
- security/ruby-password/Makefile 1.5
- security/ruby-tcpwrap/Makefile 1.18
- sysutils/ruby-quota/Makefile 1.21
- textproc/ruby-bluecloth/Makefile 1.5
- textproc/ruby-cabocha/Makefile 1.3
- textproc/ruby-eruby/Makefile 1.26
- textproc/ruby-ferret/Makefile 1.6
- textproc/ruby-hpricot/Makefile 1.8
- textproc/ruby-itex2MML/Makefile 1.7
- textproc/ruby-json/Makefile 1.9
- textproc/ruby-libxml/Makefile 1.7
- textproc/ruby-mecab/Makefile 1.6
- textproc/ruby-native-hyperestraier/Makefile 1.6
- textproc/ruby-nokogiri/Makefile 1.4
- textproc/ruby-oniguruma/Makefile 1.6
- textproc/ruby-redcloth/Makefile 1.14
- textproc/ruby-sary/Makefile 1.7
- textproc/ruby-xmlparser/Makefile 1.15
- textproc/ruby-xslt/Makefile 1.7
- textproc/ruby-yamcha/Makefile 1.3
- www/mongrel/Makefile 1.13 via patch
- www/ruby-clearsilver/Makefile 1.15
- www/ruby-fcgi/Makefile 1.15
- www/ruby-gnome2-gtkhtml2/Makefile patch
- www/ruby-gnome2-gtkmozembed/Makefile 1.17 via patch
- www/ruby-patron/Makefile 1.5
- www/thin/Makefile 1.8 via patch
- x11/ruby-gnome2-gtk/Makefile 1.25 via patch
- x11/ruby-gnome2-gtksourceview/Makefile patch via 1.12
- x11/ruby-gnome2-gtksourceview2/Makefile patch
- x11/ruby-gnome2-panelapplet/Makefile patch
- x11/ruby-gnome2-vte/Makefile 1.16 via patch
---
Module Name: pkgsrc
Module Name: pkgsrc
Committed By: taca
Date: Mon Feb 21 14:31:06 UTC 2011
Modified Files:
pkgsrc/lang/ruby: rubyversion.mk
Log Message:
* Start upate of ruby18 and ruby19 packags.
* Remove redundant GEM_HOME definition from PLIST.
---
Module Name: pkgsrc
Module Name: pkgsrc
Committed By: taca
Date: Mon Feb 21 14:35:38 UTC 2011
Modified Files:
pkgsrc/lang/ruby18-base: distinfo
Log Message:
Update ruby18-base package to 1.8.7.334 (Ruby 1.8.7p334).
* The FileUtils Vulnerability
http://www.ruby-lang.org/en/news/2011/02/18/fileutils-is-vulnerable-to-symlink-race-attacks/
* The $SAFE Vulnerability
Fri Feb 18 21:18:55 2011 Shugo Maeda <shugo@ruby-lang.org>
* test/ruby/test_exception.rb (TestException::test_to_s_taintness_propagation):
Test for below.
Fri Feb 18 21:18:55 2011 URABE Shyouhei <shyouhei@ruby-lang.org>
* error.c (exc_to_s): untainted strings can be tainted via
Exception#to_s, which enables attackers to overwrite sane strings.
Reported by: Yusuke Endoh <mame at tsg.ne.jp>.
* error.c (name_err_to_s): ditto.
Fri Feb 18 21:17:22 2011 Shugo Maeda <shugo@ruby-lang.org>
* lib/fileutils.rb (FileUtils::remove_entry_secure): there is a
race condition in the case where the given path is a directory,
and some other user can move that directory, and create a
symlink while this method is executing.
Reported by: Nicholas Jefferson <nicholas at pythonic.com.au>
Fri Feb 18 19:46:46 2011 NAKAMURA Usaku <usa@ruby-lang.org>
* win32/win32.c (init_stdhandle): backport mistake of r29382.
some code are needless in ruby 1.8.
[ruby-core:34579]
Fri Feb 18 19:22:17 2011 URABE Shyouhei <shyouhei@ruby-lang.org>
* configure.in: revert revision r29854. This revision introduced
binary incompatibilities on some circumstances. The bug that
revision was fixing gets reopened by this reversion.
[ruby-dev:43152] cf. [Bug #2553]
---
Module Name: pkgsrc
Module Name: pkgsrc
Committed By: taca
Date: Mon Feb 21 14:44:11 UTC 2011
Modified Files:
pkgsrc/lang/ruby19-base: DEINSTALL Makefile PLIST distinfo
Added Files:
pkgsrc/lang/ruby19-base/patches: patch-string.c
Log Message:
Update ruby19-base package to 1.9.2pl180 (Ruby 1.9.2 p180).
* The FileUtils Vulnerability
http://www.ruby-lang.org/en/news/2011/02/18/fileutils-is-vulnerable-to-symlink-race-attacks/
* Add a patch r30779 from repository; a bug of utf-8 string handling.
For more detail changes of Ruby 1.9.2pl180, please refer:
http://svn.ruby-lang.org/repos/ruby/tags/v1_9_2_180/ChangeLog
---
Module Name: pkgsrc
Module Name: pkgsrc
Committed By: taca
Date: Mon Feb 21 15:00:34 UTC 2011
Modified Files:
pkgsrc/lang/ruby: buildlink3.mk rubyversion.mk
Log Message:
Introduce RUBY_ABI_VERSION and use it BUILDLINK_ABI_DEPENDS.
There are ABI incompatibility amaong Ruby 1.8.7 patchlevel 302, 330 and 334,
So it would be handle if such problem in future.
---
Module Name: pkgsrc
Module Name: pkgsrc
Committed By: taca
Date: Mon Feb 21 16:01:24 UTC 2011
Modified Files:
pkgsrc/archivers/ruby-libarchive: Makefile
pkgsrc/comms/ruby-termios: Makefile
pkgsrc/converters/ruby-uconv: Makefile
pkgsrc/databases/ruby-do_sqlite3: Makefile
pkgsrc/databases/ruby-ldap: Makefile
pkgsrc/databases/ruby-mysql: Makefile
pkgsrc/databases/ruby-odbc: Makefile
pkgsrc/databases/ruby-pg: Makefile
pkgsrc/databases/ruby-postgresql: Makefile
pkgsrc/databases/ruby-qdbm: Makefile
pkgsrc/databases/ruby-sqlite: Makefile
pkgsrc/databases/ruby-sqlite3: Makefile
pkgsrc/databases/ruby-tokyocabinet: Makefile
pkgsrc/devel/ruby-SDL: Makefile
pkgsrc/devel/ruby-debug-base: Makefile
pkgsrc/devel/ruby-eet: Makefile
pkgsrc/devel/ruby-eventmachine: Makefile
pkgsrc/devel/ruby-ffi: Makefile
pkgsrc/devel/ruby-gnome2-atk: Makefile
pkgsrc/devel/ruby-gnome2-gio: Makefile
pkgsrc/devel/ruby-gnome2-glib: Makefile
pkgsrc/devel/ruby-gnome2-pango: Makefile
pkgsrc/devel/ruby-linecache: Makefile
pkgsrc/devel/ruby-memcache: Makefile
pkgsrc/devel/ruby-ncurses: Makefile
pkgsrc/devel/ruby-priority-queue: Makefile
pkgsrc/devel/ruby-racc: Makefile
pkgsrc/devel/ruby-rbtree: Makefile
pkgsrc/devel/ruby-rcov: Makefile
pkgsrc/devel/ruby-rcsparse: Makefile
pkgsrc/devel/ruby-subversion: Makefile
pkgsrc/devel/ruby-thrift: Makefile
pkgsrc/graphics/ruby-RMagick: Makefile
pkgsrc/graphics/ruby-clutter-cairo: Makefile
pkgsrc/graphics/ruby-clutter-core: Makefile
pkgsrc/graphics/ruby-clutter-gtk: Makefile
pkgsrc/graphics/ruby-gd: Makefile
pkgsrc/graphics/ruby-gnome2-gdkpixbuf: Makefile
pkgsrc/graphics/ruby-gnome2-goocanvas: Makefile
pkgsrc/graphics/ruby-gnome2-rsvg: Makefile
pkgsrc/graphics/ruby-imlib2: Makefile
pkgsrc/graphics/ruby-opengl: Makefile
pkgsrc/graphics/ruby-rcairo: Makefile
pkgsrc/inputmethod/ruby-zinnia: Makefile
pkgsrc/mail/ruby-tmail: Makefile
pkgsrc/math/ruby-rb-gsl: Makefile
pkgsrc/multimedia/ruby-clutter-gst: Makefile
pkgsrc/multimedia/ruby-gnome2-gstreamer: Makefile
pkgsrc/multimedia/ruby-ming: Makefile
pkgsrc/print/ruby-gnome2-poppler: Makefile
pkgsrc/security/ruby-password: Makefile
pkgsrc/security/ruby-tcpwrap: Makefile
pkgsrc/sysutils/ruby-quota: Makefile
pkgsrc/textproc/ruby-bluecloth: Makefile
pkgsrc/textproc/ruby-cabocha: Makefile
pkgsrc/textproc/ruby-eruby: Makefile
pkgsrc/textproc/ruby-ferret: Makefile
pkgsrc/textproc/ruby-hpricot: Makefile
pkgsrc/textproc/ruby-itex2MML: Makefile
pkgsrc/textproc/ruby-json: Makefile
pkgsrc/textproc/ruby-libxml: Makefile
pkgsrc/textproc/ruby-mecab: Makefile
pkgsrc/textproc/ruby-native-hyperestraier: Makefile
pkgsrc/textproc/ruby-nokogiri: Makefile
pkgsrc/textproc/ruby-oniguruma: Makefile
pkgsrc/textproc/ruby-redcloth: Makefile
pkgsrc/textproc/ruby-sary: Makefile
pkgsrc/textproc/ruby-xmlparser: Makefile
pkgsrc/textproc/ruby-xslt: Makefile
pkgsrc/textproc/ruby-yamcha: Makefile
pkgsrc/www/mongrel: Makefile
pkgsrc/www/ruby-clearsilver: Makefile
pkgsrc/www/ruby-fcgi: Makefile
pkgsrc/www/ruby-gnome2-gtkmozembed: Makefile
pkgsrc/www/ruby-patron: Makefile
pkgsrc/www/thin: Makefile
pkgsrc/x11/ruby-gnome2-gtk: Makefile
pkgsrc/x11/ruby-gnome2-gtksourceview2: Makefile
pkgsrc/x11/ruby-gnome2-vte: Makefile
Log Message:
Bump PKGREVISION due to ABI change of ruby18-base.
Bump PKGREVISION due to ABI change of ruby18-base.
Update ruby-pg package to 0.10.0. Compact changes aren't available please refer the below page in detail: http://bitbucket.org/ged/ruby-pg/changesets
Update databases/ruby-pg to 0.9.0. * 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
Bump revision for change of PostgreSQL default version.
Update ruby-pg package to 0.8.0. * 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)
Add the ruby-pg module, a newer replacement for ruby-postgres