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 2.0, which has significant breaking changes (removal of deprecations and workarounds) and requires at least Ruby 3.2 or higher. See full details in the CHANGELOG, but users of diff-lcs should not notice any significant changes to the APIs.

To Install:

Required Ruby Version

>= 3.2.0, < 5

Authors

Austin Ziegler

Versions

  1. 2.1.0
    1. source

      1. 2.1.0 source November 30, 2026 (78 KB)
  2. 2.0.0
    1. source

      1. 2.0.0 source February 02, 2026 (68.5 KB)
  3. 2.0.0.beta.2
    1. source

      1. 2.0.0.beta.2 source January 22, 2026 (67.5 KB)
  4. 2.0.0.beta.1
    1. source

      1. 2.0.0.beta.1 source December 31, 2025 (57.5 KB)
  5. 1.6.2
    1. source

      1. 1.6.2 source May 12, 2025 (58 KB)
Show all versions (24 total)

Pushed by

GitHub

SHA 256 checksum