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 +4 -4
- data/lib/canzea/version.rb +1 -1
- data/lib/prepare-environment.rb +3 -0
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 2633717fb7c604f0fdd5f4fb418d0435d7100c63
|
4
|
+
data.tar.gz: 2d3928ae33acaa35848de526b108902478d373ae
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: '06887890541f9fc7466061264dd02b3714d980daff0afbc2d78c7a33dde21c465f40e3a194a3de5b6b886f1b8744802d2b0111c57c14aede5be54e387ea047b2'
|
7
|
+
data.tar.gz: 927534226af28afba4bac2d2b7c05f15ea2de272047a2089dca4df28d96447dbfce522deb56d267b499f07fa16250abc8c92e102b65cb289b5c8b775a43790a7
|
data/lib/canzea/version.rb
CHANGED
data/lib/prepare-environment.rb
CHANGED
@@ -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.
|
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
|
+
date: 2018-11-23 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|