prometheus-client-mmap 1.2.4-x86_64-darwin → 1.2.5-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 +6 -0
- 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 +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 83d6fbcd39c122e5ae097a6f03a42d47631f7b554b78e09e70e6609bf68eb60d
|
4
|
+
data.tar.gz: 13afec1f80d20a6c2384f2b1e4251a80d0ff47e4ee7cd099edbeb8bace6764c4
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: a5efc3a3fc389965558d9fc827a2f8d22c4f19fa9fd26d20bdb638677f442da0e5c4ab71657ffeb4619c04d02d19dd87edba0c1941ec9920db8ec61dfdda8a64
|
7
|
+
data.tar.gz: fe7a55023f72123edf090c480f67e91d4381919bc7d359e025fc8d58f888a3b210b518eab8e45125ca304b5ed74bd20fbcf5d95e7f713c09d84d3d81d23ce545
|
@@ -399,6 +399,12 @@ impl MmapedFile {
|
|
399
399
|
// Iterate over the values of the `WeakMap`.
|
400
400
|
for val in tracker.enumeratorize("each_value", ()) {
|
401
401
|
let rb_string = val?;
|
402
|
+
|
403
|
+
// A nil value suggests that the value was garbage collected
|
404
|
+
if rb_string.is_nil() {
|
405
|
+
continue;
|
406
|
+
}
|
407
|
+
|
402
408
|
let str = RString::from_value(rb_string)
|
403
409
|
.ok_or_else(|| err!(arg_error(), "weakmap value was not a string"))?;
|
404
410
|
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|