rage-iodine 4.2.0 → 4.2.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 +4 -4
- data/CHANGELOG.md +8 -0
- data/ext/iodine/iodine_connection.c +6 -0
- data/ext/iodine/websockets.c +1 -1
- data/lib/iodine/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 110642492bc676b7626a1bea040b30677d4030a024ec0449e14bbca2cb7a415f
|
4
|
+
data.tar.gz: 7f69cc726d3c385c2a3cf1c2e56fab00b3d5dcc0c4750cc53cf6bc541284c770
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 47a1f8db4a5e06730c17a60c8da848fd9a187abed5ae1a9257cd56f99b0d79f08cea30146efb5f0a4d25e83f19cb2ddf75074d9d98020300efe4290921eebb50
|
7
|
+
data.tar.gz: 29fae621181d246bd9f986bfc97d611e1e8dffe53c3fed98e1db8104543f0903bb860493701fc4ff289d9f04eff908274e2a8ebcaf55bc42134937a3e96bf124
|
data/CHANGELOG.md
CHANGED
@@ -6,6 +6,14 @@ Please notice that this change log contains changes for upcoming releases as wel
|
|
6
6
|
|
7
7
|
## Changes:
|
8
8
|
|
9
|
+
#### Change log v.4.2.2 (2025-08-10)
|
10
|
+
|
11
|
+
**Fix**: Fix `new_websocket` prototype.
|
12
|
+
|
13
|
+
#### Change log v.4.2.1 (2025-07-26)
|
14
|
+
|
15
|
+
**Update**: Add `iodine_sub_find`.
|
16
|
+
|
9
17
|
#### Change log v.4.2.0 (2025-07-23)
|
10
18
|
|
11
19
|
**Update**: Add `Iodine.subscribed?`.
|
@@ -60,6 +60,12 @@ static inline void iodine_sub_add(fio_subhash_s *store, subscription_s *sub) {
|
|
60
60
|
fio_str_info_s ch = fio_subscription_channel(sub);
|
61
61
|
fio_subhash_insert(store, fiobj_hash_string(ch.data, ch.len), ch, sub, NULL);
|
62
62
|
}
|
63
|
+
static inline VALUE iodine_sub_find(fio_subhash_s *store, fio_str_info_s channel) {
|
64
|
+
if (fio_subhash_find(store, fiobj_hash_string(channel.data, channel.len), channel)) {
|
65
|
+
return Qtrue;
|
66
|
+
}
|
67
|
+
return Qfalse;
|
68
|
+
}
|
63
69
|
static inline void iodine_sub_clear_all(fio_subhash_s *store) {
|
64
70
|
fio_subhash_free(store);
|
65
71
|
}
|
data/ext/iodine/websockets.c
CHANGED
@@ -99,7 +99,7 @@ void free_ws_buffer(ws_s *owner, struct buffer_s buff) {
|
|
99
99
|
Create/Destroy the websocket object (prototypes)
|
100
100
|
*/
|
101
101
|
|
102
|
-
static ws_s *new_websocket();
|
102
|
+
static ws_s *new_websocket(intptr_t uuid);
|
103
103
|
static void destroy_ws(ws_s *ws);
|
104
104
|
|
105
105
|
/*******************************************************************************
|
data/lib/iodine/version.rb
CHANGED
metadata
CHANGED
@@ -1,13 +1,13 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: rage-iodine
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 4.2.
|
4
|
+
version: 4.2.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Boaz Segev
|
8
8
|
bindir: exe
|
9
9
|
cert_chain: []
|
10
|
-
date: 2025-
|
10
|
+
date: 2025-08-10 00:00:00.000000000 Z
|
11
11
|
dependencies:
|
12
12
|
- !ruby/object:Gem::Dependency
|
13
13
|
name: rake
|