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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: db4b7e3253ae5c4dd1fdf24c8a4305d40c1d31db
4
- data.tar.gz: 3b89ae8004d95cbeec07052ca2f5056db0a2d7d3
3
+ metadata.gz: 05fa96e3b4c99ec177ffb0fd9c2cb45ca42e1637
4
+ data.tar.gz: 86cec64924a6562dbb1201e45cd3a5934153934c
5
5
  SHA512:
6
- metadata.gz: 086e97d585af271e1e5f12c63c3a383c34758e9a38ee66c4209fa448c0645f7a7ebb62e2e59624c23260a08f173ee0586119ed7565ff3f7b5f94ecbc99cd9456
7
- data.tar.gz: d4b134f72ea133bef9c5788d825aaa1a075471c037181bfe91828be1a014df553788281ce3e9433c5f361839d4c9d8f1c504272aa0fccc2914cb17b278d04b88
6
+ metadata.gz: 1b8cdb8c457e45c13ec6b0962fbd2f0fcaa902671c8be99146e584b3211d7171994bac5c4bc905466a05138a3f322d8af25707e104e27e0375f15eaa28640183
7
+ data.tar.gz: 6079ae32452fdec05fbf7d7de0c73efb7d938ad09dec95cdf46148aa24d12a2ac7fa404ef005982ac5dffd4c25e26040ba77b0d0d2d63a503647f188eb180115
@@ -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
- output = cf("service #{service_name}")
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
@@ -9,5 +9,5 @@
9
9
  #
10
10
 
11
11
  module Hula
12
- VERSION = '0.9.1'
12
+ VERSION = '0.9.2'
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.1
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-10 00:00:00.000000000 Z
11
+ date: 2017-04-12 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler