RubyGems Navigation menu

diff-lcs 1.1.3

Diff::LCS is a port of Perl's Algorithm::Diff that uses the McIlroy-Hunt longest common subsequence (LCS) algorithm to compute intelligent differences between two sequenced enumerable containers. The implementation is based on Mario I. Wolczko's {Smalltalk version 1.2}[ftp://st.cs.uiuc.edu/pub/Smalltalk/MANCHESTER/manchester/4.0/diff.st] (1993) and Ned Konz's Perl version {Algorithm::Diff 1.15}[http://search.cpan.org/~nedkonz/Algorithm-Diff-1.15/]. This is release 1.1.3, fixing several small bugs found over the years. Version 1.1.0 added new features, including the ability to #patch and #unpatch changes as well as a new contextual diff callback, Diff::LCS::ContextDiffCallbacks, that should improve the context sensitivity of patching. This library is called Diff::LCS because of an early version of Algorithm::Diff which was restrictively licensed. This version has seen a minor license change: instead of being under Ruby's license as an option, the third optional license is the MIT license.

Gemfile
          gem 'diff-lcs', '~> 1.1.3'
  
  
  
  
  
  
  

install
          gem install diff-lcs -v 1.1.3
  
  
  
  
  
  
  

Total downloads 22,775,804

For this version 7,745,972

Show all versions (9 total)

Required Ruby Version: None

Links:

Versions:

  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)

Development Dependencies: