rgossip2 0.1.0 → 0.1.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (2) hide show
  1. data/lib/rgossip2/context_helper.rb +2 -2
  2. metadata +4 -4
@@ -20,13 +20,13 @@ module RGossip2
20
20
  # 各種ハンドラプロキシメソッド
21
21
  def callback(action, address, timestamp, data)
22
22
  if @context.callback_handler
23
- @context.callback_handler.call([action, address, timestamp, data])
23
+ @context.callback_handler.yield([action, address, timestamp, data])
24
24
  end
25
25
  end
26
26
 
27
27
  def handle_error(e)
28
28
  if @context.error_handler
29
- @context.error_handler.call(e)
29
+ @context.error_handler.yield(e)
30
30
  else
31
31
  raise e
32
32
  end
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: rgossip2
3
3
  version: !ruby/object:Gem::Version
4
- hash: 27
4
+ hash: 25
5
5
  prerelease:
6
6
  segments:
7
7
  - 0
8
8
  - 1
9
- - 0
10
- version: 0.1.0
9
+ - 1
10
+ version: 0.1.1
11
11
  platform: ruby
12
12
  authors:
13
13
  - winebarrel
@@ -15,7 +15,7 @@ autorequire:
15
15
  bindir: bin
16
16
  cert_chain: []
17
17
 
18
- date: 2011-11-03 00:00:00 Z
18
+ date: 2011-11-06 00:00:00 Z
19
19
  dependencies:
20
20
  - !ruby/object:Gem::Dependency
21
21
  name: msgpack