inst-jobs 0.15.14 → 0.15.15
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: 94d2ec2d5e302eb8cbc3d272870ef40a2f14147d6878ef970127e9f42c17b570
|
4
|
+
data.tar.gz: d87ac1bc5635e3da1a9efb6bf4932e37d4e8e92158a5a916e2d58fd22fd582c8
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 86542a0a982e14b85e4e32b84ca5eabec3a9fd8e6adf17952b62b5b000d2161b00b0200f67f58778f706a8d23c1421a86bf9d6dd28625fd0ee18bebbb7c2504e
|
7
|
+
data.tar.gz: f5100e242975fc36617730657a6aca51b8eb5d0b526d8478129b0e00736372cf22ffbf8865532ddf128f7ca56db4accd3c9344869de4fff440ccd3a65d4126be
|
data/lib/delayed/version.rb
CHANGED
data/lib/delayed/worker.rb
CHANGED
@@ -59,7 +59,7 @@ module Delayed
|
|
59
59
|
|
60
60
|
def check_attributes
|
61
61
|
{
|
62
|
-
|
62
|
+
args: ['bash', '-c', check_script],
|
63
63
|
status: 'passing',
|
64
64
|
interval: @config.fetch(:check_interval, '5m'),
|
65
65
|
deregister_critical_service_after: @config.fetch(:deregister_service_delay, '10m'),
|
@@ -37,11 +37,11 @@ RSpec.describe Delayed::Worker::ConsulHealthCheck do
|
|
37
37
|
end
|
38
38
|
|
39
39
|
|
40
|
-
it 'must supply a
|
40
|
+
it 'must supply a args style check' do
|
41
41
|
allow(response).to receive(:ok?).and_return(true)
|
42
42
|
allow(agent_client).to receive(:register_service) { |service|
|
43
43
|
check = service.checks.first
|
44
|
-
expect(check.
|
44
|
+
expect(check.args).to_not be_nil
|
45
45
|
response
|
46
46
|
}
|
47
47
|
health_check.start
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: inst-jobs
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.15.
|
4
|
+
version: 0.15.15
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Tobias Luetke
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: exe
|
11
11
|
cert_chain: []
|
12
|
-
date:
|
12
|
+
date: 2020-01-27 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: activerecord
|
@@ -163,14 +163,14 @@ dependencies:
|
|
163
163
|
requirements:
|
164
164
|
- - ">="
|
165
165
|
- !ruby/object:Gem::Version
|
166
|
-
version: 0.2
|
166
|
+
version: 0.5.2
|
167
167
|
type: :development
|
168
168
|
prerelease: false
|
169
169
|
version_requirements: !ruby/object:Gem::Requirement
|
170
170
|
requirements:
|
171
171
|
- - ">="
|
172
172
|
- !ruby/object:Gem::Version
|
173
|
-
version: 0.2
|
173
|
+
version: 0.5.2
|
174
174
|
- !ruby/object:Gem::Dependency
|
175
175
|
name: pg
|
176
176
|
requirement: !ruby/object:Gem::Requirement
|