rage-iodine 4.2.0 → 4.2.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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 631b44322a680678bf03e03a8a52b5926a4890947b8ce994df658d35076d5cbc
4
- data.tar.gz: 1bd25cc3fef7949c0dbafcdf1c1099cd654d2f15d3ba3aa61f7fcfd96cdbd922
3
+ metadata.gz: 83aa2eec7b36fb5df632957cfd65a8eb751ac4c348b9b2a7eea9ee781cb87b21
4
+ data.tar.gz: '087580ede32c7f097412b83df5b85445c6bae672cf51a2146d0feffa301dc4dd'
5
5
  SHA512:
6
- metadata.gz: 0d60eb883de1b8910802143a0c69040b32a1e7b9454c493b3dd76e8fa30415488fce2933633735ae84aa2803ac2aa05337861819f7d6ade82a63a4b57e272815
7
- data.tar.gz: 5164ae32d754a6f1b6ceda150d416b0eac152cd3d0c17871232da30e1625c2ab4d85419fa1c673f4f217ca9feabaf8b69a4c007665988c7f3e54e682072903d5
6
+ metadata.gz: 2a465a8519ae42055bb93f6617a22834455a1025a2097ed582c1a4f92a53dde28b8efd5bf4a1661961e9606971f1594843e60d632dbf4d408ead29cb80022ef1
7
+ data.tar.gz: ce973cebe1e462548c78d428fad4d9b533413d252374ffd978db920977a4a85e11d6a8683827d5011396512beee7b34bf24eb55225dc2e2ce98c079031c9983a
data/CHANGELOG.md CHANGED
@@ -6,6 +6,10 @@ 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.1 (2025-07-26)
10
+
11
+ **Update**: Add `iodine_sub_find`.
12
+
9
13
  #### Change log v.4.2.0 (2025-07-23)
10
14
 
11
15
  **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
  }
@@ -1,3 +1,3 @@
1
1
  module Iodine
2
- VERSION = '4.2.0'.freeze
2
+ VERSION = '4.2.1'.freeze
3
3
  end
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.0
4
+ version: 4.2.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Boaz Segev
8
8
  bindir: exe
9
9
  cert_chain: []
10
- date: 2025-07-23 00:00:00.000000000 Z
10
+ date: 2025-07-26 00:00:00.000000000 Z
11
11
  dependencies:
12
12
  - !ruby/object:Gem::Dependency
13
13
  name: rake