protocol-websocket 0.20.1 → 0.20.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: ff918f001efdfca622476924df547f137959c0b42c9eb489a6d3252d4e2f111f
4
- data.tar.gz: 81a99be831aee6267cf3c2291b945b08a2c4055604ed3a1bab61ddf9b2963c6a
3
+ metadata.gz: 359985418f2c1304957337e8d10ca42c7dec2225fa60e5db0e030e40ccdfbc30
4
+ data.tar.gz: fc29187e933f95505987ff87616c61877809fe3a0a94600b782d4d1728edef87
5
5
  SHA512:
6
- metadata.gz: 6a71e45dc30989dcb02c8c3520e827865c7131a7eda8e8c08f0e86b6331c5730017725a4db1abc7f38643342ceeb1aeb906052b98e937ba36dad5c4abc27f8df
7
- data.tar.gz: 45309a8c2f2d7d98f49379e7899d01261d90bc7b08a84683b6c3c646570239213a6294149b06a228fd0c2c2b15ffa682b1ac26a45fedd65460b8b1c3ac137a27
6
+ metadata.gz: ef23fec7204ea0b9d965c3972b94fa39e615b5581470703f16564e5031d9819acd720618027274fd900b77864bf662c8adb44e895ce74b505c95c4cb3a7393ed
7
+ data.tar.gz: 5fb3eefc7a49e405fa7c8cd729812cf79095e8b8addf8af27a8aa35b4d3f759901de6c41a7233aceb2a76df43166dba43440e54d5bda5b765225480b21fd4057
checksums.yaml.gz.sig CHANGED
Binary file
@@ -1,9 +1,10 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  # Released under the MIT License.
4
- # Copyright, 2019-2024, by Samuel Williams.
4
+ # Copyright, 2019-2025, by Samuel Williams.
5
5
  # Copyright, 2019, by Soumya.
6
6
  # Copyright, 2021, by Aurora Nockert.
7
+ # Copyright, 2025, by Taleh Zaliyev.
7
8
 
8
9
  require_relative "error"
9
10
 
@@ -185,7 +186,7 @@ module Protocol
185
186
  end
186
187
 
187
188
  if length > maximum_frame_size
188
- raise ProtocolError, "Invalid payload length: #{@length} > #{maximum_frame_size}!"
189
+ raise ProtocolError, "Invalid payload length: #{length} > #{maximum_frame_size}!"
189
190
  end
190
191
 
191
192
  if mask
@@ -195,7 +196,7 @@ module Protocol
195
196
  payload = stream.read(length) or raise EOFError, "Could not read payload!"
196
197
 
197
198
  if payload.bytesize != length
198
- raise EOFError, "Incorrect payload length: #{@length} != #{payload.bytesize}!"
199
+ raise EOFError, "Incorrect payload length: #{length} != #{payload.bytesize}!"
199
200
  end
200
201
 
201
202
  return self.new(finished, payload, flags: flags, opcode: opcode, mask: mask)
@@ -5,6 +5,6 @@
5
5
 
6
6
  module Protocol
7
7
  module WebSocket
8
- VERSION = "0.20.1"
8
+ VERSION = "0.20.2"
9
9
  end
10
10
  end
data/license.md CHANGED
@@ -1,10 +1,11 @@
1
1
  # MIT License
2
2
 
3
- Copyright, 2019-2024, by Samuel Williams.
3
+ Copyright, 2019-2025, by Samuel Williams.
4
4
  Copyright, 2019, by Soumya.
5
5
  Copyright, 2019, by William T. Nelson.
6
6
  Copyright, 2020, by Olle Jonsson.
7
7
  Copyright, 2021, by Aurora Nockert.
8
+ Copyright, 2025, by Taleh Zaliyev.
8
9
 
9
10
  Permission is hereby granted, free of charge, to any person obtaining a copy
10
11
  of this software and associated documentation files (the "Software"), to deal
data.tar.gz.sig CHANGED
Binary file
metadata CHANGED
@@ -1,15 +1,15 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: protocol-websocket
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.20.1
4
+ version: 0.20.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Samuel Williams
8
8
  - Aurora Nockert
9
9
  - Soumya
10
10
  - Olle Jonsson
11
+ - Taleh Zaliyev
11
12
  - William T. Nelson
12
- autorequire:
13
13
  bindir: bin
14
14
  cert_chain:
15
15
  - |
@@ -41,7 +41,7 @@ cert_chain:
41
41
  Q2K9NVun/S785AP05vKkXZEFYxqG6EW012U4oLcFl5MySFajYXRYbuUpH6AY+HP8
42
42
  voD0MPg1DssDLKwXyt1eKD/+Fq0bFWhwVM/1XiAXL7lyYUyOq24KHgQ2Csg=
43
43
  -----END CERTIFICATE-----
44
- date: 2024-10-09 00:00:00.000000000 Z
44
+ date: 2025-04-12 00:00:00.000000000 Z
45
45
  dependencies:
46
46
  - !ruby/object:Gem::Dependency
47
47
  name: protocol-http
@@ -57,8 +57,6 @@ dependencies:
57
57
  - - "~>"
58
58
  - !ruby/object:Gem::Version
59
59
  version: '0.2'
60
- description:
61
- email:
62
60
  executables: []
63
61
  extensions: []
64
62
  extra_rdoc_files: []
@@ -92,7 +90,6 @@ licenses:
92
90
  metadata:
93
91
  documentation_uri: https://socketry.github.io/protocol-websocket/
94
92
  source_code_uri: https://github.com/socketry/protocol-websocket.git
95
- post_install_message:
96
93
  rdoc_options: []
97
94
  require_paths:
98
95
  - lib
@@ -107,8 +104,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
107
104
  - !ruby/object:Gem::Version
108
105
  version: '0'
109
106
  requirements: []
110
- rubygems_version: 3.5.11
111
- signing_key:
107
+ rubygems_version: 3.6.2
112
108
  specification_version: 4
113
109
  summary: A low level implementation of the WebSocket protocol.
114
110
  test_files: []
metadata.gz.sig CHANGED
Binary file