|
11 | 11 | |
12 | 12 | <active>yes</active> |
13 | 13 | </lead> |
14 | | - <date>2013-08-15</date> |
15 | | - <time>18:18:31</time> |
| 14 | + <date>2014-06-14</date> |
| 15 | + <time>00:41:37</time> |
16 | 16 | <version> |
17 | | - <release>0.1.2</release> |
| 17 | + <release>0.1.3</release> |
18 | 18 | <api>0.1.0</api> |
19 | 19 | </version> |
20 | 20 | <stability> |
21 | 21 | <release>alpha</release> |
22 | 22 | <api>alpha</api> |
23 | 23 | </stability> |
24 | 24 | <license uri="http://www.gnu.org/copyleft/lesser.html">LGPL License 2.1</license> |
25 | | - <notes>* SHM::isMeetingRequirements() is now not abstract, and always returns TRUE. |
26 | | -* Fixed loading order of adapters. |
27 | | -* Changed the PHAR stub to not fail when reading the hash fails. |
| 25 | + <notes>* Wincache and APC now check their requirements in greater detail: |
| 26 | + - APC checks if it's enabled by the apc.enabled INI setting. |
| 27 | + - Wincache checks if the user cache is enabled by wincache.ucenabled INI setting. |
| 28 | + - Both check if the SAPI is CLI, and if so, whether that's allowed by the respective ini setting. |
| 29 | +* The PHAR stub also checks and reports the above. |
| 30 | +* SHM::getIterator() now returns ArrayObject instead of a normal array, in order to be compatible with how IteratorAggregate actually works. |
28 | 31 | * Doc and CS fixes.</notes> |
29 | 32 | <contents> |
30 | 33 | <dir name="/"> |
31 | 34 | <dir name="docs" baseinstalldir="/"> |
32 | 35 | <file role="doc" name="apigen.neon"> |
33 | | - <tasks:replace from="../src" to="php_dir" type="pear-config"/> |
| 36 | + <tasks:replace type="pear-config" to="php_dir" from="../src"/> |
34 | 37 | </file> |
35 | 38 | <file role="doc" name="doxygen.ini"> |
36 | | - <tasks:replace from="../src" to="php_dir" type="pear-config"/> |
37 | | - <tasks:replace from="GIT: $Id$" to="version" type="package-info"/> |
| 39 | + <tasks:replace type="pear-config" to="php_dir" from="../src"/> |
| 40 | + <tasks:replace type="package-info" to="version" from="GIT: $Id$"/> |
38 | 41 | </file> |
39 | 42 | <file role="doc" name="phpdoc.dist.xml"> |
40 | | - <tasks:replace from="../src" to="php_dir" type="pear-config"/> |
| 43 | + <tasks:replace type="pear-config" to="php_dir" from="../src"/> |
41 | 44 | </file> |
42 | 45 | </dir> |
43 | 46 | <dir name="src" baseinstalldir="/"> |
|
46 | 49 | <dir name="SHM"> |
47 | 50 | <dir name="Adapter"> |
48 | 51 | <file role="php" name="APC.php"> |
49 | | - <tasks:replace from="~~summary~~" to="summary" type="package-info"/> |
50 | | - <tasks:replace from="~~description~~" to="description" type="package-info"/> |
51 | | - <tasks:replace from="GIT: $Id$" to="version" type="package-info"/> |
| 52 | + <tasks:replace type="package-info" to="version" from="GIT: $Id$"/> |
52 | 53 | </file> |
53 | 54 | <file role="php" name="Placebo.php"> |
54 | | - <tasks:replace from="~~summary~~" to="summary" type="package-info"/> |
55 | | - <tasks:replace from="~~description~~" to="description" type="package-info"/> |
56 | | - <tasks:replace from="GIT: $Id$" to="version" type="package-info"/> |
| 55 | + <tasks:replace type="package-info" to="version" from="GIT: $Id$"/> |
57 | 56 | </file> |
58 | 57 | <file role="php" name="Wincache.php"> |
59 | | - <tasks:replace from="~~summary~~" to="summary" type="package-info"/> |
60 | | - <tasks:replace from="~~description~~" to="description" type="package-info"/> |
61 | | - <tasks:replace from="GIT: $Id$" to="version" type="package-info"/> |
| 58 | + <tasks:replace type="package-info" to="version" from="GIT: $Id$"/> |
62 | 59 | </file> |
63 | 60 | </dir> |
64 | 61 | <file role="php" name="Exception.php"> |
65 | | - <tasks:replace from="~~summary~~" to="summary" type="package-info"/> |
66 | | - <tasks:replace from="~~description~~" to="description" type="package-info"/> |
67 | | - <tasks:replace from="GIT: $Id$" to="version" type="package-info"/> |
| 62 | + <tasks:replace type="package-info" to="version" from="GIT: $Id$"/> |
68 | 63 | </file> |
69 | 64 | <file role="php" name="InvalidArgumentException.php"> |
70 | | - <tasks:replace from="~~summary~~" to="summary" type="package-info"/> |
71 | | - <tasks:replace from="~~description~~" to="description" type="package-info"/> |
72 | | - <tasks:replace from="GIT: $Id$" to="version" type="package-info"/> |
| 65 | + <tasks:replace type="package-info" to="version" from="GIT: $Id$"/> |
73 | 66 | </file> |
74 | 67 | </dir> |
75 | 68 | <file role="php" name="SHM.php"> |
76 | | - <tasks:replace from="~~summary~~" to="summary" type="package-info"/> |
77 | | - <tasks:replace from="~~description~~" to="description" type="package-info"/> |
78 | | - <tasks:replace from="GIT: $Id$" to="version" type="package-info"/> |
| 69 | + <tasks:replace type="package-info" to="version" from="GIT: $Id$"/> |
79 | 70 | </file> |
80 | 71 | </dir> |
81 | 72 | </dir> |
|
91 | 82 | <file role="test" name="testSettingAndGettingValue.phpt"/> |
92 | 83 | <file role="test" name="testSingleFileLockAndUnlock.phpt"/> |
93 | 84 | </dir> |
| 85 | + <dir name="includes"> |
| 86 | + <file role="test" name="runner.php"> |
| 87 | + <tasks:replace type="pear-config" to="php_dir" from="../src"/> |
| 88 | + </file> |
| 89 | + <file role="test" name="SHM-factory.php"/> |
| 90 | + </dir> |
94 | 91 | <file role="test" name="APC.phpt"/> |
95 | 92 | <file role="test" name="Placebo.phpt"/> |
96 | | - <file role="test" name="SHM-factory.inc"/> |
97 | 93 | <file role="test" name="SHM-factory_CGI.phpt"/> |
98 | 94 | <file role="test" name="SHM-factory_CLI.phpt"/> |
99 | 95 | <file role="test" name="Wincache.phpt"/> |
100 | | - <file role="test" name="_runner.inc"/> |
101 | 96 | </dir> |
102 | 97 | <file role="test" name="bootstrap.php"> |
103 | | - <tasks:replace from="../src" to="php_dir" type="pear-config"/> |
| 98 | + <tasks:replace type="pear-config" to="php_dir" from="../src"/> |
| 99 | + </file> |
| 100 | + <file role="test" name="phpunit.xml"> |
| 101 | + <tasks:replace type="pear-config" to="php_dir" from="../src"/> |
104 | 102 | </file> |
105 | | - <file role="test" name="CliCompatibleTest.php"/> |
106 | | - <file role="test" name="phpunit.xml"/> |
107 | 103 | </dir> |
108 | 104 | </dir> |
109 | 105 | </contents> |
|
144 | 140 | <install name="src/PEAR2/Cache/SHM/Exception.php" as="PEAR2/Cache/SHM/Exception.php"/> |
145 | 141 | <install name="src/PEAR2/Cache/SHM/InvalidArgumentException.php" as="PEAR2/Cache/SHM/InvalidArgumentException.php"/> |
146 | 142 | <install name="tests/bootstrap.php" as="bootstrap.php"/> |
147 | | - <install name="tests/CliCompatibleTest.php" as="CliCompatibleTest.php"/> |
148 | 143 | <install name="tests/PHPT/APC.phpt" as="PHPT/APC.phpt"/> |
149 | 144 | <install name="tests/PHPT/Common/testAddingTtlValue_part1.phpt" as="PHPT/Common/testAddingTtlValue_part1.phpt"/> |
150 | 145 | <install name="tests/PHPT/Common/testAddingTtlValue_part2.phpt" as="PHPT/Common/testAddingTtlValue_part2.phpt"/> |
|
153 | 148 | <install name="tests/PHPT/Common/testSettingAndDeletingValue.phpt" as="PHPT/Common/testSettingAndDeletingValue.phpt"/> |
154 | 149 | <install name="tests/PHPT/Common/testSettingAndGettingValue.phpt" as="PHPT/Common/testSettingAndGettingValue.phpt"/> |
155 | 150 | <install name="tests/PHPT/Common/testSingleFileLockAndUnlock.phpt" as="PHPT/Common/testSingleFileLockAndUnlock.phpt"/> |
| 151 | + <install name="tests/PHPT/includes/runner.php" as="PHPT/includes/runner.php"/> |
| 152 | + <install name="tests/PHPT/includes/SHM-factory.php" as="PHPT/includes/SHM-factory.php"/> |
156 | 153 | <install name="tests/PHPT/Placebo.phpt" as="PHPT/Placebo.phpt"/> |
157 | | - <install name="tests/PHPT/SHM-factory.inc" as="PHPT/SHM-factory.inc"/> |
158 | 154 | <install name="tests/PHPT/SHM-factory_CGI.phpt" as="PHPT/SHM-factory_CGI.phpt"/> |
159 | 155 | <install name="tests/PHPT/SHM-factory_CLI.phpt" as="PHPT/SHM-factory_CLI.phpt"/> |
160 | 156 | <install name="tests/PHPT/Wincache.phpt" as="PHPT/Wincache.phpt"/> |
161 | | - <install name="tests/PHPT/_runner.inc" as="PHPT/_runner.inc"/> |
162 | 157 | <install name="tests/phpunit.xml" as="phpunit.xml"/> |
163 | 158 | </filelist> |
164 | 159 | </phprelease> |
|
0 commit comments