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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 8092b82ab21c4436710267deeb975cf2a7fb00c5
4
- data.tar.gz: c33969e19babbe234db43af88c2dae1f55d5d2c5
3
+ metadata.gz: 786e62f7cc25d81e782504bf8ce01daba851f4b9
4
+ data.tar.gz: e6389e334baa17a7a31bac66640f9da98ebfa238
5
5
  SHA512:
6
- metadata.gz: 52be92c015b82db5815070997fc3132d960fcb8b79352357e211697865b2bffb42056befd9172cc2f547af9da1f6103a316126bcacf279e5608f3154fbf673fd
7
- data.tar.gz: c1e943aba63c60b9df8243c63814b9ed884367864ea0cb585edf11b032c150a8a836946053959dad105a9e0bf6e882558ec5762fae415c677d424357e6983f50
6
+ metadata.gz: a914c0a63d28bd93ccaf6a0922469a48d5d362e9c6850e9a49f5fd366ad8472f5a5ff00c7cc04b3ef6ef894dac66d3ab875af413c413a934c4d79439331c56e8
7
+ data.tar.gz: a5c60e3b50d843d81491f3fae8757d5fa0318e94441f24d84a7639b057614f4ccd0b79a0731d747036fb017cec53d93e10bfe8d9c575f1b3ee209f36fe8b80fc
@@ -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
@@ -9,5 +9,5 @@
9
9
  #
10
10
 
11
11
  module Hula
12
- VERSION = '0.8.11'
12
+ VERSION = '0.9.0'
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.8.11
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-01-23 00:00:00.000000000 Z
11
+ date: 2017-03-02 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler