prometheus-client-mmap 1.0.1-arm64-darwin → 1.0.3-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: 1b9190d30d45036c513b88591031710075cd9e0328ab871bba58d41c49ce4bb5
4
+ data.tar.gz: 69a2ba6181a8edd866df9e53c3bc5846515bfc2078a0cd659706fcfa6544dfbc
5
5
  SHA512:
6
- metadata.gz: 13f754bc75e0cf1aca8e8523341b80812cbe2ab9071ea0f6348a66ca285454ab076821a7ee315025ee82fce39de0d3a872d0387359742b0e41c47dfb537a4628
7
- data.tar.gz: b7f8a9618453235cd0a9dc995a3740fcc339f0ad9f2e80d0095a3f9d6f394c211065f174b3dc618b81ef004bef32ef6683411f6f776d6fdbd8c417ed923d0cad
6
+ metadata.gz: b7e3fd6aac2176dfd9793cc7287d4e6dc7143078287c9852093a06c46cfc2386aa822607e6143f5b5c7ca7ecc5c597282371e26555403a07cd470cca25e6976d
7
+ data.tar.gz: 923ab28b7b7935bb113ef79abb95ecbc9c5eb73fc945210674ed4c038d9c314d9900caaab4fbc3fee3698963726f8891404854f9ca0b5519adabe40a4f6d0fb8
@@ -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: 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: 2024-01-02 00:00:00.000000000 Z
15
15
  dependencies:
16
16
  - !ruby/object:Gem::Dependency
17
17
  name: rb_sys