From 7e8fceef83619ce8523894de2e80c4691ca871d9 Mon Sep 17 00:00:00 2001 From: Remi Collet Date: Mon, 16 Apr 2018 08:13:28 +0200 Subject: update to 2.4.6 raise dependency on libcouchbase 2.8.6 --- REFLECTION | 110 +++++++++++++++++++++++++++++++++++++++++++++-- php-pecl-couchbase2.spec | 9 +++- 2 files changed, 114 insertions(+), 5 deletions(-) diff --git a/REFLECTION b/REFLECTION index 241af89..c283387 100644 --- a/REFLECTION +++ b/REFLECTION @@ -1,4 +1,4 @@ -Extension [ extension #179 couchbase version 2.4.5 ] { +Extension [ extension #182 couchbase version 2.4.6 ] { - Dependencies { Dependency [ json (Required) ] @@ -332,7 +332,7 @@ Extension [ extension #179 couchbase version 2.4.5 ] { } } - - Classes [52] { + - Classes [53] { Class [ class Couchbase\Exception extends Exception implements Throwable ] { - Constants [0] { @@ -637,7 +637,7 @@ Extension [ extension #179 couchbase version 2.4.5 ] { - Properties [0] { } - - Methods [43] { + - Methods [48] { Method [ final private method __construct ] { - Parameters [0] { @@ -667,6 +667,12 @@ Extension [ extension #179 couchbase version 2.4.5 ] { } } + Method [ public method getName ] { + + - Parameters [0] { + } + } + Method [ public method get ] { - Parameters [2] { @@ -980,6 +986,38 @@ Extension [ extension #179 couchbase version 2.4.5 ] { Parameter #0 [ $reportId ] } } + + Method [ public method registerCryptoProvider ] { + + - Parameters [2] { + Parameter #0 [ string $name ] + Parameter #1 [ Couchbase\CryptoProvider $provider ] + } + } + + Method [ public method unregisterCryptoProvider ] { + + - Parameters [1] { + Parameter #0 [ string $name ] + } + } + + Method [ public method encryptDocument ] { + + - Parameters [3] { + Parameter #0 [ $document ] + Parameter #1 [ array $options ] + Parameter #2 [ string $prefix ] + } + } + + Method [ public method decryptDocument ] { + + - Parameters [2] { + Parameter #0 [ $document ] + Parameter #1 [ string $prefix ] + } + } } } @@ -3623,6 +3661,72 @@ Extension [ extension #179 couchbase version 2.4.5 ] { } } } + + Class [ abstract class Couchbase\CryptoProvider ] { + + - Constants [2] { + Constant [ public integer KEY_TYPE_ENCRYPT ] { 0 } + Constant [ public integer KEY_TYPE_DECRYPT ] { 1 } + } + + - Static properties [0] { + } + + - Static methods [0] { + } + + - Properties [0] { + } + + - Methods [6] { + Method [ abstract public method loadKey ] { + + - Parameters [2] { + Parameter #0 [ integer $keyType ] + Parameter #1 [ string $keyId ] + } + } + + Method [ abstract public method encrypt ] { + + - Parameters [3] { + Parameter #0 [ string $bytes ] + Parameter #1 [ string $key ] + Parameter #2 [ string $iv ] + } + } + + Method [ abstract public method decrypt ] { + + - Parameters [3] { + Parameter #0 [ string $bytes ] + Parameter #1 [ string $key ] + Parameter #2 [ string $iv ] + } + } + + Method [ public method generateIV ] { + + - Parameters [0] { + } + } + + Method [ public method sign ] { + + - Parameters [1] { + Parameter #0 [ array $bytes ] + } + } + + Method [ public method verifySignature ] { + + - Parameters [2] { + Parameter #0 [ array $bytes ] + Parameter #1 [ string $signature ] + } + } + } + } } } diff --git a/php-pecl-couchbase2.spec b/php-pecl-couchbase2.spec index 28a51f3..21dd542 100644 --- a/php-pecl-couchbase2.spec +++ b/php-pecl-couchbase2.spec @@ -25,18 +25,19 @@ Summary: Couchbase Server PHP extension Name: %{?sub_prefix}php-pecl-couchbase2 -Version: 2.4.5 +Version: 2.4.6 Release: 1%{?dist}%{!?scl:%{!?nophptag:%(%{__php} -r 'echo ".".PHP_MAJOR_VERSION.".".PHP_MINOR_VERSION;')}} License: PHP URL: http://pecl.php.net/package/couchbase Source0: http://pecl.php.net/get/%{pecl_name}-%{version}%{?prever}.tgz +BuildRequires: %{?dtsprefix}gcc BuildRequires: %{?scl_prefix}php-devel >= 5.6 BuildRequires: %{?scl_prefix}php-pear BuildRequires: %{?scl_prefix}php-pecl-igbinary-devel BuildRequires: %{?scl_prefix}php-json BuildRequires: %{?scl_prefix}php-tokenizer -BuildRequires: pkgconfig(libcouchbase) >= 2.8.4 +BuildRequires: pkgconfig(libcouchbase) >= 2.8.6 BuildRequires: fastlz-devel BuildRequires: zlib-devel @@ -241,6 +242,10 @@ fi %changelog +* Mon Apr 16 2018 Remi Collet - 2.4.6-1 +- update to 2.4.6 +- raise dependency on libcouchbase 2.8.6 + * Sun Mar 11 2018 Remi Collet - 2.4.5-1 - update to 2.4.5 -- cgit