civo_cli 0.3.8 → 0.3.9
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/CHANGELOG.md +8 -0
- data/Gemfile.lock +1 -1
- data/README.md +1 -1
- data/lib/civo_cli/version.rb +1 -1
- data/lib/civo_cli.rb +1 -1
- data/lib/instance.rb +3 -2
- 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: d62448379809416dbb023c5af87507ea6d678b099919e82a4ea0b5c3edf5f23f
|
|
4
|
+
data.tar.gz: dadd6536e7152e2b8d40495aa4b0cccc9e57afae69dac56505d2dfd8227073c0
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: fa11fc73c7c3cecafc93757f7b4273a9a544998b3dee4c9a33feadc93138bb998f7b64ab43dee1a4e3eb56a1e90f8c2c0c9f6272ca0b36aab52163123a6e97dc
|
|
7
|
+
data.tar.gz: c047daf2274eeb5c9eddc595f80c8d52764f317a3bb90b8bfad4a70e507f8245529699eb3b4a9c17f59fcc0d1c13fe840d81eddebb4a4b9c9f1fdfdc007ea77c
|
data/CHANGELOG.md
CHANGED
|
@@ -3,6 +3,14 @@ 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.3.8] - 2019-08-12
|
|
7
|
+
### Added
|
|
8
|
+
- Time taken for a `create` command appended with `--wait`.
|
|
9
|
+
### Fixed
|
|
10
|
+
- Kubernetes cluster `--wait` command to correctly detect ready state to output time.
|
|
11
|
+
- Issue with file requires preventing Ubuntu machines from running the gem.
|
|
12
|
+
- Error in parsing `instance create` without other switches to create default instance with generated name.
|
|
13
|
+
|
|
6
14
|
## [0.3.8] - 2019-07-26
|
|
7
15
|
### Fixed
|
|
8
16
|
- Kubernetes cluster launches now wait for the master to be ready, not necessarily all nodes.
|
data/Gemfile.lock
CHANGED
data/README.md
CHANGED
|
@@ -84,7 +84,7 @@ You can create an instance by running `civo instance create` with a hostname par
|
|
|
84
84
|
|
|
85
85
|
Example usage:
|
|
86
86
|
```
|
|
87
|
-
$ civo instance create api-demo.test --size g2.small --template=811a8dfb-8202-49ad-b1ef-1e6320b20497 --initial_user=demo-user
|
|
87
|
+
$ civo instance create --name=api-demo.test --size g2.small --template=811a8dfb-8202-49ad-b1ef-1e6320b20497 --initial_user=demo-user
|
|
88
88
|
Created instance api-demo.test
|
|
89
89
|
|
|
90
90
|
$ civo instance show api-demo.test
|
data/lib/civo_cli/version.rb
CHANGED
data/lib/civo_cli.rb
CHANGED
data/lib/instance.rb
CHANGED
|
@@ -5,6 +5,7 @@ module CivoCLI
|
|
|
5
5
|
DEFAULT_INITIAL_USER = 'civo'
|
|
6
6
|
DEFAULT_PUBLIC_IP = 'true'
|
|
7
7
|
DEFAULT_TEMPLATE = '811a8dfb-8202-49ad-b1ef-1e6320b20497'
|
|
8
|
+
DEFAULT_HOSTNAME = CivoCLI::NameGenerator.create
|
|
8
9
|
|
|
9
10
|
desc "list", "list all instances"
|
|
10
11
|
def list
|
|
@@ -86,8 +87,8 @@ module CivoCLI
|
|
|
86
87
|
end
|
|
87
88
|
map "get" => "show", "inspect" => "show"
|
|
88
89
|
|
|
89
|
-
desc "create [HOSTNAME] [...]", "create a new instance with specified hostname and provided options"
|
|
90
|
-
option :name, aliases: '--hostname', banner: 'hostname'
|
|
90
|
+
desc "create [--name=HOSTNAME] [...]", "create a new instance with specified hostname and provided options"
|
|
91
|
+
option :name, default: DEFAULT_HOSTNAME, aliases: '--hostname', banner: 'hostname'
|
|
91
92
|
option :size, default: DEFAULT_SIZE, banner: 'instance_size_code'
|
|
92
93
|
option :region, default: DEFAULT_REGION, banner: 'civo_region'
|
|
93
94
|
option :public_ip, default: DEFAULT_PUBLIC_IP, banner: 'true | false | from [instance_id]'
|
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.3.
|
|
4
|
+
version: 0.3.9
|
|
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-
|
|
13
|
+
date: 2019-08-12 00:00:00.000000000 Z
|
|
14
14
|
dependencies:
|
|
15
15
|
- !ruby/object:Gem::Dependency
|
|
16
16
|
name: rake
|
|
@@ -247,7 +247,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
|
247
247
|
- !ruby/object:Gem::Version
|
|
248
248
|
version: '0'
|
|
249
249
|
requirements: []
|
|
250
|
-
rubygems_version: 3.0.
|
|
250
|
+
rubygems_version: 3.0.3
|
|
251
251
|
signing_key:
|
|
252
252
|
specification_version: 4
|
|
253
253
|
summary: CLI for interacting with Civo.com
|