This is an automated email from the ASF dual-hosted git repository.

sebb 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 49f2ce8  WHIMSY-353 Don't match 'was donated'
49f2ce8 is described below

commit 49f2ce8e158a282afd1cbcb21f87cec270bf825d
Author: Sebb <[email protected]>
AuthorDate: Mon Jul 5 16:41:22 2021 +0100

    WHIMSY-353 Don't match 'was donated'
---
 lib/whimsy/sitestandards.rb | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/lib/whimsy/sitestandards.rb b/lib/whimsy/sitestandards.rb
index 7b5a84f..ef7d38e 100644
--- a/lib/whimsy/sitestandards.rb
+++ b/lib/whimsy/sitestandards.rb
@@ -85,8 +85,8 @@ module SiteStandards
       CHECK_DOC => '"Security" should link to either to a project-specific 
page [...], or to the main http://www.apache.org/security/ page.',
     },
     'sponsorship' => { # link_check ['sponsorship', 'donate', 'sponsor 
apache','sponsoring apache'].include? a_text
-      CHECK_TEXT => 
%r{sponsorship|donate|sponsor\sapache|sponsoring\sapache|sponsor},
-      CHECK_CAPTURE => 
%r{sponsorship|donate|sponsor\sapache|sponsoring\sapache|sponsor},
+      CHECK_TEXT => 
%r{sponsorship|\bdonate\b|sponsor\sapache|sponsoring\sapache|sponsor},
+      CHECK_CAPTURE => 
%r{sponsorship|\bdonate\b|sponsor\sapache|sponsoring\sapache|sponsor},
       CHECK_VALIDATE => %r{^https?://.*apache.org/foundation/sponsorship},
       CHECK_TYPE => true,
       CHECK_POLICY => 
'https://www.apache.org/foundation/marks/pmcs#navigation',

Reply via email to