[DRE-commits] [ruby-diff-lcs] 04/07: Refresh patches

Lucas Nussbaum lucas at moszumanska.debian.org
Thu Jul 6 20:56:45 UTC 2017


This is an automated email from the git hooks/post-receive script.

lucas pushed a commit to branch master
in repository ruby-diff-lcs.

commit bcbc546650c5c179790eaff9f851645bfca0bce0
Author: Lucas Nussbaum <lucas at debian.org>
Date:   Thu Jul 6 22:34:05 2017 +0200

    Refresh patches
---
 debian/patches/hunk_in_specs.patch | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/debian/patches/hunk_in_specs.patch b/debian/patches/hunk_in_specs.patch
index 38cf2ff..91979bc 100644
--- a/debian/patches/hunk_in_specs.patch
+++ b/debian/patches/hunk_in_specs.patch
@@ -12,5 +12,5 @@ Last-Update: 2015-08-12
  require 'spec_helper'
 +require 'diff/lcs/hunk'
  
- def h(v)
-   v.to_s.bytes.to_a.map { |e| "%02x" % e }.join
+ if String.method_defined?(:encoding)
+   require 'diff/lcs/hunk'

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-ruby-extras/ruby-diff-lcs.git



More information about the Pkg-ruby-extras-commits mailing list