Skip to content
Extraits de code Groupes Projets
Valider 8507dc86 rédigé par danielgrippi's avatar danielgrippi
Parcourir les fichiers

attempt to make travis happy

parent e16a20e1
Aucune branche associée trouvée
Aucune étiquette associée trouvée
Aucune requête de fusion associée trouvée
...@@ -19,9 +19,12 @@ class Server ...@@ -19,9 +19,12 @@ class Server
end end
def self.all def self.all
@servers ||= ActiveRecord::Base.configurations.keys.select{ @servers ||= lambda {
|k| k.include?("integration") keys = ActiveRecord::Base.configurations.keys.select{
}.map{ |k| self.new(k) } |k| k.include?("integration")
}
keys ? keys.map{ |k| self.new(k) } : []
}.call
end end
attr_reader :port, :env attr_reader :port, :env
......
0% Chargement en cours ou .
You are about to add 0 people to the discussion. Proceed with caution.
Veuillez vous inscrire ou vous pour commenter