Closed dastra-mak closed 2 years ago
This change looks sane, thank you very much. One question though: Are you sure that Psych
is available in each Ruby (2.5+) without any require
?
Yes, it is part of stdlib from 1.9.2 on (see https://github.com/ruby/psych#installation)
In v9.1.0 in noticed that the
geordi dump
command fails in projects that include YAML aliases in the database.yml file:database.yml
:In my project Psych
v4.0.1
was used. The load method changed, to usesafe_load
instead. As the psych version is not fixed in geordi, I added a version switch that can cope with new and old versions.