attempt to make travis happy
This commit is contained in:
parent
e16a20e18c
commit
8507dc864f
1 changed files with 6 additions and 3 deletions
|
|
@ -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
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue