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 +4 -4
- data/.gitignore +1 -0
- data/lib/rx/check/result.rb +2 -2
- data/lib/rx/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 547dbd721c4caff313db4e3c9e48669de9f036e83b78432e3b691eef100ca0a6
|
4
|
+
data.tar.gz: dbed45238f4b0c4a9026ae1b0575ed00c904035640ed17b3b1c295fd5f56ab7f
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 03fb63ab206a49a852b650bf8f0e80db431fb29ad4b778d804d6fe5f0a93abeae2a3ffe6985c5742818328ebae82ce7f5a23670781d5c695fb9794f8aee69586
|
7
|
+
data.tar.gz: 05f26b6f89bbf8dcfde70ae563f7e7edaee52e72e57113872e4c6082fc952f791b7b9dbc26bdb7c7c28418fcb3973b8896f330d29ac034027832a386ad4f87a3
|
data/.gitignore
CHANGED
data/lib/rx/check/result.rb
CHANGED
@@ -2,7 +2,7 @@ module Rx
|
|
2
2
|
module Check
|
3
3
|
class Result
|
4
4
|
def self.from(check_name)
|
5
|
-
start_at =
|
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 =
|
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
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.
|
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-
|
11
|
+
date: 2021-05-26 00:00:00.000000000 Z
|
12
12
|
dependencies: []
|
13
13
|
description:
|
14
14
|
email:
|