protocol-websocket 0.7.0 → 0.7.1

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
  SHA256:
3
- metadata.gz: 4dc50db69013fc02249f6ea8286ae21d3393e254981613508368d42681af0fce
4
- data.tar.gz: 3fa1dc744a1313043f8e8fc90bf76052a0de01876c14012d66682b7c0a623ca6
3
+ metadata.gz: f8bf2310f6790fd3ef67e6cba31deaaddef39b22cdf15bf096517a40674219af
4
+ data.tar.gz: 312c0efd58d690ef13820df939547e0235d95a259764e801459754157346ac81
5
5
  SHA512:
6
- metadata.gz: aec5858ecf25bfc29428a06fa870f0d26a8634d911f8b6ccb5626b7c7cda29ffb2944bde656d577e99182ea1bb08fcc3b5fd39cdc8b3c301f240d75ad20f2cb8
7
- data.tar.gz: 191fffcabad7d80c766c4a50b243e6d67d0ba2b3b6b76bad312c3bf81b4481538a30414d029ac6dae2354276c97720b3651cd02665221e1986059b92047b4a2e
6
+ metadata.gz: 6ffe5e445d96fe2df800b34f98d02e23b1d2ff3ad46ea5544700a4b2e4f1d0732854b6e1b439e02534cba00ce518aeec775807d844c72f022c712afc93a9887e
7
+ data.tar.gz: 1527c379937343b7229fe36fcafcf69ec69b5dfc6311dfd7a579fa2ceb7d531ce65c696bc16161cf622d0b573a3593d088a7501abf29bf3458f8fb20a7d78722
@@ -142,10 +142,10 @@ module Protocol
142
142
  end
143
143
  end
144
144
 
145
- def send_ping(data = nil)
145
+ def send_ping(data = "")
146
146
  if @state != :closed
147
147
  frame = PingFrame.new(mask: @mask)
148
- frame.pack(data) if data
148
+ frame.pack(data)
149
149
 
150
150
  write_frame(frame)
151
151
  else
@@ -20,6 +20,6 @@
20
20
 
21
21
  module Protocol
22
22
  module WebSocket
23
- VERSION = "0.7.0"
23
+ VERSION = "0.7.1"
24
24
  end
25
25
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: protocol-websocket
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.7.0
4
+ version: 0.7.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Samuel Williams