prometheus-client-mmap 1.2.4 → 1.2.6
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/ext/fast_mmaped_file_rs/src/mmap.rs +4 -2
- data/lib/prometheus/client/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 8c96004a65d9260bcb2b2605f83092660d19c1d4690b2b2a0327f53dc0c748d0
|
4
|
+
data.tar.gz: 65154dd4b7ca712e41990a966882da537bf08c622e5ebc7e18d689c66baab0f5
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: d30ea5b2821344e3c68a07e1d1a18fede760e705e167338192fe544440a16fd5c630c9d3e48889c45996d6c0d85459c13761acab3c6f86a35550165fef31747b
|
7
|
+
data.tar.gz: 7e413abf01e1e805028bcd1e1ef99b71bc5242ae5a26e8b7588c35daf6c7d27ca601f8ea3b0218d858b1ca3bc62890d6b14bbe94b4f69f3e1b580bb0d083eb86
|
@@ -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
|
401
|
-
let
|
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
|
|
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
|
+
version: 1.2.6
|
5
5
|
platform: ruby
|
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-
|
14
|
+
date: 2024-12-30 00:00:00.000000000 Z
|
15
15
|
dependencies:
|
16
16
|
- !ruby/object:Gem::Dependency
|
17
17
|
name: rb_sys
|