bigrig 0.2.0 → 0.2.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: c9a963f80ce0fa0894c6a8dff9c4676778a99dcf
4
- data.tar.gz: 5905ee20eb915c1b58f095d35375f125ba887840
3
+ metadata.gz: b45105f59905374c0229e4ae83c1bdd37614242f
4
+ data.tar.gz: 152ce1cc2b69fcbb0965086d17d6cba1cdd5d661
5
5
  SHA512:
6
- metadata.gz: b8bfaef2b69cd7af858afdbfb33394c9c3c737c4c6d0f5929f5a1b3b996a0bfbb3f21e2b9096c2b292a9059f60938219c71e701b50d46df7e758e0abda8a745c
7
- data.tar.gz: c2f5dcdb8d3a32127482c92d6ec5ad9b16695c5913308f0da7cb4787dd61ca067a3f0e264f77435e53abf27417a0ae738e857fef5457591f2c45c8282e305d92
6
+ metadata.gz: d373c76d6031b6c61ce612b32131c40b572d89a7f3dc4ea64be110a288af7091a57c9d64af9672fb1bd84a326cfc93b16e5c3e53a2c243d20aaf70b669e2024e
7
+ data.tar.gz: e480b7fdfff35ddad6edab2bce175e27ec59ed4176edc632c0689c6fd5b01c76ce80ddaad2fcbc55c34335524dfdc9470694d1c4b2b05a0e45692711e8869a69
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- bigrig (0.2.0)
4
+ bigrig (0.2.1)
5
5
  colorize (= 0.7.5)
6
6
  docker-api (= 1.20.0)
7
7
  filewatcher (= 0.4.0)
data/lib/bigrig/runner.rb CHANGED
@@ -1,10 +1,5 @@
1
1
  module Bigrig
2
2
  class Runner
3
- def self.start(container)
4
- puts "Starting #{container.name}"
5
- puts DockerAdapter.run docker_opts_for container
6
- end
7
-
8
3
  def initialize(containers)
9
4
  @containers = containers
10
5
  end
@@ -36,10 +31,10 @@ module Bigrig
36
31
  end
37
32
 
38
33
  def docker_opts(step)
39
- step.map { |c| Runner.docker_opts_for c }
34
+ step.map { |c| docker_opts_for c }
40
35
  end
41
36
 
42
- def self.docker_opts_for(container)
37
+ def docker_opts_for(container)
43
38
  { env: container.env,
44
39
  name: container.name,
45
40
  ports: container.ports,
@@ -50,7 +45,7 @@ module Bigrig
50
45
  image_id: image_id(container) }
51
46
  end
52
47
 
53
- def self.image_id(container)
48
+ def image_id(container)
54
49
  if container.path
55
50
  build container.path
56
51
  else
@@ -1,3 +1,3 @@
1
1
  module Bigrig
2
- VERSION = '0.2.0'
2
+ VERSION = '0.2.1'
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: bigrig
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.0
4
+ version: 0.2.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Your Name Here