hula 0.8.8 → 0.8.9

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: a1aac14a5138249fab8b88a3d11e2bd8e18ef9a1
4
- data.tar.gz: b586d47a4c36738cec1da53ed92f9f00d0ae8e56
3
+ metadata.gz: 39a9cf052b70390a4d6f7a43a564a2f1cb705b37
4
+ data.tar.gz: 23223b208abd02f29e6d2f0d974f748b6c4a6025
5
5
  SHA512:
6
- metadata.gz: 29190392dd73f82c05be36c8854623aa380f8b00f8a5213218489d813eed41c1b9064d916fa7f8557785d196f0bbd9610d4de1040e62557b7d5585413fa82d13
7
- data.tar.gz: eaf5b1ced50bcc16c500928e9f2604f79e419211bcdd8fafbce58b563b7c45398abe9893bfc8da0f82424a81e2e6d789b542edf4b55bb596edaa2be7b7263e56
6
+ metadata.gz: 76c6ec126c77ae2a4518db4d0ec7faec4249886338b9be3e169e95536c416c79b2301dbc2a217816417521455fbdf530bdfcb0e55b0d4dc2bd9f0ca37ed94ce1
7
+ data.tar.gz: 15d21fd82ee7b2fcd0b6e9765b9a912ba46b1e8be122c38bc486409fdf00767aa63d5ede97c1680bcbdabb559251805d2c24c2b7da5acd1ecc830553976f3f7b
@@ -170,9 +170,10 @@ module Hula
170
170
  end
171
171
 
172
172
  def download_manifest(deployment_name)
173
- output = run_bosh("download manifest #{deployment_name}")
174
- manifest_output = output.split("\n")[1..-1].join("\n")
175
- YAML.load("#{manifest_output}")
173
+ Tempfile.open 'manifest' do |file|
174
+ run_bosh("download manifest #{deployment_name} #{file.path}")
175
+ return YAML.load_file("#{file.path}")
176
+ end
176
177
  end
177
178
 
178
179
  private
data/lib/hula/version.rb CHANGED
@@ -9,5 +9,5 @@
9
9
  #
10
10
 
11
11
  module Hula
12
- VERSION = '0.8.8'
12
+ VERSION = '0.8.9'
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.8
4
+ version: 0.8.9
5
5
  platform: ruby
6
6
  authors:
7
7
  - Will Pragnell
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2016-04-22 00:00:00.000000000 Z
11
+ date: 2016-04-25 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.4.5
231
+ rubygems_version: 2.6.3
232
232
  signing_key:
233
233
  specification_version: 4
234
234
  summary: A tasty wrapper around cf, and more...