Rand Stats

Fortune

zef:samy
Revision history for Raku module Fortune.

0.1.0  Feb 04 2025
  Added:
    - Proper support for Windows.
  Improvements:
    - fortune() now caches the fortune database it reads, and will re-use it if
      its arguments are the same. This means that repeated fortune calls on the
      same database should be much more efficient.
  Changes:
    - Fortune database files are now treated as binary files, to get around
      Raku's newline encoding.
  Removed:
    - Removed some offensive fortunes from slackware-fortunes database.

0.0.2  Feb 02 2025
  Added:
    - Mention Windows limitations.
    - Add :fortune parameter to new: Initialize Fortune object with list of
      fortunes.
  Improvements:
    - Optimized header writing.
    - More detailed documentation.
  Fixes:
    - Fixed some grammatical errors in documentation.

0.0.1  Jan 31 2025
    - Initial release.