[DRE-commits] [ruby-diff-lcs] 01/04: require diff/lcs/hunk.rb in spec_hunk.rb
Cédric Boutillier
boutil at moszumanska.debian.org
Wed Aug 12 11:45:36 UTC 2015
This is an automated email from the git hooks/post-receive script.
boutil pushed a commit to branch master
in repository ruby-diff-lcs.
commit 86af659f961416bc5b84ae21a1da646117336a56
Author: Cédric Boutillier <boutil at debian.org>
Date: Wed Aug 12 12:17:16 2015 +0200
require diff/lcs/hunk.rb in spec_hunk.rb
---
debian/patches/hunk_in_specs.patch | 16 ++++++++++++++++
debian/patches/series | 1 +
2 files changed, 17 insertions(+)
diff --git a/debian/patches/hunk_in_specs.patch b/debian/patches/hunk_in_specs.patch
new file mode 100644
index 0000000..38cf2ff
--- /dev/null
+++ b/debian/patches/hunk_in_specs.patch
@@ -0,0 +1,16 @@
+Description: load the necessary file to define Diff:LCS::Hunk
+Bug-Debian: http://bugs.debian.org/794164
+Bug: https://github.com/halostatue/diff-lcs/issues/33
+Author: Cédric Boutillier <boutil at debian.org>
+Last-Update: 2015-08-12
+
+--- a/spec/hunk_spec.rb
++++ b/spec/hunk_spec.rb
+@@ -1,6 +1,7 @@
+ # -*- ruby encoding: utf-8 -*-
+
+ require 'spec_helper'
++require 'diff/lcs/hunk'
+
+ def h(v)
+ v.to_s.bytes.to_a.map { |e| "%02x" % e }.join
diff --git a/debian/patches/series b/debian/patches/series
index 1239038..c778eb7 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -1 +1,2 @@
fix_shebang_for_bins.patch
+hunk_in_specs.patch
--
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