cfoundry 0.3.52 → 0.3.53
Sign up to get free protection for your applications and to get access to all the features.
- data/lib/cfoundry/v1/client.rb +4 -2
- data/lib/cfoundry/v1/runtime.rb +9 -2
- data/lib/cfoundry/version.rb +1 -1
- metadata +4 -4
data/lib/cfoundry/v1/client.rb
CHANGED
@@ -117,7 +117,8 @@ module CFoundry::V1
|
|
117
117
|
|
118
118
|
@base.system_runtimes.each do |name, meta|
|
119
119
|
runtimes <<
|
120
|
-
Runtime.new(name.to_s, meta[:
|
120
|
+
Runtime.new(name.to_s, meta[:description], meta[:debug_modes],
|
121
|
+
meta[:version], meta[:status], meta[:series], meta[:category])
|
121
122
|
end
|
122
123
|
|
123
124
|
runtimes
|
@@ -135,7 +136,8 @@ module CFoundry::V1
|
|
135
136
|
frameworks = []
|
136
137
|
fs.each do |name, meta|
|
137
138
|
runtimes = meta[:runtimes].collect do |r|
|
138
|
-
Runtime.new(r[:name], r[:description]
|
139
|
+
Runtime.new(r[:name], r[:description], nil, meta[:version],
|
140
|
+
meta[:status], meta[:series], meta[:category])
|
139
141
|
end
|
140
142
|
|
141
143
|
frameworks <<
|
data/lib/cfoundry/v1/runtime.rb
CHANGED
@@ -1,11 +1,18 @@
|
|
1
1
|
module CFoundry::V1
|
2
2
|
class Runtime
|
3
|
-
attr_accessor :name, :description, :debug_modes
|
3
|
+
attr_accessor :name, :description, :debug_modes,
|
4
|
+
:version, :status, :series, :category
|
4
5
|
|
5
|
-
def initialize(name, description = nil, debug_modes = nil
|
6
|
+
def initialize(name, description = nil, debug_modes = nil,
|
7
|
+
version = nil, status = nil, series = nil,
|
8
|
+
category = nil)
|
6
9
|
@name = name
|
7
10
|
@description = description
|
8
11
|
@debug_modes = debug_modes
|
12
|
+
@version = version
|
13
|
+
@status = status
|
14
|
+
@series = series
|
15
|
+
@category = category
|
9
16
|
end
|
10
17
|
|
11
18
|
def eql?(other)
|
data/lib/cfoundry/version.rb
CHANGED
metadata
CHANGED
@@ -1,13 +1,13 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: cfoundry
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
hash:
|
4
|
+
hash: 121
|
5
5
|
prerelease:
|
6
6
|
segments:
|
7
7
|
- 0
|
8
8
|
- 3
|
9
|
-
-
|
10
|
-
version: 0.3.
|
9
|
+
- 53
|
10
|
+
version: 0.3.53
|
11
11
|
platform: ruby
|
12
12
|
authors:
|
13
13
|
- Alex Suraci
|
@@ -15,7 +15,7 @@ autorequire:
|
|
15
15
|
bindir: bin
|
16
16
|
cert_chain: []
|
17
17
|
|
18
|
-
date: 2012-11-
|
18
|
+
date: 2012-11-07 00:00:00 Z
|
19
19
|
dependencies:
|
20
20
|
- !ruby/object:Gem::Dependency
|
21
21
|
name: multipart-post
|