whimsical-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From curc...@apache.org
Subject [whimsy] branch master updated: Allow thanks link to have exclamation point
Date Tue, 10 Apr 2018 19:55:27 GMT
This is an automated email from the ASF dual-hosted git repository.

curcuru pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/whimsy.git


The following commit(s) were added to refs/heads/master by this push:
     new 36ccbd8  Allow thanks link to have exclamation point
36ccbd8 is described below

commit 36ccbd86666c25b55ce5fa9a83a2db74278f607a
Author: Shane Curcuru <asf@shanecurcuru.org>
AuthorDate: Tue Apr 10 15:55:19 2018 -0400

    Allow thanks link to have exclamation point
---
 tools/site-scan.rb | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/tools/site-scan.rb b/tools/site-scan.rb
index f2d1da6..3d03840 100755
--- a/tools/site-scan.rb
+++ b/tools/site-scan.rb
@@ -91,7 +91,7 @@ def parse(id, site, name)
       end
     end
 
-    if a_text == 'thanks'
+    if a_text =~ /\Athanks[!]?\z/ # Allow Thanks! with exclamation
       begin
         data[:thanks] = uri + a_href 
       rescue

-- 
To stop receiving notification emails like this one, please contact
curcuru@apache.org.

Mime
View raw message