nerve-easy 0.1.4 → 0.1.5
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/nerve/easy/service.rb +2 -0
- data/lib/nerve/easy/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: ffe2fb425a6aad3648e089826117e92499536b29
|
4
|
+
data.tar.gz: d745e51b05e932a27ac05ac4c49fdbfa8bac25d3
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 5e80259de68ee6e82bc72cf368fa4fb6de401e43d732756dc43895304a52c9b80e6a4173438a30d23b55102c87361e8d2e19c62dd9e64188b898a138a6b32ebe
|
7
|
+
data.tar.gz: ae0092f56141c147e0c777714f42286aa0b30c1fb59179e2ca90395a4ec1ee28267c25c42928d685077d3f9a2660ac68228c7511be4502babd75f6863f57e4cc
|
data/lib/nerve/easy/service.rb
CHANGED
@@ -33,6 +33,8 @@ module Nerve
|
|
33
33
|
@suffix ||= "services"
|
34
34
|
@name = params[:name]
|
35
35
|
@name = "#{@customer}_#{@application}_#{@function}" unless @name
|
36
|
+
@zk_path = nil
|
37
|
+
@zk_path = params[:zk_path]
|
36
38
|
@zk_path ||= Pathname.new("/#{@registry}").join(@customer,@application,@function,@suffix).to_s
|
37
39
|
end
|
38
40
|
def to_nerve
|
data/lib/nerve/easy/version.rb
CHANGED