diff-lcs version 1.2.2 has been released!
- home: http://diff-lcs.rubyforge.org/
- code: https://github.com/halostatue/diff-lcs
- bugs: https://github.com/halostatue/diff-lcs/issues
- rdoc: http://rubydoc.info/github/halostatue/diff-lcs
Diff::LCS computes the difference between two Enumerable sequences using
the
McIlroy-Hunt longest common subsequence (LCS) algorithm. It includes
utilities
to create a simple HTML diff output format and a standard diff-like
tool.
This is release 1.2.2, fixing a bug that prevented comparison of values
that
are not US-ASCII-compatible. Thanks to Jon Rowe for finding and
providing most
of the work behind this issue. This is a recommended release.
Changes:
1.2.2 / 2013-03-30
- Bugs Fixed:
- Diff::LCS::Hunk could not properly generate a difference for
comparison
sets that are not US-ASCII-compatible because of the use of literal
regular
expressions and strings. Jon Rowe (JonRowe) found this in
rspec/rspec-expectations#219 and provided a first pass
implementation in
diff-lcs#15. I’ve reworked it because of test failures in Rubinius
when
running in Ruby 1.9 mode. This coerces the added values to the
encoding of
the old dataset (as determined by the first piece of the old
dataset).
More encoding errors with UTF-16 (#diff_as_string) · Issue #219 · rspec/rspec-expectations · GitHub
Fix some encoding issues within Diff::LCS::Hunk by JonRowe · Pull Request #15 · halostatue/diff-lcs · GitHub
- Diff::LCS::Hunk could not properly generate a difference for
- Adding Travis CI testing for Ruby 2.0.