canzea 0.1.173 → 0.1.174

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: ec88a18306083c65200833f06ce240837b8cfa8c
4
- data.tar.gz: b928be1c4dd7b84679e947abc44c177a340951fc
3
+ metadata.gz: 2633717fb7c604f0fdd5f4fb418d0435d7100c63
4
+ data.tar.gz: 2d3928ae33acaa35848de526b108902478d373ae
5
5
  SHA512:
6
- metadata.gz: 77394dad1c1eb37d611b54534ea7c671cd39914149452fd32d070d413e58cbbdde0dc3a5fafa19fc08094f2771fe57088eb163731c8fd69c192ccbf14f327c71
7
- data.tar.gz: 4c324ddc283e937930f4420a805f3fbb3605f79ac5a525e3dc32eaca100a0e3026502583a49168f4ab5cec355a895abc1fcaa1be070e6afcc1565e73f4ffd159
6
+ metadata.gz: '06887890541f9fc7466061264dd02b3714d980daff0afbc2d78c7a33dde21c465f40e3a194a3de5b6b886f1b8744802d2b0111c57c14aede5be54e387ea047b2'
7
+ data.tar.gz: 927534226af28afba4bac2d2b7c05f15ea2de272047a2089dca4df28d96447dbfce522deb56d267b499f07fa16250abc8c92e102b65cb289b5c8b775a43790a7
@@ -1,3 +1,3 @@
1
1
  module Canzea
2
- VERSION = "0.1.173"
2
+ VERSION = "0.1.174"
3
3
  end
@@ -104,16 +104,19 @@ class PrepareEnvironment
104
104
 
105
105
  key = "" + svc['name'].upcase + "_ADDRESS"
106
106
  key = key.gsub(/\./, '')
107
+ key = key.gsub(/-/, '_')
107
108
  log.info("Setting: " + key + " : " + s["ServiceAddress"])
108
109
  ENV.store(key, s["ServiceAddress"])
109
110
 
110
111
  key = "" + svc['name'].upcase + "_PORT"
111
112
  key = key.gsub(/\./, '')
113
+ key = key.gsub(/-/, '_')
112
114
  log.info("Setting: " + key + " : " + String(s["ServicePort"]))
113
115
  ENV.store(key, String(s["ServicePort"]))
114
116
 
115
117
  key = "" + svc['name'].upcase + "_URL"
116
118
  key = key.gsub(/\./, '')
119
+ key = key.gsub(/-/, '_')
117
120
  val = "http://" + s["ServiceAddress"] + ":" + String(s["ServicePort"])
118
121
  log.info("Setting: " + key + " : " + val)
119
122
  ENV.store(key, val)
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: canzea
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.173
4
+ version: 0.1.174
5
5
  platform: ruby
6
6
  authors:
7
7
  - Canzea Technologies
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2018-11-11 00:00:00.000000000 Z
11
+ date: 2018-11-23 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler