sidekiq-alive-next 3.0.0 → 3.1.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: b348a1daf1eb508fcd8c171d454451f40552c1a30696edaaecb956cdc270f601
4
- data.tar.gz: 30f55c866378f828c52ea5255bc667d04fa23fc3f7f7a33a332848ba72be972b
3
+ metadata.gz: '011966672fb70c9dcb73ae34518c7cce7efef6860f508133c75bf16e800142c7'
4
+ data.tar.gz: e68981042be3956bdf98062eef749409996f92b0ebfe7db7cf7f0c545136db88
5
5
  SHA512:
6
- metadata.gz: fafd8efa2b7cb77093d8d9c79bf793612534eb12c2c342e519a96adf851f8bdf2bae155887b54409cc8af40e99fdc17141b783365630956e3f41e4c571873a18
7
- data.tar.gz: a29b9cf9035f589d23859faf270523c125c6f80c7ef77d60cd77d4c497113698eaee74df0c81071f6527a05d870d1a260a3ddb2421f4befa1299b6ac02ed906e
6
+ metadata.gz: 8b6c58b34ce76fd9db659e77bb2e0b97c8a3dfe46c7c65182f2bbf9116f02f227f806fe594190a05a247849c64136883dbc18fd66bb6ee9b8882d02e6175b3e3
7
+ data.tar.gz: ea118c1bac0605335b712273b071364781753820bd83070f99f7bea48193949208d2bb505d1ac0d047ea9dc1c4c65d80bcba7cd298c37c37a9bf77e0b4f978d0
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.
@@ -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 = Rack::Handler.get(server)
10
+ handler = Rackup::Handler.get(server)
10
11
 
11
12
  Signal.trap("TERM") { handler.shutdown }
12
13
 
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module SidekiqAlive
4
- VERSION = "3.0.0"
4
+ VERSION = "3.1.1"
5
5
  end
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.0.0
4
+ version: 3.1.1
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-10-29 00:00:00.000000000 Z
12
+ date: 2022-12-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: 2.2.4
132
+ version: '3'
119
133
  - - "<"
120
134
  - !ruby/object:Gem::Version
121
- version: '3'
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: 2.2.4
142
+ version: '3'
129
143
  - - "<"
130
144
  - !ruby/object:Gem::Version
131
- version: '3'
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'
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'
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.0.0/README.md
230
+ documentation_uri: https://github.com/andrcuns/sidekiq-alive/blob/v3.1.1/README.md
203
231
  bug_tracker_uri: https://github.com/andrcuns/sidekiq-alive/issues
204
232
  post_install_message:
205
233
  rdoc_options: []