protocol-sp 0.1.0 → 0.1.1
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 +4 -4
- data/CHANGELOG.md +7 -0
- data/lib/protocol/sp/protocols.rb +11 -11
- data/lib/protocol/sp/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: dd3de8cf77257c349fc54e1a5f63631f816212bdd94ca04b26e9edad11b17447
|
|
4
|
+
data.tar.gz: 5b57825884e1d4377ea70f1481da2d2eaa78542be61225aa91677ab15fc4ea2b
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 3c2d43308def0a6938d3e688efdc23b5de7d347d8dae897d756f5ece3fe19760c6529aa3d1fea1d79d6797d528ec6f9a19fa9e67cd37420b038adc00e16547fa
|
|
7
|
+
data.tar.gz: 99390e8c9e20aa8deb7fa436bba6edb1cb32277aa7dfd5dd1ced30d9ae7af548b0c6ce91452473d4296f16691f29f58ed5d782f3c0e66ef051c483c5aaf771fc
|
data/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,12 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## 0.1.1 — 2026-04-09
|
|
4
|
+
|
|
5
|
+
- `Protocol::SP::Protocols::VALID_PEERS` is now deep-frozen (each inner
|
|
6
|
+
peer list is individually `.freeze`'d, matching how protocol-zmtp
|
|
7
|
+
handles `VALID_PEERS`). This makes the constant Ractor-shareable so
|
|
8
|
+
NNQ sockets can complete handshakes inside non-main Ractors.
|
|
9
|
+
|
|
3
10
|
## 0.1.0 — 2026-04-09
|
|
4
11
|
|
|
5
12
|
Initial release.
|
|
@@ -29,17 +29,17 @@ module Protocol
|
|
|
29
29
|
|
|
30
30
|
# Compatibility table: which peer ID is acceptable for each self ID.
|
|
31
31
|
VALID_PEERS = {
|
|
32
|
-
PAIR_V0 => [PAIR_V0],
|
|
33
|
-
PAIR_V1 => [PAIR_V1],
|
|
34
|
-
PUB_V0 => [SUB_V0],
|
|
35
|
-
SUB_V0 => [PUB_V0],
|
|
36
|
-
REQ_V0 => [REP_V0],
|
|
37
|
-
REP_V0 => [REQ_V0],
|
|
38
|
-
PUSH_V0 => [PULL_V0],
|
|
39
|
-
PULL_V0 => [PUSH_V0],
|
|
40
|
-
SURVEYOR_V0 => [RESPONDENT_V0],
|
|
41
|
-
RESPONDENT_V0 => [SURVEYOR_V0],
|
|
42
|
-
BUS_V0 => [BUS_V0],
|
|
32
|
+
PAIR_V0 => [PAIR_V0].freeze,
|
|
33
|
+
PAIR_V1 => [PAIR_V1].freeze,
|
|
34
|
+
PUB_V0 => [SUB_V0].freeze,
|
|
35
|
+
SUB_V0 => [PUB_V0].freeze,
|
|
36
|
+
REQ_V0 => [REP_V0].freeze,
|
|
37
|
+
REP_V0 => [REQ_V0].freeze,
|
|
38
|
+
PUSH_V0 => [PULL_V0].freeze,
|
|
39
|
+
PULL_V0 => [PUSH_V0].freeze,
|
|
40
|
+
SURVEYOR_V0 => [RESPONDENT_V0].freeze,
|
|
41
|
+
RESPONDENT_V0 => [SURVEYOR_V0].freeze,
|
|
42
|
+
BUS_V0 => [BUS_V0].freeze,
|
|
43
43
|
}.freeze
|
|
44
44
|
|
|
45
45
|
|
data/lib/protocol/sp/version.rb
CHANGED