civo_cli 0.4.7 → 0.4.8

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
  SHA256:
3
- metadata.gz: f677f74099b68315c824843def3112cc20190588066d6efe027abae1f02dd3fb
4
- data.tar.gz: fcd21eee2af1e684d2f1f427d8db66d354a2dac7e929baa8686d6e18e09324c1
3
+ metadata.gz: 14c04acd878f426f06abc96b2016dcd85e91706b121f0dd5b185bf0a2e7ec85b
4
+ data.tar.gz: e80ba343f83c2e5fb9c73bb93bce5acb0f33756f039dc335916c16645b58ecee
5
5
  SHA512:
6
- metadata.gz: 98559a1e50cf114746c8707a61277836e78187bbafa4c319ff1de329d621a663a153fcaf7ef93f4864cb0b3018976d07309dbbe69a75f7bef80ea945bc6a0b94
7
- data.tar.gz: f51e7291b27b3a520210fe80ecab4c073e77476408f1b2517a1262a58a01941722a172d112e0f1bfa34df0f559714ae15f5ad848ec5c66023dd24cf53766fe93
6
+ metadata.gz: b4f0e3e6dff28ae67fc3f47cfda37ed02dd2f252c0b29b049e15ddf80e5e9642b9078e3bd9c5b74b927b15afef70785445c0b13d330893aab5d8e4d068a18653
7
+ data.tar.gz: c4f59cbf1e1242000ddca04f48f04a96d449430e1c43233c2e4136cf9e2f64791de95a62f02089702fe8eea6769eef128d13c520fb15baabc914552a02ac68d6
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.4.8] - 2019-10-17
7
+ ### Fixed
8
+ - `civo k3s ls` was always warning about an upgrade available.
9
+
6
10
  ## [0.4.7] - 2019-10-17
7
11
  ### Added
8
12
  - Ability to upgrade an existing k3s cluster `civo k3s upgrade`.
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- civo_cli (0.4.7)
4
+ civo_cli (0.4.8)
5
5
  bundler (~> 1.17)
6
6
  civo (>= 1.2.9)
7
7
  colorize
@@ -1,3 +1,3 @@
1
1
  module CivoCLI
2
- VERSION = "0.4.7"
2
+ VERSION = "0.4.8"
3
3
  end
data/lib/kubernetes.rb CHANGED
@@ -13,11 +13,11 @@ module CivoCLI
13
13
  puts cluster.id
14
14
  end
15
15
  else
16
- upgrade_available = true
17
16
  rows = []
18
17
  Civo::Kubernetes.all.items.each do |cluster|
19
18
  version = cluster.kubernetes_version
20
19
  if Gem::Version.new(latest_version) > Gem::Version.new(version)
20
+ upgrade_available = true
21
21
  version = "#{version} *".colorize(:red)
22
22
  end
23
23
  rows << [cluster.id, cluster.name, cluster.num_target_nodes, cluster.target_nodes_size, version, cluster.status]
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.4.7
4
+ version: 0.4.8
5
5
  platform: ruby
6
6
  authors:
7
7
  - Andy Jeffries