prometheus-client-mmap 1.2.4-arm64-darwin → 1.2.5-arm64-darwin

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: 7eebdce54de920cde0ec6ea649d3f8b36d6e0c17a336a24e36672438125c9b58
4
- data.tar.gz: a995d8553e34e354fb4be1bf924860002d6f99b5d7ff9be8a52563c8cdbf0bf6
3
+ metadata.gz: feb22062a727e6c8338204c77ccf51f471ce98550a6b843d1b8ed7f7f370c010
4
+ data.tar.gz: 63305c92927daf8fc49a04b19eda2604f0a832ae75917483fc43cd7a8bc818a4
5
5
  SHA512:
6
- metadata.gz: 6c51b14141d47bfdbd4e178b9f2b344f82fa645b6e9a7a1fb2fcb4e72217ff3d7d46d91c2b4bb70a7dc2328b32e05c9da48f932ecf737f153261a01a3c4ccca2
7
- data.tar.gz: 9a2dfc04dc8aedc1c6204fe7eb403146578ab79dc4f1f86ebd5db020c6197c0c1a960c91843b6b355be255ee96ed4b7e8ed02689806b79d8e875d2a8466592ac
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
@@ -1,5 +1,5 @@
1
1
  module Prometheus
2
2
  module Client
3
- VERSION = '1.2.4'.freeze
3
+ VERSION = '1.2.5'.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.5
5
5
  platform: arm64-darwin
6
6
  authors:
7
7
  - Tobias Schmidt