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 fcda943a Remove unneeded trailing whitespace from Ruby files (#200)
fcda943a is described below

commit fcda943af5ed24732deee8d7028a1205d0d2c881
Author: John Bampton <jbamp...@users.noreply.github.com>
AuthorDate: Thu Feb 22 10:49:00 2024 +1000

    Remove unneeded trailing whitespace from Ruby files (#200)
---
 lib/whimsy/asf/board.rb            | 2 +-
 lib/whimsy/asf/config.rb           | 2 +-
 lib/whimsy/asf/petri.rb            | 2 +-
 lib/whimsy/asf/status.rb           | 4 ++--
 tools/collate_minutes.rb           | 2 +-
 tools/fixroster.rb                 | 2 +-
 tools/site-scan.rb                 | 2 +-
 tools/site_member_check.rb         | 2 +-
 www/board/agenda/routes.rb         | 4 ++--
 www/roster/models/committee.rb     | 2 +-
 www/status/monitors/public_json.rb | 2 +-
 11 files changed, 13 insertions(+), 13 deletions(-)

diff --git a/lib/whimsy/asf/board.rb b/lib/whimsy/asf/board.rb
index 58d902d6..0d9f02a6 100644
--- a/lib/whimsy/asf/board.rb
+++ b/lib/whimsy/asf/board.rb
@@ -1,6 +1,6 @@
 require_relative '../asf'
 require 'active_support'
-require 'active_support/time'      
+require 'active_support/time'
 
 module ASF
   module Board
diff --git a/lib/whimsy/asf/config.rb b/lib/whimsy/asf/config.rb
index 8c5babbd..5d96739f 100644
--- a/lib/whimsy/asf/config.rb
+++ b/lib/whimsy/asf/config.rb
@@ -139,7 +139,7 @@ module ASF
     end
 
     #  Get an executable path override
-    # e.g. 
+    # e.g.
     # :exepaths:
     #   gpg: /usr/local/bin/gpg3
     # returns its input if no override is found
diff --git a/lib/whimsy/asf/petri.rb b/lib/whimsy/asf/petri.rb
index 39cb2d24..7d6d412c 100644
--- a/lib/whimsy/asf/petri.rb
+++ b/lib/whimsy/asf/petri.rb
@@ -39,7 +39,7 @@ module ASF
       # @mentors = yaml['mentors']
       yaml['cultures'].each do |proj|
         prj = new(proj)
-        if yaml['projects'].include? proj 
+        if yaml['projects'].include? proj
           prj.error = 'Listed as a current project' unless prj.status == 
'current'
         else
           prj.error = 'Not listed as a current project' if prj.status == 
'current'
diff --git a/lib/whimsy/asf/status.rb b/lib/whimsy/asf/status.rb
index 50c2e9e7..ae04bf5f 100644
--- a/lib/whimsy/asf/status.rb
+++ b/lib/whimsy/asf/status.rb
@@ -68,11 +68,11 @@ module Status
       end
     end
   end
-  
+
   def self.activeIP # intended for CLI testing
     Resolv::DNS.open.getaddress(ACTIVE_HOSTNAME)
   end
-  
+
 end
 
 # for debugging purposes
diff --git a/tools/collate_minutes.rb b/tools/collate_minutes.rb
index 582062c9..0ba6cb52 100755
--- a/tools/collate_minutes.rb
+++ b/tools/collate_minutes.rb
@@ -740,7 +740,7 @@ seen={}
       puts ''
     end
   end
-  
+
   # Add to the running tally
   pending.each_value do |report|
     next if not report.title or report.title.empty?
diff --git a/tools/fixroster.rb b/tools/fixroster.rb
index 15181607..bb7b7148 100644
--- a/tools/fixroster.rb
+++ b/tools/fixroster.rb
@@ -10,7 +10,7 @@ Encoding.default_internal = Encoding::UTF_8
 if __FILE__ == $0
   CIN = ARGV.shift || '/srv/svn/board/committee-info.txt'
   OUT = ARGV.shift || '/srv/svn/board/committee-info.tmp'
-  
+
   File.open(OUT, 'w') do |out|
     File.open(CIN, 'r').slice_before{|l| l.start_with? '* '}.each do |lines|
       head = lines.shift
diff --git a/tools/site-scan.rb b/tools/site-scan.rb
index e45a1aa0..e3007c1b 100755
--- a/tools/site-scan.rb
+++ b/tools/site-scan.rb
@@ -45,7 +45,7 @@ end
 # TODO should we show them all?
 def save_events(data, value)
   prev = data[:events]
-  if prev and prev != value 
+  if prev and prev != value
     puts "Events: already have '#{prev}', not storing '#{value}'"
   else
     data[:events] = value
diff --git a/tools/site_member_check.rb b/tools/site_member_check.rb
index 30e81fd7..c4bfa621 100755
--- a/tools/site_member_check.rb
+++ b/tools/site_member_check.rb
@@ -56,7 +56,7 @@ loop do
   s.scan(/\| (\S+) \|.*?$/)
   id = s[1]
   unless current.include? id
-    puts "#{id}: #{status[id] || 'unknown status'}" 
+    puts "#{id}: #{status[id] || 'unknown status'}"
     puts "Previous id: #{prev}" unless id
   end
   prev = id
diff --git a/www/board/agenda/routes.rb b/www/board/agenda/routes.rb
index d43ce3eb..aecb9990 100755
--- a/www/board/agenda/routes.rb
+++ b/www/board/agenda/routes.rb
@@ -549,7 +549,7 @@ get '/new' do
     Wunderbar.warn "#{e}, could not access previous actions, continuing"
     actions = nil
   end
-  
+
   # Get directors, list of pmcs due to report, and shepherds
   @directors = ASF::Board.directors
   @pmcs = ASF::Board.reporting(@meeting)
@@ -605,7 +605,7 @@ post %r{/(\d\d\d\d-\d\d-\d\d)/} do |date|
     ASF::SVN.svn!('update', currentpath, {env: env})
 
     if File.symlink? currentpath # Does the symlink exist?
-      File.unlink currentpath 
+      File.unlink currentpath
       File.symlink agenda, currentpath
     else
       Wunderbar.warn "current.txt link does not exist, creating it"
diff --git a/www/roster/models/committee.rb b/www/roster/models/committee.rb
index 62180c60..69663028 100644
--- a/www/roster/models/committee.rb
+++ b/www/roster/models/committee.rb
@@ -80,7 +80,7 @@ class Committee
         # TODO should it be canonicalised as well above?
         roster[key]['notSubbed'] = true if (allMail & pSubs.map{|m| 
ASF::Mail.to_canonical(m)}).empty?
       end
-      if analysePrivateSubs 
+      if analysePrivateSubs
         unMatchedSubs.delete_if {|k| allMail.include? 
ASF::Mail.to_canonical(k.downcase)}
         unMatchedSecSubs.delete_if {|k| allMail.include? 
ASF::Mail.to_canonical(k.downcase)}
       end
diff --git a/www/status/monitors/public_json.rb 
b/www/status/monitors/public_json.rb
index a62e37d9..22bfae1b 100644
--- a/www/status/monitors/public_json.rb
+++ b/www/status/monitors/public_json.rb
@@ -31,7 +31,7 @@ def Monitor.public_json(previous_status)
   status = {}
 
   sendMail = Status.active?
- 
+
   Dir[logs].each do |log|
     name = File.basename(log).sub('public-', '').to_sym
 

Reply via email to