smartos-manager 1.2.1 → 1.2.2

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: fbf61b706c57d796a5a2df39a5aa7c07db0dfbb4
4
- data.tar.gz: c686d8e945798790aeb17c82ba4ccc018c5d1dfb
3
+ metadata.gz: 3d4d607dfb2d449462a1f839c570233b2055eebf
4
+ data.tar.gz: 92e92a570db5839078bca8312429df6dd1aa4d79
5
5
  SHA512:
6
- metadata.gz: 278fab605493db8c106611763cfc1ea8705c364fbab0393eab3d18ada8449473e912b1a9ea2b39e5d203b2d092adc80e1aebff455f9cbb0d43a568975b214558
7
- data.tar.gz: c1249230864bcff2bc6732615d9f6dfe4341c9487db27ff11e612893a645711283e1638fba310ab8027c6ea6a76ac8be7a68b9c794e4c45801175f4fdaac0ba1
6
+ metadata.gz: 32cf2b180e3cab81658df3f99895644d085cc4b0abb2971efac9690a68aeeab494cb116add12b6abf094e7a4b1344148ef99f46c7762457711f966295062c5ed
7
+ data.tar.gz: ef71c9907c80ee5151bb4b839e20621da612094e36308a91305d28dfc5563de63c07b1d1ef8e0d5e6ba9798694ea1087d02ea08bba817e4a9fa701814bf1bb13
@@ -69,10 +69,13 @@ class AppCLI < Thor
69
69
  str.split("_").map(&:capitalize).join(' ')
70
70
  end
71
71
 
72
+ def format_generic(str)
73
+ str
74
+ end
72
75
 
73
76
  def p_vm_list(size, name, type, uuid, state, admin_ip, *user_columns)
74
- tmp = user_columns.map{|val| "[ #{val.to_s.ljust(15).cyan} ]" }.join('')
75
- puts " [ #{size.rjust(6)} #{name.rjust(20)} - #{uuid.ljust(37)}][ #{admin_ip.ljust(15).cyan} ]#{tmp}[ #{state} ]"
77
+ tmp = user_columns.map{|val| "[ #{format_generic(val).to_s.ljust(15).cyan} ]" }.join('')
78
+ puts " [ #{size.rjust(6)} #{name.ljust(20)} - #{uuid.ljust(37)}][ #{format_generic(admin_ip).ljust(15).cyan} ]#{tmp}[ #{state} ]"
76
79
  end
77
80
 
78
81
  def printable_state(state)
@@ -1,3 +1,3 @@
1
1
  module SmartosManager
2
- VERSION = "1.2.1"
2
+ VERSION = "1.2.2"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: smartos-manager
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.2.1
4
+ version: 1.2.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Julien Ammous