lib/gist_updater/config.rb in gist_updater-0.4.3 vs lib/gist_updater/config.rb in gist_updater-0.4.4
- old
+ new
@@ -28,9 +28,9 @@
private
attr_reader :file
def config
- @config ||= YAML.load(IO.read(file))
+ @config ||= YAML.safe_load(IO.read(file))
end
end
end