sinatra-websocketio 0.3.6 → 0.3.7

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 454a37ab537ba60d23f20d1b3d28a907f6124713
4
- data.tar.gz: 7243a6732a908bbf7efb2c48e3874e2bd09e28d1
3
+ metadata.gz: 5fc55e3907609bd895b48c19fb729e0f736df89b
4
+ data.tar.gz: 481b752107069ec050ae664ab3edf9d3afa7ed6d
5
5
  SHA512:
6
- metadata.gz: 410c6ef3758faec426ef6d8956d6af34172efe65d4d4f7900b5ec541a46fe61f58410cd227399856bac8a2e9ee9dc5c6eb7b694be35a4f855886c7a527ace91e
7
- data.tar.gz: f0f99248f0c0691fa94b7e7e37f3bbbaf98b1b2b1898b8f2b82cb7d4277bcd548dc4fe2ee2313f87679b91137c904a7c0789034e8a6406b1f9062d7913b191be
6
+ metadata.gz: 6ac10c0e82d00f7fa63159e21752d766d970712e3b4659eb362079628939a832a37e1b1d46517f02efe2ef302fd83b0db655b41300ec9bed509334edd2b61bab
7
+ data.tar.gz: 39b50ff3fa9e6e18fe24c16e328167d090ec0dc2a1b79864217a13583e528cf84c1a9edeac9e3cf01e70d3b33176fb077ffd3f5652992ccda971aa206eae4382
@@ -1,3 +1,7 @@
1
+ === 0.3.7 2013-10-01
2
+
3
+ * little fix
4
+
1
5
  === 0.3.6 2013-10-01
2
6
 
3
7
  * store REMOTE_ADDR into Sinatra::WebSocketIO.sessions
@@ -1,5 +1,5 @@
1
1
  module Sinatra
2
2
  module WebSocketIO
3
- VERSION = "0.3.6"
3
+ VERSION = "0.3.7"
4
4
  end
5
5
  end
@@ -15,7 +15,7 @@ module Sinatra
15
15
  end
16
16
  puts "Sinatra::WebSocketIO.start port:#{options[:port]}"
17
17
  EM::WebSocket.run :host => "0.0.0.0", :port => options[:port] do |ws|
18
- ws.onopen do |handshake, connection|
18
+ ws.onopen do |handshake|
19
19
  params = parse_handshake_params handshake.path
20
20
  remote_addr = Socket.unpack_sockaddr_in(ws.get_peername)[1]
21
21
  session_id = params[:session] || create_session(remote_addr)
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: sinatra-websocketio
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.3.6
4
+ version: 0.3.7
5
5
  platform: ruby
6
6
  authors:
7
7
  - Sho Hashimoto