civo_cli 0.5.4 → 0.5.5
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/Gemfile.lock +5 -5
- data/lib/civo_cli/version.rb +1 -1
- data/lib/kubernetes.rb +9 -5
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: e90ffc780245b77b913a2a5e314a47e0a0b7b3374cdfe9d648f84b8f66b414c8
|
4
|
+
data.tar.gz: 63f17fd2007eedb6087efbcbb04a55fbbff126faebec1fec820699fa3f161e73
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 6b6d6e5d96356fe3320a08242b1b1c32e4a512f8c594e8fe363666baff30df91c7d90d4ef8ecb718f6098bfd60530bfdfd100cdc977bfee8b39da1ffe93a813b
|
7
|
+
data.tar.gz: 659852675b07e85f4a9886df8e9ac8ded3faf85e9f3bebe4879e5fcc2ff64f102f28c726c5d0bb852d8863759e7ded3701642dc5a2fc6e4c4ae2966b0c7d00c6
|
data/CHANGELOG.md
CHANGED
@@ -3,6 +3,10 @@ All notable changes to the Civo CLI will be documented in this file.
|
|
3
3
|
|
4
4
|
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
|
5
5
|
|
6
|
+
## [0.5.5] - 2019-11-12
|
7
|
+
### Fixed
|
8
|
+
- Support for `development` version k3s clusters when showing the details
|
9
|
+
|
6
10
|
## [0.5.4] - 2019-11-01
|
7
11
|
### Added
|
8
12
|
- New `--quiet`/`-q` flag for instance creation to not display the spinner and be so verbose during instance creation
|
data/Gemfile.lock
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
PATH
|
2
2
|
remote: .
|
3
3
|
specs:
|
4
|
-
civo_cli (0.5.
|
4
|
+
civo_cli (0.5.5)
|
5
5
|
bundler (>= 1.17)
|
6
6
|
civo (>= 1.2.9)
|
7
7
|
colorize
|
@@ -12,12 +12,12 @@ PATH
|
|
12
12
|
GEM
|
13
13
|
remote: https://rubygems.org/
|
14
14
|
specs:
|
15
|
-
activesupport (6.0.
|
15
|
+
activesupport (6.0.1)
|
16
16
|
concurrent-ruby (~> 1.0, >= 1.0.2)
|
17
17
|
i18n (>= 0.7, < 2)
|
18
18
|
minitest (~> 5.1)
|
19
19
|
tzinfo (~> 1.1)
|
20
|
-
zeitwerk (~> 2.
|
20
|
+
zeitwerk (~> 2.2)
|
21
21
|
addressable (2.6.0)
|
22
22
|
public_suffix (>= 2.0.2, < 4.0)
|
23
23
|
civo (1.2.9)
|
@@ -70,7 +70,7 @@ GEM
|
|
70
70
|
mime-types (3.3)
|
71
71
|
mime-types-data (~> 3.2015)
|
72
72
|
mime-types-data (3.2019.1009)
|
73
|
-
minitest (5.
|
73
|
+
minitest (5.13.0)
|
74
74
|
multi_json (1.14.1)
|
75
75
|
multipart-post (2.1.1)
|
76
76
|
nenv (0.3.0)
|
@@ -116,7 +116,7 @@ GEM
|
|
116
116
|
addressable (>= 2.3.6)
|
117
117
|
crack (>= 0.3.2)
|
118
118
|
hashdiff (>= 0.4.0, < 2.0.0)
|
119
|
-
zeitwerk (2.2.
|
119
|
+
zeitwerk (2.2.1)
|
120
120
|
|
121
121
|
PLATFORMS
|
122
122
|
ruby
|
data/lib/civo_cli/version.rb
CHANGED
data/lib/kubernetes.rb
CHANGED
@@ -76,12 +76,16 @@ module CivoCLI
|
|
76
76
|
puts " Status : #{cluster.status.colorize(:red)}"
|
77
77
|
end
|
78
78
|
|
79
|
-
|
80
|
-
|
81
|
-
puts " Version : " + "#{cluster.kubernetes_version} *".colorize(:red)
|
82
|
-
upgrade_available = true
|
79
|
+
if cluster.kubernetes_version == "development"
|
80
|
+
puts " Version : Development"
|
83
81
|
else
|
84
|
-
|
82
|
+
latest_version = get_latest_k3s_version
|
83
|
+
if Gem::Version.new(latest_version) > Gem::Version.new(cluster.kubernetes_version)
|
84
|
+
puts " Version : " + "#{cluster.kubernetes_version} *".colorize(:red)
|
85
|
+
upgrade_available = true
|
86
|
+
else
|
87
|
+
puts " Version : #{cluster.kubernetes_version}"
|
88
|
+
end
|
85
89
|
end
|
86
90
|
|
87
91
|
puts " API Endpoint : #{cluster.api_endpoint}"
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: civo_cli
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.5.
|
4
|
+
version: 0.5.5
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Andy Jeffries
|
@@ -10,7 +10,7 @@ authors:
|
|
10
10
|
autorequire:
|
11
11
|
bindir: exe
|
12
12
|
cert_chain: []
|
13
|
-
date: 2019-11-
|
13
|
+
date: 2019-11-12 00:00:00.000000000 Z
|
14
14
|
dependencies:
|
15
15
|
- !ruby/object:Gem::Dependency
|
16
16
|
name: rake
|
@@ -252,7 +252,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
252
252
|
- !ruby/object:Gem::Version
|
253
253
|
version: '0'
|
254
254
|
requirements: []
|
255
|
-
rubygems_version: 3.0.
|
255
|
+
rubygems_version: 3.0.6
|
256
256
|
signing_key:
|
257
257
|
specification_version: 4
|
258
258
|
summary: CLI for interacting with Civo.com
|