prometheus-client-mmap 1.2.4-arm64-darwin → 1.2.5-arm64-darwin
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- 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: feb22062a727e6c8338204c77ccf51f471ce98550a6b843d1b8ed7f7f370c010
|
4
|
+
data.tar.gz: 63305c92927daf8fc49a04b19eda2604f0a832ae75917483fc43cd7a8bc818a4
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 44081bb4aae96ef16100ef0d04013447225eb1f21e3bedab1c3656f33d8c344be7555f005b96e3fc70c5981f1fd1572afd4ca7c33ce2664c174e7f8b88c714cd
|
7
|
+
data.tar.gz: 0b8cbb8a0089fdca00374c77ea0e2aff890b9ba7f7596c4394c79992433cad5e8a1757e8958715c6cdb7f91b983b1539b620f7a45f8eef68b5e4ae6dc9b4e61b
|
@@ -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
|