I’ve had folks asking me for a release of text-hyphen that works with
Ruby 1.9, and while I’ve got something that passes the tests that I’ve
created and added for MRI 1.9, it loses compatibility with Ruby
1.8.7 (and does so loudly in the tests) and JRuby (in either 1.8 or
1.9 mode, it appears). I need some help to get the last bits ready,
because I’m not ready to drop Ruby 1.8 entirely (at least one more
version).
- You can find the source on GitHub:
GitHub - halostatue/text-hyphen: Text::Hyphen will hyphenate words using modified versions of TeX hyphenation patterns. - You will need hoe as a development dependency to assist with this if
you want to use the Rakefile; otherwise, you can run the test files in
test/ directly. - Only one of the tests fails, but there’s a good chance that new
tests along the same lines would probably fail.
I have tested against most Ruby environments, and it only succeeds
against MRI 1.9.2; even JRuby in 1.9 mode fails in the same way is
JRuby 1.8.
This issue is preventing the release of the next release of
text-hyphen, and if you have some help you can provide, I need it as I
don’t have time to investigate and fix it myself (I’ve got another
project that’s taking all of my time).
After this release, this project will probably be put into maintenance
mode (the hyphenation files, aside from an update to UTF-8 encoding
where they weren’t already such, have not been updated since the
original release) and I will look at implementing a new version that
works only under Ruby 1.9 (probably under a new name) that will use
the same basic engine but can read .tex hyphenation files from the
texhyphen project rather than depending on the hand-converted
hyphenation files I have, which will also simplify the licensing of
this successor project.
-a
[1] No, I won’t remove it as it helps with release management.