lib/config_hound/parser.rb in config_hound-1.4.0 vs lib/config_hound/parser.rb in config_hound-1.4.1
- old
+ new
@@ -14,10 +14,10 @@
protected
def parse_yaml(raw)
require "yaml"
- YAML.load(raw)
+ YAML.safe_load(raw)
end
alias :parse_yml :parse_yaml
def parse_json(raw)