zk-eventmachine 0.1.5 → 0.1.6

Sign up to get free protection for your applications and to get access to all the features.
@@ -25,12 +25,7 @@ module ZK
25
25
  # ready for use
26
26
  def connect(&blk)
27
27
  # XXX: maybe move this into initialize, need to figure out how to schedule it properly
28
- @cnx ||= ZookeeperEM::Client.new(@host, DEFAULT_TIMEOUT, event_handler.get_default_watcher_block).tap do |c|
29
- c.on_attached do
30
- logger.debug { "connection is attached, client_id: %0x" % [c.client_id] }
31
- end
32
- end
33
-
28
+ @cnx ||= ZookeeperEM::Client.new(@host, DEFAULT_TIMEOUT, event_handler.get_default_watcher_block)
34
29
  @cnx.on_attached(&blk)
35
30
  end
36
31
 
@@ -1,5 +1,5 @@
1
1
  module ZK
2
2
  module ZKEventMachine
3
- VERSION = "0.1.5"
3
+ VERSION = "0.1.6"
4
4
  end
5
5
  end
@@ -7,7 +7,6 @@ module ZK::ZKEventMachine
7
7
 
8
8
  before do
9
9
  @zk = ::ZK.new
10
- logger.debug { "threaded client has client id: %0x" % [@zk.cnx.client_id] }
11
10
  @base_path = '/zk-em-testing'
12
11
  @zk.rm_rf(@base_path)
13
12
  @zk.mkdir_p(@base_path)
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: zk-eventmachine
3
3
  version: !ruby/object:Gem::Version
4
- hash: 17
4
+ hash: 23
5
5
  prerelease:
6
6
  segments:
7
7
  - 0
8
8
  - 1
9
- - 5
10
- version: 0.1.5
9
+ - 6
10
+ version: 0.1.6
11
11
  platform: ruby
12
12
  authors:
13
13
  - Jonathan D. Simms
@@ -15,7 +15,7 @@ autorequire:
15
15
  bindir: bin
16
16
  cert_chain: []
17
17
 
18
- date: 2011-06-29 00:00:00 +00:00
18
+ date: 2011-07-06 00:00:00 +00:00
19
19
  default_executable:
20
20
  dependencies:
21
21
  - !ruby/object:Gem::Dependency