Files | Admin

Notes:

Release Name: 1.2

Notes:
Text::Hyphen is a Ruby library to hyphenate words in various languages using
Ruby-fied versions of TeX hyphenation patterns. It will properly hyphenate
various words according to the rules of the language the word is written in.
The algorithm is based on that of the TeX typesetting system by Donald E.
Knuth.

This is originally based on the Perl implementation of
{TeX::Hyphen}[http://search.cpan.org/author/JANPAZ/TeX-Hyphen-0.140/lib/TeX/Hyphen.pm]
and the {Ruby port}[http://rubyforge.org/projects/text-format]. The language
hyphenation pattern files are based on the sources available from
{CTAN}[http://www.ctan.org] as of 2004.12.19 and have been manually translated
by Austin Ziegler.

This release is 1.2. This is a major release providing both Ruby 1.8.7 and Ruby
1.9.2 support. This is the last major release supporting Ruby 1.8 interpreters.
Future versions will only work with Ruby 1.9 or later interpreters.


Changes: == 1.2 / 2011.07.17 * Major Enhancements: * This release supports Ruby 1.9 with UTF-8 encodings. The language files are duplicated for both Ruby 1.8 and 1.9 and the correct version is loaded based on RUBY\_VERSION. * Minor Enhancements: * Making Hungarian and Norwegian language files act like the German language files (both of these languages have two alternative hyphenation tables). * Added a Malasy language file that should work correctly. * Cleaned up the documentation. * Bug Fixes: * Fixed 9807 and 28128 (previously noted as not reproducible; quality reproduction cases were found). * Changes: * Relicensing the core library to the MIT license and attempting to clarify the license situation. * Renaming hyphen to ruby-hyphen. * This is the final release compatible with Ruby 1.8, first release compatible with Ruby 1.9. * Test Coverage: * Tested with all major Ruby releases except IronRuby. * jruby-1.6.3 (1.8.7): passes all tests. * jruby-1.6.3 (1.9.2): fails one UTF-8 related test (see JRUBY-5927). * macruby-0.10 (1.9.2): passes all tests. Segfault with "rake test" (see https://www.macruby.org/trac/ticket/1362 for more information). * maglev-ruby-0.9 (1.8.7): passes all tests. * rubinius-1.2.5 (1.8.7): passes all tests. * ree-1.8.7-2011.03 (1.8.7): passes all tests. * MRI-1.8.7-p352 (1.8.7): passes all tests. * MRI-1.9.2-p290 (1.9.2): passes all tests.