Skip to content
Extraits de code Groupes Projets
Valider 41effa7b rédigé par Jonne Hass's avatar Jonne Hass
Parcourir les fichiers

load oauth_keys.yml.example as default so I don't have to touch my...

load oauth_keys.yml.example as default so I don't have to touch my oauth_keys.yml to have the specs pass on my machine
parent 58674686
Aucune branche associée trouvée
Aucune étiquette associée trouvée
Aucune requête de fusion associée trouvée
......@@ -11,9 +11,8 @@ oauth_keys_file = "#{Rails.root}/config/oauth_keys.yml"
SERVICES = nil
silence_warnings do
SERVICES = load_config_yaml("#{oauth_keys_file}.example")
if File.exist? oauth_keys_file
SERVICES = load_config_yaml(oauth_keys_file)
else
SERVICES = load_config_yaml("#{oauth_keys_file}.example")
SERVICES.deep_merge(load_config_yaml(oauth_keys_file))
end
end
\ No newline at end of file
end
0% Chargement en cours ou .
You are about to add 0 people to the discussion. Proceed with caution.
Terminez d'abord l'édition de ce message.
Veuillez vous inscrire ou vous pour commenter