rake_docker 2.4.0.pre.3 → 2.4.0.pre.4

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: 910547afbe10a46352df3c0632ce93fa46c5ccd974ac9dcebfa57f6b5f9b0092
4
- data.tar.gz: 3e0d23856add59919c4370db933ac8c5551f4526c65f3e5a5fae83f5286866a9
3
+ metadata.gz: bb8d573f2ea78346d1d8f2b89a6d34108f756acb83a8396166b4280f43377760
4
+ data.tar.gz: b35f3a9c91b4ad2a8251a3d8b70f27b330328a55b9154811e445cd3854b646eb
5
5
  SHA512:
6
- metadata.gz: 76d3bb5626ee54c7017f907ce3b6f1a78c74c39d0632ada9ddb3590639e5dbb332f7213fa2fc978efe2f52f8900aa40f3de23088ee810f211a528c30f143472f
7
- data.tar.gz: 54bc74b5177c830ff017ae1f809ffaaf286c0432527d6bdcbdd26d47d1ba1c18a3940f4196ae69f2bcfcca8c7ef405005c8e797228d2ffcb1bac3cccbbece0d9
6
+ metadata.gz: e91aa6bfb534a03d736523b62832c2e60786b1f257ebfe1ce51ed77b5c72055d7ea24a8fe060b4e8781003867251506e16c23efc21e3c850f0207dfb5b0671c0
7
+ data.tar.gz: c96d23a7c3e7735b62685830bfa3ae84cfd5eb993e5d4220ffef55c52ce6d6c06fa817fa79510901211d28a6f10a7c407619963d05225d21ca6464ae74c64f10
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- rake_docker (2.4.0.pre.3)
4
+ rake_docker (2.4.0.pre.4)
5
5
  aws-sdk-ecr (~> 1.2)
6
6
  colored2 (~> 3.1)
7
7
  docker-api (~> 1.34)
@@ -26,12 +26,12 @@ module RakeDocker
26
26
  ]
27
27
 
28
28
  class NullReporter
29
- REPORTER_MESSAGES.each { |message| define_method(message) {} }
29
+ REPORTER_MESSAGES.each { |message| define_method(message) { |*_| } }
30
30
  end
31
31
 
32
32
  class PrintingReporter
33
33
  def checking_if_container_exists(name)
34
- puts "Checking to see if #{name} exists..."
34
+ puts "Checking to see if /#{name} exists..."
35
35
  end
36
36
 
37
37
  def container_exists(container)
@@ -39,7 +39,7 @@ module RakeDocker
39
39
  end
40
40
 
41
41
  def container_does_not_exist(name)
42
- puts "#{name} does not exist. Continuing."
42
+ puts "/#{name} does not exist. Continuing."
43
43
  end
44
44
 
45
45
  def checking_if_image_available(image)
@@ -102,7 +102,7 @@ module RakeDocker
102
102
  puts 'Stopping...'
103
103
  end
104
104
 
105
- def container_stopped(_)
105
+ def container_stopped(container)
106
106
  print "#{container.json['Name']} stopped. "
107
107
  end
108
108
 
@@ -110,7 +110,7 @@ module RakeDocker
110
110
  puts 'Deleting...'
111
111
  end
112
112
 
113
- def container_deleted(_)
113
+ def container_deleted(container)
114
114
  puts "#{container.json['Name']} deleted."
115
115
  end
116
116
 
@@ -21,12 +21,6 @@ module RakeDocker
21
21
 
22
22
  action do |t|
23
23
  puts "Provisioning #{t.container_name} container"
24
- puts t.container_name
25
- puts t.image
26
- puts t.ports
27
- puts t.environment
28
- puts t.ready_check
29
- puts t.reporter
30
24
  provisioner = Container::Provisioner.new(
31
25
  t.container_name,
32
26
  t.image,
@@ -34,7 +28,6 @@ module RakeDocker
34
28
  environment: t.environment,
35
29
  ready?: t.ready_check,
36
30
  reporter: t.reporter)
37
- puts "Construction successful. Executing."
38
31
  provisioner.execute
39
32
  end
40
33
  end
@@ -1,3 +1,3 @@
1
1
  module RakeDocker
2
- VERSION = '2.4.0.pre.3'
2
+ VERSION = '2.4.0.pre.4'
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.3
4
+ version: 2.4.0.pre.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - Toby Clemson