lib/cfoundry/v2/app.rb in cfoundry-0.3.34 vs lib/cfoundry/v2/app.rb in cfoundry-0.3.35

- old
+ new

@@ -41,10 +41,16 @@ Instance.new(self, i.to_s, @client, m) end end def stats - @client.base.stats(@guid) + stats = {} + + @client.base.stats(@guid).each do |idx, info| + stats[idx.to_s] = info + end + + stats end def services service_bindings.collect(&:service_instance) end