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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 5141925225c31c95994da4d4bac294394123129c
4
- data.tar.gz: 11b969aa67e7dfbf85099de7e7164aa845ac83f1
3
+ metadata.gz: 3b42cec8ee2ca044d71978b648e3d41e2df2a156
4
+ data.tar.gz: 01ebfd7082caeb4f519272d0abf7a75a2de9999e
5
5
  SHA512:
6
- metadata.gz: 034b6a160c0ea47adff1a6c5f734ad5c6e5c2c7723314eb3c4f3341cb60f7491c1c88980816b31281be2693f3b9b99945d58e8f8d84d3ecfdfe280e370e97ba7
7
- data.tar.gz: 9b5ec70213bde29d52099073a6bac2ab73e28067c8a1e8049107bb86fcb93fb48678c2665afb1c06c3edd4ed76f5c26d8db6e077dcdaaa792d44c0b0601148b0
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(config={})
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(*config[:args]).async.initialize_websocket(env, socket)
23
+ new(*args).async.initialize_websocket(env, socket)
24
24
  [200,{},""]
25
25
  end
26
26
  end
@@ -1,5 +1,5 @@
1
1
  module Celluloid
2
2
  class WebSocket
3
- VERSION = "0.0.9"
3
+ VERSION = "0.0.10"
4
4
  end
5
5
  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.9
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-01 00:00:00.000000000 Z
11
+ date: 2015-03-13 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler