websocket-rack 0.3.1 → 0.3.2
Sign up to get free protection for your applications and to get access to all the features.
- data/CHANGELOG.md +4 -0
- data/lib/rack/websocket/handler/thin.rb +1 -1
- data/lib/rack/websocket/version.rb +1 -1
- metadata +13 -15
data/CHANGELOG.md
CHANGED
@@ -38,7 +38,7 @@ module Rack
|
|
38
38
|
# this probably should be moved to Base in future
|
39
39
|
def request_from_env(env)
|
40
40
|
request = {}
|
41
|
-
request['path'] = env['
|
41
|
+
request['path'] = env['REQUEST_URI'].to_s
|
42
42
|
request['method'] = env['REQUEST_METHOD']
|
43
43
|
request['query'] = env['QUERY_STRING'].to_s
|
44
44
|
request['Body'] = env['rack.input'].read
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: websocket-rack
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.3.
|
4
|
+
version: 0.3.2
|
5
5
|
prerelease:
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
@@ -9,12 +9,11 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2011-
|
13
|
-
default_executable:
|
12
|
+
date: 2011-12-13 00:00:00.000000000Z
|
14
13
|
dependencies:
|
15
14
|
- !ruby/object:Gem::Dependency
|
16
15
|
name: rack
|
17
|
-
requirement: &
|
16
|
+
requirement: &70149318123920 !ruby/object:Gem::Requirement
|
18
17
|
none: false
|
19
18
|
requirements:
|
20
19
|
- - ! '>='
|
@@ -22,10 +21,10 @@ dependencies:
|
|
22
21
|
version: '0'
|
23
22
|
type: :runtime
|
24
23
|
prerelease: false
|
25
|
-
version_requirements: *
|
24
|
+
version_requirements: *70149318123920
|
26
25
|
- !ruby/object:Gem::Dependency
|
27
26
|
name: em-websocket
|
28
|
-
requirement: &
|
27
|
+
requirement: &70149318117000 !ruby/object:Gem::Requirement
|
29
28
|
none: false
|
30
29
|
requirements:
|
31
30
|
- - ~>
|
@@ -33,10 +32,10 @@ dependencies:
|
|
33
32
|
version: 0.3.1
|
34
33
|
type: :runtime
|
35
34
|
prerelease: false
|
36
|
-
version_requirements: *
|
35
|
+
version_requirements: *70149318117000
|
37
36
|
- !ruby/object:Gem::Dependency
|
38
37
|
name: thin
|
39
|
-
requirement: &
|
38
|
+
requirement: &70149318116520 !ruby/object:Gem::Requirement
|
40
39
|
none: false
|
41
40
|
requirements:
|
42
41
|
- - ! '>='
|
@@ -44,10 +43,10 @@ dependencies:
|
|
44
43
|
version: '0'
|
45
44
|
type: :runtime
|
46
45
|
prerelease: false
|
47
|
-
version_requirements: *
|
46
|
+
version_requirements: *70149318116520
|
48
47
|
- !ruby/object:Gem::Dependency
|
49
48
|
name: rspec
|
50
|
-
requirement: &
|
49
|
+
requirement: &70149318115880 !ruby/object:Gem::Requirement
|
51
50
|
none: false
|
52
51
|
requirements:
|
53
52
|
- - ~>
|
@@ -55,10 +54,10 @@ dependencies:
|
|
55
54
|
version: 2.4.0
|
56
55
|
type: :development
|
57
56
|
prerelease: false
|
58
|
-
version_requirements: *
|
57
|
+
version_requirements: *70149318115880
|
59
58
|
- !ruby/object:Gem::Dependency
|
60
59
|
name: mocha
|
61
|
-
requirement: &
|
60
|
+
requirement: &70149318115140 !ruby/object:Gem::Requirement
|
62
61
|
none: false
|
63
62
|
requirements:
|
64
63
|
- - ! '>='
|
@@ -66,7 +65,7 @@ dependencies:
|
|
66
65
|
version: '0'
|
67
66
|
type: :development
|
68
67
|
prerelease: false
|
69
|
-
version_requirements: *
|
68
|
+
version_requirements: *70149318115140
|
70
69
|
description: Rack-based WebSocket server
|
71
70
|
email:
|
72
71
|
- bernard.potocki@imanel.org
|
@@ -107,7 +106,6 @@ files:
|
|
107
106
|
- spec/support/requests.rb
|
108
107
|
- spec/thin_spec.rb
|
109
108
|
- websocket-rack.gemspec
|
110
|
-
has_rdoc: true
|
111
109
|
homepage: http://github.com/imanel/websocket-rack
|
112
110
|
licenses: []
|
113
111
|
post_install_message:
|
@@ -128,7 +126,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
128
126
|
version: '0'
|
129
127
|
requirements: []
|
130
128
|
rubyforge_project:
|
131
|
-
rubygems_version: 1.
|
129
|
+
rubygems_version: 1.8.11
|
132
130
|
signing_key:
|
133
131
|
specification_version: 3
|
134
132
|
summary: Rack-based WebSocket server
|