From: Austin Ziegler Date: 2004-08-09T15:34:53+09:00 Subject: Re: [ANN] Diff::LCS 1.1.0, Diff::LCS 1.0.4 The changes the Mauricio found have been checked in. I will be re-releasing these files in the morning sometime. Because the changes are so small, I am *not* renumbering the version (e.g., it will not be 1.1.1), but the packages will be clearly marked (e.g., diff-lcs-1.1.0-1.tar.gz), excepting the Gems release, which will be either 1.1.0.1 or 1.1.0 depending on whether my tests indicate that Gems can handle 4-level versioning. Agh. I *hate* making this sort of error. If this maintaining the versioning scheme will cause problems for anyone, please let me know ASAP. -austin On Mon, 9 Aug 2004 07:12:29 +0900, Mauricio Fern�ndez wrote: > On Mon, Aug 09, 2004 at 06:25:26AM +0900, Austin Ziegler wrote: > > It is with pleasure that I announce the latest versions of Diff::LCS, > > a pure-Ruby differencing algorithm. > [...] > > Version 1.1.0 is a feature release that includes all bugfixes up to > > and including 1.0.4. In addition, it adds a new standard callback > > (ContextDiffCallback) that works similarly to SDiffCallback but > > produces a smaller diff set. > > I have just updated the package in the preliminary Ruby Production Archive > (RPA) repository (http://rubyforge.org/frs/?group_id=265) > > $ rpa query diff-lcs > Matching available ports: > diff-lcs 1.1.0-1 LCS algorithm to compute differences between two > enumerable containers > > As usual, it can be installed/upgraded with > rpa install diff-lcs > > When reviewing the library while packaging, I have found some small > quirks, which I fixed in the RPA package (note that the following is > not the exact patch I applied): > > batsman@tux-chan:/tmp/diff-lcs-1.1.0/bin$ RUBYOPT= ldiff -u htmldiff.orig htmldiff > --- htmldiff.orig 2004-08-08 23:47:38 +0200 > +++ htmldiff 2004-08-08 23:48:11 +0200 > > @@ -1,4 +1,4 @@ > -#! /usr/bin/env ruby > +#!/usr/bin/env ruby > #-- > # Copyright 2004 Austin Ziegler > # adapted from: > @@ -17,7 +17,7 @@ > require 'rubygems' > require_gem 'diff-lcs', "1.1.0" > require 'diff/lcs/string' > -rescue > +rescue LoadError > require 'diff/lcs/string' > end > > batsman@tux-chan:/tmp/diff-lcs-1.1.0/bin$ RUBYOPT= ldiff -u ldiff.orig ldiff > --- ldiff.orig 2004-08-08 23:47:41 +0200 > +++ ldiff 2004-08-08 23:48:34 +0200 > > @@ -1,4 +1,4 @@ > -#!/user/bin/env ruby > +#!/usr/bin/env ruby > # = Diff::LCS 1.1.0 > # == ldiff Usage > # ldiff [options] oldfile newfile > @@ -33,7 +33,7 @@ > begin > require 'rubygems' > require_gem 'diff-lcs', "1.1.0" > -rescue > +rescue LoadError > require 'diff/lcs' > end > > -- > Running Debian GNU/Linux Sid (unstable) > batsman dot geo at yahoo dot com > > -- Austin Ziegler * halostatue@gmail.com * Alternate: austin@halostatue.ca