[DRE-commits] [ruby-afm] 03/05: drop ruby_compatibility.patch, not needed any more

Cédric Boutillier boutil at moszumanska.debian.org
Wed Jul 2 16:13:26 UTC 2014


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

boutil pushed a commit to branch master
in repository ruby-afm.

commit 15e1fcc7ea3bcd1123634540fa7c2c82a87e613f
Author: Cédric Boutillier <boutil at debian.org>
Date:   Wed Jul 2 18:11:33 2014 +0200

    drop ruby_compatibility.patch, not needed any more
---
 debian/patches/ruby_compatibility.patch | 31 -------------------------------
 debian/patches/series                   |  1 -
 2 files changed, 32 deletions(-)

diff --git a/debian/patches/ruby_compatibility.patch b/debian/patches/ruby_compatibility.patch
deleted file mode 100644
index 9a779b7..0000000
--- a/debian/patches/ruby_compatibility.patch
+++ /dev/null
@@ -1,31 +0,0 @@
-Description: fix #metrics_for to work across ruby 1.8, 1.9 and 2.0
- * on 1.8 String#[] returns the character code at that position as an int
- * on 1.9+ String#[] returns a single character string
-Author: James Healy <james at yob.id.auto>
-Origin: https://github.com/halfbyte/afm/commit/0718e0f1d0e46f5b6c0325dfd6f5f3abf7533110
-Reviewed-by: Cédric Boutillier <boutil at debian.org>
-Last-Update: 2013-04-01
----
- lib/afm.rb | 4 ++--
- 1 file changed, 2 insertions(+), 2 deletions(-)
-
-diff --git a/lib/afm.rb b/lib/afm.rb
-index 62af0b3..dfbe415 100644
---- a/lib/afm.rb
-+++ b/lib/afm.rb
-@@ -95,9 +95,9 @@ def metrics_for(char)
-       glyph = if (char.kind_of?(Integer))
-         ISO_LATIN1_ENCODING[char]
-       else
--        ISO_LATIN1_ENCODING[char[0]]
-+        ISO_LATIN1_ENCODING[char.unpack("C*").first]
-       end
-       @char_metrics[glyph]
-     end
-   end
--end
-\ No newline at end of file
-+end
--- 
-1.8.1.6
-
diff --git a/debian/patches/series b/debian/patches/series
deleted file mode 100644
index 6d53e5d..0000000
--- a/debian/patches/series
+++ /dev/null
@@ -1 +0,0 @@
-ruby_compatibility.patch

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



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