hula 0.9.0 → 0.9.1
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 +7 -1
- 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: db4b7e3253ae5c4dd1fdf24c8a4305d40c1d31db
|
4
|
+
data.tar.gz: 3b89ae8004d95cbeec07052ca2f5056db0a2d7d3
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 086e97d585af271e1e5f12c63c3a383c34758e9a38ee66c4209fa448c0645f7a7ebb62e2e59624c23260a08f173ee0586119ed7565ff3f7b5f94ecbc99cd9456
|
7
|
+
data.tar.gz: d4b134f72ea133bef9c5788d825aaa1a075471c037181bfe91828be1a014df553788281ce3e9433c5f361839d4c9d8f1c504272aa0fccc2914cb17b278d04b88
|
data/lib/hula/cloud_foundry.rb
CHANGED
@@ -175,7 +175,13 @@ module Hula
|
|
175
175
|
|
176
176
|
def get_service_status(service_name)
|
177
177
|
output = cf("service #{service_name}")
|
178
|
-
|
178
|
+
|
179
|
+
missing_instance_message = "Service instance #{service_name} not found"
|
180
|
+
if output.include? missing_instance_message
|
181
|
+
missing_instance_message
|
182
|
+
else
|
183
|
+
output[/^Status: .*$/].gsub('Status: ', '')
|
184
|
+
end
|
179
185
|
end
|
180
186
|
|
181
187
|
def assert_instance_is_in_services_list(service_name)
|
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.1
|
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-
|
11
|
+
date: 2017-04-10 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|