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 0621701 More strictness bugs
0621701 is described below
commit 06217010a4dd82587c5fd1caa128412ca970b2de
Author: Sebb <[email protected]>
AuthorDate: Fri Jan 14 02:02:33 2022 +0000
More strictness bugs
---
lib/whimsy/asf/podling.rb | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/lib/whimsy/asf/podling.rb b/lib/whimsy/asf/podling.rb
index 92c5ec3..cec1658 100644
--- a/lib/whimsy/asf/podling.rb
+++ b/lib/whimsy/asf/podling.rb
@@ -328,7 +328,7 @@ module ASF
incubator_content = ASF::SVN['incubator-podlings']
resource_yml = File.join(incubator_content, "#{@resource}.yml")
if File.exist?(resource_yml)
- rawYaml = Psych.load_file(resource_yml)
+ rawYaml = Psych.load_file(resource_yml, permitted_classes: [Date,
Symbol])
hash = { }
hash[:sga] = rawYaml[:sga].strftime('%Y-%m-%d') if rawYaml[:sga]
hash[:asfCopyright] = rawYaml[:asfCopyright].strftime('%Y-%m-%d') if
rawYaml[:asfCopyright]