prometheus-client-mmap 1.0.1-x86_64-linux → 1.0.3-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: 9a8a1cbe5dd94226cffd438de208743f3fce3ee4c26e0f63d336a68ee095e1c9
4
+ data.tar.gz: 6a6766a6eb268caee655c739aa7ad4b41137054923385994185479fdcfe9f630
5
5
  SHA512:
6
- metadata.gz: abcca2bf7ff564a46b4dc7705e4325eb3f1d6e70e1042cd98f8ecfdb465ac8c07f062c7fcbf9a340ec6f6bfa138a3bd86ee9b189908a80854677f7daa0ca0f17
7
- data.tar.gz: 74ed42608d0b92d51bea0e2e522ad3ee266410665007b105f8cf49c1c9f4772659113b1a1c8423ed4835fceff0ba4f5284e7448fdb38249aac5eb75be4afd7fa
6
+ metadata.gz: 986077386a62e17b1934c91d608bc686577d8fb9432b67e35fdadb34801c970f7eb1d045b1428dadfa067f384cc8d270c14d9b42d46a4a9ec2db38704204d70d
7
+ data.tar.gz: 76b8389b5569b2ef00ba2803f049cedb835a3d35bd489c7b8ecc882f63ea2ccff7d47e483a76f301470efd1a6264635fd1db648ab20826ea1d42e0ab942992a7
@@ -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.3'.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.3
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: 2024-01-02 00:00:00.000000000 Z
15
15
  dependencies:
16
16
  - !ruby/object:Gem::Dependency
17
17
  name: rb_sys