jstp 0.3.1 → 0.3.2

Sign up to get free protection for your applications and to get access to all the features.
data/lib/jstp/version.rb CHANGED
@@ -1,4 +1,4 @@
1
1
  # -*- encoding : utf-8 -*-
2
2
  module JSTP
3
- VERSION = "0.3.1"
3
+ VERSION = "0.3.2"
4
4
  end
@@ -14,8 +14,8 @@ module JSTP
14
14
 
15
15
  server.onmessage { |message|
16
16
  message = JSON.parse message
17
- Connector.instance.block.call message,
18
- JSTP::WebSocket.instance.sockets.key(server)
17
+ Connector.instance.block.call(message,
18
+ JSTP::WebSocket.instance.sockets.key(server))
19
19
  }
20
20
  }
21
21
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: jstp
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.3.1
4
+ version: 0.3.2
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors: