RAA - text-format/0.64

text-format / 0.64

Short description: Text::Format for Ruby
Category: Library/Text
Status: Stable
Created: 2002-10-22 01:20:13 GMT
Last update: 2003-09-18 04:13:15 GMT
Owner: Austin Ziegler (Projects of this owner)
Homepage: http://www.halostatue.ca/ruby/Text__Format.html
Download: http://www.halostatue.ca/files/text-format-0.64.tar.gz
License: OpenSource
Dependency:
Required by: diff-lcs/1.0.4 Needed only for htmldiff
Description:

Text::Format provides strong text formatting capabilities to Ruby. Based on Perl's Text::Format 0.52, it offers all of the functionality of that module and new capabilities besides.

This version offers a bug fix; 0.62 offers new features.

== Text::Format 0.64
* Fixed a bug where a NoMethodError would be raised when
#paragraphs was called with " " or [" "].

== Text::Format 0.63
* Fixed a bug where a crash would occur when a hyphenator
returned nil instead of "".

== Text::Format 0.62
* Modified the API for hyphenators to accept #to_hyphenate(word, size) or #to_hyphenate(word, size, formatter) so the hyphenator may access information about the formatting object. Thanks to Tim Bates for suggesting a case where this would be useful.
* Fixed a bug for strings matching /\A\s*\Z/ raising a NameError.
* Fixed a test case that failed uner 1.6.8. The following no longer works:

l, m1, m2 = /((?:\S+\s+){11})(.+)/.match(line)

This has been replaced with an explicit use of l[1] and l[2]. Thanks to Tim Bates for finding this problem.
* Changed installer to Phil Thomson's install-package wrapper.

Licence: Ruby's, Perl Artistic, or GPL version 2 (or later)

Versions: [1.0.0 (2005-06-25)] [0.64 (2003-09-18)]

Edit this project (for project owner)

back to RAA top