rake_docker 0.12.0 → 0.13.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: 3ffb6fd6d260d219b5893d7b06d618f0608e2cf3
4
- data.tar.gz: 526faf160c75e7f143df59f0cc0f0fabe6b7a20e
3
+ metadata.gz: b12be957cde028341ef0e7a5d6bef038dd3af99d
4
+ data.tar.gz: 94bb93100fab9bd3985d1b83805c992f2bd5519b
5
5
  SHA512:
6
- metadata.gz: cf6b915c8b77e0a8a0334df0013f2f2d4b6f4a9c1677db4be463c14b3cbf4fa215a69b2f95978d2098c5d2f8999029239bbfb91be5c922b18d8aa6aabbd5ebdd
7
- data.tar.gz: 3ad06632389bed47fe11021216be7c4e40c6cf50ae7d7969edf475c7ca230b8be9ba959f9cef644670debe86686b054761b267feee8cd120513c1ea217eccf9a
6
+ metadata.gz: 3d01096e501a8da578972f1695c3e80539c0e293195859e04bb98bca7c3700e64bcdb9bc940151598535f235716e31f765d7247325716e6689a882ac8e276a8d
7
+ data.tar.gz: 2b952b5eebf716a1644620d7b3b98290545777969203ec31fcf0051785de98dc98d6fbcfefcb1ec87d2fd5e6b529d983d9fde0234381080d329d4f1f80684d4e
@@ -1,4 +1,5 @@
1
1
  require 'docker'
2
+ require 'json'
2
3
  require_relative '../tasklib'
3
4
 
4
5
  module RakeDocker
@@ -43,7 +44,7 @@ module RakeDocker
43
44
  Docker::Image.build_from_dir(
44
45
  File.join(work_directory, image_name),
45
46
  {t: repository_name}) do |chunk|
46
- $stdout.puts chunk
47
+ $stdout.puts JSON.parse(chunk)['stream']
47
48
  end
48
49
  end
49
50
  end
@@ -1,3 +1,3 @@
1
1
  module RakeDocker
2
- VERSION = '0.12.0'
2
+ VERSION = '0.13.0'
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: rake_docker
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.12.0
4
+ version: 0.13.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Toby Clemson
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2018-01-09 00:00:00.000000000 Z
11
+ date: 2018-08-22 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: docker-api