prometheus-client-mmap 1.2.4-aarch64-linux-musl → 1.2.6-aarch64-linux-musl

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: 641bca52c49529ca35d384e13adacbdf1c481d8a08923dfc0cbcb1121057aafb
4
- data.tar.gz: ab6642fec1dbcc5074c59e389da1a3cac2e62f73ec9050d77bfd38041d610dbe
3
+ metadata.gz: 79a9f3b36535bde8a5cd1d79eec1c41cb8d0111c19af4609cf1eb9dedd72000d
4
+ data.tar.gz: 9bae63519b74cf636bd483a12e25737443e38b69b2421136c78f454b04047f15
5
5
  SHA512:
6
- metadata.gz: b6127710d7d702678a430543248d7d6898335816f6154cb0b3d80f60cfc7484e01768e7fed4255cc8771c61a47bcf1486e4064e9dadf88a63319516afd6c96ee
7
- data.tar.gz: 961a35ea3fe2339c274343b0a5cac59d057b196a8ce0bc7e866e3911a4ded50ae934b049b7a99cbdce40472831b201d635aab67f0703ca87586d45f288d4f258
6
+ metadata.gz: ce4a221d4ee8ee1034282b4f8891b794ca7e3739070c44f24061fa20b6613201ae16daa6ce5f45b434ef4353e936a661a6b2ce0863c4e1cb0ecee9bd1d70354c
7
+ data.tar.gz: a039904eab563ea23844575b095c667df8c6eaf099a13a6ce09c7679d331ec364017faebafed8129830741a9194d4f879179fc192cf3a4f3dff39de391c0780f
@@ -397,8 +397,10 @@ impl MmapedFile {
397
397
  let new_len = self.inner(|inner| util::cast_chk::<_, c_long>(inner.len(), "mmap len"))?;
398
398
 
399
399
  // Iterate over the values of the `WeakMap`.
400
- for val in tracker.enumeratorize("each_value", ()) {
401
- let rb_string = val?;
400
+ for pair in tracker.enumeratorize("each_pair", ()) {
401
+ let rpair = magnus::RArray::try_convert(pair?)?;
402
+ let rb_string: Value = rpair.entry(1)?;
403
+
402
404
  let str = RString::from_value(rb_string)
403
405
  .ok_or_else(|| err!(arg_error(), "weakmap value was not a string"))?;
404
406
 
Binary file
Binary file
Binary file
Binary file
@@ -1,5 +1,5 @@
1
1
  module Prometheus
2
2
  module Client
3
- VERSION = '1.2.4'.freeze
3
+ VERSION = '1.2.6'.freeze
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: prometheus-client-mmap
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.2.4
4
+ version: 1.2.6
5
5
  platform: aarch64-linux-musl
6
6
  authors:
7
7
  - Tobias Schmidt
@@ -11,7 +11,7 @@ authors:
11
11
  autorequire:
12
12
  bindir: bin
13
13
  cert_chain: []
14
- date: 2024-12-29 00:00:00.000000000 Z
14
+ date: 2024-12-30 00:00:00.000000000 Z
15
15
  dependencies:
16
16
  - !ruby/object:Gem::Dependency
17
17
  name: rb_sys