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 df41f7fa Remove unneeded trailing whitespace (#293)
df41f7fa is described below

commit df41f7faf7a23c286ce1fa84664eae775919c57c
Author: John Bampton <[email protected]>
AuthorDate: Wed Mar 11 23:12:31 2026 +1000

    Remove unneeded trailing whitespace (#293)
    
    General clean up
---
 lib/whimsy/asf/board.rb            | 2 +-
 lib/whimsy/asf/podling.rb          | 2 +-
 lib/whimsy/asf/svn.rb              | 4 ++--
 lib/whimsy/sitestandards.rb        | 8 ++++----
 tools/scan-page.js                 | 6 +++---
 www/board/agenda/routes.rb         | 2 +-
 www/roster/main.rb                 | 2 +-
 www/roster/views/person/main.js.rb | 2 +-
 www/status/monitor.rb              | 2 +-
 9 files changed, 15 insertions(+), 15 deletions(-)

diff --git a/lib/whimsy/asf/board.rb b/lib/whimsy/asf/board.rb
index 39e55654..18e43940 100644
--- a/lib/whimsy/asf/board.rb
+++ b/lib/whimsy/asf/board.rb
@@ -89,7 +89,7 @@ module ASF
     # quarterdates - hash from nextQuarter
     # schedule - list of report months (e.g. ["February", "May", "August", 
"November"])
     #            possibly preceeded by 'Next month: ...'
-    #            or 'Every month' 
+    #            or 'Every month'
     # Returns: the next date
     def self.nextReport(quarterdates, schedule)
       scfirst = schedule.first
diff --git a/lib/whimsy/asf/podling.rb b/lib/whimsy/asf/podling.rb
index b0857088..9e63dff3 100644
--- a/lib/whimsy/asf/podling.rb
+++ b/lib/whimsy/asf/podling.rb
@@ -202,7 +202,7 @@ module ASF
     def self.list_with_status
       self.list.map {|pod| [pod.id, pod.status]}.to_h
     end
-    
+
     # list of current podlings
     def self.current
       self._list('current')
diff --git a/lib/whimsy/asf/svn.rb b/lib/whimsy/asf/svn.rb
index 7ef51c85..9d62c2a3 100644
--- a/lib/whimsy/asf/svn.rb
+++ b/lib/whimsy/asf/svn.rb
@@ -706,7 +706,7 @@ module ASF
         else
           return revision, File.read(tmpfile)
         end
-      end      
+      end
     end
 
     # update a file in SVN, working entirely in a temporary directory
@@ -755,7 +755,7 @@ module ASF
       end
       rc # return last status
     end
-    
+
     # update a file or directory in SVN, working entirely in a temporary
     # directory
     # Intended for use from GUI code
diff --git a/lib/whimsy/sitestandards.rb b/lib/whimsy/sitestandards.rb
index 7e45de04..dcd83319 100644
--- a/lib/whimsy/sitestandards.rb
+++ b/lib/whimsy/sitestandards.rb
@@ -218,7 +218,7 @@ module SiteStandards
     end
     return sites, crawl_time
   end
-  
+
   CSP_INFRA_BASE = <<-EOD.strip.gsub(%r{([.*])}, "\\\\\\1")
     'self' data: blob: 'unsafe-inline' 'unsafe-eval'
     https://www.apachecon.com/
@@ -228,7 +228,7 @@ module SiteStandards
   CSP_THIRD_PARTY = "https://*.scarf.sh/ ".gsub(%r{([.*])}, "\\\\\\1")
 
   CSP_PROJECT_DOMAINS = "(.*)" # Allow anything here (capture it)
-  
+
   DEFAULT_CSP = <<-EOD.strip.gsub("\n",'').gsub(/ +/, ' ')
     default-src #{CSP_INFRA_BASE} #{CSP_THIRD_PARTY} #{CSP_PROJECT_DOMAINS};
     script-src #{CSP_INFRA_BASE} #{CSP_THIRD_PARTY} #{CSP_PROJECT_DOMAINS};
