Hello community, here is the log from the commit of package rubygem-pg for openSUSE:Factory checked in at 2018-10-01 08:16:25 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/rubygem-pg (Old) and /work/SRC/openSUSE:Factory/.rubygem-pg.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "rubygem-pg" Mon Oct 1 08:16:25 2018 rev:35 rq:637411 version:1.1.3 Changes: -------- --- /work/SRC/openSUSE:Factory/rubygem-pg/rubygem-pg.changes 2017-03-21 22:48:58.575641835 +0100 +++ /work/SRC/openSUSE:Factory/.rubygem-pg.new/rubygem-pg.changes 2018-10-01 08:16:30.154003041 +0200 @@ -1,0 +2,117 @@ +Fri Sep 21 06:27:52 UTC 2018 - [email protected] + +- updated to version 1.1.3 + + - Revert opimization that was sometimes causing EBADF in rb_wait_for_single_fd(). + + + == v1.1.2 [2018-08-28] Michael Granger <[email protected]> + + - 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 <[email protected]> + + - Reduce deprecation warnings to only one message per deprecation. + + + == v1.1.0 [2018-08-24] Michael Granger <[email protected]> + + 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 + +- Add more rpmlint filters to avoid warnings which are caused by this gem + +- Removed license line from gem2rpm.yml as the license can be detected + automatically + +- Drop rubygem-pg-0.17.1_shebang.patch as it's no longer needed + +------------------------------------------------------------------- +Sat Jul 14 12:13:01 UTC 2018 - [email protected] + +- updated to version 1.0.0 + see installed History.rdoc + + == v1.0.0 [2018-01-10] Michael Granger <[email protected]> + + 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. + + 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. + + + == v0.21.0 [2017-06-12] Michael Granger <[email protected]> + + 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 + + New Samples: + - Add an example of the nicer #copy_data way of doing `COPY`. + +------------------------------------------------------------------- Old: ---- pg-0.20.0.gem rubygem-pg-0.17.1_shebang.patch New: ---- pg-1.1.3.gem ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ rubygem-pg.spec ++++++ --- /var/tmp/diff_new_pack.srr1Ii/_old 2018-10-01 08:16:30.726002673 +0200 +++ /var/tmp/diff_new_pack.srr1Ii/_new 2018-10-01 08:16:30.726002673 +0200 @@ -1,7 +1,7 @@ # # spec file for package rubygem-pg # -# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -24,7 +24,7 @@ # Name: rubygem-pg -Version: 0.20.0 +Version: 1.1.3 Release: 0 %define mod_name pg %define mod_full_name %{mod_name}-%{version} @@ -38,20 +38,17 @@ BuildRequires: %{rubygem rdoc > 3.10} BuildRequires: ruby-macros >= 5 Url: https://bitbucket.org/ged/ruby-pg -Source: http://rubygems.org/gems/%{mod_full_name}.gem +Source: https://rubygems.org/gems/%{mod_full_name}.gem Source1: rubygem-pg-rpmlintrc Source2: gem2rpm.yml -# MANUAL -Patch0: rubygem-pg-0.17.1_shebang.patch -# /MANUAL Summary: Pg is the Ruby interface to the PostgreSQL RDBMS -License: BSD-2-Clause and Ruby +License: BSD-3-Clause Group: Development/Languages/Ruby %description Pg is the Ruby interface to the {PostgreSQL RDBMS}[http://www.postgresql.org/]. -It works with {PostgreSQL 9.1 and +It works with {PostgreSQL 9.2 and later}[http://www.postgresql.org/support/versioning/]. A small example usage: #!/usr/bin/env ruby @@ -67,10 +64,6 @@ end. %prep -%gem_unpack -%patch0 -p0 -find -type f -print0 | xargs -0 touch -r %{S:0} -%gem_build %build ++++++ gem2rpm.yml ++++++ --- /var/tmp/diff_new_pack.srr1Ii/_old 2018-10-01 08:16:30.754002656 +0200 +++ /var/tmp/diff_new_pack.srr1Ii/_new 2018-10-01 08:16:30.754002656 +0200 @@ -1,8 +1,4 @@ :summary: Pg is the Ruby interface to the PostgreSQL RDBMS -:license: BSD-2-Clause and Ruby - -:patches: - rubygem-pg-0.17.1_shebang.patch: -p0 :sources: - rubygem-pg-rpmlintrc ++++++ pg-0.20.0.gem -> pg-1.1.3.gem ++++++ ++++ 9940 lines of diff (skipped) ++++++ rubygem-pg-rpmlintrc ++++++ --- /var/tmp/diff_new_pack.srr1Ii/_old 2018-10-01 08:16:30.874002579 +0200 +++ /var/tmp/diff_new_pack.srr1Ii/_new 2018-10-01 08:16:30.874002579 +0200 @@ -1,2 +1,5 @@ addFilter("devel-file-in-non-devel-package") addFilter("file-contains-buildroot") +addFilter("script-without-shebang") +addFilter("zero-length") +addFilter("hidden-file-or-dir")
