protocol-websocket 0.18.0 → 0.19.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: ef7b32c9de28a9b7486a004d8ae53739fbe34de345e32b7a5e4ff056df5c755c
4
- data.tar.gz: 2b8d07f45527f32e5a4b2cf0bb5d22707083a6fea94bedb1e93413aece140ee1
3
+ metadata.gz: 8cece8e2514c6533d37a93e91d3937f0f8b440a862d915c5c83e555893d7e816
4
+ data.tar.gz: 6c674f5eb43241639c08d0e6b24fcf4267e4728db2989bf4c7cb422589f81875
5
5
  SHA512:
6
- metadata.gz: dfef8b28cadd857f4d7430cb35e668f14789ce9d70fed4fa2c24c945ff9848ef9d35000e143b0344489c8120b4d940168a07e717a8da22738d1972f1f373bb8d
7
- data.tar.gz: b3df54c2b5fa01963ffa5f26f15ddd16f3d983b20aeac9d1ee39fb60d052bfb720ee7963c2588708aebb6a9d649c29af81518f3af2bd1dc67c147b9fc6983673
6
+ metadata.gz: 553b22466d3e1578ed5b65a1aeb94f882b46adecd8f106f3280e7f23f0eb0334b3920bc5709c61c55d1a2b4719fb414476da6b39b24c8cdc0c31b9dff8a471db
7
+ data.tar.gz: 3c1273115018f1179421e5a7aa91d32bbf0ab48fb41ee42f9322cecf5efff93c3f3725d7a0cdcc7de50d3e4f4a366ed9576fde9b370e99065642aec1fe8c83b4
checksums.yaml.gz.sig CHANGED
Binary file
@@ -12,7 +12,7 @@ module Protocol
12
12
  class Message
13
13
  # Create a new message from a buffer.
14
14
  # @attribute buffer [String] The message buffer.
15
- def initialize(buffer)
15
+ def initialize(buffer = "")
16
16
  @buffer = buffer
17
17
  end
18
18
 
@@ -15,7 +15,7 @@ module Protocol
15
15
  # Generate a suitable reply.
16
16
  # @returns [PongFrame]
17
17
  def reply(**options)
18
- PongFrame.new(true, self.unpack, **options)
18
+ PongFrame.new(true, **options).pack(self.unpack)
19
19
  end
20
20
 
21
21
  # Apply this frame to the specified connection.
@@ -5,6 +5,6 @@
5
5
 
6
6
  module Protocol
7
7
  module WebSocket
8
- VERSION = "0.18.0"
8
+ VERSION = "0.19.1"
9
9
  end
10
10
  end
data.tar.gz.sig CHANGED
Binary file
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.18.0
4
+ version: 0.19.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Samuel Williams
@@ -41,7 +41,7 @@ cert_chain:
41
41
  Q2K9NVun/S785AP05vKkXZEFYxqG6EW012U4oLcFl5MySFajYXRYbuUpH6AY+HP8
42
42
  voD0MPg1DssDLKwXyt1eKD/+Fq0bFWhwVM/1XiAXL7lyYUyOq24KHgQ2Csg=
43
43
  -----END CERTIFICATE-----
44
- date: 2024-09-25 00:00:00.000000000 Z
44
+ date: 2024-10-09 00:00:00.000000000 Z
45
45
  dependencies:
46
46
  - !ruby/object:Gem::Dependency
47
47
  name: protocol-http
metadata.gz.sig CHANGED
Binary file