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

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: 1a56423a161e698d2b31bf7576eefd5b7e0ccbba1d7fdc99b67573f443f367db
4
- data.tar.gz: 1cfab2a2876df61b0073b6c886174742008be8dafac78de5092908eeb9c620cd
3
+ metadata.gz: 5f40be4eea2a02dda7310ecbb26d68570e55d63fc0a91ddbc37d2aaaf5a5a96b
4
+ data.tar.gz: e733278f2006e3d2b19047d88e786a9b1380c73ce78b80486243efad06b7180f
5
5
  SHA512:
6
- metadata.gz: 4e7faa54260d67623dcfb44f663c483879c597bc04aad87a368d7b14ae6c1c11143261166950f09c3bfd3aa2e739550c084d0daf40f0b621e3d3c9cc58808bd3
7
- data.tar.gz: dc9dc4674ff710660e169a7483fb799f1a1a524c08b8ad93335bc5557ebd8af26212f54965291307e9b644f631d112081f1a107d79c6baf4e7fe4ce701c69062
6
+ metadata.gz: 6dbd80c80d8392edca960846bde42a739535e05eb1c0da24e12b50b5e7ce5310851f33b8744a547a93fd7fe1f6515ce6303e89dc4fea54e0a330f7b2c1c157f0
7
+ data.tar.gz: 59fbe8fd5f02854fac828d69750620c4190f4b6362159ec23db768e1eb4c97ab39c85a232b6e8cb0e5148e6284eb27f66338ebdf476646edbd9277ca39d51588
@@ -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-gnu
6
6
  authors:
7
7
  - Tobias Schmidt