<?xml version="1.0" encoding="UTF-8"?>
<package packagerversion="1.5.0" version="2.0" xmlns="http://pear.php.net/dtd/package-2.0" xmlns:tasks="http://pear.php.net/dtd/tasks-1.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://pear.php.net/dtd/tasks-1.0     http://pear.php.net/dtd/tasks-1.0.xsd     http://pear.php.net/dtd/package-2.0     http://pear.php.net/dtd/package-2.0.xsd">
 <name>File_Fortune</name>
 <channel>pear.php.net</channel>
 <summary>File_Fortune provides an interface for reading from and writing to fortune files.</summary>
 <description>File_Fortune provides a PHP interface to reading fortune files. With it, you may
retrieve a single fortune, a random fortune, or all fortunes in the file.

Additionally, it offers the ability to access fortune files as if they were a
native array, including updating and deleting items. All write operations will
produce a binary header file to allow compatability with the fortune and
fortune-mod programs (as well as other fortune interfaces).</description>
 <lead>
  <name>Matthew Weier O&apos;Phinney</name>
  <user>weierophinney</user>
  <email>mweierophinney@gmail.com</email>
  <active>yes</active>
 </lead>
 <date>2007-07-05</date>
 <time>17:25:24</time>
 <version>
  <release>0.9.2</release>
  <api>0.9.2</api>
 </version>
 <stability>
  <release>beta</release>
  <api>beta</api>
 </stability>
 <license uri="http://www.opensource.org/licenses/bsd-license.php">New BSD License</license>
 <notes>Added set|getFiles() to allow specifying a specific list of files from which to select fortunes</notes>
 <contents>
  <dir baseinstalldir="/" name="/">
   <file baseinstalldir="/" md5sum="b751aad53f5c50a45b67c6aa8f820041" name="examples/phpFortune" role="data" />
   <file baseinstalldir="/" md5sum="ddea9377ab4ef60317f9c289f0c194d8" name="File/Fortune.php" role="php" />
   <file baseinstalldir="/" md5sum="c8f56f51de53d0081188933ca27cf909" name="File/Fortune/Exception.php" role="php" />
   <file baseinstalldir="/" md5sum="289e8b68bd11d84ab7b3eaf0bbdfe82e" name="tests/AllTests.php" role="test" />
   <file baseinstalldir="/" md5sum="d8962c763ca217bd7b7e8f6cd9f85190" name="tests/File_FortuneTest.php" role="test" />
   <file baseinstalldir="/" md5sum="162e94592fa6981215a3387e3ba0a0d1" name="tests/_files/orig/ftest" role="test" />
   <file baseinstalldir="/" md5sum="ed91f01f397b47362f695efdb7f453a9" name="tests/_files/orig/ftest.dat" role="test" />
   <file baseinstalldir="/" md5sum="77001068b0f90c30cd47d71c1dfa01d7" name="tutorials/File_Fortune.cls" role="doc" />
  </dir>
 </contents>
 <dependencies>
  <required>
   <php>
    <min>5.1.4</min>
   </php>
   <pearinstaller>
    <min>1.4.0a12</min>
   </pearinstaller>
  </required>
 </dependencies>
 <phprelease />
 <changelog>
  <release>
   <version>
    <release>0.8.2</release>
    <api>0.8.2</api>
   </version>
   <stability>
    <release>beta</release>
    <api>beta</api>
   </stability>
   <date>2005-06-26</date>
   <license uri="http://www.php.net/license">PHP</license>
   <notes>2005-06-26: 0.8.2
================
* Made PHP4 compatible
  * Removed public/protected/private keywords

2005-06-25: 0.8.1
================
* Initial PEAR-style package
* File_Fortune class
  * Ported from Fortune.pm perl module
  * Modified to suit PHP
  * Additional modifications to functionality
* File_Fortune_Writer class
  * New class
  * Provides interface for writing, adding to, updating, and deleting from
    fortune files</notes>
  </release>
  <release>
   <version>
    <release>0.8.3</release>
    <api>0.8.3</api>
   </version>
   <stability>
    <release>beta</release>
    <api>beta</api>
   </stability>
   <date>2005-07-01</date>
   <license uri="http://www.php.net/license">PHP</license>
   <notes>2005-07-01: 0.8.3
