prometheus-client-mmap 1.2.1-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: ab65e84f2d0ce3df84d8a9180a3f81b7708475f8859db3d4abe1850bf87ef5f6
4
- data.tar.gz: 7fc69d3bd000941c24f3f651ad1326eab18905202076df8c1505866a588e21d2
3
+ metadata.gz: 7f56d652790a88e44aaf51d546c168e1d35bdc2c6b14698bcb2f5887a78fb92d
4
+ data.tar.gz: a8941aed9476b42907b1078e3bc0b2c2eadda2b07dfa5b7abe066ba33c89683f
5
5
  SHA512:
6
- metadata.gz: bf6be9cdd5a7dc1208d94b87ce2a0c8477e139ede0148ee1f22bf38742142b92357032b82583289ec762d4d61752bc83d699efd508a9921e40570166c018eff7
7
- data.tar.gz: 0023b30fd6a366abab852b2c76a2d037783b169501ad710340478872c52bed6abb68b9a7c18e272331ac31be37312e10c6ad0ee435f75787e86d35bb07dcc83f
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.1'.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.1
4
+ version: 1.2.5
5
5
  platform: aarch64-linux-musl
6
6
  authors:
7
7
  - Tobias Schmidt