docker-template 0.15.0 → 0.16.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/bin/docker-template +2 -0
- data/lib/docker/template/logger.rb +13 -11
- data/lib/docker/template/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 2f060d4b493a86da056aef06aef2349a12a182f6
|
4
|
+
data.tar.gz: 53cff83c34568777f72ff0a0b73ef0ec1a8d36a6
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: c7ee268b9270ee68597057948a99cb5ee097ea1b33ad8ba10585754e4903b37d3d9e0cd34fc6842a283ea24d63ce327ce6137812f437312d195179dd8f222a34
|
7
|
+
data.tar.gz: 99875c9fe60823e1d681ce12a3c2dbb98237feb5e5a7dedf4fcc3882064179741008caf476ae711007968dba215c6dfae437f2cd43985c754f1cd96db31f55be
|
data/bin/docker-template
CHANGED
@@ -148,17 +148,19 @@ module Docker
|
|
148
148
|
|
149
149
|
private
|
150
150
|
def progress_bar(stream)
|
151
|
-
|
152
|
-
|
153
|
-
|
154
|
-
|
155
|
-
|
156
|
-
|
157
|
-
|
158
|
-
|
159
|
-
|
160
|
-
|
161
|
-
|
151
|
+
if ENV["CI"] != "true"
|
152
|
+
id = stream["id"]
|
153
|
+
|
154
|
+
return unless id
|
155
|
+
before, diff = progress_diff(id)
|
156
|
+
@stderr.print before if before
|
157
|
+
str = stream["progress"] || stream["status"]
|
158
|
+
str = "#{id}: #{str}\r"
|
159
|
+
|
160
|
+
@stderr.print(Object::Simple::Ansi.jump(
|
161
|
+
str, diff
|
162
|
+
))
|
163
|
+
end
|
162
164
|
end
|
163
165
|
|
164
166
|
# --
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: docker-template
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.16.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Jordon Bedwell
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2017-
|
11
|
+
date: 2017-05-01 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: thor
|