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.
Required Ruby Version
None
Authors
Austin Ziegler
Versions
- 2.0.0 February 02, 2026 (68.5 KB)
- 2.0.0.beta.2 January 22, 2026 (67.5 KB)
- 2.0.0.beta.1 December 31, 2025 (57.5 KB)
- 1.6.2 May 12, 2025 (58 KB)
- 1.6.1 March 25, 2025 (57.5 KB)
- 1.2.2 March 30, 2013 (46 KB)