celluloid-websocket 0.0.9 → 0.0.10
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/celluloid/websocket/rack.rb +2 -2
- data/lib/celluloid/websocket/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: 3b42cec8ee2ca044d71978b648e3d41e2df2a156
|
4
|
+
data.tar.gz: 01ebfd7082caeb4f519272d0abf7a75a2de9999e
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 712a90cd6d579b8f725393d923de0bfb55b2c186695cacad48ed411108f312a06c90235a008155005d192ed520e8ad7e1364263cf2868f1a001ed66c2b0602ad
|
7
|
+
data.tar.gz: 7cf928646e6e5ca8421cbcc89efffb333201f1e4fe38078d02f878d40f08ea3c78cb6947b7f15e9c65b72bfef9559173dd923170a9ff784a74f48043d65cf7b1
|
@@ -7,7 +7,7 @@ require 'forwardable'
|
|
7
7
|
|
8
8
|
module Celluloid
|
9
9
|
class WebSocket
|
10
|
-
def self.rack(
|
10
|
+
def self.rack(*args)
|
11
11
|
if defined?(PhusionPassenger)
|
12
12
|
PhusionPassenger.advertised_concurrency_level = 0
|
13
13
|
end
|
@@ -20,7 +20,7 @@ module Celluloid
|
|
20
20
|
env['rack.hijack'].call
|
21
21
|
socket = Celluloid::IO::RackSocket.new(env['rack.hijack_io'].to_io)
|
22
22
|
|
23
|
-
new(*
|
23
|
+
new(*args).async.initialize_websocket(env, socket)
|
24
24
|
[200,{},""]
|
25
25
|
end
|
26
26
|
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: celluloid-websocket
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.10
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Tinco Andringa
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2015-03-
|
11
|
+
date: 2015-03-13 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|