A quick scan of your last commit:
+ USER_AFFIRMATION_FILE = signerfile if stem == USERID
The above line attempts to modify a constant. That will fail.
+ SIGNERS[stem] = signerfile unless stem == 'template'
The above line is OK... modifying the contents of a hash doesn't
change the value of SIGNERS.
.gsub("Signed: __", "Signed: __________#{name}___________")
- .gsub("Date: __", " Date: __________#{timestamp}______")
+ .gsub("Date: __", "Date: __________#{timestamp}______")
Depending on the length of the name, the above will result in
different length lines.
Consider using string.center:
https://ruby-doc.org/core-2.4.0/String.html#method-i-center
- Sam Ruby