prometheus-client-mmap 1.2.4-aarch64-linux-gnu → 1.2.6-aarch64-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: 1a56423a161e698d2b31bf7576eefd5b7e0ccbba1d7fdc99b67573f443f367db
4
- data.tar.gz: 1cfab2a2876df61b0073b6c886174742008be8dafac78de5092908eeb9c620cd
3
+ metadata.gz: 98710214aa7a9bd964bd4d5c0db208bd9017022465bfaace4a0d43ef348de103
4
+ data.tar.gz: 65d03a16aa61a06a023c1ed642fd87c9cfe62fe86d684476a62731d424b451f9
5
5
  SHA512:
6
- metadata.gz: 4e7faa54260d67623dcfb44f663c483879c597bc04aad87a368d7b14ae6c1c11143261166950f09c3bfd3aa2e739550c084d0daf40f0b621e3d3c9cc58808bd3
7
- data.tar.gz: dc9dc4674ff710660e169a7483fb799f1a1a524c08b8ad93335bc5557ebd8af26212f54965291307e9b644f631d112081f1a107d79c6baf4e7fe4ce701c69062
6
+ metadata.gz: 0e90c93e234498cbe77338ed65ed277d1bf7ccc776a99c9cdede6bc041472a52257156a7c97c0c3684a1b0611d2b9dcd1503e550ab4fcdfb46de59e91af4ec5a
7
+ data.tar.gz: c6e306ee3f512027c8bb39fdfbf80dfb518a8dcca11a58d3ae31609009c5c931a301ac6fd0c31c2d9ee492bff38bda64287f1c22159d6b2d580281933e1e2bb2
@@ -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-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