Warn about using diaspora.yml

This commit is contained in:
Jonne Haß 2020-07-10 15:04:13 +02:00
parent 15c11b87ca
commit b75254bdda

View file

@ -42,6 +42,9 @@ AppConfig ||= Configurate::Settings.create do
File.join(config_dir, "diaspora.toml"),
namespace: "configuration", required: false
else
warn "WARNING: diaspora.yml is deprecated and will no longer be read in diaspora 0.9."
warn " Please copy over diaspora.toml.example to diaspora.toml and migrate your settings from diaspora.yml."
add_provider Configurate::Provider::YAML,
File.join(config_dir, "diaspora.yml"),
namespace: rails_env, required: false