hula 0.8.10 → 0.8.11
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/hula/bosh_director.rb +6 -1
- data/lib/hula/version.rb +1 -1
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 8092b82ab21c4436710267deeb975cf2a7fb00c5
|
4
|
+
data.tar.gz: c33969e19babbe234db43af88c2dae1f55d5d2c5
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 52be92c015b82db5815070997fc3132d960fcb8b79352357e211697865b2bffb42056befd9172cc2f547af9da1f6103a316126bcacf279e5608f3154fbf673fd
|
7
|
+
data.tar.gz: c1e943aba63c60b9df8243c63814b9ed884367864ea0cb585edf11b032c150a8a836946053959dad105a9e0bf6e882558ec5762fae415c677d424357e6983f50
|
data/lib/hula/bosh_director.rb
CHANGED
@@ -181,7 +181,12 @@ module Hula
|
|
181
181
|
attr_reader :target_url, :username, :password, :command_runner, :logger
|
182
182
|
|
183
183
|
def job_properties(job_name)
|
184
|
-
manifest.
|
184
|
+
if manifest.has_key?('instance_groups')
|
185
|
+
key = "instance_groups"
|
186
|
+
else
|
187
|
+
key = "jobs"
|
188
|
+
end
|
189
|
+
manifest.fetch(key).find { |job| job.fetch('name') == job_name }.tap do |properties|
|
185
190
|
fail ArgumentError.new('Job not found in manifest') unless properties
|
186
191
|
end
|
187
192
|
end
|
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.8.
|
4
|
+
version: 0.8.11
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Will Pragnell
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2017-01-23 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|
@@ -228,7 +228,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
228
228
|
version: '0'
|
229
229
|
requirements: []
|
230
230
|
rubyforge_project:
|
231
|
-
rubygems_version: 2.
|
231
|
+
rubygems_version: 2.5.1
|
232
232
|
signing_key:
|
233
233
|
specification_version: 4
|
234
234
|
summary: A tasty wrapper around cf, and more...
|