cfoundry 0.3.53 → 0.3.54
Sign up to get free protection for your applications and to get access to all the features.
- data/lib/cfoundry/v1/runtime.rb +12 -0
- data/lib/cfoundry/version.rb +1 -1
- metadata +3 -3
data/lib/cfoundry/v1/runtime.rb
CHANGED
@@ -23,5 +23,17 @@ module CFoundry::V1
|
|
23
23
|
def apps
|
24
24
|
[] # not supported by v1
|
25
25
|
end
|
26
|
+
|
27
|
+
def deprecated?
|
28
|
+
status && status[:name] == "deprecated"
|
29
|
+
end
|
30
|
+
|
31
|
+
def next?
|
32
|
+
status && status[:name] == "next"
|
33
|
+
end
|
34
|
+
|
35
|
+
def current?
|
36
|
+
status.nil? || status[:name] == "current"
|
37
|
+
end
|
26
38
|
end
|
27
39
|
end
|
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: 127
|
5
5
|
prerelease:
|
6
6
|
segments:
|
7
7
|
- 0
|
8
8
|
- 3
|
9
|
-
-
|
10
|
-
version: 0.3.
|
9
|
+
- 54
|
10
|
+
version: 0.3.54
|
11
11
|
platform: ruby
|
12
12
|
authors:
|
13
13
|
- Alex Suraci
|