prometheus-client-mmap 0.13.0 → 0.14.0
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/mmap.c +0 -4
- 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: 5bf5a74fabdf7eb344213edc641c57dab7c97bcaad23f5ba45883837f01c9d27
|
4
|
+
data.tar.gz: 9c86ca31dd3e32812a8ce97c13d1f3674f59169b50f0f46b762bf295b8ed33c0
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: e3f14c13416a92d5dc621f1d10ad3a5477dd7ee8169613bbf68b5281490c6f8d44af6ac8964c25aaa5847f938196936e0008d655a5bfbad2503295961a05b41a
|
7
|
+
data.tar.gz: f119065ea9ac2bef25cdc1ae92ba784cf0486c32639b47874db815fde359166900ce67adf35d7e003a66d0993fe913afbbfc6fa1f0b7abed48a60a346d5ea52e
|
data/ext/fast_mmaped_file/mmap.c
CHANGED
@@ -44,9 +44,6 @@ static VALUE mm_str(VALUE obj, int modify) {
|
|
44
44
|
if (i_mm->t->flag & MM_FROZEN) rb_error_frozen("mmap");
|
45
45
|
}
|
46
46
|
ret = rb_obj_alloc(rb_cString);
|
47
|
-
if (rb_obj_tainted(obj)) {
|
48
|
-
OBJ_TAINT(ret);
|
49
|
-
}
|
50
47
|
RSTRING(ret)->as.heap.ptr = i_mm->t->addr;
|
51
48
|
RSTRING(ret)->as.heap.aux.capa = i_mm->t->len;
|
52
49
|
RSTRING(ret)->as.heap.len = i_mm->t->real;
|
@@ -272,7 +269,6 @@ VALUE mm_init(VALUE obj, VALUE fname) {
|
|
272
269
|
if (smode == O_WRONLY) {
|
273
270
|
i_mm->t->flag |= MM_FIXED;
|
274
271
|
}
|
275
|
-
OBJ_TAINT(obj);
|
276
272
|
return obj;
|
277
273
|
}
|
278
274
|
|
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: 0.
|
4
|
+
version: 0.14.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Tobias Schmidt
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2021-
|
12
|
+
date: 2021-08-25 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: fuzzbert
|