lib/gumboot/strap.rb in aaf-gumboot-2.5.1 vs lib/gumboot/strap.rb in aaf-gumboot-2.6.0
- old
+ new
@@ -120,10 +120,10 @@
def message(msg)
Rails.logger.info "\n== #{msg} =="
end
def safe_load(yaml)
- YAML.safe_load(yaml, [Symbol])
+ YAML.safe_load(yaml, permitted_classes: [Symbol])
end
def merge_config(src, dest)
new_config = safe_load(File.read(src))
old_config = File.exist?(dest) ? safe_load(File.read(dest)) : {}