<?xml version="1.0"?>
<package packagerversion="1.4.0a12" 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 and File_Fortune_Writer provide 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.

File_Fortune_Writer provides an interface for manipulating the contents of a
fortune file. It allows you to write a complete fortune file and the associated
binary header file from an array of fortunes. You may also add fortunes, delete
fortunes, or update individual fortunes in a fortune file. All write operations
will produce a binary header file to allow for greater 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>2005-07-14</date>
 <time>13:55:02</time>
 <version>
  <release>0.9.0</release>
  <api>0.9.0</api>
 </version>
 <stability>
  <release>beta</release>
  <api>beta</api>
 </stability>
 <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>
 <contents>
  <dir name="/">
   <file baseinstalldir="/" md5sum="0e948724c1facc1b816d27ad6436036c" name="File/Fortune/examples/phpFortune" role="php">
    <tasks:replace from="@PHP-BIN@" to="php_bin" type="pear-config" />
   </file>
   <file baseinstalldir="/" md5sum="0ffa01fecf7fcb85bfa2568443a32d2d" name="File/Fortune/Exception.php" role="php">
    <tasks:replace from="@package-version@" to="version" type="package-info" />
   </file>
   <file baseinstalldir="/" md5sum="70324c4aa264bb0a58b9e4e3507d7998" name="File/Fortune/Writer.php" role="php">
    <tasks:replace from="@package-version@" to="version" type="package-info" />
   </file>
   <file baseinstalldir="/" md5sum="c864d090dd849d991327cd0a3fceaf86" name="File/tests/Fortune/add.phpt" role="test" />
   <file baseinstalldir="/" md5sum="085abad3ad44f0a75f2ad8eca3280a6a" name="File/tests/Fortune/delete.phpt" role="test" />
   <file baseinstalldir="/" md5sum="75553a995863106c809cd1ef6c071da0" name="File/tests/Fortune/README" role="test" />
   <file baseinstalldir="/" md5sum="635a395a46527f61ae455e22cccf815b" name="File/tests/Fortune/setup.php.inc" role="test" />
   <file baseinstalldir="/" md5sum="a02ac5e98f97dde73d7dedf08090360e" name="File/tests/Fortune/testfortunes" role="test" />
   <file baseinstalldir="/" md5sum="61250a1f7d26fe002c3571433b3ecba4" name="File/tests/Fortune/testfortunes.dat" role="test" />
   <file baseinstalldir="/" md5sum="9baa0122299df83f6ae666589e1840e7" name="File/tests/Fortune/update.phpt" role="test" />
   <file baseinstalldir="/" md5sum="9e560e31d2834a2baaef5b6d47671ee3" name="File/tests/fortunes" role="test" />
   <file baseinstalldir="/" md5sum="94f55020a7de43f342a4e61c5f2a7802" name="File/tests/fortunes-test" role="test" />
   <file baseinstalldir="/" md5sum="f3b76d44576babaa742ffb031233ffea" name="File/tests/fortunes.dat" role="test" />
   <file baseinstalldir="/" md5sum="96bc76faabff15fe4df082c30e623ba8" name="File/tests/getAll.phpt" role="test" />
   <file baseinstalldir="/" md5sum="cba5adadef3c0f079a0073ef74ed868c" name="File/tests/getRandom.phpt" role="test" />
   <file baseinstalldir="/" md5sum="127a5075aedbb5327405cf163fe07da4" name="File/tests/getRandomFromSet.phpt" role="test" />
   <file baseinstalldir="/" md5sum="23799c0ea715ca61d510dc5a2a1380f9" name="File/tests/num.phpt" role="test" />
   <file baseinstalldir="/" md5sum="8773034e384f458ea4d56ae418398117" name="File/tests/read.phpt" role="test" />
   <file baseinstalldir="/" md5sum="f790cc011a2ca117e41d6a89b1c13242" name="File/tests/setup.php.inc" role="test" />
   <file baseinstalldir="/" md5sum="1df3868cbace9ea8c1507e47c007e6df" name="File/tests/__construct.phpt" role="test" />
   <file baseinstalldir="/" md5sum="91ec74496084290b7162ff7e665f30b6" name="File/tutorials/File_Fortune/File_Fortune.cls" role="doc" />
   <file baseinstalldir="/" md5sum="c36b8bcb0a90a459ecf35d9e6cc8977d" name="File/Fortune.php" role="php">
    <tasks:replace from="@package-version@" to="version" type="package-info" />
   </file>
  </dir>
 </contents>
 <dependencies>
  <required>
   <php>
    <min>5.0.0</min>
   </php>
   <pearinstaller>
    <min>1.4.0a1</min>
   </pearinstaller>
   <package>
    <name>PEAR</name>
    <channel>pear.php.net</channel>
    <min>1.3.4</min>
   </package>
  </required>
 </dependencies>
 <phprelease />
 <changelog>
  <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.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.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.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.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.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>
 </changelog>
</package>
