dev-lxc 1.2.0 → 1.2.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +4 -0
- data/lib/dev-lxc/cli.rb +6 -6
- data/lib/dev-lxc/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: a2716ced5e5e6f37046b2f7b2b966dc43f54b310
|
4
|
+
data.tar.gz: fa304a17446c149e2a2d00226745ac59b4f40177
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 11b3f2087650fbbf7cdfd229f697e84e9183cdfa3edb76c430a116b00d365cf68d7ee74c1c1a7335aa48da5135e0e7fe459a6524caa113d15cd69ce66cfb9cad
|
7
|
+
data.tar.gz: 879f6422936998e9850ef2a8ab0cd8ee1ac2197e989132aa2e0828b90226e411789b55b77553b39e560219ac5c86f74cdea2510d9437d5412d8b4116ef2a844b
|
data/CHANGELOG.md
CHANGED
data/lib/dev-lxc/cli.rb
CHANGED
@@ -210,23 +210,23 @@ module DevLXC::CLI
|
|
210
210
|
end
|
211
211
|
images.each_with_index do |(platform_name, shared), images_index|
|
212
212
|
shared.each_with_index do |(shared_name, final), shared_index|
|
213
|
-
printf "Platform: %
|
213
|
+
printf "Platform: %27s %s\n", (LXC::Container.new(platform_name, lxc_config_path).defined? ? "Created" : "Not Created"), platform_name
|
214
214
|
puts "|"
|
215
|
-
printf "\\_ Shared: %
|
215
|
+
printf "\\_ Shared: %26s %s\n", (LXC::Container.new(shared_name, lxc_config_path).defined? ? "Created" : "Not Created"), shared_name
|
216
216
|
final.each_with_index do |final_name, final_index|
|
217
217
|
puts " |"
|
218
218
|
unique_name = "u-#{final_name}"
|
219
|
-
printf " \\_ Unique: %
|
219
|
+
printf " \\_ Unique: %23s %s\n", (LXC::Container.new(unique_name, lxc_config_path).defined? ? "Created" : "Not Created"), unique_name
|
220
220
|
|
221
221
|
shared_connector = (final_index + 1 < final.length ? "|" : " ")
|
222
222
|
|
223
223
|
custom_name = "c-#{final_name}"
|
224
224
|
if LXC::Container.new(custom_name, lxc_config_path).defined?
|
225
|
-
printf " #{shared_connector} \\_ Custom: %
|
225
|
+
printf " #{shared_connector} \\_ Custom: %20s %s\n", "Created", custom_name
|
226
226
|
custom_spacing = " "
|
227
|
-
final_width =
|
227
|
+
final_width = 11
|
228
228
|
else
|
229
|
-
final_width =
|
229
|
+
final_width = 14
|
230
230
|
end
|
231
231
|
printf " #{shared_connector} #{custom_spacing}\\_ Final Server: %#{final_width}s %s\n", (LXC::Container.new(final_name, lxc_config_path).defined? ? "Created" : "Not Created"), final_name
|
232
232
|
end
|
data/lib/dev-lxc/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: dev-lxc
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.2.
|
4
|
+
version: 1.2.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Jeremiah Snapp
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2015-05-
|
11
|
+
date: 2015-05-05 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|