civo_cli 0.4.9 → 0.5.0

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: 43c56229c11277e763a5ac56f9a764c49096f8894da458d7be0912dc5e86ea72
4
- data.tar.gz: 4a0ab0c07f462fc8f90177c9a5c9b07fb2059e536b0a11c334ec2dcdea9e1f14
3
+ metadata.gz: f8c1f17bb6f4640b31e24733f8808a1d9e64134d2cb052c7e537cd8cd28b89b5
4
+ data.tar.gz: 7124e52fff64c0a9251a94616b6ca717a07134f0437ed4c2f3123c80eed9232b
5
5
  SHA512:
6
- metadata.gz: 7a5e315adcb0a40f79bf3262d41e3d42b113c2c170095b0f5ded8950876e59687f781f3be80cdb4a2f94e1923d7f0cb08c0ccdc8f58c7e49a4a5ce7c65a1c0df
7
- data.tar.gz: b402ecd692e2044d5801b5a1233dee672e15217091c6da68f826abb4574500b1ebe0c6ddca6dfbac58577c4c27000de7055836a0a60a83f9cf0dc910c150fcc6
6
+ metadata.gz: 400d92d3075fc619fdc6ae370e18c1f7e523a9ffa094b4869218e3b03c9df9ab41bda1eb763b11afcb4d3f62590cac2f4fb4a31d2be3e3d9fd6db87daf17da45
7
+ data.tar.gz: 75c4bc2e96bc1e68f3a7e29d7fc06cabfe9afb05d417df3df60b2f022853e9ed9f29e759e0aa64a48eb7402d61a2cbb66f214225e0b9836c507644d7a774a505
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.0] - 2019-10-23
7
+ ### Fixed
8
+ - `civo k3s ls` and `civo k3s show` shouldn't show a recommended upgrade to a non-default version.
9
+
6
10
  ## [0.4.9] - 2019-10-23
7
11
  ### Changed
8
12
  - `civo k3s versions` now shows which version will be installed by default.
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- civo_cli (0.4.9)
4
+ civo_cli (0.5.0)
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.9"
2
+ VERSION = "0.5.0"
3
3
  end
data/lib/kubernetes.rb CHANGED
@@ -365,7 +365,9 @@ module CivoCLI
365
365
  exit(1)
366
366
  end
367
367
  else
368
- available_versions.first.version
368
+ k3s = available_versions.detect {|v| v.default}
369
+ k3s ||= available_versions.first
370
+ k3s.version
369
371
  end
370
372
  end
371
373
  end
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.9
4
+ version: 0.5.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Andy Jeffries