protocol-websocket 0.6.1 → 0.7.0
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/connection.rb +2 -2
- 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: 4dc50db69013fc02249f6ea8286ae21d3393e254981613508368d42681af0fce
|
4
|
+
data.tar.gz: 3fa1dc744a1313043f8e8fc90bf76052a0de01876c14012d66682b7c0a623ca6
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: aec5858ecf25bfc29428a06fa870f0d26a8634d911f8b6ccb5626b7c7cda29ffb2944bde656d577e99182ea1bb08fcc3b5fd39cdc8b3c301f240d75ad20f2cb8
|
7
|
+
data.tar.gz: 191fffcabad7d80c766c4a50b243e6d67d0ba2b3b6b76bad312c3bf81b4481538a30414d029ac6dae2354276c97720b3651cd02665221e1986059b92047b4a2e
|
@@ -142,10 +142,10 @@ module Protocol
|
|
142
142
|
end
|
143
143
|
end
|
144
144
|
|
145
|
-
def send_ping(data)
|
145
|
+
def send_ping(data = nil)
|
146
146
|
if @state != :closed
|
147
147
|
frame = PingFrame.new(mask: @mask)
|
148
|
-
frame.pack(data)
|
148
|
+
frame.pack(data) if data
|
149
149
|
|
150
150
|
write_frame(frame)
|
151
151
|
else
|
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.
|
4
|
+
version: 0.7.0
|
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-06-
|
11
|
+
date: 2019-06-22 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.2
|
144
144
|
signing_key:
|
145
145
|
specification_version: 4
|
146
146
|
summary: A low level implementation of the WebSocket protocol.
|