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 6b33eb9  Style
6b33eb9 is described below

commit 6b33eb9c7b0f7a460234027a33ad785d193cdc52
Author: Sebb <[email protected]>
AuthorDate: Thu Aug 26 17:23:01 2021 +0100

    Style
---
 lib/whimsy/sitewebsite.rb | 13 +++++++------
 1 file changed, 7 insertions(+), 6 deletions(-)

diff --git a/lib/whimsy/sitewebsite.rb b/lib/whimsy/sitewebsite.rb
index 48a4cde..c6b392c 100644
--- a/lib/whimsy/sitewebsite.rb
+++ b/lib/whimsy/sitewebsite.rb
@@ -21,8 +21,9 @@ def display_project(project, links, analysis, checks, tlp = 
true)
       _ "Results for #{tlp ? 'Project' : 'Podling'} "
       _a links['display_name'], href: links['uri']
       _ '. '
-      if !tlp
-        _ 'Reminder: Incubation is the process of becoming an Apache project - 
podlings are not required to meet these checks until graduation.  See '
+      unless tlp
+        _ %{Reminder: Incubation is the process of becoming an Apache project
+          - podlings are not required to meet these checks until graduation.  
See }
         _a "this project's incubation status.", href: 
"http://incubator.apache.org/projects/#{project}";
       end
       _br
@@ -61,8 +62,8 @@ def display_project(project, links, analysis, checks, tlp = 
true)
                     _ 'Text of a link expected to match regular expression: '
                     _code checks[col][SiteStandards::CHECK_TEXT].source
                   end
-                    _br
-                    _a checks[col][SiteStandards::CHECK_DOC], href: 
checks[col][SiteStandards::CHECK_POLICY]
+                  _br
+                  _a checks[col][SiteStandards::CHECK_DOC], href: 
checks[col][SiteStandards::CHECK_POLICY]
                 else
                   _ ''
                 end
@@ -103,7 +104,8 @@ def display_check(col, sites, analysis, checks, tlp = true)
         end
         _li.small " Click column badges to sort"
       else
-        _span.text_danger "WARNING: the site checker may not understand type: 
#{col}, results may not be complete/available."
+        _span.text_danger %{WARNING: the site checker may not understand type: 
#{col},
+                            results may not be complete/available.}
       end
     }
   ) do
@@ -231,4 +233,3 @@ def display_application(path, sites, analysis, checks, tlp 
= true)
     display_overview(sites, analysis, checks, tlp)
   end
 end
-

Reply via email to