prometheus-client-mmap 1.0.1-x86_64-darwin → 1.0.2-x86_64-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: be3b67bb7ddbb4629ec612dc55a2f9342d8a41c9290cc6da64edf8d816c0c5f5
4
- data.tar.gz: cb98fa2e2758f5acffb31c0379c406dc6d7d40de200101dc63cc4dbc6a4d3d86
3
+ metadata.gz: 2dcf0afc73fb55a3edd6b5297153ce76b120d236b7aa9448e4e842386e6defb4
4
+ data.tar.gz: 4f7e9b95767f913d65565051abe104ece3ac977ed754d77f2675c907d968897b
5
5
  SHA512:
6
- metadata.gz: b568bda8be9e2ca19e9d6a645953ab7eff7b11477b5008615a263e0d43dc2ba567e899554c10fdc65a31f257c1dedf92cadf4a51be3500b770e57facf168396c
7
- data.tar.gz: 965217cb2aa20f781f513b8135636e153b33d97c848064649e24ba4178f0b9c1ab1bbd123a54d05d268cb5e8bd3caf4ee138f75ec6f08535178b4125ce7d2947
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::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-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