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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 2b4410a5d47b0838e4b5d3735a10e5da39ea4870
4
- data.tar.gz: 642e0aa191a51d5d7d7e280b8fd294af5a0e7342
3
+ metadata.gz: a2716ced5e5e6f37046b2f7b2b966dc43f54b310
4
+ data.tar.gz: fa304a17446c149e2a2d00226745ac59b4f40177
5
5
  SHA512:
6
- metadata.gz: fdd9a90067a67a410d50f53077674f8d5b31ed7924626b9992167b5b3381aa26cc49e51f353b704a9c21c28c18538c293bc1ef372591a650ade61ef16c1f91ee
7
- data.tar.gz: 7547c8a520d96c9741667e2b9dc178071e2f21a3b3446646507ee129b495a2694347501ee52903c22dbe73c9628be7fe37b6ca99439d8d7c958aa5d2bc83c728
6
+ metadata.gz: 11b3f2087650fbbf7cdfd229f697e84e9183cdfa3edb76c430a116b00d365cf68d7ee74c1c1a7335aa48da5135e0e7fe459a6524caa113d15cd69ce66cfb9cad
7
+ data.tar.gz: 879f6422936998e9850ef2a8ab0cd8ee1ac2197e989132aa2e0828b90226e411789b55b77553b39e560219ac5c86f74cdea2510d9437d5412d8b4116ef2a844b
data/CHANGELOG.md CHANGED
@@ -1,5 +1,9 @@
1
1
  # dev-lxc Change Log
2
2
 
3
+ ## 1.2.1 (2015-05-05)
4
+
5
+ * Fix output spacing in list-images
6
+
3
7
  ## 1.2.0 (2015-05-01)
4
8
 
5
9
  * Change the chef-packages mount point
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: %25s %s\n", (LXC::Container.new(platform_name, lxc_config_path).defined? ? "Created" : "Not Created"), platform_name
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: %24s %s\n", (LXC::Container.new(shared_name, lxc_config_path).defined? ? "Created" : "Not Created"), shared_name
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: %21s %s\n", (LXC::Container.new(unique_name, lxc_config_path).defined? ? "Created" : "Not Created"), unique_name
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: %18s %s\n", "Created", custom_name
225
+ printf " #{shared_connector} \\_ Custom: %20s %s\n", "Created", custom_name
226
226
  custom_spacing = " "
227
- final_width = 9
227
+ final_width = 11
228
228
  else
229
- final_width = 12
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
@@ -1,3 +1,3 @@
1
1
  module DevLXC
2
- VERSION = "1.2.0"
2
+ VERSION = "1.2.1"
3
3
  end
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.0
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-01 00:00:00.000000000 Z
11
+ date: 2015-05-05 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler