diff-lcs version 1.2.3 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.3, fixing a bug in value comparison where the left
side of
the comparison was the empty set, preventing the detection of encoding.
Thanks
to Jon Rowe for fixing this issue. This is a strongly recommended
release.
Note: There is a known issue with Rubinius in 1.9 mode reported in
{rubinius/rubinius#2268}[https://github.com/rubinius/rubinius/issues/2268]
and
demonstrated in the Travis CI builds. For all other tested platforms,
diff-lcs
is considered stable. As soon as a suitably small test-case can be
created for
the Rubinius team to examine, this will be added to the Rubinius issue
around
this.
Changes:
1.2.3 / 2013-04-11
- Bugs Fixed:
- The new encoding detection for diff output generation (added in
1.2.2)
introduced a bug if the left side of the comparison was the empty
set.
Originally found in rspec/rspec-expectations#238 and
rspec/rspec-expectations#239. Jon Rowe developed a reasonable
heuristic
(left side, right side, empty string literal) to avoid this bug.
Fixes some weird travis failures noted on master and in #236 by fables-tales · Pull Request #238 · rspec/rspec-expectations · GitHub
Upgrade to diff-lcs 1.2.2 by JonRowe · Pull Request #239 · rspec/rspec-expectations · GitHub
- The new encoding detection for diff output generation (added in
- There is a known issue with Rubinius in 1.9 mode reported in
rubinius/rubinius#2268 and demonstrated in the Travis CI builds. For
all
other tested platforms, diff-lcs is considered stable. As soon as a
suitably
small test-case can be created for the Rubinius team to examine, this
will be
added to the Rubinius issue around this.
https://github.com/rubinius/rubinius/issues/2268
Travis CI - Test and Deploy with Confidence