[DRE-commits] [ruby-twitter-text] 04/10: Remove 4001-fix-hashtag-detection.patch

Sruthi Chandran srud-guest at moszumanska.debian.org
Fri Sep 8 06:04:55 UTC 2017


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

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

commit 390cc5647ed4303b74d05d78c71740eb0f2db65a
Author: Sruthi Chandran <srud at disroot.org>
Date:   Fri Sep 8 00:05:18 2017 +0530

    Remove 4001-fix-hashtag-detection.patch
---
 debian/patches/4001-fix-hashtag-detection.patch | 17 -----------------
 debian/patches/series                           |  1 -
 2 files changed, 18 deletions(-)

diff --git a/debian/patches/4001-fix-hashtag-detection.patch b/debian/patches/4001-fix-hashtag-detection.patch
deleted file mode 100644
index ddcda07..0000000
--- a/debian/patches/4001-fix-hashtag-detection.patch
+++ /dev/null
@@ -1,17 +0,0 @@
-Description: Port hashtag detection bugfix from upstream
-Author: Sumit Shah <shah at twitter.com>
-Applied-Upstream: https://patch-diff.githubusercontent.com/raw/twitter/twitter-text/pull/181
-Last-Update: 2017-06-27
----
-This patch header follows DEP-3: http://dep.debian.net/deps/dep3/
---- a/lib/twitter-text/regex.rb
-+++ b/lib/twitter-text/regex.rb
-@@ -153,7 +153,7 @@
-     HASHTAG_LETTERS_NUMERALS_SET = "[#{HASHTAG_LETTERS_NUMERALS}]"
-     HASHTAG_LETTERS_SET = "[#{HASHTAG_LETTERS_AND_MARKS}]"
- 
--    HASHTAG = /(\A|[^&#{HASHTAG_LETTERS_NUMERALS}])(#|#)(?!\ufe0f|\u20e3)(#{HASHTAG_LETTERS_NUMERALS_SET}*#{HASHTAG_LETTERS_SET}#{HASHTAG_LETTERS_NUMERALS_SET}*)/io
-+    HASHTAG = /(\A|\ufe0e|\ufe0f|[^&#{HASHTAG_LETTERS_NUMERALS}])(#|#)(?!\ufe0f|\u20e3)(#{HASHTAG_LETTERS_NUMERALS_SET}*#{HASHTAG_LETTERS_SET}#{HASHTAG_LETTERS_NUMERALS_SET}*)/io
- 
-     REGEXEN[:valid_hashtag] = /#{HASHTAG}/io
-     # Used in Extractor for final filtering
diff --git a/debian/patches/series b/debian/patches/series
index f60f441..5f1d77e 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -1,3 +1,2 @@
 2001-fix-gemspec.patch
 3001-fix-path.patch
-4001-fix-hashtag-detection.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