From 16eeda3118fd77a33f2823d1c720d90fe060236b Mon Sep 17 00:00:00 2001 From: taca Date: Sun, 16 Jun 2013 17:21:49 +0000 Subject: [PATCH] Update ruby-diff-lcs to 1.2.4. === 1.2.4 / 2013-04-20 * Bugs fixed: * A bug was introduced after 1.1.3 when pruning common sequences at the start of comparison. Paul Kunysch (@pck) fixed this in pull request 18. Thanks! https://github.com/halostatue/diff-lcs/pull/18 * The Rubinius (1.9 mode) bug in rubinius/rubinius#2268 has been fixed by the Rubinius team two days after it was filed. Thanks for fixing this so quickly! https://github.com/rubinius/rubinius/issues/2268 * Switching to Raggi's hoe-gemspec2 for gemspec generation. == 1.2.3 / 2013-04-11 * Bugs Fixed: * The new encoding detection for diff output generation (added in 1.2.2) introduced a bug if the left side of the comparison was the empty set. Originally found in rspec/rspec-expectations#238 and rspec/rspec-expectations#239. Jon Rowe developed a reasonable heuristic (left side, right side, empty string literal) to avoid this bug. https://github.com/rspec/rspec-expectations/pull/238 https://github.com/rspec/rspec-expectations/pull/239 * 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. https://github.com/rubinius/rubinius/issues/2268 https://travis-ci.org/halostatue/diff-lcs/jobs/6241195 == 1.2.2 / 2013-03-30 * Bugs Fixed: * Diff::LCS::Hunk could not properly generate a difference for comparison sets that are not US-ASCII-compatible because of the use of literal regular expressions and strings. Jon Rowe (JonRowe) found this in rspec/rspec-expectations#219 and provided a first pass implementation in diff-lcs#15. I've reworked it because of test failures in Rubinius when running in Ruby 1.9 mode. This coerces the added values to the encoding of the old dataset (as determined by the first piece of the old dataset). https://github.com/rspec/rspec-expectations/issues/219 https://github.com/halostatue/diff-lcs/pull/15 * Adding Travis CI testing for Ruby 2.0. --- textproc/ruby-diff-lcs/Makefile | 4 ++-- textproc/ruby-diff-lcs/PLIST | 4 ++-- textproc/ruby-diff-lcs/distinfo | 8 ++++---- 3 files changed, 8 insertions(+), 8 deletions(-) diff --git a/textproc/ruby-diff-lcs/Makefile b/textproc/ruby-diff-lcs/Makefile index 4749d44eca193..281bf19953c4e 100644 --- a/textproc/ruby-diff-lcs/Makefile +++ b/textproc/ruby-diff-lcs/Makefile @@ -1,6 +1,6 @@ -# $NetBSD: Makefile,v 1.5 2013/02/11 02:41:42 taca Exp $ +# $NetBSD: Makefile,v 1.6 2013/06/16 17:21:49 taca Exp $ -DISTNAME= diff-lcs-1.2.1 +DISTNAME= diff-lcs-1.2.4 CATEGORIES= textproc MAINTAINER= pkgsrc-users@NetBSD.org diff --git a/textproc/ruby-diff-lcs/PLIST b/textproc/ruby-diff-lcs/PLIST index b678a7faa8d43..2fc9509eb722e 100644 --- a/textproc/ruby-diff-lcs/PLIST +++ b/textproc/ruby-diff-lcs/PLIST @@ -1,4 +1,4 @@ -@comment $NetBSD: PLIST,v 1.4 2013/02/11 02:41:42 taca Exp $ +@comment $NetBSD: PLIST,v 1.5 2013/06/16 17:21:49 taca Exp $ bin/htmldiff bin/ldiff ${GEM_HOME}/cache/${GEM_NAME}.gem @@ -17,7 +17,6 @@ ${GEM_LIBDIR}/Rakefile ${GEM_LIBDIR}/autotest/discover.rb ${GEM_LIBDIR}/bin/htmldiff ${GEM_LIBDIR}/bin/ldiff -${GEM_LIBDIR}/diff-lcs.gemspec ${GEM_LIBDIR}/docs/COPYING.txt ${GEM_LIBDIR}/docs/artistic.txt ${GEM_LIBDIR}/lib/diff-lcs.rb @@ -33,6 +32,7 @@ ${GEM_LIBDIR}/lib/diff/lcs/ldiff.rb ${GEM_LIBDIR}/lib/diff/lcs/string.rb ${GEM_LIBDIR}/spec/change_spec.rb ${GEM_LIBDIR}/spec/diff_spec.rb +${GEM_LIBDIR}/spec/hunk_spec.rb ${GEM_LIBDIR}/spec/issues_spec.rb ${GEM_LIBDIR}/spec/lcs_spec.rb ${GEM_LIBDIR}/spec/patch_spec.rb diff --git a/textproc/ruby-diff-lcs/distinfo b/textproc/ruby-diff-lcs/distinfo index 557037ff31a9f..e41862043a895 100644 --- a/textproc/ruby-diff-lcs/distinfo +++ b/textproc/ruby-diff-lcs/distinfo @@ -1,5 +1,5 @@ -$NetBSD: distinfo,v 1.3 2013/02/11 02:41:42 taca Exp $ +$NetBSD: distinfo,v 1.4 2013/06/16 17:21:49 taca Exp $ -SHA1 (diff-lcs-1.2.1.gem) = 9be5a63dddb78ef153b747789cb640bdcf059d14 -RMD160 (diff-lcs-1.2.1.gem) = c9bab2b63fb9ee870a6bba6984bb6ee41d91e9fe -Size (diff-lcs-1.2.1.gem) = 46080 bytes +SHA1 (diff-lcs-1.2.4.gem) = 4da6cb699374fce6e28334a8c93c0d91939d4726 +RMD160 (diff-lcs-1.2.4.gem) = 4c415184f05d58a268448983674019b017325db4 +Size (diff-lcs-1.2.4.gem) = 47104 bytes