From 7f88cf05204887ac54feeec6ccfb03f711c3a816 Mon Sep 17 00:00:00 2001 From: Remi Collet Date: Thu, 26 May 2016 17:10:55 +0200 Subject: php-pecl-couchbase2: 2.2.0beta3 --- REFLECTION | 134 ++++++++++++++++++++++++++++++++++++++++--- php-pecl-couchbase2-dev.spec | 10 +++- 2 files changed, 132 insertions(+), 12 deletions(-) diff --git a/REFLECTION b/REFLECTION index dea1a9d..8a58a6e 100644 --- a/REFLECTION +++ b/REFLECTION @@ -1,10 +1,10 @@ -Extension [ extension #195 couchbase version 2.2.0beta2 ] { +Extension [ extension #196 couchbase version 2.2.0beta3 ] { - Dependencies { Dependency [ json (Required) ] } - - Constants [57] { + - Constants [114] { Constant [ integer COUCHBASE_PERSISTTO_MASTER ] { 1 } Constant [ integer COUCHBASE_PERSISTTO_ONE ] { 1 } Constant [ integer COUCHBASE_PERSISTTO_TWO ] { 2 } @@ -12,6 +12,17 @@ Extension [ extension #195 couchbase version 2.2.0beta2 ] { Constant [ integer COUCHBASE_REPLICATETO_ONE ] { 16 } Constant [ integer COUCHBASE_REPLICATETO_TWO ] { 32 } Constant [ integer COUCHBASE_REPLICATETO_THREE ] { 64 } + Constant [ integer COUCHBASE_SDCMD_GET ] { 1 } + Constant [ integer COUCHBASE_SDCMD_REPLACE ] { 3 } + Constant [ integer COUCHBASE_SDCMD_EXISTS ] { 2 } + Constant [ integer COUCHBASE_SDCMD_DICT_ADD ] { 4 } + Constant [ integer COUCHBASE_SDCMD_DICT_UPSERT ] { 5 } + Constant [ integer COUCHBASE_SDCMD_ARRAY_ADD_FIRST ] { 6 } + Constant [ integer COUCHBASE_SDCMD_ARRAY_ADD_LAST ] { 7 } + Constant [ integer COUCHBASE_SDCMD_ARRAY_INSERT ] { 9 } + Constant [ integer COUCHBASE_SDCMD_ARRAY_ADD_UNIQUE ] { 8 } + Constant [ integer COUCHBASE_SDCMD_COUNTER ] { 10 } + Constant [ integer COUCHBASE_SDCMD_REMOVE ] { 11 } Constant [ integer COUCHBASE_CNTL_OP_TIMEOUT ] { 0 } Constant [ integer COUCHBASE_CNTL_VIEW_TIMEOUT ] { 1 } Constant [ integer COUCHBASE_CNTL_DURABILITY_INTERVAL ] { 14 } @@ -21,18 +32,22 @@ Extension [ extension #195 couchbase version 2.2.0beta2 ] { Constant [ integer COUCHBASE_CNTL_CONFDELAY_THRESH ] { 25 } Constant [ integer COUCHBASE_CNTL_CONFIG_NODE_TIMEOUT ] { 27 } Constant [ integer COUCHBASE_CNTL_HTCONFIG_IDLE_TIMEOUT ] { 28 } + Constant [ integer COUCHBASE_VALUE_F_JSON ] { 1 } + Constant [ integer COUCHBASE_N1XSPEC_T_DEFAULT ] { 0 } + Constant [ integer COUCHBASE_N1XSPEC_T_GSI ] { 1 } + Constant [ integer COUCHBASE_N1XSPEC_T_VIEW ] { 2 } Constant [ integer COUCHBASE_SUCCESS ] { 0 } Constant [ integer COUCHBASE_AUTH_CONTINUE ] { 1 } Constant [ integer COUCHBASE_AUTH_ERROR ] { 2 } Constant [ integer COUCHBASE_DELTA_BADVAL ] { 3 } Constant [ integer COUCHBASE_E2BIG ] { 4 } Constant [ integer COUCHBASE_EBUSY ] { 5 } + Constant [ integer COUCHBASE_EINTERNAL ] { 6 } + Constant [ integer COUCHBASE_EINVAL ] { 7 } Constant [ integer COUCHBASE_ENOMEM ] { 8 } Constant [ integer COUCHBASE_ERANGE ] { 9 } Constant [ integer COUCHBASE_ERROR ] { 10 } Constant [ integer COUCHBASE_ETMPFAIL ] { 11 } - Constant [ integer COUCHBASE_EINVAL ] { 7 } - Constant [ integer COUCHBASE_CLIENT_ETMPFAIL ] { 27 } Constant [ integer COUCHBASE_KEY_EEXISTS ] { 12 } Constant [ integer COUCHBASE_KEY_ENOENT ] { 13 } Constant [ integer COUCHBASE_DLOPEN_FAILED ] { 14 } @@ -45,9 +60,10 @@ Extension [ extension #195 couchbase version 2.2.0beta2 ] { Constant [ integer COUCHBASE_UNKNOWN_HOST ] { 21 } Constant [ integer COUCHBASE_PROTOCOL_ERROR ] { 22 } Constant [ integer COUCHBASE_ETIMEDOUT ] { 23 } + Constant [ integer COUCHBASE_CONNECT_ERROR ] { 24 } Constant [ integer COUCHBASE_BUCKET_ENOENT ] { 25 } Constant [ integer COUCHBASE_CLIENT_ENOMEM ] { 26 } - Constant [ integer COUCHBASE_CONNECT_ERROR ] { 24 } + Constant [ integer COUCHBASE_CLIENT_ENOCONF ] { 27 } Constant [ integer COUCHBASE_EBADHANDLE ] { 28 } Constant [ integer COUCHBASE_SERVER_BUG ] { 29 } Constant [ integer COUCHBASE_PLUGIN_VERSION_MISMATCH ] { 30 } @@ -55,10 +71,51 @@ Extension [ extension #195 couchbase version 2.2.0beta2 ] { Constant [ integer COUCHBASE_INVALID_CHAR ] { 32 } Constant [ integer COUCHBASE_DURABILITY_ETOOMANY ] { 33 } Constant [ integer COUCHBASE_DUPLICATE_COMMANDS ] { 34 } - Constant [ integer COUCHBASE_EINTERNAL ] { 6 } Constant [ integer COUCHBASE_NO_MATCHING_SERVER ] { 35 } Constant [ integer COUCHBASE_BAD_ENVIRONMENT ] { 36 } - Constant [ integer COUCHBASE_VALUE_F_JSON ] { 1 } + Constant [ integer COUCHBASE_BUSY ] { 37 } + Constant [ integer COUCHBASE_INVALID_USERNAME ] { 38 } + Constant [ integer COUCHBASE_CONFIG_CACHE_INVALID ] { 39 } + Constant [ integer COUCHBASE_SASLMECH_UNAVAILABLE ] { 40 } + Constant [ integer COUCHBASE_TOO_MANY_REDIRECTS ] { 41 } + Constant [ integer COUCHBASE_MAP_CHANGED ] { 42 } + Constant [ integer COUCHBASE_INCOMPLETE_PACKET ] { 43 } + Constant [ integer COUCHBASE_ECONNREFUSED ] { 44 } + Constant [ integer COUCHBASE_ESOCKSHUTDOWN ] { 45 } + Constant [ integer COUCHBASE_ECONNRESET ] { 46 } + Constant [ integer COUCHBASE_ECANTGETPORT ] { 47 } + Constant [ integer COUCHBASE_EFDLIMITREACHED ] { 48 } + Constant [ integer COUCHBASE_ENETUNREACH ] { 49 } + Constant [ integer COUCHBASE_ECTL_UNKNOWN ] { 50 } + Constant [ integer COUCHBASE_ECTL_UNSUPPMODE ] { 51 } + Constant [ integer COUCHBASE_ECTL_BADARG ] { 52 } + Constant [ integer COUCHBASE_EMPTY_KEY ] { 53 } + Constant [ integer COUCHBASE_SSL_ERROR ] { 54 } + Constant [ integer COUCHBASE_SSL_CANTVERIFY ] { 55 } + Constant [ integer COUCHBASE_SCHEDFAIL_INTERNAL ] { 56 } + Constant [ integer COUCHBASE_CLIENT_FEATURE_UNAVAILABLE ] { 57 } + Constant [ integer COUCHBASE_OPTIONS_CONFLICT ] { 58 } + Constant [ integer COUCHBASE_HTTP_ERROR ] { 59 } + Constant [ integer COUCHBASE_DURABILITY_NO_MUTATION_TOKENS ] { 60 } + Constant [ integer COUCHBASE_UNKNOWN_MEMCACHED_ERROR ] { 61 } + Constant [ integer COUCHBASE_MUTATION_LOST ] { 62 } + Constant [ integer COUCHBASE_SUBDOC_PATH_ENOENT ] { 63 } + Constant [ integer COUCHBASE_SUBDOC_PATH_MISMATCH ] { 64 } + Constant [ integer COUCHBASE_SUBDOC_PATH_EINVAL ] { 65 } + Constant [ integer COUCHBASE_SUBDOC_PATH_E2BIG ] { 66 } + Constant [ integer COUCHBASE_SUBDOC_DOC_E2DEEP ] { 67 } + Constant [ integer COUCHBASE_SUBDOC_VALUE_CANTINSERT ] { 68 } + Constant [ integer COUCHBASE_SUBDOC_DOC_NOTJSON ] { 69 } + Constant [ integer COUCHBASE_SUBDOC_NUM_ERANGE ] { 70 } + Constant [ integer COUCHBASE_SUBDOC_BAD_DELTA ] { 71 } + Constant [ integer COUCHBASE_SUBDOC_PATH_EEXISTS ] { 72 } + Constant [ integer COUCHBASE_SUBDOC_MULTI_FAILURE ] { 73 } + Constant [ integer COUCHBASE_SUBDOC_VALUE_E2DEEP ] { 74 } + Constant [ integer COUCHBASE_EINVAL_MCD ] { 75 } + Constant [ integer COUCHBASE_EMPTY_PATH ] { 76 } + Constant [ integer COUCHBASE_UNKNOWN_SDCMD ] { 77 } + Constant [ integer COUCHBASE_ENO_COMMANDS ] { 78 } + Constant [ integer COUCHBASE_QUERY_ERROR ] { 79 } Constant [ integer COUCHBASE_TMPFAIL ] { 11 } Constant [ integer COUCHBASE_KEYALREADYEXISTS ] { 12 } Constant [ integer COUCHBASE_KEYNOTFOUND ] { 13 } @@ -75,7 +132,7 @@ Extension [ extension #195 couchbase version 2.2.0beta2 ] { } } - - Classes [4] { + - Classes [6] { Class [ class CouchbaseException extends Exception ] { - Constants [0] { @@ -155,6 +212,53 @@ Extension [ extension #195 couchbase version 2.2.0beta2 ] { } } + Class [ class CouchbaseDocumentFragment ] { + + - Constants [0] { + } + + - Static properties [0] { + } + + - Static methods [0] { + } + + - Properties [3] { + Property [ public $error ] + Property [ public $cas ] + Property [ public $value ] + } + + - Methods [0] { + } + } + + Class [ class CouchbaseN1qlIndex ] { + + - Constants [0] { + } + + - Static properties [0] { + } + + - Static methods [0] { + } + + - Properties [8] { + Property [ public $name ] + Property [ public $isPrimary ] + Property [ public $type ] + Property [ public $state ] + Property [ public $keyspace ] + Property [ public $namespace ] + Property [ public $fields ] + Property [ public $condition ] + } + + - Methods [0] { + } + } + Class [ class _CouchbaseCluster ] { - Constants [0] { @@ -195,7 +299,7 @@ Extension [ extension #195 couchbase version 2.2.0beta2 ] { - Properties [0] { } - - Methods [18] { + - Methods [22] { Method [ public method __construct ] { } @@ -238,9 +342,21 @@ Extension [ extension #195 couchbase version 2.2.0beta2 ] { Method [ public method http_request ] { } + Method [ public method subdoc_request ] { + } + Method [ public method durability ] { } + Method [ public method n1ix_list ] { + } + + Method [ public method n1ix_create ] { + } + + Method [ public method n1ix_drop ] { + } + Method [ public method setTranscoder ] { } diff --git a/php-pecl-couchbase2-dev.spec b/php-pecl-couchbase2-dev.spec index ba41744..8e12067 100644 --- a/php-pecl-couchbase2-dev.spec +++ b/php-pecl-couchbase2-dev.spec @@ -19,12 +19,12 @@ # After 40-igbinary and 40-json %global ini_name 50-%{pecl_name}.ini %endif -%global prever beta2 +%global prever beta3 Summary: Couchbase Server PHP extension Name: %{?scl_prefix}php-pecl-couchbase2 Version: 2.2.0 -Release: 0.1.%{prever}%{?dist}%{!?scl:%{!?nophptag:%(%{__php} -r 'echo ".".PHP_MAJOR_VERSION.".".PHP_MINOR_VERSION;')}} +Release: 0.2.%{prever}%{?dist}%{!?scl:%{!?nophptag:%(%{__php} -r 'echo ".".PHP_MAJOR_VERSION.".".PHP_MINOR_VERSION;')}} License: PHP Group: Development/Languages URL: pecl.php.net/package/couchbase @@ -103,6 +103,7 @@ Package built for PHP %(%{__php} -r 'echo PHP_MAJOR_VERSION.".".PHP_MINOR_VERSIO %prep %setup -q -c +[ -f package2.xml ] && mv package2.xml package.xml mv %{pecl_name}-%{version}%{?prever} NTS @@ -166,7 +167,7 @@ install -D -m 644 %{ini_name} %{buildroot}%{php_ztsinidir}/%{ini_name} %endif # Install the package XML file -install -D -m 644 package2.xml %{buildroot}%{pecl_xmldir}/%{name}.xml +install -D -m 644 package.xml %{buildroot}%{pecl_xmldir}/%{name}.xml # Test & Documentation cd NTS @@ -227,6 +228,9 @@ fi %changelog +* Thu May 26 2016 Remi Collet - 2.2.0-0.2.beta3 +- Update to 2.2.0beta3 (php 5 and 7, beta) + * Wed Mar 20 2016 Remi Collet - 2.2.0-0.1.beta1 - Update to 2.2.0beta2 (php 5 and 7, beta) -- cgit