================
* Reverted to PHP5-only package
* Changed error constants to class constants, and truncated names to remove
  class name
* Moved package-level documentation to class-level documentation</notes>
  </release>
  <release>
   <version>
    <release>0.8.4</release>
    <api>0.8.4</api>
   </version>
   <stability>
    <release>beta</release>
    <api>beta</api>
   </stability>
   <date>2005-07-02</date>
   <license uri="http://www.php.net/license">PHP</license>
   <notes>2005-07-02: 0.8.4
================
* Added exception handling (to replace error handling):
  * Created Fortune/Exception.php with exception classes
  * Changed all PEAR_ErrorStack errors to exceptions
  * Added @throws docblock entries
  * Rewrote tests to catch exceptions
* In File_Fortune:
  * Added check in open() for open file; calls close() if so, and then proceeds
    to open file
  * Documentation updates
* In File_Fortune_Writer
  * Changed to package File_Fortune (not File_Fortune_Writer
  * Documentation updates</notes>
  </release>
  <release>
   <version>
    <release>0.8.5</release>
    <api>0.8.5</api>
   </version>
   <stability>
    <release>beta</release>
    <api>beta</api>
   </stability>
   <date>2005-07-02</date>
   <license uri="http://www.php.net/license">PHP</license>
   <notes>2005-07-02: 0.8.5
================
* Updated phpFortune example to try and catch exception
* Updated test 5 in __construct.phpt. Erroneously expected failure; instead,
  the method Does The Right Thing and gets headers from the fortune file itself
  if a non-existent file is used for the header file.
* Added test 6 in __construct.phpt -- checks for mal-formed header file.</notes>
  </release>
  <release>
   <version>
    <release>0.8.6</release>
    <api>0.8.6</api>
   </version>
   <stability>
    <release>beta</release>
    <api>beta</api>
   </stability>
   <date>2005-07-05</date>
   <license uri="http://www.php.net/license">PHP</license>
   <notes>2005-07-05: 0.8.6
================
* Updated documentation:
  * Re-phrased a number of paragraphs to restate intent of package and future of
    package
  * Removed unnecessary docblock tags from File/Fortune/Exception.php
  * Added @package-version@ tags to File/Fortune/Writer.php and
    File/Fortune/Exception.php</notes>
  </release>
  <release>
   <version>
    <release>0.9.0</release>
    <api>0.9.0</api>
   </version>
   <stability>
    <release>beta</release>
    <api>beta</api>
   </stability>
   <date>2005-07-13</date>
   <license uri="http://www.php.net/license">PHP</license>
   <notes>2005-07-13: 0.9.0
================
* Initial PEAR release:
  * Fixed typo in File_Fortune_Writer when throwing an exception
  * Renamed exception classes to conform to PEAR CS
  * Created tutorial documentation (slightly expanded version of what was in API
      docs)
  * Trimmed down the API docs to omit examples
  * Added getRandomFromSet() method and corresponding unit test; allows grabbing
    a random fortune from a list of files
  * Updates to phpFortune example to use getRandomFromSet()</notes>
  </release>
  <release>
   <version>
    <release>0.9.1</release>
    <api>0.9.1</api>
   </version>
   <stability>
    <release>beta</release>
    <api>beta</api>
   </stability>
   <date>2007-07-05</date>
   <license uri="http://www.opensource.org/licenses/bsd-license.php">New BSD License</license>
   <notes>Refactored to use Iterator, Countable, and ArrayAccess, allowing in-place modification of fortune files and omitting the necessity for File_Fortune_Writer; also changed license to New BSD</notes>
  </release>
  <release>
   <version>
    <release>0.9.2</release>
    <api>0.9.2</api>
   </version>
   <stability>
    <release>beta</release>
    <api>beta</api>
   </stability>
   <date>2007-07-05</date>
   <license uri="http://www.opensource.org/licenses/bsd-license.php">New BSD License</license>
   <notes>Added set|getFiles() to allow specifying a specific list of files from which to select fortunes</notes>
  </release>
 </changelog>
</package>
