pcf_blue_green 0.1.9 → 0.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: f70c10977e4d84fa5026db7c30cb20bb6c8893df
4
- data.tar.gz: e864c83ff3517e0bfb0ead4863b48f47a5820049
3
+ metadata.gz: 2c26974864a9203633d308ef8c1683706ad3f66a
4
+ data.tar.gz: 22478f9d5690f1e22fe68975f2b0f01611a195b8
5
5
  SHA512:
6
- metadata.gz: 3cd58888f096f4d2833a6117eb553b661b74e69da646c14204e0b2f13dc16fec71a5fb2d21400552b8a5a449426288b8a26b35173ddcd1d2137d29703119e722
7
- data.tar.gz: b6e4fd9e8b3990e5e29ff830da2c2d1bc298c433ea7b890c7e5a5103d50c2952d978e042301cadfada9a0608a74abdfac156504e6150df4323b54136116c4e9a
6
+ metadata.gz: 0edda7a36592d455476bbfe3866eec30853ec1d524d7c5567774cb4d811d91b5ab65c7cba49de8d65fc291ff4003eead21f480e458e24e9e7e685c999576dc84
7
+ data.tar.gz: dfac44b727db5ca1b55b79e5fb3a517111857b3afe2758d837b86bf6143a331defd49ac663264b0948716d5a4dfae19cd8a85da3e78973ba39b441cdd87a83f0
@@ -36,7 +36,8 @@ module PcfBlueGreen
36
36
  tmp_stdout['resources'].each do |resource|
37
37
  tmp_json = resource if resource['entity']['name'] == app
38
38
  end
39
- environments = tmp_json['entity']['environment_json']
39
+ environments = tmp_json['entity']['environment_json'].map { |k,v| [k, "'#{v}'"]}.to_h
40
+
40
41
  open(manifest_file_path, 'a') do |f|
41
42
  environments.each do |env|
42
43
  f.puts "\s\s\s\s#{env.join(': ')}"
@@ -1,3 +1,3 @@
1
1
  module PcfBlueGreen
2
- VERSION = "0.1.9"
2
+ VERSION = "0.2"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: pcf_blue_green
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.9
4
+ version: '0.2'
5
5
  platform: ruby
6
6
  authors:
7
7
  - Pawel Bardzinski