prometheus-client-mmap 1.0.1-x86_64-darwin → 1.0.3-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: 0b5d1affad5caf3818770e6abeb7bfcffc9325bc6a2864c26d8f1e3e27b88037
4
+ data.tar.gz: 47fedb5c6d451c893e7358d160edb7e536a9feec2e93e1567ccf43fbb9d3593b
5
5
  SHA512:
6
- metadata.gz: b568bda8be9e2ca19e9d6a645953ab7eff7b11477b5008615a263e0d43dc2ba567e899554c10fdc65a31f257c1dedf92cadf4a51be3500b770e57facf168396c
7
- data.tar.gz: 965217cb2aa20f781f513b8135636e153b33d97c848064649e24ba4178f0b9c1ab1bbd123a54d05d268cb5e8bd3caf4ee138f75ec6f08535178b4125ce7d2947
6
+ metadata.gz: 76eb009069b02bf80c9bb19cb2cfc2895e38f74510553670d10a21c3ef2d4dfb9a3f3fe6630a3db4c77e3412d64dce49bfc76374ce6cba1ea04e07cd0ee47ccd
7
+ data.tar.gz: 22d52dcfc571aa29eaba92264bee6fa77c0db42a231ad796f16c16cc6d478c18fd6197cefcf9a4c97dd03ee8c15a26b81b04b25179e74864ae10326ab0cf6751
@@ -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-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