hula 0.9.1 → 0.9.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/hula/cloud_foundry.rb +4 -2
- data/lib/hula/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 05fa96e3b4c99ec177ffb0fd9c2cb45ca42e1637
|
4
|
+
data.tar.gz: 86cec64924a6562dbb1201e45cd3a5934153934c
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 1b8cdb8c457e45c13ec6b0962fbd2f0fcaa902671c8be99146e584b3211d7171994bac5c4bc905466a05138a3f322d8af25707e104e27e0375f15eaa28640183
|
7
|
+
data.tar.gz: 6079ae32452fdec05fbf7d7de0c73efb7d938ad09dec95cdf46148aa24d12a2ac7fa404ef005982ac5dffd4c25e26040ba77b0d0d2d63a503647f188eb180115
|
data/lib/hula/cloud_foundry.rb
CHANGED
@@ -173,8 +173,10 @@ module Hula
|
|
173
173
|
cf("delete-service -f #{name}", allow_failure: allow_failure)
|
174
174
|
end
|
175
175
|
|
176
|
-
def get_service_status(service_name)
|
177
|
-
|
176
|
+
def get_service_status(service_name, options = {})
|
177
|
+
allow_failure = options.fetch(:allow_failure, false)
|
178
|
+
|
179
|
+
output = cf("service #{service_name}", allow_failure: allow_failure)
|
178
180
|
|
179
181
|
missing_instance_message = "Service instance #{service_name} not found"
|
180
182
|
if output.include? missing_instance_message
|
data/lib/hula/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: hula
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.9.
|
4
|
+
version: 0.9.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Will Pragnell
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2017-04-
|
11
|
+
date: 2017-04-12 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|