[DRE-commits] [ruby-gemoji] 01/02: Add patch: Force encoding = 'UTF-8' in test scripts

Youhei SASAKI uwabami-guest at moszumanska.debian.org
Mon Mar 16 15:25:07 UTC 2015


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

uwabami-guest pushed a commit to branch master
in repository ruby-gemoji.

commit 100a91bd2b1b548f3f9d72a23584e7800fd40930
Author: Youhei SASAKI <uwabami at gfd-dennou.org>
Date:   Tue Mar 17 00:21:49 2015 +0900

    Add patch: Force encoding = 'UTF-8' in test scripts
    
    Signed-off-by: Youhei SASAKI <uwabami at gfd-dennou.org>
---
 .../0002-Set-Encoding.default_external-UTF-8.patch | 33 ++++++++++++++++++++++
 debian/patches/series                              |  1 +
 2 files changed, 34 insertions(+)

diff --git a/debian/patches/0002-Set-Encoding.default_external-UTF-8.patch b/debian/patches/0002-Set-Encoding.default_external-UTF-8.patch
new file mode 100644
index 0000000..1db7b08
--- /dev/null
+++ b/debian/patches/0002-Set-Encoding.default_external-UTF-8.patch
@@ -0,0 +1,33 @@
+From: Debian Ruby Extras Maintainers
+ <pkg-ruby-extras-maintainers at lists.alioth.debian.org>
+Date: Tue, 17 Mar 2015 00:21:54 +0900
+Subject: Set Encoding.default_external = "UTF-8"
+
+Signed-off-by: Youhei SASAKI <uwabami at gfd-dennou.org>
+---
+ test/emoji_test.rb     | 1 +
+ test/integrity_test.rb | 1 +
+ 2 files changed, 2 insertions(+)
+
+diff --git a/test/emoji_test.rb b/test/emoji_test.rb
+index 4ff43ed..a93192e 100644
+--- a/test/emoji_test.rb
++++ b/test/emoji_test.rb
+@@ -1,4 +1,5 @@
+ require 'test_helper'
++Encoding.default_external = 'UTF-8'
+ 
+ class EmojiTest < TestCase
+   test "fetching all emoji" do
+diff --git a/test/integrity_test.rb b/test/integrity_test.rb
+index 525c498..c642a04 100644
+--- a/test/integrity_test.rb
++++ b/test/integrity_test.rb
+@@ -2,6 +2,7 @@
+ require 'test_helper'
+ require 'json'
+ require 'digest/md5'
++Encoding.default_external = 'UTF-8'
+ 
+ class IntegrityTest < TestCase
+   test "images on disk correlate 1-1 with emojis" do
diff --git a/debian/patches/series b/debian/patches/series
index 4b84f1b..22d8463 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -1 +1,2 @@
 0001-Fix-images-and-json-data-path.patch
+0002-Set-Encoding.default_external-UTF-8.patch

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



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