kubernetes-health 3.0.3 → 3.0.4

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: 25241aa1082ce46a792c2708c01c4b5d94bb16b3ca2e9d1abb86689f823c619e
4
- data.tar.gz: de8eb28a954c5a989ac4ba6d965dc6819a886fa0371ebddb39e280bdfcfaffed
3
+ metadata.gz: 1f6652ceb0de891915e55a34edf552781090d114e054fc94d9d3a2b44ace54ab
4
+ data.tar.gz: 5dab2e26584268bfa8f4001dbf740f520a67135f9fe559ff9c0b7a002abca3a2
5
5
  SHA512:
6
- metadata.gz: 063f456faf090d6c00dfa74fda0e61a85892ef3232205cd04938b51e763aeff4a6a035e695f722af6c3b54262ddbf0e415da79e283182b8f5416e51b96f2b73c
7
- data.tar.gz: f4f9e7338959778ab3d22ae5de035ee6351141c062e4c57d4557f21f24750c9d3517c996621a15f8349162ab00f71e13429809e41e30b4297e6648e7522665ae
6
+ metadata.gz: dbb0743d9d9b85392908464dc528406dce953d26a4b058745e9fa68cded4dbd96fb4f20e21948dd2245765ef0e5277df552d0ec863b288a294d7f60db4ddd0ae
7
+ data.tar.gz: dbd17d495c5c44b25ac18cc593a1c329ec5cf012db45ef97bd4d26d1cecc548d8c734bc4f366f6c5d455317b8b050982559ae4daba6154623cdd91b98d57797d
@@ -1,5 +1,5 @@
1
1
  module Kubernetes
2
2
  module Health
3
- VERSION = "3.0.3"
3
+ VERSION = "3.0.4"
4
4
  end
5
5
  end
@@ -17,10 +17,10 @@ module Puma
17
17
  type = {}
18
18
  content = []
19
19
  case req.path_info
20
- when ::Kubernetes::Health::Config.route_readiness
20
+ when ::Kubernetes::Health::Config.route_liveness
21
21
  i_am_live = ::Kubernetes::Health::Config.live_if.arity == 0 ? ::Kubernetes::Health::Config.live_if.call : ::Kubernetes::Health::Config.live_if.call(req.params)
22
22
  http_code = i_am_live ? 200 : 503
23
- when ::Kubernetes::Health::Config.route_liveness
23
+ when ::Kubernetes::Health::Config.route_readiness
24
24
  i_am_ready = ::Kubernetes::Health::Config.ready_if.arity == 0 ? ::Kubernetes::Health::Config.ready_if.call : ::Kubernetes::Health::Config.ready_if.call(req.params)
25
25
  http_code = i_am_ready ? 200 : 503
26
26
  when ::Kubernetes::Health::Config.route_metrics
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.0.3
4
+ version: 3.0.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - Wagner Caixeta
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2019-10-17 00:00:00.000000000 Z
11
+ date: 2019-10-30 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler