rake_docker 2.4.0.pre.7 → 2.4.0.pre.8

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: 4da736ec6205cc96d355724571b1a4cf24f8b2bf7b259e15e8e56c9fab7fc964
4
- data.tar.gz: 12cf0e16d4682b47d757ac67f0e7288d3a3a44398632ad302bdb875ae4f69828
3
+ metadata.gz: 41ed165c21a29a89724c0522a70b0ca640859bc15b12ceca1831bcf9137d980c
4
+ data.tar.gz: ef625cb0bf6943ca518d960552551e0f3a550e6497a851941135c9ede02393c0
5
5
  SHA512:
6
- metadata.gz: 02ec2f0778e7301764387e9f230ad3388e0cb35268ee37f290186595d6327f20e9574f139707e0a0e20dd85932914b4d8028952a12fdd226e8828dbdd18e011c
7
- data.tar.gz: c14a99add65a2617e31870d0838973f630fc4aa74640ba31101db78ee7ebf5009a526abc90ea59463bbaaf9635182f61cb7067ecff288f9ca10afe7e881a01bb
6
+ metadata.gz: 96d7efdf2b17022c0463129b6c91cc90e58e0985464745d49888d18e3a54e1d31866b728fe391ea1b4494589caeafd0f01f5259f30a6b46f5d955b28e6ef8a71
7
+ data.tar.gz: 00a1842d0d1d78af5ba9b1715374be4407d1c9ece3eb60e7bb688399289bd0e2d9a2ccc65375facc9cbeced40e177ba84c5ba71074982b054bb37947692331ba
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- rake_docker (2.4.0.pre.7)
4
+ rake_docker (2.4.0.pre.8)
5
5
  aws-sdk-ecr (~> 1.2)
6
6
  colored2 (~> 3.1)
7
7
  docker-api (~> 1.34)
@@ -1,3 +1,5 @@
1
+ require 'docker'
2
+
1
3
  module RakeDocker
2
4
  module Container
3
5
  REPORTER_MESSAGES = [
@@ -257,15 +259,15 @@ module RakeDocker
257
259
  if container
258
260
  reporter.container_exists(container)
259
261
  reporter.stopping_container(container)
260
- updated = container.stop
261
- puts "Waiting..."
262
+ container.stop
262
263
  container.wait
263
- puts "List ***************"
264
- require 'pp'
265
- pp Docker::Container.all(all: true)
266
264
  reporter.container_stopped(container)
267
265
  reporter.deleting_container(container)
268
- updated.delete
266
+ begin
267
+ container.delete
268
+ rescue Docker::NotFoundError
269
+ # ignored, not sure why this happens though...
270
+ end
269
271
  reporter.container_deleted(container)
270
272
  else
271
273
  reporter.container_does_not_exist(name)
@@ -1,3 +1,3 @@
1
1
  module RakeDocker
2
- VERSION = '2.4.0.pre.7'
2
+ VERSION = '2.4.0.pre.8'
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: rake_docker
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.4.0.pre.7
4
+ version: 2.4.0.pre.8
5
5
  platform: ruby
6
6
  authors:
7
7
  - Toby Clemson