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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 5060791217036cf86cc67c35c8ab1e704b3f267c
4
- data.tar.gz: b938025a0acb248c6d4d61af6fac0fbadf93d09d
3
+ metadata.gz: 2f060d4b493a86da056aef06aef2349a12a182f6
4
+ data.tar.gz: 53cff83c34568777f72ff0a0b73ef0ec1a8d36a6
5
5
  SHA512:
6
- metadata.gz: 608e74b78188be05ad57b1c700320e8457e07544baa95a357c7c6cc48cb829e0d62ca328f3b964e671307f982d9cb2c73dca40ef1ad005761fc50b3f0d007785
7
- data.tar.gz: 871506fd6725da0fc6d82506201540dda1fdfe6dcd9f8ff254b3a92bdcfe297fffd710089dea55cbd9096615e02d38236d30183c9fabeb7c8c1ad8ccbcd7e414
6
+ metadata.gz: c7ee268b9270ee68597057948a99cb5ee097ea1b33ad8ba10585754e4903b37d3d9e0cd34fc6842a283ea24d63ce327ce6137812f437312d195179dd8f222a34
7
+ data.tar.gz: 99875c9fe60823e1d681ce12a3c2dbb98237feb5e5a7dedf4fcc3882064179741008caf476ae711007968dba215c6dfae437f2cd43985c754f1cd96db31f55be
@@ -3,6 +3,8 @@
3
3
  # Copyright: 2015 - 2016 Jordon Bedwell - Apache v2.0 License
4
4
  # Encoding: utf-8
5
5
 
6
+ STDOUT.sync = true
7
+ STDERR.sync = true
6
8
  $LOAD_PATH.unshift(File.expand_path(
7
9
  "../lib", __dir__
8
10
  ))
@@ -148,17 +148,19 @@ module Docker
148
148
 
149
149
  private
150
150
  def progress_bar(stream)
151
- id = stream["id"]
152
-
153
- return unless id
154
- before, diff = progress_diff(id)
155
- @stderr.print before if before
156
- str = stream["progress"] || stream["status"]
157
- str = "#{id}: #{str}\r"
158
-
159
- @stderr.print(Object::Simple::Ansi.jump(
160
- str, diff
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
  # --
@@ -4,6 +4,6 @@
4
4
 
5
5
  module Docker
6
6
  module Template
7
- VERSION = "0.15.0"
7
+ VERSION = "0.16.0"
8
8
  end
9
9
  end
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.15.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-02-17 00:00:00.000000000 Z
11
+ date: 2017-05-01 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: thor