[DRE-commits] [ruby-gon] 02/03: Drop fix_escaper.patch, applied upstream

Cédric Boutillier boutil at moszumanska.debian.org
Thu Feb 27 15:57:06 UTC 2014


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

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

commit f2c995b8340af23bdae7843df7bc1e2f50d30181
Author: Cédric Boutillier <boutil at debian.org>
Date:   Thu Feb 27 16:50:40 2014 +0100

    Drop fix_escaper.patch, applied upstream
---
 debian/patches/fix_escaper.patch | 21 ---------------------
 debian/patches/series            |  1 -
 2 files changed, 22 deletions(-)

diff --git a/debian/patches/fix_escaper.patch b/debian/patches/fix_escaper.patch
deleted file mode 100644
index 3cac3cc..0000000
--- a/debian/patches/fix_escaper.patch
+++ /dev/null
@@ -1,21 +0,0 @@
-Description: Fix escaper implementation to account for to_json forcing
- unicode characters to 7-bit clean.
-Author: Peter M. Goldstein <peter.m.goldstein at gmail.com>
-Reviewed-by: Cédric Boutillier <boutil at debian.org>
-Origin: https://github.com/petergoldstein/gon/commit/b4f254b9e1a33de135d9b62691aacb98ae0addae
-Bug: https://github.com/gazay/gon/pull/109
-Bug-Debian: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=733441
-
-Last-Update: 2014-01-10
-
---- a/lib/gon/escaper.rb
-+++ b/lib/gon/escaper.rb
-@@ -7,7 +7,7 @@
- 
-       def escape_unicode(javascript)
-         if javascript
--          result = javascript.gsub(/\342\200\250/u, '&#x2028;').gsub(/(<\/)/u, '\u003C/')
-+          result = javascript.gsub(/\\u2028/u, '&#x2028;').gsub(/(<\/)/u, '\u003C/')
-           javascript.html_safe? ? result.html_safe : result
-         end
-       end
diff --git a/debian/patches/series b/debian/patches/series
index 74688ac..3aed63e 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -1,3 +1,2 @@
 change_watch_js_location.patch
 remove_lib_from_loadpath_for_spec.patch
-fix_escaper.patch

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



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