pcf_blue_green 0.43.1 → 0.43.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: e28f8b4886c6a03687522f23f106600b2683f4c4
4
- data.tar.gz: 16bb69020c392204a5c7a7c73f0bd1bc7f49d13f
3
+ metadata.gz: 33782d6af5e636eabbfe524db4dd0d42973bcac9
4
+ data.tar.gz: 4cc1288b6e243aa209deeb3c63fff81ac993a461
5
5
  SHA512:
6
- metadata.gz: 94855ffafa10b835dbe1f5a4630f6453f92cd3732ff3bc17176597739b06e531a8b25d074c30d626a1b9ff634e9d10c0284b42542c01e7d67b98954e9e3ba444
7
- data.tar.gz: 1317ed5a79b69c24f52b21f29058c03ec3482e39fe5d48f1ddf3157ba7c65b0967c093173bf001d574e3ee2989ae97276f3b299bc56b5a23e3ed6f25dddc2ed1
6
+ metadata.gz: 5adf584e6910896416d6819ef6f0281d10668a4d1d86b28d73a390c6ee2109ec64dd43177a633c8d6fdaa3b887ade251ac5d2df7cee553d228955169177f6699
7
+ data.tar.gz: a26b681e7e43b1e7891ceeb6836e32387ac42fd35f3c7d6bb3326bcba738f5301e8900330d3a9e17965e335b75f5208a60e739e638782efa4868b88300770f36
@@ -66,14 +66,10 @@ module PcfBlueGreen
66
66
  puts "green is #{ENV['green']}"
67
67
  mapped_routes = []
68
68
  entity = entity_for(ENV['cf_app'])
69
- puts entity
70
69
  if entity
71
- puts routes_stdout(entity)['resources']
72
70
  routes_stdout(entity)['resources'].each do |resource|
73
71
  domain_url = resource['entity']['domain_url']
74
72
  domain = domain_for(domain_url)
75
- puts "path: #{resource['entity']['path']}"
76
- puts "is empty?: resource['entity']['path'].empty?"
77
73
  if resource['entity']['path'].empty?
78
74
  cmd = "#{map_route_command} #{ENV['green']} #{domain} -n #{resource['entity']['host']}"
79
75
  else
@@ -120,9 +116,6 @@ module PcfBlueGreen
120
116
  space_guid = nil
121
117
  raise Csaa::Pcf::Unauthorized unless space_guid_json(shell.stdout)['resources']
122
118
  space_guid_json(shell.stdout)['resources'].each do |resource|
123
- puts "space guid"
124
- puts resource
125
- puts @space
126
119
  if resource['entity']['name'] == @space
127
120
  space_guid = resource['metadata']['guid']
128
121
  end
@@ -1,3 +1,3 @@
1
1
  module PcfBlueGreen
2
- VERSION = "0.43.1"
2
+ VERSION = "0.43.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.43.1
4
+ version: 0.43.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Pawel Bardzinski