prometheus-client-mmap 1.2.4-aarch64-linux-musl → 1.2.5-aarch64-linux-musl

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: 641bca52c49529ca35d384e13adacbdf1c481d8a08923dfc0cbcb1121057aafb
4
- data.tar.gz: ab6642fec1dbcc5074c59e389da1a3cac2e62f73ec9050d77bfd38041d610dbe
3
+ metadata.gz: 7f56d652790a88e44aaf51d546c168e1d35bdc2c6b14698bcb2f5887a78fb92d
4
+ data.tar.gz: a8941aed9476b42907b1078e3bc0b2c2eadda2b07dfa5b7abe066ba33c89683f
5
5
  SHA512:
6
- metadata.gz: b6127710d7d702678a430543248d7d6898335816f6154cb0b3d80f60cfc7484e01768e7fed4255cc8771c61a47bcf1486e4064e9dadf88a63319516afd6c96ee
7
- data.tar.gz: 961a35ea3fe2339c274343b0a5cac59d057b196a8ce0bc7e866e3911a4ded50ae934b049b7a99cbdce40472831b201d635aab67f0703ca87586d45f288d4f258
6
+ metadata.gz: 0b63b043bd4adf9eb6489b6df4fb3d75b35b20d81d7da3784cd205ee3aa40d0ed896dc7756ba8dd85fb019c714cfba9e6b793f38ebb51209db8853d2f03ee448
7
+ data.tar.gz: d40342056911b45d5af87444fd784684a7582534ae76fdae70699052cd86622143251dfc1e364f468a47f3dcacf4a8e2e635a42cb15fa222a0c75cce6e4105c1
@@ -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: aarch64-linux-musl
6
6
  authors:
7
7
  - Tobias Schmidt