prometheus-client-mmap 1.0.1-x86_64-linux → 1.0.2-x86_64-linux

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: 9c8f69fa5aff02f026b853d4bbccf88c29532b7266c7eca9315aee6cbcb1e43b
4
- data.tar.gz: 4aedb0e7da1702beeef19245509443c8aecf0382744c9e2cbfd141bc05168ab2
3
+ metadata.gz: a91f92d624ef1c32f1c60e646f04d63df1f4bd1c2ff7e599abdbc687964997de
4
+ data.tar.gz: 2775a1a98a0cf4309293aaf075406ab543259d530db7a59d80ad9698e835326a
5
5
  SHA512:
6
- metadata.gz: abcca2bf7ff564a46b4dc7705e4325eb3f1d6e70e1042cd98f8ecfdb465ac8c07f062c7fcbf9a340ec6f6bfa138a3bd86ee9b189908a80854677f7daa0ca0f17
7
- data.tar.gz: 74ed42608d0b92d51bea0e2e522ad3ee266410665007b105f8cf49c1c9f4772659113b1a1c8423ed4835fceff0ba4f5284e7448fdb38249aac5eb75be4afd7fa
6
+ metadata.gz: 7d9f05cf642375bd3189ebc93343415ed46c4cbf6cd9060640fa5168f2504886e1961b9b6c376a91d2c3e54559c2b34e90db2d4f1ac5eb23eaeeafd1fc7ae14a
7
+ data.tar.gz: 3f28eb9663d990735d010521fd79c7644b6f5ea362986ecfbc71a0582a02d54e779ec82c61e6291aa0e6f17bd913277d1c3eadf9ae05fc818d560ba902b29b98
@@ -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::WithErrno(format!("Can't lseek {}", len - 1)));
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::WithErrno(format!(
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
@@ -1,5 +1,5 @@
1
1
  module Prometheus
2
2
  module Client
3
- VERSION = '1.0.1'.freeze
3
+ VERSION = '1.0.2'.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.0.1
4
+ version: 1.0.2
5
5
  platform: x86_64-linux
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-04 00:00:00.000000000 Z
14
+ date: 2023-12-11 00:00:00.000000000 Z
15
15
  dependencies:
16
16
  - !ruby/object:Gem::Dependency
17
17
  name: rb_sys