health_monitor_lb 1.3.0 → 1.3.2
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
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: f6068b2012e082f51c4cb313337e28e5867dc34d93a56b2aa513bfdcc5758e5e
|
4
|
+
data.tar.gz: '00927e6ae055efa6ead0d116fa2ec47336e3527891e56054e3b364f0e4c8e4ac'
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: add3aa2590fa7fed618d4a97c1fd8520e39626cdd20de18d642d12999a93277d4655210b4984fb52f6e1e5beafec6fc33704bc33dc5afe40f074cea77cc1cd13
|
7
|
+
data.tar.gz: f478430c25ab75f46be07878595985b11cd6bb1151eee2bcce7dfa4b14a05b8f1be20557f28c964cfa8eba989d678fa28f8d929696a6fe751b4c4481a1e9c0d5
|
@@ -3,12 +3,6 @@ module HealthMonitorLb
|
|
3
3
|
before_action :check_api_token
|
4
4
|
|
5
5
|
def check_api_token
|
6
|
-
class << request
|
7
|
-
def port
|
8
|
-
80
|
9
|
-
end
|
10
|
-
end
|
11
|
-
|
12
6
|
if ENV['HEALTH_MONITOR_API_TOKEN'].present? && (params['API_TOKEN'] != ENV['HEALTH_MONITOR_API_TOKEN'])
|
13
7
|
render json: 'unauthorized', status: :unauthorized
|
14
8
|
end
|
@@ -1,7 +1,7 @@
|
|
1
1
|
# Be sure to restart your server when you modify this file.
|
2
2
|
|
3
3
|
# Version of your assets, change this if you want to expire all your assets.
|
4
|
-
Rails.application.config.assets.version = '1.0'
|
4
|
+
# Rails.application.config.assets.version = '1.0'
|
5
5
|
|
6
6
|
# Add additional assets to the asset load path.
|
7
7
|
# Rails.application.config.assets.paths << Emoji.images_path
|
data/spec/dummy/log/test.log
CHANGED
@@ -218,3 +218,12 @@ Completed 200 OK in 117ms (Views: 0.2ms | ActiveRecord: 0.0ms | Allocations: 402
|
|
218
218
|
Processing by HealthMonitorLb::HealthController#index as HTML
|
219
219
|
Parameters: {"API_TOKEN"=>"[FILTERED]"}
|
220
220
|
Completed 200 OK in 102ms (Views: 0.1ms | ActiveRecord: 0.0ms | Allocations: 202)
|
221
|
+
Processing by HealthMonitorLb::HealthController#index as HTML
|
222
|
+
Filter chain halted as :check_api_token rendered or redirected
|
223
|
+
Completed 401 Unauthorized in 2ms (Views: 0.2ms | ActiveRecord: 0.0ms (0 queries, 0 cached) | GC: 0.0ms)
|
224
|
+
Processing by HealthMonitorLb::HealthController#index as HTML
|
225
|
+
Parameters: {"API_TOKEN"=>"[FILTERED]"}
|
226
|
+
Completed 200 OK in 115ms (Views: 0.1ms | ActiveRecord: 0.0ms (0 queries, 0 cached) | GC: 0.0ms)
|
227
|
+
Processing by HealthMonitorLb::HealthController#index as HTML
|
228
|
+
Parameters: {"API_TOKEN"=>"[FILTERED]"}
|
229
|
+
Completed 200 OK in 122ms (Views: 0.1ms | ActiveRecord: 0.0ms (0 queries, 0 cached) | GC: 0.0ms)
|
@@ -0,0 +1 @@
|
|
1
|
+
a736dcb356628992d0483e2b372f8bd1e565dcd8087fd96a14999d1b7479d6ad828dc5239ce0d3315bb3a99ffcd5dae4721fffd0b7346b83f83eecbc40ef3c9d
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: health_monitor_lb
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.3.
|
4
|
+
version: 1.3.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Alan Hecht
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
- Kevin Foster
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2025-
|
12
|
+
date: 2025-07-22 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: rails
|
@@ -151,6 +151,7 @@ files:
|
|
151
151
|
- spec/dummy/public/apple-touch-icon.png
|
152
152
|
- spec/dummy/public/favicon.ico
|
153
153
|
- spec/dummy/tmp/development_secret.txt
|
154
|
+
- spec/dummy/tmp/local_secret.txt
|
154
155
|
- spec/health_monitor_lb_spec.rb
|
155
156
|
- spec/rails_helper.rb
|
156
157
|
- spec/spec_helper.rb
|