lib/cloudstrap/config.rb in cloudstrap-0.40.0.pre vs lib/cloudstrap/config.rb in cloudstrap-0.40.1.pre
- old
+ new
@@ -200,10 +200,10 @@
end
Contract None => Hash
def config
@settings ||= if File.exist?(path)
- YAML.load_file(path)
+ YAML.load_file(path).map { |k, v| [k, v.to_s] }.to_h
else
{}
end
end
end