hula 0.8.11 → 0.9.0
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 +5 -0
- 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: 786e62f7cc25d81e782504bf8ce01daba851f4b9
|
4
|
+
data.tar.gz: e6389e334baa17a7a31bac66640f9da98ebfa238
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: a914c0a63d28bd93ccaf6a0922469a48d5d362e9c6850e9a49f5fd366ad8472f5a5ff00c7cc04b3ef6ef894dac66d3ab875af413c413a934c4d79439331c56e8
|
7
|
+
data.tar.gz: a5c60e3b50d843d81491f3fae8757d5fa0318e94441f24d84a7639b057614f4ccd0b79a0731d747036fb017cec53d93e10bfe8d9c575f1b3ee209f36fe8b80fc
|
data/lib/hula/cloud_foundry.rb
CHANGED
@@ -173,6 +173,11 @@ 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
|
+
output = cf("service #{service_name}")
|
178
|
+
output[/^Status: .*$/].gsub('Status: ', '')
|
179
|
+
end
|
180
|
+
|
176
181
|
def assert_instance_is_in_services_list(service_name)
|
177
182
|
output = cf('services')
|
178
183
|
unless output.include?(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.
|
4
|
+
version: 0.9.0
|
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-03-02 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|