[DRE-commits] [ruby-twitter-text] 04/10: fix path for tld_lib.yml

Praveen Arimbrathodiyil praveen at moszumanska.debian.org
Sun Nov 23 00:36:15 UTC 2014


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

praveen pushed a commit to branch master
in repository ruby-twitter-text.

commit 770ba04df0adc897ff63fd39e2119ced7f8cc59f
Author: Praveen Arimbrathodiyil <praveen at debian.org>
Date:   Sun Nov 23 05:34:49 2014 +0530

    fix path for tld_lib.yml
---
 debian/install                     |  1 +
 debian/patches/3001-fix-path.patch | 13 +++++++++++++
 debian/patches/series              |  1 +
 3 files changed, 15 insertions(+)

diff --git a/debian/install b/debian/install
new file mode 100644
index 0000000..58183da
--- /dev/null
+++ b/debian/install
@@ -0,0 +1 @@
+test/twitter-text-conformance/tld_lib.yml usr/share/ruby-twitter-text/test/twitter-text-conformance/tld_lib.yml
diff --git a/debian/patches/3001-fix-path.patch b/debian/patches/3001-fix-path.patch
new file mode 100644
index 0000000..b5401df
--- /dev/null
+++ b/debian/patches/3001-fix-path.patch
@@ -0,0 +1,13 @@
+Index: ruby-twitter-text/lib/twitter-text/regex.rb
+===================================================================
+--- ruby-twitter-text.orig/lib/twitter-text/regex.rb
++++ ruby-twitter-text/lib/twitter-text/regex.rb
+@@ -28,7 +28,7 @@ module Twitter
+ 
+     TLDS = YAML.load_file(
+       File.join(
+-        File.expand_path('../../..', __FILE__), # project root
++        File.expand_path('../../../../../share/ruby-twitter-text', __FILE__), # project root
+         'test', 'twitter-text-conformance', 'tld_lib.yml'
+       )
+     )
diff --git a/debian/patches/series b/debian/patches/series
index 7c21f9c..dc00f85 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -1 +1,2 @@
 2001-avoid-git-in-gemspec.patch
+3001-fix-path.patch

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



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