@@ -242,7 +242,7 @@ module SiteStandards
   WWW_CSP = <<-EOD.strip.gsub("\n",'').gsub(/ +/, ' ')
     default-src 'self' data: 'unsafe-inline'
     https://www.apachecon.com/ https://analytics.apache.org/ 
http://analytics.apache.org/
-    https://www.youtube-nocookie.com https://www.youtube.com; 
+    https://www.youtube-nocookie.com https://www.youtube.com;
     script-src 'self' 'unsafe-inline' 'unsafe-eval'
     https://www.apachecon.com/ https://analytics.apache.org/ 
http://analytics.apache.org/
     https://www.youtube-nocookie.com https://www.youtube.com;
@@ -298,7 +298,7 @@ module SiteStandards
       end
     end
   end
-  
+
   # Analyze data returned from site-scan.rb by using checks[CHECK_VALIDATE] 
regex
   #   If value =~ CHECK_VALIDATE, SITE_PASS
   #   If value is present (presumably from CHECK_TEXT|CAPTURE), then SITE_WARN
diff --git a/tools/scan-page.js b/tools/scan-page.js
index 0257a9cc..df7126f9 100755
--- a/tools/scan-page.js
+++ b/tools/scan-page.js
@@ -41,7 +41,7 @@ function getHost(url) {
   page.on('console', message => {
       let type = message.type().toUpperCase();
       if (type != 'LOG') { // don't want logs
-        console.log(`${type} ${message.text()}`);      
+        console.log(`${type} ${message.text()}`);
       }
   });
   page.on('request', (interceptedRequest) => {
@@ -61,7 +61,7 @@ function getHost(url) {
           interceptedRequest.continue();
         } else if (option == 'allref') {
           let ini = interceptedRequest.initiator();
-          if (ini) {            
+          if (ini) {
             let iniurl = ini.url;
             if (!iniurl && ini.stack) {
               iniurl = ini.stack.callFrames[0].url;
@@ -72,7 +72,7 @@ function getHost(url) {
               console.log(url);
             }
           } else { // seems to occur with captcha failures
-              console.log(url + ' NAK');            
+              console.log(url + ' NAK');
           }
           interceptedRequest.continue();
         } else {
diff --git a/www/board/agenda/routes.rb b/www/board/agenda/routes.rb
index 18f2ac23..d677e4eb 100755
--- a/www/board/agenda/routes.rb
+++ b/www/board/agenda/routes.rb
@@ -344,7 +344,7 @@ end
 # posted actions
 post '/json/:file' do
   return [503, "Service has been withdrawn - use BAT instead"]
-  
+
   # unavailable = Status.updates_disallowed_reason # are updates disallowed?
   # return [503, unavailable] if unavailable
 
diff --git a/www/roster/main.rb b/www/roster/main.rb
index 22f6db1f..63808fb8 100755
--- a/www/roster/main.rb
+++ b/www/roster/main.rb
@@ -183,7 +183,7 @@ get '/committer2/index.json' do
     end
 
     tmp = ASF::Mail.people_mails_github(extra_mails)
-    
+
     # Add ICLA details
     ASF::ICLA.each {|icla|
       if icla.noId?
diff --git a/www/roster/views/person/main.js.rb 
b/www/roster/views/person/main.js.rb
index be1ca697..1de6c280 100644
--- a/www/roster/views/person/main.js.rb
+++ b/www/roster/views/person/main.js.rb
@@ -152,7 +152,7 @@ class Person < Vue
         end
       end
     end
-    
+
     unless @committer.podling_member.empty?
       _div.row do
         _div.name 'PPMC committer'
diff --git a/www/status/monitor.rb b/www/status/monitor.rb
index 9d409024..30028b8b 100644
--- a/www/status/monitor.rb
+++ b/www/status/monitor.rb
@@ -36,7 +36,7 @@ class StatusMonitor
   def recorddiff(what, diff)
     @timings << [what, diff]
   end
-  
+
   def timediff(what)
     now = Time.now
     recorddiff(what, now - @prev )

Reply via email to