diff options
| -rw-r--r-- | REFLECTION-PHP7 (renamed from REFLECTION-DEV) | 21 | ||||
| -rw-r--r-- | php-pecl-yac-php7.spec (renamed from php-pecl-yac-dev.spec) | 13 | ||||
| -rw-r--r-- | php-pecl-yac.spec | 2 | 
3 files changed, 27 insertions, 9 deletions
diff --git a/REFLECTION-DEV b/REFLECTION-PHP7 index 8c8af55..f540616 100644 --- a/REFLECTION-DEV +++ b/REFLECTION-PHP7 @@ -1,4 +1,4 @@ -Extension [ <persistent> extension #89 yac version 0.9.3-dev ] { +Extension [ <persistent> extension #96 yac version 2.0.0 ] {    - INI {      Entry [ yac.enable <SYSTEM> ] @@ -22,7 +22,7 @@ Extension [ <persistent> extension #89 yac version 0.9.3-dev ] {    }    - Constants [5] { -    Constant [ string YAC_VERSION ] { 0.9.3-dev } +    Constant [ string YAC_VERSION ] { 2.0.0 }      Constant [ integer YAC_MAX_KEY_LEN ] { 48 }      Constant [ integer YAC_MAX_VALUE_RAW_LEN ] { 67108863 }      Constant [ integer YAC_MAX_RAW_COMPRESSED_LEN ] { 1048576 } @@ -45,7 +45,7 @@ Extension [ <persistent> extension #89 yac version 0.9.3-dev ] {          Property [ <default> protected $_prefix ]        } -      - Methods [8] { +      - Methods [10] {          Method [ <internal:yac, ctor> public method __construct ] {            - Parameters [1] { @@ -71,6 +71,14 @@ Extension [ <persistent> extension #89 yac version 0.9.3-dev ] {            }          } +        Method [ <internal:yac> public method __set ] { + +          - Parameters [2] { +            Parameter #0 [ <required> $key ] +            Parameter #1 [ <required> $value ] +          } +        } +          Method [ <internal:yac> public method get ] {            - Parameters [1] { @@ -78,6 +86,13 @@ Extension [ <persistent> extension #89 yac version 0.9.3-dev ] {            }          } +        Method [ <internal:yac> public method __get ] { + +          - Parameters [1] { +            Parameter #0 [ <required> $key ] +          } +        } +          Method [ <internal:yac> public method delete ] {            - Parameters [2] { diff --git a/php-pecl-yac-dev.spec b/php-pecl-yac-php7.spec index de54f4e..da962db 100644 --- a/php-pecl-yac-dev.spec +++ b/php-pecl-yac-php7.spec @@ -22,11 +22,11 @@  %{!?__pecl:      %global __pecl      %{_bindir}/pecl}  %{!?__php:       %global __php       %{_bindir}/php} -%global gh_commit   a406e46669dd0ee8463b614eaac1f5b54f4cd1e2 +%global gh_commit   7e5a9edfcfb6ad064c165a0b6abf8d11218fe4b5  %global gh_short    %(c=%{gh_commit}; echo ${c:0:7})  %global gh_owner    laruence  %global gh_project  yac -%global gh_date     20150908 +#global gh_date     20150908  %global with_zts    0%{?__ztsphp:1}  %global pecl_name   yac  %global with_tests  %{!?_without_tests:1}%{?_without_tests:0} @@ -39,11 +39,11 @@  Summary:        Lockless user data cache  Name:           %{?sub_prefix}php-pecl-%{pecl_name} -Version:        0.9.3 +Version:        2.0.0  %if 0%{?gh_date:1}  Release:        0.6.%{gh_date}git%{gh_short}%{?dist}%{!?scl:%{!?nophptag:%(%{__php} -r 'echo ".".PHP_MAJOR_VERSION.".".PHP_MINOR_VERSION;')}}  %else -Release:        2%{?dist}%{!?scl:%{!?nophptag:%(%{__php} -r 'echo ".".PHP_MAJOR_VERSION.".".PHP_MINOR_VERSION;')}} +Release:        1%{?dist}%{!?scl:%{!?nophptag:%(%{__php} -r 'echo ".".PHP_MAJOR_VERSION.".".PHP_MINOR_VERSION;')}}  %endif  License:        PHP @@ -106,7 +106,7 @@ chance you will get a wrong data(depends on how many key slots are  allocated and how many keys are stored), so you'd better make sure  that your product is not very sensitive to that. -Package built for PHP %(%{__php} -r 'echo PHP_MAJOR_VERSION.".".PHP_MINOR_VERSION;')%{?scl: as Software Collection (%{scl})}. +Package built for PHP %(%{__php} -r 'echo PHP_MAJOR_VERSION.".".PHP_MINOR_VERSION;')%{?scl: as Software Collection (%{scl} by %{?scl_vendor}%{!?scl_vendor:rh})}.  %prep @@ -272,6 +272,9 @@ rm -rf %{buildroot}  %changelog +* Tue Oct 27 2015 Remi Collet <remi@fedoraproject.org> - 2.0.0-1 +- update to 2.0.0 (php 7) +  * Tue Oct 13 2015 Remi Collet <remi@fedoraproject.org> - 0.9.3-0.6.20150908gita406e46  - rebuild for PHP 7.0.0RC5 new API version  - new snapshot diff --git a/php-pecl-yac.spec b/php-pecl-yac.spec index 6a3e05c..aa067f3 100644 --- a/php-pecl-yac.spec +++ b/php-pecl-yac.spec @@ -93,7 +93,7 @@ chance you will get a wrong data(depends on how many key slots are  allocated and how many keys are stored), so you'd better make sure  that your product is not very sensitive to that. -Package built for PHP %(%{__php} -r 'echo PHP_MAJOR_VERSION.".".PHP_MINOR_VERSION;')%{?scl: as Software Collection (%{scl})}. +Package built for PHP %(%{__php} -r 'echo PHP_MAJOR_VERSION.".".PHP_MINOR_VERSION;')%{?scl: as Software Collection (%{scl} by %{?scl_vendor}%{!?scl_vendor:rh})}.  %prep  | 
