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 ff52152  Fix WHIMSY-190 where older board attendance was poorly parsed
ff52152 is described below

commit ff521524d66327f19955a934908de7b2799d4ce8
Author: Shane Curcuru <[email protected]>
AuthorDate: Tue Apr 3 16:44:08 2018 -0400

    Fix WHIMSY-190 where older board attendance was poorly parsed
---
 lib/whimsy/asf/agenda/front.rb | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/lib/whimsy/asf/agenda/front.rb b/lib/whimsy/asf/agenda/front.rb
index 3b2e8ff..8f15837 100644
--- a/lib/whimsy/asf/agenda/front.rb
+++ b/lib/whimsy/asf/agenda/front.rb
@@ -23,7 +23,8 @@ class ASF::Board::Agenda
         # attempt to identify the people mentioned in the Roll Call
         people = attr['text'].scan(/ {8}(\w.*)/).flatten.each do |name|
           next if name == 'none'
-          name.gsub! /\s*\(.*?\)/, ''
+          name.gsub! /\s*[\[(].*/, '' # Remove (extraneous [comments in past 
board minutes
+          name.strip!
 
           role = :guest
           role = :director if directors.include? name

-- 
To stop receiving notification emails like this one, please contact
[email protected].

Reply via email to