prometheus-client-mmap 1.0.1-x86_64-darwin → 1.0.2-x86_64-darwin
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/ext/fast_mmaped_file_rs/src/mmap.rs +2 -2
- data/lib/2.7/fast_mmaped_file_rs.bundle +0 -0
- data/lib/3.0/fast_mmaped_file_rs.bundle +0 -0
- data/lib/3.1/fast_mmaped_file_rs.bundle +0 -0
- data/lib/3.2/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: 2dcf0afc73fb55a3edd6b5297153ce76b120d236b7aa9448e4e842386e6defb4
|
4
|
+
data.tar.gz: 4f7e9b95767f913d65565051abe104ece3ac977ed754d77f2675c907d968897b
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: f213ca75e0af00c5b3f8d6786a519a0ebd3454555c6a4ee911165fcbcdec77f4f6bdae989f8e2737d803401e55eb42a2a2e42dc01c43d1333f01978ec0a4ecb2
|
7
|
+
data.tar.gz: e62500806cbf831da31a5cfcde30b68a9183892b0bb8557a9dad55879cc0155d63cc68fabdaf911a11740b3fe4e661e9871bfe56f86c600e6a3d0bd790c1c464
|
@@ -536,14 +536,14 @@ impl MmapedFile {
|
|
536
536
|
match file.seek(SeekFrom::Start(len - 1)) {
|
537
537
|
Ok(_) => {}
|
538
538
|
Err(_) => {
|
539
|
-
return Err(MmapError::
|
539
|
+
return Err(MmapError::with_errno(format!("Can't lseek {}", len - 1)));
|
540
540
|
}
|
541
541
|
}
|
542
542
|
|
543
543
|
match file.write(&[0x0]) {
|
544
544
|
Ok(1) => {}
|
545
545
|
_ => {
|
546
|
-
return Err(MmapError::
|
546
|
+
return Err(MmapError::with_errno(format!(
|
547
547
|
"Can't extend {}",
|
548
548
|
path.display()
|
549
549
|
)));
|
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.0.
|
4
|
+
version: 1.0.2
|
5
5
|
platform: x86_64-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: 2023-12-
|
14
|
+
date: 2023-12-11 00:00:00.000000000 Z
|
15
15
|
dependencies:
|
16
16
|
- !ruby/object:Gem::Dependency
|
17
17
|
name: rb_sys
|