diff options
author | Diego Elio Pettenò <flameeyes@gentoo.org> | 2013-01-25 20:50:31 +0000 |
---|---|---|
committer | Diego Elio Pettenò <flameeyes@gentoo.org> | 2013-01-25 20:50:31 +0000 |
commit | 8aee44aef1982034e7fab28291aa7cbd29e82e0e (patch) | |
tree | 23664a0530dea3d939cb91159d8278603b1c9174 /dev-ruby/rails_autolink/files/rails_autolink-1.0.9-fixes.patch | |
parent | Add menu desktop file and icons, bug #453920 (diff) | |
download | historical-8aee44aef1982034e7fab28291aa7cbd29e82e0e.tar.gz historical-8aee44aef1982034e7fab28291aa7cbd29e82e0e.tar.bz2 historical-8aee44aef1982034e7fab28291aa7cbd29e82e0e.zip |
Initial import of rails_autolink from graaff's overlay. This version only supports Ruby 1.9 (as the testsuite fails on 1.8), spots a fix for the testsuite and the schemes, and support doc building.
Package-Manager: portage-2.2.0_alpha161/cvs/Linux x86_64
Manifest-Sign-Key: 0x1CD13C8AD4301342
Diffstat (limited to 'dev-ruby/rails_autolink/files/rails_autolink-1.0.9-fixes.patch')
-rw-r--r-- | dev-ruby/rails_autolink/files/rails_autolink-1.0.9-fixes.patch | 32 |
1 files changed, 32 insertions, 0 deletions
diff --git a/dev-ruby/rails_autolink/files/rails_autolink-1.0.9-fixes.patch b/dev-ruby/rails_autolink/files/rails_autolink-1.0.9-fixes.patch new file mode 100644 index 000000000000..a1a0a8a11dac --- /dev/null +++ b/dev-ruby/rails_autolink/files/rails_autolink-1.0.9-fixes.patch @@ -0,0 +1,32 @@ +From 9bc8ce3c5bd1919df87ac7039b41de18e70bc64d Mon Sep 17 00:00:00 2001 +From: =?UTF-8?q?Diego=20Elio=20Petten=C3=B2?= <flameeyes@flameeyes.eu> +Date: Fri, 25 Jan 2013 12:29:21 -0800 +Subject: [PATCH] lib: add to the whitelist the protocol schemes that are + tested for. +MIME-Version: 1.0 +Content-Type: text/plain; charset=UTF-8 +Content-Transfer-Encoding: 8bit + +Without this commit, the testsuite will simply fail. + +Signed-off-by: Diego Elio Pettenò <flameeyes@flameeyes.eu> +--- + lib/rails_autolink/helpers.rb | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/lib/rails_autolink/helpers.rb b/lib/rails_autolink/helpers.rb +index 4f6cd8d..bec82c6 100644 +--- a/lib/rails_autolink/helpers.rb ++++ b/lib/rails_autolink/helpers.rb +@@ -71,7 +71,7 @@ module RailsAutolink + private + + AUTO_LINK_RE = %r{ +- (?: ((?:ed2k|ftp|http|https|irc|mailto|news|gopher|nntp|telnet|webcal|xmpp|callto|feed|svn|urn|aim|rsync|tag|ssh|sftp|rtsp|afs):)// | www\. ) ++ (?: ((?:ed2k|ftp|http|https|irc|mailto|news|gopher|nntp|telnet|webcal|xmpp|callto|feed|svn|urn|aim|rsync|tag|ssh|sftp|rtsp|afs|file|z39.50r|chrome|view-source:http):)// | www\. ) + [^\s<]+ + }x + +-- +1.8.1.1 + |