entrance-publisher 0.1.2 → 0.1.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/entrance/publisher/agent.rb +2 -2
- data/lib/entrance/publisher/version.rb +1 -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: e9908de60b3790a967d6a005bda5490244991f36
|
4
|
+
data.tar.gz: 6c96b7e629f5d200090c332fcb1feccca4f3f5f2
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: eddd0cff061d07a7abd2b9491fbe653dfc832112b294a88b1d5ac35b60e976b055963b3f79293dc0f0c34ac1a5b150039880b65d41da633f1cee06e1eacfbd40
|
7
|
+
data.tar.gz: fdecc8da676aff726badf1d184240a9009f2c9ad771aa8c684cb165c7c5aaa156a7c240c1255a3fe30023e1db04017bba6590f2013b004d5f37e86f71571d064
|
@@ -5,8 +5,8 @@ require "nerve/easy"
|
|
5
5
|
module Entrance
|
6
6
|
module Publisher
|
7
7
|
class Agent
|
8
|
-
def initialize zk_path="/doorkeepr/entrance"
|
9
|
-
@config = Nerve::Easy::Reporter.new zk_path:zk_path
|
8
|
+
def initialize zk_path="/doorkeepr/entrance",params={}
|
9
|
+
@config = Nerve::Easy::Reporter.new params.merge(zk_path:zk_path)
|
10
10
|
@publisher = Nerve::Reporter::Zookeeper.new @config
|
11
11
|
end
|
12
12
|
def start
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: entrance-publisher
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.3
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Mathias Kaufmann
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2015-
|
11
|
+
date: 2015-04-01 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: nerve
|