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.3, providing a tentative fix to a long-standing issue related to incorrect detection of a patch direction. Also modernizes the gem infrastructure, testing infrastructure, and provides a warning-free experience to Ruby 2.4 users.
Required Ruby Version
>= 1.8
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.3 January 18, 2017 (45 KB)