docker_toolkit 0.1.10 → 0.1.11

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: d36090108574556f039676174d91f76210087728e0f272ab84ccb49c15c7d0b3
4
- data.tar.gz: 2e507d05e16e2d2682fa48f25710df623d09060559d48340cfa80d949d65a161
3
+ metadata.gz: 89498fef4e7f0fe036bda0ef1d2bcfc7ebc9d96f99d85736d401d853fb11aae1
4
+ data.tar.gz: 2ebd100ebd81a0f5884f751c30f1c3f72d6e3721a77b0166a4b11c21fa900beb
5
5
  SHA512:
6
- metadata.gz: b9bdbfc64cc249dd8b598f05dce7c072956bf99acb00b7a099f6d245c3ac65719ab09a7ad7d2679c7d47bfa75383e727df42ab1b1764f86f952d6bf349fa798f
7
- data.tar.gz: dd0bbecfabec874bc3104bcd09648021324474efae2cdc7c4fcf1a4ab2d4e03d3eeb5c6174f5503e874f8733b275d3d74a08f082572a3fe148611348fae0c9a8
6
+ metadata.gz: 58210e8c115647dc36c6b252160b2b26715d136d201251f96e5eef43d638a3989bce2a16faf030784b694c4848727ac4309b88e75d171b771a597acb52d0a56d
7
+ data.tar.gz: 97a2e262e932825219cbfbb3fe00808b1371d1798608d92a5feb4c689ad3d53b097c3219a54f64ed10388362d70d3f01fa25c2f52907c1272de24ff4453dad0e
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- docker_toolkit (0.1.10)
4
+ docker_toolkit (0.1.11)
5
5
  diplomat
6
6
  dotenv
7
7
  json
@@ -1,5 +1,5 @@
1
1
  module DockerToolkit
2
2
 
3
- VERSION = '0.1.10'.freeze
3
+ VERSION = '0.1.11'.freeze
4
4
 
5
5
  end
@@ -75,7 +75,7 @@ module DockerToolkit
75
75
  end
76
76
 
77
77
  def add(*cmd)
78
- cmd = cmd.flatten
78
+ cmd = cmd.flatten.map{|c| c.to_s.strip}.reject(&:empty?)
79
79
  process = ChildProcess.build(*cmd)
80
80
 
81
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.10
4
+ version: 0.1.11
5
5
  platform: ruby
6
6
  authors:
7
7
  - Godko Ivan