prometheus-client-mmap 1.0.1-arm64-darwin → 1.0.2-arm64-darwin

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: c3fe4d8e0bf27904ce318f8cd9db156ff474b1f00bc315f6bf819749614faa64
4
- data.tar.gz: 7dc42b1c52ead941cc7d3ee552deb4ce743279371ab80e50836d4d6e09814537
3
+ metadata.gz: bf293027b7a0009519bc4470150ede16a4a0491726b086df0d99b18945a1eb80
4
+ data.tar.gz: d87ed963f3e69e1d87fe50207fe6727a26b26375bf3b97be001163b2a9b67687
5
5
  SHA512:
6
- metadata.gz: 13f754bc75e0cf1aca8e8523341b80812cbe2ab9071ea0f6348a66ca285454ab076821a7ee315025ee82fce39de0d3a872d0387359742b0e41c47dfb537a4628
7
- data.tar.gz: b7f8a9618453235cd0a9dc995a3740fcc339f0ad9f2e80d0095a3f9d6f394c211065f174b3dc618b81ef004bef32ef6683411f6f776d6fdbd8c417ed923d0cad
6
+ metadata.gz: 5061a1d9f56ffa28c6dc61393eec6c51bbbd086edcf37682202b55486486543eea540dba891baf9ff865504c59a20265be1071bebcd8e6eafd7ad5e08a5d06e4
7
+ data.tar.gz: 97250c100344cb7e665395f09e51db69af539778e261d83c970ba5cd4a5916b7c8e033bb388d389ea6e7681e74c26bf6d4a4031bc6f3245dc1b2329a896dd5b8
@@ -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: 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: 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