From 4122e0b9e52fd6fc659dd5f1fc9f844a43ff02cf Mon Sep 17 00:00:00 2001 From: Austin Ziegler Date: Sat, 30 Mar 2013 17:12:43 -0400 Subject: Finalizing encoding-aware diff fixes. * 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. --- README.rdoc | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'README.rdoc') diff --git a/README.rdoc b/README.rdoc index f7758eb..afb421e 100644 --- a/README.rdoc +++ b/README.rdoc @@ -11,9 +11,9 @@ 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.1, restoring the public API to what existed in Diff::LCS -1.1.x. Everyone is strongly encouraged to upgrade to this version as it fixes -all known outstanding issues. +This is release 1.2.2, fixing a bug that prevented comparison of values that +are not US-ASCII-compatible. Thanks to Jon Rowe for finding and providing most +of the work behind this issue. This is a recommended release. == Synopsis -- cgit v1.2.1