summaryrefslogtreecommitdiff
path: root/lib/diff/lcs/array.rb
diff options
context:
space:
mode:
authorAustin Ziegler <austin@zieglers.ca>2013-03-30 17:12:43 -0400
committerAustin Ziegler <austin@zieglers.ca>2013-03-30 17:14:19 -0400
commit4122e0b9e52fd6fc659dd5f1fc9f844a43ff02cf (patch)
treec97177a9dd6f3c3f84a09dcf87947908480177e4 /lib/diff/lcs/array.rb
parenta72fbdc67d2be6937fd94baf9372bbb994b01be1 (diff)
downloaddiff-lcs-4122e0b9e52fd6fc659dd5f1fc9f844a43ff02cf.tar.gz
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.
Diffstat (limited to 'lib/diff/lcs/array.rb')
0 files changed, 0 insertions, 0 deletions