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.
Required Ruby Version
None
Authors
Austin Ziegler
Versions
-
2.1.0
-
source
- 2.1.0 source November 30, 2026 (78 KB)
-
-
2.0.0
-
source
- 2.0.0 source February 02, 2026 (68.5 KB)
-
-
2.0.0.beta.2
-
source
- 2.0.0.beta.2 source January 22, 2026 (67.5 KB)
-
-
2.0.0.beta.1
-
source
- 2.0.0.beta.1 source December 31, 2025 (57.5 KB)
-
-
1.6.2
-
source
- 1.6.2 source May 12, 2025 (58 KB)
-
-
1.2.3
-
source
- 1.2.3 source April 12, 2013 (46.5 KB)
-