plezi 0.8.1 → 0.8.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +5 -0
- data/lib/plezi/server/websocket.rb +1 -1
- data/lib/plezi/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: b2bd42dabd7c03ae27f9003f19fb7b128c86a01e
|
4
|
+
data.tar.gz: 01f3b6fb4a4915d4dc7ce053e85ab9447688cdd8
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 91abf0160f443aa3a97fce4f3d107656d1afd79c4aaeb5d608b4b1aa506687248830cc36fe302c8d91f467d6059499d117d638d7aae47a525eb5c688a6ed4d0e
|
7
|
+
data.tar.gz: 12c0442612e8806bf5307b819bcf44f3536670c5135f3f93ff7120a1420652a0dbd072bb9ddf96093de3d8818d9e95a505ff93446f9bd94d88d72742cfba11a8
|
data/CHANGELOG.md
CHANGED
@@ -83,7 +83,7 @@ module Plezi
|
|
83
83
|
response['sec-websocket-version'] = '13'
|
84
84
|
# Note that the client is only offering to use any advertised extensions
|
85
85
|
# and MUST NOT use them unless the server indicates that it wishes to use the extension.
|
86
|
-
request['sec-websocket-extensions'].split(/[\s]*[,][\s]*/).each {|ex| @extentions << ex.split(/[\s]*;[\s]*/) if SUPPORTED_EXTENTIONS[ex.split(/[\s]*;[\s]*/)[0]]}
|
86
|
+
request['sec-websocket-extensions'].to_s.split(/[\s]*[,][\s]*/).each {|ex| @extentions << ex.split(/[\s]*;[\s]*/) if SUPPORTED_EXTENTIONS[ex.split(/[\s]*;[\s]*/)[0]]}
|
87
87
|
response['sec-websocket-extensions'] = @extentions.map {|e| e[0] } .join (',')
|
88
88
|
response.headers.delete 'sec-websocket-extensions' if response['sec-websocket-extensions'].empty?
|
89
89
|
response['Sec-WebSocket-Accept'] = Digest::SHA1.base64digest(request['sec-websocket-key'] + '258EAFA5-E914-47DA-95CA-C5AB0DC85B11')
|
data/lib/plezi/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: plezi
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.8.
|
4
|
+
version: 0.8.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Boaz Segev
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2015-05-
|
11
|
+
date: 2015-05-29 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|