docker_toolkit 0.1.9 → 0.1.10

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: cbde0b81ee520e8a8657fe39f995c1790a0c02c9ae5d8b6678e721dbbdced669
4
- data.tar.gz: f8b1fdb2f46d4fdfb0b106ddb46507dec277fd726de0a2ac05bec9529885eca7
3
+ metadata.gz: d36090108574556f039676174d91f76210087728e0f272ab84ccb49c15c7d0b3
4
+ data.tar.gz: 2e507d05e16e2d2682fa48f25710df623d09060559d48340cfa80d949d65a161
5
5
  SHA512:
6
- metadata.gz: 1c37ae0c01faa3626de9cd7b93a4e533f9ef1dc2c59de29b3829eadd341b6ba936b0ad123c042f2f3c3689cfd02a07dcb13dde2437ce1b75a28c7066a8c194a6
7
- data.tar.gz: 616697a7d86ebf1e5cb40f7b5e82d9db17b2ba795575abf5f36e57bba0984d52c92cd6262c0b2d98cdf6082a00a82831c09863cc0f74b2ce4c836fdfa8a873f6
6
+ metadata.gz: b9bdbfc64cc249dd8b598f05dce7c072956bf99acb00b7a099f6d245c3ac65719ab09a7ad7d2679c7d47bfa75383e727df42ab1b1764f86f952d6bf349fa798f
7
+ data.tar.gz: dd0bbecfabec874bc3104bcd09648021324474efae2cdc7c4fcf1a4ab2d4e03d3eeb5c6174f5503e874f8733b275d3d74a08f082572a3fe148611348fae0c9a8
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- docker_toolkit (0.1.9)
4
+ docker_toolkit (0.1.10)
5
5
  diplomat
6
6
  dotenv
7
7
  json
@@ -1,5 +1,5 @@
1
1
  module DockerToolkit
2
2
 
3
- VERSION = '0.1.9'.freeze
3
+ VERSION = '0.1.10'.freeze
4
4
 
5
5
  end
@@ -35,7 +35,7 @@ module DockerToolkit
35
35
 
36
36
  terminating.each do |meta|
37
37
  begin
38
- meta[:process].poll_for_exit(10)
38
+ meta[:process].poll_for_exit(5)
39
39
  rescue ChildProcess::TimeoutError
40
40
  meta[:process].stop(1)
41
41
  meta[:stdout].close
@@ -75,6 +75,7 @@ module DockerToolkit
75
75
  end
76
76
 
77
77
  def add(*cmd)
78
+ cmd = cmd.flatten
78
79
  process = ChildProcess.build(*cmd)
79
80
 
80
81
  rerr, werr = IO.pipe
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.9
4
+ version: 0.1.10
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-08-13 00:00:00.000000000 Z
12
+ date: 2018-08-14 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: diplomat