sidekiq-alive-next 3.0.0 → 3.1.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +5 -0
- data/lib/sidekiq_alive/server.rb +2 -1
- data/lib/sidekiq_alive/version.rb +1 -1
- metadata +35 -7
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: a18bb6defb7f2d0d3eb1e1b01ce12b683c5c634be2e43b74600b787cdf4ae0e9
|
4
|
+
data.tar.gz: d0bb5d30eeee984dee67e75228d5d6ca3df91301eea805414dee6665dd058859
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 15cbeff2addefafddb0416fc194d5943d190bf03d1482b57a7b09771c72edaf015cee7ea55b23a055a775526b5a55b854c5251f27835839339e1d31a996f0523
|
7
|
+
data.tar.gz: 2c6e9f7aae03381045cc0b641b8caaff01ac6d8b51932f902e1578a6923e2ec62c4b1c4c6e9d6c54183a64fd56e0d2f766d26c99fd832f8c60b3fb5394f6babb
|
data/README.md
CHANGED
@@ -1,5 +1,10 @@
|
|
1
1
|
# SidekiqAlive
|
2
2
|
|
3
|
+
[![Gem Version](https://badge.fury.io/rb/sidekiq-alive-next.svg)](https://rubygems.org/gems/sidekiq-alive-next)
|
4
|
+
[![Total Downloads](https://img.shields.io/gem/dt/sidekiq-alive-next?color=blue)](https://rubygems.org/gems/https://rubygems.org/gems/sidekiq-alive-next)
|
5
|
+
![Workflow status](https://github.com/allure-framework/allure-ruby/workflows/Test/badge.svg)
|
6
|
+
[![Known Vulnerabilities](https://snyk.io/test/github/andrcuns/sidekiq-alive/badge.svg)](https://snyk.io/test/github/andrcuns/sidekiq-alive)
|
7
|
+
|
3
8
|
**This is the fork of 'arturictus/sidekiq_alive' with a few minor fixes and tweaks, all credit goes to author of original repo**
|
4
9
|
|
5
10
|
SidekiqAlive offers a solution to add liveness probe for a Sidekiq instance deployed in Kubernetes.
|
data/lib/sidekiq_alive/server.rb
CHANGED
@@ -1,12 +1,13 @@
|
|
1
1
|
# frozen_string_literal: true
|
2
2
|
|
3
3
|
require "rack"
|
4
|
+
require "rackup"
|
4
5
|
|
5
6
|
module SidekiqAlive
|
6
7
|
class Server
|
7
8
|
class << self
|
8
9
|
def run!
|
9
|
-
handler =
|
10
|
+
handler = Rackup::Handler.get(server)
|
10
11
|
|
11
12
|
Signal.trap("TERM") { handler.shutdown }
|
12
13
|
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: sidekiq-alive-next
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 3.
|
4
|
+
version: 3.1.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Andrejs Cunskis
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2022-
|
12
|
+
date: 2022-11-02 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: bundler
|
@@ -25,6 +25,20 @@ dependencies:
|
|
25
25
|
- - ">"
|
26
26
|
- !ruby/object:Gem::Version
|
27
27
|
version: '1.16'
|
28
|
+
- !ruby/object:Gem::Dependency
|
29
|
+
name: debug
|
30
|
+
requirement: !ruby/object:Gem::Requirement
|
31
|
+
requirements:
|
32
|
+
- - "~>"
|
33
|
+
- !ruby/object:Gem::Version
|
34
|
+
version: '1.6'
|
35
|
+
type: :development
|
36
|
+
prerelease: false
|
37
|
+
version_requirements: !ruby/object:Gem::Requirement
|
38
|
+
requirements:
|
39
|
+
- - "~>"
|
40
|
+
- !ruby/object:Gem::Version
|
41
|
+
version: '1.6'
|
28
42
|
- !ruby/object:Gem::Dependency
|
29
43
|
name: rack-test
|
30
44
|
requirement: !ruby/object:Gem::Requirement
|
@@ -115,20 +129,34 @@ dependencies:
|
|
115
129
|
requirements:
|
116
130
|
- - ">="
|
117
131
|
- !ruby/object:Gem::Version
|
118
|
-
version:
|
132
|
+
version: '3'
|
119
133
|
- - "<"
|
120
134
|
- !ruby/object:Gem::Version
|
121
|
-
version: '
|
135
|
+
version: '4'
|
122
136
|
type: :runtime
|
123
137
|
prerelease: false
|
124
138
|
version_requirements: !ruby/object:Gem::Requirement
|
125
139
|
requirements:
|
126
140
|
- - ">="
|
127
141
|
- !ruby/object:Gem::Version
|
128
|
-
version:
|
142
|
+
version: '3'
|
129
143
|
- - "<"
|
130
144
|
- !ruby/object:Gem::Version
|
131
|
-
version: '
|
145
|
+
version: '4'
|
146
|
+
- !ruby/object:Gem::Dependency
|
147
|
+
name: rackup
|
148
|
+
requirement: !ruby/object:Gem::Requirement
|
149
|
+
requirements:
|
150
|
+
- - "~>"
|
151
|
+
- !ruby/object:Gem::Version
|
152
|
+
version: 0.2.2
|
153
|
+
type: :runtime
|
154
|
+
prerelease: false
|
155
|
+
version_requirements: !ruby/object:Gem::Requirement
|
156
|
+
requirements:
|
157
|
+
- - "~>"
|
158
|
+
- !ruby/object:Gem::Version
|
159
|
+
version: 0.2.2
|
132
160
|
- !ruby/object:Gem::Dependency
|
133
161
|
name: sidekiq
|
134
162
|
requirement: !ruby/object:Gem::Requirement
|
@@ -199,7 +227,7 @@ metadata:
|
|
199
227
|
homepage_uri: https://github.com/andrcuns/sidekiq-alive
|
200
228
|
source_code_uri: https://github.com/andrcuns/sidekiq-alive
|
201
229
|
changelog_uri: https://github.com/andrcuns/sidekiq-alive/releases
|
202
|
-
documentation_uri: https://github.com/andrcuns/sidekiq-alive/blob/v3.
|
230
|
+
documentation_uri: https://github.com/andrcuns/sidekiq-alive/blob/v3.1.0/README.md
|
203
231
|
bug_tracker_uri: https://github.com/andrcuns/sidekiq-alive/issues
|
204
232
|
post_install_message:
|
205
233
|
rdoc_options: []
|