liveness 0.3.0 → 0.3.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Gemfile.lock +1 -1
- data/lib/liveness/status.rb +2 -2
- data/lib/liveness/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: a4c92cc1b31c6233492d1d20bf9e88b0c6705936aa396119e129ab937f551bc2
|
4
|
+
data.tar.gz: 8f4dcb1ba03d9d6d2356cba8b825034f72ffb6abb54d55938c81f5e447bacd3a
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 45c4011e178e1d9c24d21a06c85f2d96c3bff8571bc9261aefdd728767c5d27703d5860dd019221ab35f3fd86669da635881acc52500588c954204e1e7283519
|
7
|
+
data.tar.gz: 4fdb7ad22065829414e9942eb94fd9393f54aa106ec57be27d878c8992922a2326d32d8d3735c0874b1edc91e4cf9f021ae26050c3d47805b5529ebd0b66803d
|
data/Gemfile.lock
CHANGED
data/lib/liveness/status.rb
CHANGED
@@ -59,7 +59,7 @@ module Liveness
|
|
59
59
|
|
60
60
|
[
|
61
61
|
live? ? 200 : 503,
|
62
|
-
HEADERS,
|
62
|
+
HEADERS.dup,
|
63
63
|
[metrics.to_json]
|
64
64
|
]
|
65
65
|
end
|
@@ -69,7 +69,7 @@ module Liveness
|
|
69
69
|
# @since 0.3.0
|
70
70
|
def forbidden
|
71
71
|
[
|
72
|
-
403, HEADERS, [FORBIDDEN_MESSAGE.to_json]
|
72
|
+
403, HEADERS.dup, [FORBIDDEN_MESSAGE.to_json]
|
73
73
|
]
|
74
74
|
end
|
75
75
|
end
|
data/lib/liveness/version.rb
CHANGED