civo_cli 0.3.18 → 0.3.19

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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: f93f73f2a2afbc365839db9f52da82fdd3f292a6e159d4d5e3f22f1cda88ae62
4
- data.tar.gz: 97bc0335f30dc807700f7bda9b4e60d72686debc39f5db2894d7997012f545a2
3
+ metadata.gz: 759c5158aaf115ee71ab2c19c231b6707a141d7a075830c0c518758ac9474d59
4
+ data.tar.gz: 65f6d1957c272685d15d1c64960498656bdab052d95c07142cbc921834510167
5
5
  SHA512:
6
- metadata.gz: 68ef9d04db721b0b9ec8717b2e0bebf5279ab948b37dbf66727bef2340c700fbfacae546bd01b0eaeabbd003dc88e6f11b7687f73ce252cedf345d8d7eba620f
7
- data.tar.gz: 444d5ece596ff7d0bf6acf3e45c5c0956431e1f654ae69d250a5d49d4e6be342f817e242bd6c0ef420eeba5cf5ead66dc6996c67b463084a13155aeb6797bbee
6
+ metadata.gz: f86b8c07311376c366306271ba959ae31f2941144fe086c4d2a99457cb6ac6a2286ff1407bfb410948a4bbc5b1f5f7a79bd076343b26c4f6e970c0eb1107ab1a
7
+ data.tar.gz: 34d693db9c65f4707ff71a56eb0424455d3ea6402fbfb5f0f5aa98481ad2f3e1d43209658dcbe10a064d96549a9d9308adc9a74d6e023367f811e2d1b51d6de1
data/CHANGELOG.md CHANGED
@@ -3,7 +3,11 @@ 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.17] - 2019-09-11
6
+ ## [0.3.19] - 2019-09-11
7
+ ### Added
8
+ - Added aliases for `--applications` when creating a cluster
9
+
10
+ ## [0.3.18] - 2019-09-11
7
11
  ### Changed
8
12
  - If there is one exact match for a cluster, return that, only try partial matches if there are no exact matches
9
13
 
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- civo_cli (0.3.18)
4
+ civo_cli (0.3.19)
5
5
  bundler (~> 1.17)
6
6
  civo (>= 1.2.8)
7
7
  colorize
@@ -1,3 +1,3 @@
1
1
  module CivoCLI
2
- VERSION = "0.3.18"
2
+ VERSION = "0.3.19"
3
3
  end
data/lib/kubernetes.rb CHANGED
@@ -100,7 +100,7 @@ module CivoCLI
100
100
  option :wait, type: :boolean, banner: 'wait until cluster is running'
101
101
  option :save, type: :boolean
102
102
  option :switch, type: :boolean
103
- option :applications, type: :string
103
+ option :applications, type: :string, aliases: %w{apps app application}
104
104
  long_desc <<-LONGDESC
105
105
  Create a new Kubernetes cluster with name (randomly assigned if blank), instance size (default: g2.medium),
106
106
  \x5\x5Optional parameters are as follows:
@@ -111,7 +111,7 @@ module CivoCLI
111
111
  \x5 --save - save resulting configuration to ~/.kube/config (requires kubectl and the --wait option)
112
112
  \x5 --switch - switch context to newly-created cluster (requires kubectl and the --wait and --save options, as well as existing kubeconfig file)
113
113
  LONGDESC
114
- def create(name = CivoCLI::NameGenerator.create, *args)
114
+ def create(name = CivoCLI::NameGenerator.create)
115
115
  CivoCLI::Config.set_api_auth
116
116
 
117
117
  applications = []
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.18
4
+ version: 0.3.19
5
5
  platform: ruby
6
6
  authors:
7
7
  - Andy Jeffries