prometheus-client-mmap 1.2.5-x86_64-darwin → 1.2.6-x86_64-darwin
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 +3 -7
- data/lib/3.1/fast_mmaped_file_rs.bundle +0 -0
- data/lib/3.2/fast_mmaped_file_rs.bundle +0 -0
- data/lib/3.3/fast_mmaped_file_rs.bundle +0 -0
- data/lib/3.4/fast_mmaped_file_rs.bundle +0 -0
- 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: 1581cc33e9101ee5bfad216001f7922fff46900269566615718686c5f395f99d
|
4
|
+
data.tar.gz: 5a2c900de716f5463f1638fd96038d110329f3817b8339256d2f65391d0e2730
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: f1ed0682c9141dda22e411032429f28e424e56486deb62252e72adeb12a0fc2106eb14bd936d7efd1669b445dfb045e96c728c3e01412f6469fa49e750172382
|
7
|
+
data.tar.gz: 827c02d43a530bcce5832d44d715a7fe735ad971f9bc4834dc95992ac8f5c65bfeb633c517fcaa6dd1b630a8330392084f5c42386a73fee2c4f2b81ac5876c7a
|
@@ -397,13 +397,9 @@ 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
|
402
|
-
|
403
|
-
// A nil value suggests that the value was garbage collected
|
404
|
-
if rb_string.is_nil() {
|
405
|
-
continue;
|
406
|
-
}
|
400
|
+
for pair in tracker.enumeratorize("each_pair", ()) {
|
401
|
+
let rpair = magnus::RArray::try_convert(pair?)?;
|
402
|
+
let rb_string: Value = rpair.entry(1)?;
|
407
403
|
|
408
404
|
let str = RString::from_value(rb_string)
|
409
405
|
.ok_or_else(|| err!(arg_error(), "weakmap value was not a string"))?;
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
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: x86_64-darwin
|
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
|