From 483d98fca63c84dceaae8495e1923baf6c722c89 Mon Sep 17 00:00:00 2001 From: Remi Collet Date: Fri, 20 May 2016 11:44:46 +0200 Subject: php-pecl-pq: 2.1.1 (php 7) --- REFLECTION-PHP7 | 16 ++++++++++++---- php-pecl-pq-php7.spec | 16 +++++++++++++++- 2 files changed, 27 insertions(+), 5 deletions(-) diff --git a/REFLECTION-PHP7 b/REFLECTION-PHP7 index b71fcfe..b4da084 100644 --- a/REFLECTION-PHP7 +++ b/REFLECTION-PHP7 @@ -1,4 +1,4 @@ -Extension [ extension #89 pq version 2.0.1 ] { +Extension [ extension #89 pq version 2.1.1 ] { - Dependencies { Dependency [ raphf (Required) ] @@ -559,7 +559,7 @@ Extension [ extension #89 pq version 2.0.1 ] { - Static methods [0] { } - - Properties [22] { + - Properties [23] { Property [ public $status ] Property [ public $transactionStatus ] Property [ public $socket ] @@ -567,6 +567,7 @@ Extension [ extension #89 pq version 2.0.1 ] { Property [ public $busy ] Property [ public $encoding ] Property [ public $unbuffered ] + Property [ public $nonblocking ] Property [ public $db ] Property [ public $user ] Property [ public $pass ] @@ -584,7 +585,7 @@ Extension [ extension #89 pq version 2.0.1 ] { Property [ public $defaultAutoConvert ] } - - Methods [30] { + - Methods [31] { Method [ public method __construct ] { - Parameters [2] { @@ -611,6 +612,12 @@ Extension [ extension #89 pq version 2.0.1 ] { } } + Method [ public method flush ] { + + - Parameters [0] { + } + } + Method [ public method exec ] { - Parameters [1] { @@ -1069,10 +1076,11 @@ Extension [ extension #89 pq version 2.0.1 ] { - Static methods [0] { } - - Properties [8] { + - Properties [9] { Property [ public $status ] Property [ public $statusMessage ] Property [ public $errorMessage ] + Property [ public $diag ] Property [ public $numRows ] Property [ public $numCols ] Property [ public $affectedRows ] diff --git a/php-pecl-pq-php7.spec b/php-pecl-pq-php7.spec index c05e310..66ffea6 100644 --- a/php-pecl-pq-php7.spec +++ b/php-pecl-pq-php7.spec @@ -36,7 +36,7 @@ Summary: PostgreSQL client library (libpq) binding Name: %{?sub_prefix}php-pecl-%{pecl_name} -Version: 2.0.1 +Version: 2.1.1 %if 0%{?gh_date:1} Release: 0.4.%{gh_date}git%{gh_short}%{?dist}%{!?scl:%{!?nophptag:%(%{__php} -r 'echo ".".PHP_MAJOR_VERSION.".".PHP_MINOR_VERSION;')}} Source0: https://github.com/%{gh_owner}/%{gh_project}/archive/%{gh_commit}/%{pecl_name}-%{version}-%{gh_short}.tar.gz @@ -205,6 +205,11 @@ fi %check +if ! pkg-config libpq --atleast-version=9.3; then + : ignore some tests only because of "diag" content + rm ?TS/tests/{async003,async004,async005,async006,cancel001}.phpt +fi + OPT="-n" [ -f %{php_extdir}/json.so ] && OPT="$OPT -d extension=json.so" [ -f %{php_extdir}/raphf.so ] && OPT="$OPT -d extension=raphf.so" @@ -293,6 +298,15 @@ rm -rf %{buildroot} %changelog +* Fri May 20 2016 Remi Collet - 2.1.1-1 +- update to 2.1.1 (php 7, stable) +- open https://github.com/m6w6/ext-pq/issues/19 failed tests + so temporarily ignore them with pgsql < 9.3 + +* Fri May 20 2016 Remi Collet - 2.1.0-1 +- update to 2.1.0 (php 7, stable) +- open https://github.com/m6w6/ext-pq/issues/18 pgsql < 9.3 + * Wed May 4 2016 Remi Collet - 2.0.1-1 - update to 2.0.1 (php 7, stable) -- cgit