drydocker 0.1.2 → 0.1.3
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 +4 -4
- data/VERSION +1 -1
- data/drydocker.gemspec +2 -2
- data/lib/drydocker.rb +8 -2
- metadata +1 -1
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: fb219a24ac1051242a1059271e935f9b514758f3
|
|
4
|
+
data.tar.gz: acc9e3f7bfbc985f222f15ddee9ef757ab55d17c
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 4bc68de58e56ef29e715f2cee316d35b42eba4d8b97b84388d783091850609926943119940e2af44c56b08cdae8116d59940e74aec505823084deceea1cdcefa
|
|
7
|
+
data.tar.gz: be9901f0a3683d188e7b635fe1c4f32f5f1a48820c8e44453ecff97de7ce246402c4d790d63f4021ee7ab360a2dd31ae063ec1aa623ba8deaba7c2b3860870fd
|
data/VERSION
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
0.1.
|
|
1
|
+
0.1.3
|
data/drydocker.gemspec
CHANGED
|
@@ -2,11 +2,11 @@
|
|
|
2
2
|
# DO NOT EDIT THIS FILE DIRECTLY
|
|
3
3
|
# Instead, edit Jeweler::Tasks in Rakefile, and run 'rake gemspec'
|
|
4
4
|
# -*- encoding: utf-8 -*-
|
|
5
|
-
# stub: drydocker 0.1.
|
|
5
|
+
# stub: drydocker 0.1.3 ruby lib
|
|
6
6
|
|
|
7
7
|
Gem::Specification.new do |s|
|
|
8
8
|
s.name = "drydocker"
|
|
9
|
-
s.version = "0.1.
|
|
9
|
+
s.version = "0.1.3"
|
|
10
10
|
|
|
11
11
|
s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
|
|
12
12
|
s.require_paths = ["lib"]
|
data/lib/drydocker.rb
CHANGED
|
@@ -18,13 +18,19 @@ module Drydocker
|
|
|
18
18
|
|
|
19
19
|
def initialize(params = {})
|
|
20
20
|
config = Config.default_config.merge(params)
|
|
21
|
-
@name = config[:name] || "#{config[:image].sub('/', '-')}-test"
|
|
22
|
-
@entrypoint = config[:entrypoint]
|
|
23
21
|
@image = config[:image]
|
|
22
|
+
@name = config[:name] || name_from_image
|
|
23
|
+
@entrypoint = config[:entrypoint]
|
|
24
24
|
@command = config[:command]
|
|
25
25
|
@path = config[:path]
|
|
26
26
|
@testing = config[:testing]
|
|
27
27
|
end
|
|
28
|
+
|
|
29
|
+
private
|
|
30
|
+
|
|
31
|
+
def name_from_image
|
|
32
|
+
"#{image.sub('/', '-').sub(':', '-')}-test"
|
|
33
|
+
end
|
|
28
34
|
end
|
|
29
35
|
|
|
30
36
|
# Class to actually run the monitor and tests
|