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}[] 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.

installgem install diff-lcs -v 1.2.3

Austin Ziegler

21,777,797 total downloads 250,037 for this version


gem 'diff-lcs', '~> 1.2.3'
  1. 1.2.5 November 8, 2013 (48 KB)
  2. 1.2.4 April 21, 2013 (46 KB)
  3. 1.2.3 April 12, 2013 (46.5 KB)
  4. 1.2.2 March 30, 2013 (46 KB)
  5. 1.2.1 February 9, 2013 (45 KB)
Show all versions (9 total)