canzea 0.1.109 → 0.1.110
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/plan-step-class.rb +6 -1
- 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: 4ecf41f9a3bddda3e7c7f281525c612db5ea5b38
|
4
|
+
data.tar.gz: ed48ea606387935364739bd6f035e4c26b34949a
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: d560c3a4a174e08faf9806b128c65d3619a860d4ef69bb021ff7c2479d6ffc1d0049fd1237746d7da08db8001db0a63c0fe0d96eada468d9e3e8193011e03492
|
7
|
+
data.tar.gz: 057ffe2adcab1fedc555c229e2c98c7677b8be0d5a6a5e78845eeae2ad14b66f0af1e34f772b4ef4fe0c0345100b8128f0965eb8538fff0758f1421d52c006c4
|
data/lib/canzea/version.rb
CHANGED
data/lib/plan-step-class.rb
CHANGED
@@ -88,7 +88,12 @@ class PlanStep
|
|
88
88
|
if (md['services'].size() > 0)
|
89
89
|
svc = md['services'][0]
|
90
90
|
|
91
|
-
adef = {
|
91
|
+
adef = {
|
92
|
+
"listener"=>svc['listener'],
|
93
|
+
"service" => "#{ENV['HOSTNAME']}-#{svc['name']}",
|
94
|
+
"tags"=>[ item['role'] ],
|
95
|
+
"port"=>svc['port']
|
96
|
+
}
|
92
97
|
log "-- Registering #{svc['name']}"
|
93
98
|
h = HelperRun.new false
|
94
99
|
h.run "consul", "register_service", JSON.generate(adef)
|
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.110
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Canzea Technologies
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2017-
|
11
|
+
date: 2017-05-02 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|