protocol-websocket 0.7.2 → 0.7.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/protocol/websocket/frame.rb +1 -1
- data/lib/protocol/websocket/version.rb +1 -1
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 86e03089f165a2cf50a6b4cbd20328da1a782778c02f23a3be4e4542de0ea692
|
4
|
+
data.tar.gz: d4f856117d7e13373cd115871276682f08793ddf353f3106f5569cc8e38fb4ad
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: fbd6e6cbec72148770e2c3979bc56cdea6f12726ae8270759a613814ee1e54492ee0ba24a51b5077d3dfeff93e19abb56ea5ff219e042a03445e87ff0b33c051
|
7
|
+
data.tar.gz: 519c30e7774eac646675e8a940e9665214bd9d9a266297038d781030e8ca9150a9aa877c85b0ece209ff0a9475203403e7879155b472b8d283bb3a066af6c4bd
|
@@ -147,7 +147,7 @@ module Protocol
|
|
147
147
|
buffer = stream.read(2) or raise EOFError, "Could not read length!"
|
148
148
|
length = buffer.unpack('n').first
|
149
149
|
elsif length == 127
|
150
|
-
buffer = stream.read(
|
150
|
+
buffer = stream.read(8) or raise EOFError, "Could not read length!"
|
151
151
|
length = buffer.unpack('Q>').first
|
152
152
|
end
|
153
153
|
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: protocol-websocket
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.7.
|
4
|
+
version: 0.7.3
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Samuel Williams
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2019-
|
11
|
+
date: 2019-07-13 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: protocol-http
|
@@ -140,7 +140,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
140
140
|
- !ruby/object:Gem::Version
|
141
141
|
version: '0'
|
142
142
|
requirements: []
|
143
|
-
rubygems_version: 3.0.
|
143
|
+
rubygems_version: 3.0.3
|
144
144
|
signing_key:
|
145
145
|
specification_version: 4
|
146
146
|
summary: A low level implementation of the WebSocket protocol.
|