rx-healthcheck 0.1.2 → 0.1.3

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: b1566710004f2caf4611964415d144921c8d6ea9b32936ca08fba2189282042e
4
- data.tar.gz: ca37d15363b876ebabf6bc2d0fb5cf13cd156e51c2afb29dc0860e7aa8f9f613
3
+ metadata.gz: 547dbd721c4caff313db4e3c9e48669de9f036e83b78432e3b691eef100ca0a6
4
+ data.tar.gz: dbed45238f4b0c4a9026ae1b0575ed00c904035640ed17b3b1c295fd5f56ab7f
5
5
  SHA512:
6
- metadata.gz: e474fcde410e1c2f73e4e48cfd4588c227d29d6ad2b443a7f5a92c4c64542cd334e766212ed9ade803b2fd4344a75351129209c116c7e5830f1aa3ecf1ef881e
7
- data.tar.gz: d4e3a2fd87c407e13cd645afa4b07a3f4ffc68457515a69ea360b1c6761431e9df1bb1629d500366cab7ab9b436afef516b31c063acf3306de5e31a5bdf3e8bf
6
+ metadata.gz: 03fb63ab206a49a852b650bf8f0e80db431fb29ad4b778d804d6fe5f0a93abeae2a3ffe6985c5742818328ebae82ce7f5a23670781d5c695fb9794f8aee69586
7
+ data.tar.gz: 05f26b6f89bbf8dcfde70ae563f7e7edaee52e72e57113872e4c6082fc952f791b7b9dbc26bdb7c7c28418fcb3973b8896f330d29ac034027832a386ad4f87a3
data/.gitignore CHANGED
@@ -6,3 +6,4 @@
6
6
  /pkg/
7
7
  /spec/reports/
8
8
  /tmp/
9
+ *.gem
@@ -2,7 +2,7 @@ module Rx
2
2
  module Check
3
3
  class Result
4
4
  def self.from(check_name)
5
- start_at = Time.now
5
+ start_at = Process.clock_gettime(Process::CLOCK_MONOTONIC)
6
6
  err = nil
7
7
  result = false
8
8
 
@@ -12,7 +12,7 @@ module Rx
12
12
  err = ex
13
13
  end
14
14
 
15
- end_at = Time.now
15
+ end_at = Process.clock_gettime(Process::CLOCK_MONOTONIC)
16
16
 
17
17
  Result.new(check_name, result, ((end_at - start_at) * 1000).round(2), err)
18
18
  end
data/lib/rx/version.rb CHANGED
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Rx
4
- VERSION = "0.1.2"
4
+ VERSION = "0.1.3"
5
5
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: rx-healthcheck
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.2
4
+ version: 0.1.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Zach Pendleton
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2021-05-25 00:00:00.000000000 Z
11
+ date: 2021-05-26 00:00:00.000000000 Z
12
12
  dependencies: []
13
13
  description:
14
14
  email: