lib/grumlin.rb in grumlin-1.0.4 vs lib/grumlin.rb in grumlin-1.1.0
- old
+ new
@@ -179,10 +179,10 @@
pool.close
t.thread_variable_set(:grumlin_default_pool, nil)
end
def definitions
- @definitions ||= YAML.safe_load(File.read(File.join(__dir__, "definitions.yml")), symbolize_names: true)
+ @definitions ||= YAML.safe_load_file(File.join(__dir__, "definitions.yml"), symbolize_names: true)
end
def fake_uuid(*parts, separator: "->")
uuid = Digest::MD5.hexdigest(parts.join(separator))