kubernetes-health 3.9.1 → 3.10.1
Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 4b3784236c03b3d08c9509f94da9e16cb0fb29f642f678684b20ef03d0b56a23
|
4
|
+
data.tar.gz: 3dd137f774090002773184febbd91ee0a520e4cd76cb414f74b113f96fe19473
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: b49429f971fad38a11dc3a65cca1553b8e7bc7463f2ca24b3a85d31d59e95506fcf79f6fbbe17cf2efade3e234b29556839171b0a5fec0791adb0456fcb313bc
|
7
|
+
data.tar.gz: 5d1f22d376003de55156937fb7449ae2f233a5c8f4a0ff1956c72f0f41cd773101ffb1b335d1ba1c33c1ea4d88186e7089c5589428a2ee3c0ebfc3345bee14ef
|
@@ -2,10 +2,11 @@ module Kubernetes
|
|
2
2
|
module Health
|
3
3
|
class SidekiqOptionsResolver
|
4
4
|
def self.[](key)
|
5
|
-
# Sidekiq >= 6.0.0
|
6
5
|
return Sidekiq[key] if Sidekiq.respond_to?('[]')
|
6
|
+
return Sidekiq.options[key] if Sidekiq.respond_to?('options') # Sidekiq ~> 6.0
|
7
|
+
return Sidekiq::Config.new[key] if defined?(Sidekiq::Config) # Sidekiq ~> 7.0
|
7
8
|
|
8
|
-
Sidekiq
|
9
|
+
raise 'Sidekiq version not supported'
|
9
10
|
end
|
10
11
|
end
|
11
12
|
end
|
data/lib/puma/kubernetes/app.rb
CHANGED
@@ -54,7 +54,7 @@ module Puma
|
|
54
54
|
end
|
55
55
|
|
56
56
|
def generate_extended_puma_stats
|
57
|
-
puma_stats = @launcher
|
57
|
+
puma_stats = @launcher&.stats || {}
|
58
58
|
# On puma <= 4 puma_stats is a String
|
59
59
|
puma_stats = JSON.parse(puma_stats, symbolize_names: true) unless puma_stats.is_a?(Hash)
|
60
60
|
# Including usage stats.
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: kubernetes-health
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 3.
|
4
|
+
version: 3.10.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Wagner Caixeta
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2024-02-19 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|
@@ -169,7 +169,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
169
169
|
- !ruby/object:Gem::Version
|
170
170
|
version: '0'
|
171
171
|
requirements: []
|
172
|
-
rubygems_version: 3.
|
172
|
+
rubygems_version: 3.5.5
|
173
173
|
signing_key:
|
174
174
|
specification_version: 4
|
175
175
|
summary: This gem allows kubernetes monitoring your app while it is running migrates
|