civo 0.1.3 → 0.1.4
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/bin/civo +1 -0
- data/lib/civo/cli/client.rb +2 -6
- data/lib/civo/cli/commands/version.rb +6 -0
- data/lib/civo/version.rb +1 -1
- metadata +3 -2
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: cd28b48315c77a52498f8ed3de0d1bed914f3625
|
|
4
|
+
data.tar.gz: 5cd994ec88427368fb94457bf2a02516c78cd8e1
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: c3545c194631711a502ee09e67fc30af168b15a23a7cd005ef5be448702417308d9cd101f0793fff8b1f138e49bddddc31facae549d5779d0fc9f67e36cb9bb8
|
|
7
|
+
data.tar.gz: fddd65f2ad427207a9d9c86ffbfdcbceef17e6066b4371af7594cedf5e2d9a4da361e44313eb3ba5ed43f6c45b04632105907b2e42ae866bf9ef72ad3c75d23d
|
data/bin/civo
CHANGED
|
@@ -22,3 +22,4 @@ require_relative "#{ENGINE_ROOT}/lib/civo/cli/commands/sizes.rb"
|
|
|
22
22
|
require_relative "#{ENGINE_ROOT}/lib/civo/cli/commands/regions.rb"
|
|
23
23
|
require_relative "#{ENGINE_ROOT}/lib/civo/cli/commands/templates.rb"
|
|
24
24
|
require_relative "#{ENGINE_ROOT}/lib/civo/cli/commands/instances.rb"
|
|
25
|
+
require_relative "#{ENGINE_ROOT}/lib/civo/cli/commands/version.rb"
|
data/lib/civo/cli/client.rb
CHANGED
|
@@ -34,12 +34,8 @@ module Civo
|
|
|
34
34
|
end
|
|
35
35
|
end
|
|
36
36
|
|
|
37
|
-
puts
|
|
38
|
-
|
|
39
|
-
end.to_a.join(" | "))
|
|
40
|
-
puts (columns.keys.map do |k|
|
|
41
|
-
"-" * columns[k][:max_width]
|
|
42
|
-
end.to_a.join("-+-"))
|
|
37
|
+
puts columns.keys.map {|k| "%-#{columns[k][:max_width]}s" % columns[k][:label] }.to_a.join(" | ")
|
|
38
|
+
puts columns.keys.map {|k| "-" * columns[k][:max_width] }.to_a.join("-+-")
|
|
43
39
|
|
|
44
40
|
data.each do |record|
|
|
45
41
|
row = []
|
data/lib/civo/version.rb
CHANGED
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: civo
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.1.
|
|
4
|
+
version: 0.1.4
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Andy Jeffries
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2015-11-
|
|
11
|
+
date: 2015-11-24 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: flexirest
|
|
@@ -82,6 +82,7 @@ files:
|
|
|
82
82
|
- lib/civo/cli/commands/sshkeys.rb
|
|
83
83
|
- lib/civo/cli/commands/templates.rb
|
|
84
84
|
- lib/civo/cli/commands/tokens.rb
|
|
85
|
+
- lib/civo/cli/commands/version.rb
|
|
85
86
|
- lib/civo/cli/config.rb
|
|
86
87
|
- lib/civo/cli/token.rb
|
|
87
88
|
- lib/civo/engine.rb
|