vault-tools 0.5.13 → 0.5.14
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- data/Gemfile.lock +1 -1
- data/lib/vault-tools/version.rb +1 -1
- data/lib/vault-tools/web.rb +3 -3
- metadata +1 -1
data/Gemfile.lock
CHANGED
data/lib/vault-tools/version.rb
CHANGED
data/lib/vault-tools/web.rb
CHANGED
|
@@ -84,7 +84,7 @@ module Vault
|
|
|
84
84
|
# @return The following responses may be returned by this method:
|
|
85
85
|
#
|
|
86
86
|
# - *HTTP 200 OK*: Returned if the request was successful.
|
|
87
|
-
|
|
87
|
+
head_unprotected '/' do
|
|
88
88
|
status(200)
|
|
89
89
|
end
|
|
90
90
|
|
|
@@ -95,7 +95,7 @@ module Vault
|
|
|
95
95
|
#
|
|
96
96
|
# - *HTTP 200 OK*: Returned if the request was successful with `OK` in
|
|
97
97
|
# the body.
|
|
98
|
-
|
|
98
|
+
get_unprotected '/health' do
|
|
99
99
|
[200, 'OK']
|
|
100
100
|
end
|
|
101
101
|
|
|
@@ -106,7 +106,7 @@ module Vault
|
|
|
106
106
|
#
|
|
107
107
|
# - *HTTP 500 Internal Server Error*: Returned with a traceback in the
|
|
108
108
|
# body.
|
|
109
|
-
|
|
109
|
+
get_unprotected '/boom' do
|
|
110
110
|
raise "An expected error occurred."
|
|
111
111
|
end
|
|
112
112
|
end
|