cfoundry 0.3.52 → 0.3.53

Sign up to get free protection for your applications and to get access to all the features.
@@ -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[:version], meta[:debug_modes])
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 <<
@@ -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)
@@ -1,4 +1,4 @@
1
1
  module CFoundry # :nodoc:
2
2
  # CFoundry library version number.
3
- VERSION = "0.3.52"
3
+ VERSION = "0.3.53"
4
4
  end
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: 123
4
+ hash: 121
5
5
  prerelease:
6
6
  segments:
7
7
  - 0
8
8
  - 3
9
- - 52
10
- version: 0.3.52
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-05 00:00:00 Z
18
+ date: 2012-11-07 00:00:00 Z
19
19
  dependencies:
20
20
  - !ruby/object:Gem::Dependency
21
21
  name: multipart-post