prometheus-client-mmap 1.2.4-x86_64-linux-musl → 1.2.6-x86_64-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: c63779d5054a6bb9fa12ac55091ab5fd477687c05f9b881d2936728495c0b6ae
4
- data.tar.gz: 4a37d68b5a001c553015c98ce53aeb70972a1a0e28588ac5f26e7d73cf9b05ab
3
+ metadata.gz: 41bf02ee21592747d1d37ebb3fb8cde39306f4b394cdd4dfa8f628ac8702f703
4
+ data.tar.gz: f0e3fb5e7db8d4ca66739b97a8a990b0285f6817b1c0a8d12c326ae56e0f925f
5
5
  SHA512:
6
- metadata.gz: 0b1e9b8d51b52df3c39b68a6e33461e67849f053fe0f2a18ce8a6ea136891ece7ac679581ead38024e280ea5975bec6c93fa785a26f22cba188d71b0d01a862b
7
- data.tar.gz: ed675bfd2aa98cdeedef223186ab6c376e9831d93b3c57efb1f9a3d1c3890e1ee423a2dd324c8827e1367051ce37ed6a67e0a620fee21b1ce471e8fd66f2f32e
6
+ metadata.gz: 81f45bc007d9cab7772071eddb2d3d3482b3fa755d427041f9978d6bc9cf72e0c75a59e5edfa85780c2f059672fc30af92a885dc60b896428b6fceb201a91c6a
7
+ data.tar.gz: 517bea72a19ac307962c9f3135d2b7f468a915ee3db234e75bc4c4345fe325b7ed32dff0f2f20ae6cf450303e8f2bcf3eed18ace983f63538fdfe7042b475a55
@@ -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-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