civo_cli 0.5.7 → 0.5.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: 81e7ed8f71461ca37d64781e74c4f0af20928710a09786450b1c3d453dc4b15d
4
- data.tar.gz: dfda2e2d015a3ba6b03c6b706c96bf294fa72ca21f8ba689695ae9f2db46abf6
3
+ metadata.gz: 6909eec1f760a177c067048403292519abf562d66c858e9f762409b9c2d07b0c
4
+ data.tar.gz: c31c41ff17747c06cf2caa2c8f7e9f387c85c9e9de357e5de26a1205e6a70a6f
5
5
  SHA512:
6
- metadata.gz: d517214d9db059b213825f810b49a1b4bd156f78b0e98589a2957ece959bb0d403662c436cca6c320a69335a2db3a1df92aaaddd4c46d5587bd0921186ccfc34
7
- data.tar.gz: 4668d099d3d6d470eb6dc5451961dfe0a1c80e7aece59a37613df8d3592c2bb29285417e2bcafa908710d54997f7352f1fc2642c3862502458d5934e1534ca5c
6
+ metadata.gz: 77097a29dd62b4443ef7be1820d17cd1363f9f997e9f5db5f64e6dd513073501275b8d23526669a1b6bd69af5ac6d29e29b100fdc49926f596d75512272861a9
7
+ data.tar.gz: fb8e24d223890321899d030b473a51e7192321e866f43ddfd6935b2bfd0b8ee814d1e49e4634cc543301b03bbf0334db817246898d8c61981467b75223639ad7
@@ -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.8] - 2020-02-14
7
+ ### Changed
8
+ - Fix error with k3s versioning having plus signs
9
+
6
10
  ## [0.5.7] - 2019-12-04
7
11
  ### Changed
8
12
  - Set a minimum version of activesupport to fix https://github.com/civo/cli/issues/51 (thanks to Dr Nic Williams for the bug report)
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- civo_cli (0.5.7)
4
+ civo_cli (0.5.8)
5
5
  activesupport (>= 6.0.0)
6
6
  bundler (>= 1.17)
7
7
  civo (>= 1.2.9)
data/README.md CHANGED
@@ -50,7 +50,7 @@ and so on. The main components of Civo CLI are outlined in the following section
50
50
  ## Docker Usage
51
51
  Civo's CLI utilty can also run within a Docker container, which avoids the need to maintain a Ruby environment on the main system.
52
52
 
53
- To run, you generally will want to map the API key for presistence.
53
+ To run, you generally will want to map the API key for persistence.
54
54
 
55
55
  ```
56
56
  touch $HOME/.civo.json
@@ -80,7 +80,7 @@ You can add the API Key to the CLI tool through the API Keys command.
80
80
  $ civo apikey add Demo_Test_Key DAb75oyqVeaE7BI6Aa74FaRSP0E2tMZXkDWLC9wNQdcpGfH51r
81
81
  Saved the API Key DAb75oyqVeaE7BI6Aa74FaRSP0E2tMZXkDWLC9wNQdcpGfH51r as Demo_Test_Key
82
82
  ```
83
- As you can have multiple API keys stored to handle multiple accounts, you will need to tell which key the tool is to authenticate with `civo apikey current [apikey_name]`. This sets your chosen API key as the default key to use for any subsequent commands:
83
+ As you can have multiple API keys stored to handle multiple accounts, you will need to tell which key the tool should use to authenticate with `civo apikey current [apikey_name]`. This sets your chosen API key as the default key to use for any subsequent commands:
84
84
  ```
85
85
  $ civo apikey current Demo_Test_Key
86
86
  The current API Key is now Demo_Test_Key
@@ -285,7 +285,7 @@ Please note that resizing can take a few minutes.
285
285
  *IMPORTANT:* Kubernetes is in closed-access only at the moment, during testing. The endpoints here will be rejected unless you are one of the closed set of users that can launch them.
286
286
 
287
287
  #### List clusters
288
- To see your created domains, simply call `civo kubernetes list`:
288
+ To see your created clusters, simply call `civo kubernetes list`:
289
289
 
290
290
  ```
291
291
  $ civo kubernetes list
@@ -297,7 +297,7 @@ $ civo kubernetes list
297
297
  ```
298
298
 
299
299
  #### Create a cluster
300
- You can create an instance by running `civo kubernetes create` with a cluster name parameter, as well as any options you provide:
300
+ You can create a cluster by running `civo kubernetes create` with a cluster name parameter, as well as any options you provide:
301
301
 
302
302
  * `size` - The size of nodes to create, from the current list of sizes available at [`civo sizes`](#sizes). Defaults to `g2.medium`.
303
303
  * `nodes` - The number of nodes to create (the master also acts as a node).
@@ -354,9 +354,9 @@ Removing Kubernetes cluster my-first-cluster
354
354
 
355
355
  ## Kubernetes Applications
356
356
  #### Introduction
357
- You can install applications from the [Applications Marketplace](https://github.com/civo/kubernetes-marketplace/) through the command-line interface. The installation depends on if you are creating a new cluster or adding applications to an existing cluster.
357
+ You can install applications from the [Applications Marketplace](https://github.com/civo/kubernetes-marketplace/) through the command-line interface. The installation depends on whether you are creating a new cluster or adding applications to an existing cluster.
358
358
 
359
- #### Listing Available Applications
359
+ #### Listing Available Applications
360
360
  To get an up-to-date list of available applications on the Marketplace, run `civo apps list`. At the time of writing, the list looked like this:
361
361
  ```
362
362
  +---------------------+------------+--------------+-----------------+--------------+
@@ -3,3 +3,4 @@ MAINTAINER Steve Miller <me@r15cookie.com>
3
3
  RUN gem install civo_cli
4
4
  RUN adduser -S user
5
5
  USER user
6
+ ENTRYPOINT ["civo"]
@@ -1,3 +1,3 @@
1
1
  module CivoCLI
2
- VERSION = "0.5.7"
2
+ VERSION = "0.5.8"
3
3
  end
@@ -18,7 +18,7 @@ module CivoCLI
18
18
  version = cluster.kubernetes_version
19
19
 
20
20
  if cluster.kubernetes_version != "development"
21
- latest_version = get_latest_k3s_version
21
+ latest_version = get_latest_k3s_version.gsub!(/[+]/, "")
22
22
  if Gem::Version.new(latest_version) > Gem::Version.new(version)
23
23
  upgrade_available = true
24
24
  version = "#{version} *".colorize(:red)
@@ -386,7 +386,7 @@ module CivoCLI
386
386
  else
387
387
  k3s = available_versions.detect {|v| v.default}
388
388
  k3s ||= available_versions.first
389
- k3s.version
389
+ k3s.version.gsub(/[+]/, "")
390
390
  end
391
391
  end
392
392
  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.5.7
4
+ version: 0.5.8
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-12-04 00:00:00.000000000 Z
13
+ date: 2020-02-14 00:00:00.000000000 Z
14
14
  dependencies:
15
15
  - !ruby/object:Gem::Dependency
16
16
  name: rake
@@ -268,7 +268,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
268
268
  - !ruby/object:Gem::Version
269
269
  version: '0'
270
270
  requirements: []
271
- rubygems_version: 3.0.6
271
+ rubygems_version: 3.0.3
272
272
  signing_key:
273
273
  specification_version: 4
274
274
  summary: CLI for interacting with Civo.com