conjure 0.0.1 → 0.0.2
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.
- data/History.md +5 -0
- data/lib/conjure.rb +1 -1
- data/lib/conjure/service/docker_host.rb +5 -0
- metadata +2 -2
data/History.md
CHANGED
data/lib/conjure.rb
CHANGED
|
@@ -52,6 +52,10 @@ module Conjure
|
|
|
52
52
|
result.stdout
|
|
53
53
|
end
|
|
54
54
|
|
|
55
|
+
def clean_stopped_processes
|
|
56
|
+
command "rm `#{docker_path} ps -a -q`"
|
|
57
|
+
end
|
|
58
|
+
|
|
55
59
|
def shell_escape(text)
|
|
56
60
|
text.gsub "'", "'\"'\"'"
|
|
57
61
|
end
|
|
@@ -133,6 +137,7 @@ module Conjure
|
|
|
133
137
|
def build
|
|
134
138
|
puts "[docker] Building #{@label} image"
|
|
135
139
|
raise_build_errors(@host.command "build -t #{@label} -", stdin: dockerfile)
|
|
140
|
+
@host.clean_stopped_processes
|
|
136
141
|
end
|
|
137
142
|
|
|
138
143
|
def command(command, options = {})
|
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: conjure
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.0.
|
|
4
|
+
version: 0.0.2
|
|
5
5
|
prerelease:
|
|
6
6
|
platform: ruby
|
|
7
7
|
authors:
|
|
@@ -9,7 +9,7 @@ authors:
|
|
|
9
9
|
autorequire:
|
|
10
10
|
bindir: bin
|
|
11
11
|
cert_chain: []
|
|
12
|
-
date: 2013-10-
|
|
12
|
+
date: 2013-10-15 00:00:00.000000000 Z
|
|
13
13
|
dependencies:
|
|
14
14
|
- !ruby/object:Gem::Dependency
|
|
15
15
|
name: fog
|