prometheus-client-mmap 1.2.4-x86_64-linux-gnu → 1.2.6-x86_64-linux-gnu

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: 75f6095dd72062a0a926e19cf78bf292be57b468931ce5a2002d73e86aaa88b6
4
- data.tar.gz: 531fbe088df28cd8dec9e8dff57617cb19d8fc653c56f1deff40c4256a5ce0ab
3
+ metadata.gz: bfda0e077ff7e080b81463ae4950c941e73f935abf0f650fe53190ef3613e76a
4
+ data.tar.gz: 59aadfc26be5e3ead365b0c5f9b43be963f8945f7d870803c9b9fd2ca4532231
5
5
  SHA512:
6
- metadata.gz: 6ff8cd19704e28db4aa11b60df2f46c4ac587a14e6c339ab7b2ce6521c52e65335d53ba742ac925a033dd94fb52e114b9a641b79c3e2db8b4360561ae1230e76
7
- data.tar.gz: 3f1d481ed405405ab221d13736f5a72456e84a27617eb6a03f277830aa7ff174d49c269248429f4227f8ada1db7677649bdc1e680ccb35f081f23060f33f9fd7
6
+ metadata.gz: cb3c4f98b0fc6ca33357493edcde0cf0024e216500bc7d6ff9cfb152910f928b164eee1c54989cfe356acff9b43e76f154a1e94cbe09c8c32ff4ebbb16adf84e
7
+ data.tar.gz: 990eaa08ce82695f7732a5af306058836252cf657c8c430de227cd4a36a95331295e1416e8a1f0b45fcc92df8c154dada618e44e56d2745b2c425366ad9f8dce
@@ -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: x86_64-linux-gnu
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