From ce210b3795ac4c813e66cef98080224f85a2eb35 Mon Sep 17 00:00:00 2001 From: Shane Curcuru Date: Wed, 29 Jan 2025 07:51:10 -0500 Subject: [PATCH] Explicitly add a seconds separator for new nominations This is useful to make it clear to readers where an original nominator's statement ends, and any comments from seconds are. I'd appreciate a review, just to ensure it doesn't break anything different; we definitely need this separator added for our meeting process. --- lib/whimsy/asf/member-files.rb | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/lib/whimsy/asf/member-files.rb b/lib/whimsy/asf/member-files.rb index 5ce45982bc..5672bc1267 100644 --- a/lib/whimsy/asf/member-files.rb +++ b/lib/whimsy/asf/member-files.rb @@ -37,6 +37,7 @@ class MemberFiles \s*Nomination\ [sS]tatement:\s*?\r?\n+(?.*)\z }mx + SECONDS_SEPARATOR = '*** Seconds (if any; include your id) ***' # get the latest meeting directory or nomination file def self.latest_meeting(name=nil) if name.nil? # we want the parent directory @@ -130,6 +131,8 @@ def self.make_member_nomination(fields = {}) '', ' Nomination Statement:', ASFString.reflow(statement, 4, 80), + '', + SECONDS_SEPARATOR, '' ].compact.join("\n") + "\n" end @@ -151,6 +154,8 @@ def self.make_board_nomination(fields = {}) '', ' Nomination Statement:', ASFString.reflow(statement, 4, 80), + '', + SECONDS_SEPARATOR, '' ].compact.join("\n") + "\n" end