middleware_healthcheck 1.0.0 → 1.0.1
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.
- checksums.yaml +4 -4
- data/CHANGELOG.md +4 -0
- data/Gemfile.lock +1 -1
- data/lib/middleware_healthcheck/rails.rb +1 -1
- data/lib/middleware_healthcheck/version.rb +1 -1
- data/spec/dummy/log/test.log +16 -0
- data/spec/dummy/tmp/cache/assets/sprockets/v3.0/8-/8-NhTS52vPwa52ynQYU_6tXZFBFGq4LJR4H5NPsX6oo.cache +1 -0
- data/spec/dummy/tmp/cache/assets/sprockets/v3.0/pE/pEkDc3EkakeLCdAboKRXMCxvtnO6Ron-lCctmwBnBBc.cache +1 -0
- metadata +6 -2
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 9d4f4e3ac1373054d2a71f0c9d51cd4a6482cce29c55dcb7253027330457101e
|
|
4
|
+
data.tar.gz: 68dab26e2e9ccb08d99e6a14c3d48acf107f8d7da08365fe860e535e2a536b58
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 737919ea36cf8aa4290ca065492698f0ef9cb9df573f7c8913f2ac817b592e6936d900ecd7a1b0f3fe24acd65fd798a6f5a27ced6223a2aa225095c65483363d
|
|
7
|
+
data.tar.gz: a45cb62d1926d35b7005a43c4dc012c8fbb25085dee8fd62bc119e5e13f98d6c58131df7bfb33214081dfade8bd29f12e0b645eb5a379945eb7e7890ca789baf
|
data/CHANGELOG.md
CHANGED
data/Gemfile.lock
CHANGED
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
module MiddlewareHealthcheck
|
|
4
4
|
class Railtie < Rails::Railtie
|
|
5
5
|
initializer 'middleware_healthcheck.configure_rails_initialization' do
|
|
6
|
-
app.middleware.
|
|
6
|
+
app.middleware.insert_before ActionDispatch::ShowExceptions, MiddlewareHealthcheck::Middleware
|
|
7
7
|
end
|
|
8
8
|
|
|
9
9
|
def app
|
data/spec/dummy/log/test.log
CHANGED
|
@@ -78,3 +78,19 @@ Processing by HomeController#show as HTML
|
|
|
78
78
|
Rendered home/show.html.erb within layouts/application (19.4ms)
|
|
79
79
|
Completed 200 OK in 939ms (Views: 914.0ms | ActiveRecord: 0.0ms)
|
|
80
80
|
[1m[35m (0.1ms)[0m [1m[31mrollback transaction[0m
|
|
81
|
+
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
|
82
|
+
Started GET "/healthcheck" for 127.0.0.1 at 2019-04-04 08:06:49 +0000
|
|
83
|
+
Started GET "/healthcheck?full=1" for 127.0.0.1 at 2019-04-04 08:06:49 +0000
|
|
84
|
+
Started GET "/healthcheck?checks=active_record" for 127.0.0.1 at 2019-04-04 08:06:49 +0000
|
|
85
|
+
Started GET "/healthcheck" for 127.0.0.1 at 2019-04-04 08:06:49 +0000
|
|
86
|
+
Started GET "/healthcheck?full=1" for 127.0.0.1 at 2019-04-04 08:06:49 +0000
|
|
87
|
+
Started GET "/healthcheck?checks=active_record" for 127.0.0.1 at 2019-04-04 08:06:49 +0000
|
|
88
|
+
[1m[35m (2.9ms)[0m [1m[36mbegin transaction[0m
|
|
89
|
+
Started GET "/healthcheck?checks=active_record,something_funny,redis" for 127.0.0.1 at 2019-04-04 08:06:49 +0000
|
|
90
|
+
[1m[35m (3.7ms)[0m [1m[36mbegin transaction[0m
|
|
91
|
+
Started GET "/" for 127.0.0.1 at 2019-04-04 08:06:49 +0000
|
|
92
|
+
Processing by HomeController#show as HTML
|
|
93
|
+
Rendering home/show.html.erb within layouts/application
|
|
94
|
+
Rendered home/show.html.erb within layouts/application (12.3ms)
|
|
95
|
+
Completed 200 OK in 659ms (Views: 645.6ms | ActiveRecord: 0.0ms)
|
|
96
|
+
[1m[35m (0.1ms)[0m [1m[31mrollback transaction[0m
|
data/spec/dummy/tmp/cache/assets/sprockets/v3.0/8-/8-NhTS52vPwa52ynQYU_6tXZFBFGq4LJR4H5NPsX6oo.cache
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"%�d�-�K���`���8Y��3�/Y����a~K
|
data/spec/dummy/tmp/cache/assets/sprockets/v3.0/pE/pEkDc3EkakeLCdAboKRXMCxvtnO6Ron-lCctmwBnBBc.cache
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"%TT4��
|
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: middleware_healthcheck
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 1.0.
|
|
4
|
+
version: 1.0.1
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Adam Wieczorkowski
|
|
@@ -10,7 +10,7 @@ authors:
|
|
|
10
10
|
autorequire:
|
|
11
11
|
bindir: bin
|
|
12
12
|
cert_chain: []
|
|
13
|
-
date: 2019-04-
|
|
13
|
+
date: 2019-04-04 00:00:00.000000000 Z
|
|
14
14
|
dependencies:
|
|
15
15
|
- !ruby/object:Gem::Dependency
|
|
16
16
|
name: rails
|
|
@@ -148,6 +148,7 @@ files:
|
|
|
148
148
|
- spec/dummy/public/favicon.ico
|
|
149
149
|
- spec/dummy/tmp/cache/assets/sprockets/v3.0/1Z/1ZqiErdTkUSevJyliQcE6Uv0PPfRzU66d94xoZ3dSfw.cache
|
|
150
150
|
- spec/dummy/tmp/cache/assets/sprockets/v3.0/7w/7w6Uz6xnLkTSMI9uPVNZTvew3_SuE2eFtCp2AMFxQeE.cache
|
|
151
|
+
- spec/dummy/tmp/cache/assets/sprockets/v3.0/8-/8-NhTS52vPwa52ynQYU_6tXZFBFGq4LJR4H5NPsX6oo.cache
|
|
151
152
|
- spec/dummy/tmp/cache/assets/sprockets/v3.0/Cc/CcEKUCZOP7lJ_9fy6W8fGxHeo_pLX0_lh0F7JlaDl5I.cache
|
|
152
153
|
- spec/dummy/tmp/cache/assets/sprockets/v3.0/D_/D_apOMXJIIn679o4LoHlmz-NyTG64xuWe4ro7TKyzpU.cache
|
|
153
154
|
- spec/dummy/tmp/cache/assets/sprockets/v3.0/G0/G0qRtrgh65rOsfS-37uSF2UQdaiDRjEmjqhbpW0pBJA.cache
|
|
@@ -172,6 +173,7 @@ files:
|
|
|
172
173
|
- spec/dummy/tmp/cache/assets/sprockets/v3.0/n_/n_xYqQYhwEMQknb3jFQnjlxxBE9TzMNHCdJ-bEyZFIw.cache
|
|
173
174
|
- spec/dummy/tmp/cache/assets/sprockets/v3.0/nx/nxTv3sKVUQZADJyM3dPaVmUA78MIsMLD_K279yN_GsI.cache
|
|
174
175
|
- spec/dummy/tmp/cache/assets/sprockets/v3.0/p7/p7shbLzQVrz5OW2TM-TaNcMg8gsq9aZWwa93dkSMTQY.cache
|
|
176
|
+
- spec/dummy/tmp/cache/assets/sprockets/v3.0/pE/pEkDc3EkakeLCdAboKRXMCxvtnO6Ron-lCctmwBnBBc.cache
|
|
175
177
|
- spec/dummy/tmp/cache/assets/sprockets/v3.0/rJ/rJkoK89nBrho66t78LEv5znjqvofPuVMzAQMTuQbVBg.cache
|
|
176
178
|
- spec/dummy/tmp/cache/assets/sprockets/v3.0/wD/wD6mw4ORb1J88B71fVPpf5RbRJ3TVgfnA77wJFO8xj4.cache
|
|
177
179
|
- spec/dummy/tmp/cache/assets/sprockets/v3.0/x7/x7PYh8DJvPykcEqpVab2vcY9-GFz-3cqtoMlRAu94Uc.cache
|
|
@@ -259,6 +261,7 @@ test_files:
|
|
|
259
261
|
- spec/dummy/public/favicon.ico
|
|
260
262
|
- spec/dummy/tmp/cache/assets/sprockets/v3.0/1Z/1ZqiErdTkUSevJyliQcE6Uv0PPfRzU66d94xoZ3dSfw.cache
|
|
261
263
|
- spec/dummy/tmp/cache/assets/sprockets/v3.0/7w/7w6Uz6xnLkTSMI9uPVNZTvew3_SuE2eFtCp2AMFxQeE.cache
|
|
264
|
+
- spec/dummy/tmp/cache/assets/sprockets/v3.0/8-/8-NhTS52vPwa52ynQYU_6tXZFBFGq4LJR4H5NPsX6oo.cache
|
|
262
265
|
- spec/dummy/tmp/cache/assets/sprockets/v3.0/Cc/CcEKUCZOP7lJ_9fy6W8fGxHeo_pLX0_lh0F7JlaDl5I.cache
|
|
263
266
|
- spec/dummy/tmp/cache/assets/sprockets/v3.0/D_/D_apOMXJIIn679o4LoHlmz-NyTG64xuWe4ro7TKyzpU.cache
|
|
264
267
|
- spec/dummy/tmp/cache/assets/sprockets/v3.0/G0/G0qRtrgh65rOsfS-37uSF2UQdaiDRjEmjqhbpW0pBJA.cache
|
|
@@ -283,6 +286,7 @@ test_files:
|
|
|
283
286
|
- spec/dummy/tmp/cache/assets/sprockets/v3.0/n_/n_xYqQYhwEMQknb3jFQnjlxxBE9TzMNHCdJ-bEyZFIw.cache
|
|
284
287
|
- spec/dummy/tmp/cache/assets/sprockets/v3.0/nx/nxTv3sKVUQZADJyM3dPaVmUA78MIsMLD_K279yN_GsI.cache
|
|
285
288
|
- spec/dummy/tmp/cache/assets/sprockets/v3.0/p7/p7shbLzQVrz5OW2TM-TaNcMg8gsq9aZWwa93dkSMTQY.cache
|
|
289
|
+
- spec/dummy/tmp/cache/assets/sprockets/v3.0/pE/pEkDc3EkakeLCdAboKRXMCxvtnO6Ron-lCctmwBnBBc.cache
|
|
286
290
|
- spec/dummy/tmp/cache/assets/sprockets/v3.0/rJ/rJkoK89nBrho66t78LEv5znjqvofPuVMzAQMTuQbVBg.cache
|
|
287
291
|
- spec/dummy/tmp/cache/assets/sprockets/v3.0/wD/wD6mw4ORb1J88B71fVPpf5RbRJ3TVgfnA77wJFO8xj4.cache
|
|
288
292
|
- spec/dummy/tmp/cache/assets/sprockets/v3.0/x7/x7PYh8DJvPykcEqpVab2vcY9-GFz-3cqtoMlRAu94Uc.cache
|