lib/cfoundry/v1/client.rb in cfoundry-0.3.52 vs lib/cfoundry/v1/client.rb in cfoundry-0.3.53
- old
+ new
@@ -115,11 +115,12 @@
def runtimes
runtimes = []
@base.system_runtimes.each do |name, meta|
runtimes <<
- Runtime.new(name.to_s, meta[:version], meta[:debug_modes])
+ Runtime.new(name.to_s, meta[:description], meta[:debug_modes],
+ meta[:version], meta[:status], meta[:series], meta[:category])
end
runtimes
end
@@ -133,10 +134,11 @@
return unless fs
frameworks = []
fs.each do |name, meta|
runtimes = meta[:runtimes].collect do |r|
- Runtime.new(r[:name], r[:description])
+ Runtime.new(r[:name], r[:description], nil, meta[:version],
+ meta[:status], meta[:series], meta[:category])
end
frameworks <<
Framework.new(name.to_s, nil, runtimes, meta[:detection])
end