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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 786e62f7cc25d81e782504bf8ce01daba851f4b9
4
- data.tar.gz: e6389e334baa17a7a31bac66640f9da98ebfa238
3
+ metadata.gz: db4b7e3253ae5c4dd1fdf24c8a4305d40c1d31db
4
+ data.tar.gz: 3b89ae8004d95cbeec07052ca2f5056db0a2d7d3
5
5
  SHA512:
6
- metadata.gz: a914c0a63d28bd93ccaf6a0922469a48d5d362e9c6850e9a49f5fd366ad8472f5a5ff00c7cc04b3ef6ef894dac66d3ab875af413c413a934c4d79439331c56e8
7
- data.tar.gz: a5c60e3b50d843d81491f3fae8757d5fa0318e94441f24d84a7639b057614f4ccd0b79a0731d747036fb017cec53d93e10bfe8d9c575f1b3ee209f36fe8b80fc
6
+ metadata.gz: 086e97d585af271e1e5f12c63c3a383c34758e9a38ee66c4209fa448c0645f7a7ebb62e2e59624c23260a08f173ee0586119ed7565ff3f7b5f94ecbc99cd9456
7
+ data.tar.gz: d4b134f72ea133bef9c5788d825aaa1a075471c037181bfe91828be1a014df553788281ce3e9433c5f361839d4c9d8f1c504272aa0fccc2914cb17b278d04b88
@@ -175,7 +175,13 @@ module Hula
175
175
 
176
176
  def get_service_status(service_name)
177
177
  output = cf("service #{service_name}")
178
- output[/^Status: .*$/].gsub('Status: ', '')
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
@@ -9,5 +9,5 @@
9
9
  #
10
10
 
11
11
  module Hula
12
- VERSION = '0.9.0'
12
+ VERSION = '0.9.1'
13
13
  end
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.0
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-03-02 00:00:00.000000000 Z
11
+ date: 2017-04-10 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler