prometheus-client-mmap 1.2.5-arm64-darwin → 1.2.6-arm64-darwin
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/ext/fast_mmaped_file_rs/src/mmap.rs +3 -7
- data/lib/3.1/fast_mmaped_file_rs.bundle +0 -0
- data/lib/3.2/fast_mmaped_file_rs.bundle +0 -0
- data/lib/3.3/fast_mmaped_file_rs.bundle +0 -0
- data/lib/3.4/fast_mmaped_file_rs.bundle +0 -0
- data/lib/prometheus/client/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 67995ab38abbfee73520b3cbfae88907f1a7eba45c9d083003b89aa7e85352c7
|
4
|
+
data.tar.gz: 788edfe1065597fdfd53cfbbbd5da6c1f409b976f0583bc5e4cf93b100db577e
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 49056e34229881f23ddbb87a97e4fed94774358b6526ca340439d66e3cc5a58fefdc0c0442adb9c1f2459c246353b287fc765a3db0bd884c20bdcad3712312b2
|
7
|
+
data.tar.gz: e5e31cd681bcb19cfc77672d19eeee6592362f6bccbe5a37b85092459deab17970e655ec1e3fd9c837e0304c23f0254265788aa003f034368bed9618160ce25d
|
@@ -397,13 +397,9 @@ impl MmapedFile {
|
|
397
397
|
let new_len = self.inner(|inner| util::cast_chk::<_, c_long>(inner.len(), "mmap len"))?;
|
398
398
|
|
399
399
|
// Iterate over the values of the `WeakMap`.
|
400
|
-
for
|
401
|
-
let
|
402
|
-
|
403
|
-
// A nil value suggests that the value was garbage collected
|
404
|
-
if rb_string.is_nil() {
|
405
|
-
continue;
|
406
|
-
}
|
400
|
+
for pair in tracker.enumeratorize("each_pair", ()) {
|
401
|
+
let rpair = magnus::RArray::try_convert(pair?)?;
|
402
|
+
let rb_string: Value = rpair.entry(1)?;
|
407
403
|
|
408
404
|
let str = RString::from_value(rb_string)
|
409
405
|
.ok_or_else(|| err!(arg_error(), "weakmap value was not a string"))?;
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
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
|
+
version: 1.2.6
|
5
5
|
platform: arm64-darwin
|
6
6
|
authors:
|
7
7
|
- Tobias Schmidt
|
@@ -11,7 +11,7 @@ authors:
|
|
11
11
|
autorequire:
|
12
12
|
bindir: bin
|
13
13
|
cert_chain: []
|
14
|
-
date: 2024-12-
|
14
|
+
date: 2024-12-30 00:00:00.000000000 Z
|
15
15
|
dependencies:
|
16
16
|
- !ruby/object:Gem::Dependency
|
17
17
|
name: rb_sys
|