cfoundry 0.3.53 → 0.3.54

Sign up to get free protection for your applications and to get access to all the features.
@@ -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
@@ -1,4 +1,4 @@
1
1
  module CFoundry # :nodoc:
2
2
  # CFoundry library version number.
3
- VERSION = "0.3.53"
3
+ VERSION = "0.3.54"
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: 121
4
+ hash: 127
5
5
  prerelease:
6
6
  segments:
7
7
  - 0
8
8
  - 3
9
- - 53
10
- version: 0.3.53
9
+ - 54
10
+ version: 0.3.54
11
11
  platform: ruby
12
12
  authors:
13
13
  - Alex Suraci