lib/octopress-ink/assets/config.rb in octopress-ink-1.0.0.alpha.22 vs lib/octopress-ink/assets/config.rb in octopress-ink-1.0.0.alpha.23
- old
+ new
@@ -22,15 +22,15 @@
def read(site)
config = {}
if @plugin.type != 'local_plugin'
default = plugin_path
if exists? default
- config = YAML::load(File.open(default))
+ config = YAML.safe_load(File.open(default))
end
end
override = user_path(site)
if exists? override
- config = config.deep_merge YAML::load(File.open(override))
+ config = config.deep_merge YAML.safe_load(File.open(override))
end
config
end
end
end