docker_toolkit 0.1.21 → 0.1.23
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Gemfile.lock +2 -2
- data/lib/docker_toolkit/version.rb +1 -1
- data/lib/docker_toolkit/watcher.rb +9 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: fdb91997423fc5dd86b7c26f586fe6e04e7f1a2eefadf397802537b613a52359
|
4
|
+
data.tar.gz: 4d5111ad64589a5c201d49d44d76b4b037588ea708df4ac64b21d0f065c1801d
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: f2faa78e0a6a92b5318e04993afdf0ed54d95551130d4d8da3fc522a8c59fb261b6efe7f87445cac70ff4cc9810d7417bfb6303b196ffda15f0d2693ede1cf46
|
7
|
+
data.tar.gz: ca940063d3755981f4a0d103a8ffe1e488e862f6c9adcba77b5184233ac8382cde2a5168333869e573ea703e713fa1cc42f1aa4f19e237b925ad8001ca3347fd
|
data/Gemfile.lock
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
PATH
|
2
2
|
remote: .
|
3
3
|
specs:
|
4
|
-
docker_toolkit (0.1.
|
4
|
+
docker_toolkit (0.1.23)
|
5
5
|
diplomat
|
6
6
|
dotenv
|
7
7
|
json
|
@@ -15,7 +15,7 @@ GEM
|
|
15
15
|
faraday (~> 0.9)
|
16
16
|
json
|
17
17
|
dotenv (2.5.0)
|
18
|
-
faraday (0.15.
|
18
|
+
faraday (0.15.3)
|
19
19
|
multipart-post (>= 1.2, < 3)
|
20
20
|
json (2.1.0)
|
21
21
|
multipart-post (2.0.0)
|
@@ -167,7 +167,7 @@ module DockerToolkit
|
|
167
167
|
meta[:handled] || !meta[:process].exited?
|
168
168
|
end
|
169
169
|
|
170
|
-
unhandled.any? do |meta|
|
170
|
+
completed = unhandled.any? do |meta|
|
171
171
|
log 'Child finished'
|
172
172
|
log " Process[#{meta[:pid]}]: #{meta[:cmd]}"
|
173
173
|
log " status: #{meta[:process].crashed? ? 'crashed' : 'exited'}"
|
@@ -203,6 +203,14 @@ module DockerToolkit
|
|
203
203
|
|
204
204
|
true
|
205
205
|
end
|
206
|
+
|
207
|
+
unless completed
|
208
|
+
pid, status = Process.waitpid2(-1, Process::WNOHANG) rescue nil
|
209
|
+
if status
|
210
|
+
log "Subprocess finished: #{status.inspect}"
|
211
|
+
end
|
212
|
+
end
|
213
|
+
|
206
214
|
end
|
207
215
|
|
208
216
|
begin
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: docker_toolkit
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.23
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Godko Ivan
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2018-
|
12
|
+
date: 2018-10-05 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: diplomat
|