lib/nib/history/compose.rb in nib-2.1.0 vs lib/nib/history/compose.rb in nib-2.1.1

- old
+ new

@@ -26,10 +26,12 @@ def docker_compose_config @docker_compose_config ||= `docker-compose config` end def original_config - @original_config ||= YAML.safe_load(docker_compose_config.gsub(/\$/, '$$')) + @original_config ||= Psych.flexible_load( + docker_compose_config.gsub(/\$/, '$$') + ) end def file @file ||= Tempfile.open('compose', dir) do |compose| compose.write(config.to_yaml)