Skip to content

Commit

Permalink
Merge pull request #246 from apache/seconds-separator
Browse files Browse the repository at this point in the history
Explicitly add a seconds separator for new nominations
  • Loading branch information
ShaneCurcuru authored Jan 30, 2025
2 parents 77590a1 + 02e8950 commit cea94e2
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions lib/whimsy/asf/member-files.rb
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,7 @@ class MemberFiles
\s*Nomination\ [sS]tatement:\s*?\r?\n+(?<statement>.*)\z
}mx

SECONDS_SEPARATOR = '*** Seconds Statements ***'
# get the latest meeting directory or nomination file
def self.latest_meeting(name=nil)
if name.nil? # we want the parent directory
Expand Down Expand Up @@ -130,6 +131,8 @@ def self.make_member_nomination(fields = {})
'',
' Nomination Statement:',
ASFString.reflow(statement, 4, 80),
'',
SECONDS_SEPARATOR,
''
].compact.join("\n") + "\n"
end
Expand All @@ -151,6 +154,8 @@ def self.make_board_nomination(fields = {})
'',
' Nomination Statement:',
ASFString.reflow(statement, 4, 80),
'',
SECONDS_SEPARATOR,
''
].compact.join("\n") + "\n"
end
Expand Down

0 comments on commit cea94e2

Please sign in to comment.