pcf_blue_green 0.42 → 0.43

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: 7a80a49b6617e643a3caf2b7b0fb763d86c6d176
4
- data.tar.gz: 9c4579f4f226242b684910ae0c1dacc01e8087aa
3
+ metadata.gz: 953e9cbb8d2784b95052b80b9d9e32d514a40760
4
+ data.tar.gz: e8876fc8b3c065fff34dc97d9a529fea1b2bd9f1
5
5
  SHA512:
6
- metadata.gz: 9c82414a91df20aaf912765a612da054b8b1c9d3d56a8c31c2616147371f5720850eed2721ae455f0cab2afac92185d55d1f4dc5b04fbc10de52cf70b7f48177
7
- data.tar.gz: 16ed65e89bf7e8673af874c90dd9109c5affc2e8d874722cab231bc990213e5c57d595ecbde052a18aa307b8c31409b73c780371ef93ce677e41d02cfe1960df
6
+ metadata.gz: 715e2d0d7fc36adb87f0711d4d89ab24e9290f3edb9655807f48eb657061fefb05e112ef89a6011aa6e905bdcbf7392f92a7e74dbd26e95d95e8b8c8cbed5928
7
+ data.tar.gz: bc242e2fb0167a99a0a00f6483c5232290386b446af91935c05ecd2ed71514e82492601073e82d3dd2d09415ce9ec42ee72bbf1784b3b392f459c640d3c5c6ba
@@ -66,9 +66,12 @@ module PcfBlueGreen
66
66
  puts "green is #{ENV['green']}"
67
67
  mapped_routes = []
68
68
  if entity = entity_for(ENV['cf_app'])
69
+ puts routes_stdout(entity)['resources']
69
70
  routes_stdout(entity)['resources'].each do |resource|
70
71
  domain_url = resource['entity']['domain_url']
71
72
  domain = domain_for(domain_url)
73
+ puts "path: #{resource['entity']['path']}"
74
+ puts "is empty?: resource['entity']['path'].empty?"
72
75
  if resource['entity']['path'].empty?
73
76
  cmd = "#{map_route_command} #{ENV['green']} #{domain} -n #{resource['entity']['host']}"
74
77
  else
@@ -1,3 +1,3 @@
1
1
  module PcfBlueGreen
2
- VERSION = "0.42"
2
+ VERSION = "0.43"
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.42'
4
+ version: '0.43'
5
5
  platform: ruby
6
6
  authors:
7
7
  - Pawel Bardzinski