prometheus-client-mmap 1.2.4-x86_64-linux-gnu → 1.2.5-x86_64-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: 75f6095dd72062a0a926e19cf78bf292be57b468931ce5a2002d73e86aaa88b6
4
- data.tar.gz: 531fbe088df28cd8dec9e8dff57617cb19d8fc653c56f1deff40c4256a5ce0ab
3
+ metadata.gz: 904d4e24a681d9f39ab8daa4969f1672ceccf635fce884fda349bd4fc4903530
4
+ data.tar.gz: c9dce3ea3ec8f0ffa930bfb373335b68c56d714d6e9cee2593721770a457adb4
5
5
  SHA512:
6
- metadata.gz: 6ff8cd19704e28db4aa11b60df2f46c4ac587a14e6c339ab7b2ce6521c52e65335d53ba742ac925a033dd94fb52e114b9a641b79c3e2db8b4360561ae1230e76
7
- data.tar.gz: 3f1d481ed405405ab221d13736f5a72456e84a27617eb6a03f277830aa7ff174d49c269248429f4227f8ada1db7677649bdc1e680ccb35f081f23060f33f9fd7
6
+ metadata.gz: 7691f3abb7d57aadb5c86f3bcf6c69a3d43fadbc36ff3d78f8ae9ef7a6bab93b7e250c23e740aa780895499e4ffc441c06c005660ef68379f0fd76cf310e5fb2
7
+ data.tar.gz: 0b65a866a0d2c53f2c124a5e2ff60ef8dd682ca01af14bae33fa0a74b67b3cb457cb6f0a56fce9b152737c54c4f0e508fca6724d0148959737fe4a21a2d70333
@@ -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: x86_64-linux-gnu
6
6
  authors:
7
7
  - Tobias Schmidt