From a8221ebac01933a6cb309094e799dca22bc5a75c Mon Sep 17 00:00:00 2001 From: Bohung Date: Sat, 24 Apr 2021 18:50:31 +0800 Subject: [PATCH] Fix bug. --- seminar.gemspec | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/seminar.gemspec b/seminar.gemspec index ff7a5c7..a1ce638 100644 --- a/seminar.gemspec +++ b/seminar.gemspec @@ -2,7 +2,7 @@ # stub: seminar 0.0.1 ruby lib require "yaml" data = File.open(File.join(File.dirname(__FILE__), 'config', 'list.yml')).read -$seminar_list = YAML::load(ERB.new(data).result(binding)).symbolize_keys +$seminar_list = YAML.safe_load(ERB.new(data).result(binding)) Gem::Specification.new do |s| s.name = "seminar" s.version = "0.0.1"