Revert "attempt to make travis happy" [ci skip]
This reverts commit 8507dc864f.
This commit is contained in:
parent
8507dc864f
commit
52c8540091
1 changed files with 3 additions and 6 deletions
|
|
@ -19,12 +19,9 @@ class Server
|
||||||
end
|
end
|
||||||
|
|
||||||
def self.all
|
def self.all
|
||||||
@servers ||= lambda {
|
@servers ||= ActiveRecord::Base.configurations.keys.select{
|
||||||
keys = ActiveRecord::Base.configurations.keys.select{
|
|
||||||
|k| k.include?("integration")
|
|k| k.include?("integration")
|
||||||
}
|
}.map{ |k| self.new(k) }
|
||||||
keys ? keys.map{ |k| self.new(k) } : []
|
|
||||||
}.call
|
|
||||||
end
|
end
|
||||||
|
|
||||||
attr_reader :port, :env
|
attr_reader :port, :env
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue