civo_cli 0.3.0 → 0.3.1

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: 3aa377206e1e8d47adf809be5f376e70be52f80971e3d9c80658daf62e57cb37
4
- data.tar.gz: ab5b51dade9d2d7a4821c461226d45557a5982fe802f745cbed14f8a1f0590fd
3
+ metadata.gz: 131200df08997f0f66828fae0f0b918db6a1a2e949faba9f23866708c226d7b2
4
+ data.tar.gz: 255cebd582afa3007583d73dbec7baea581573e0e0fe2bebc1f085c8c06ae010
5
5
  SHA512:
6
- metadata.gz: 1c4f20f91cc649ae789a141aa1cbb8673a44eb923f2b2a396eeb3687fcb0d41c15278602ebdd970d1ed7a719dc9a30876a74609f7f6f4dbc58cfc3487ee1a097
7
- data.tar.gz: 1c7fafb6348485a10b69ed080a7cf3e762fcdb429bf937a1c58b3b06f1d0e4a51070238edb55597cadd0a911de7785c33e3f6b320bc779ebf4c969e42d70a70a
6
+ metadata.gz: 76d5b837af1d0d150652b0f311dae71dcfe8e9798d49fbe3c6be3160367b06d04a54692b25349c4b517df4788fa8e0d06f52696f369743a62c1c2c230b3c7e2d
7
+ data.tar.gz: 5c10d7b6cfbdcebfd9b728480088d7bebc32500df150459ee86d9135cdb491070126f7cdb42d7ff0f230744ec9f51c68864fb4b42967518f90049098cf505814
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.3.1] - 2019-07-05
7
+ ### Fixed
8
+ - Verbose option to blueprint show was ignored and it was always verbose
9
+
6
10
  ## [0.3.0] - 2019-07-05
7
11
  ### Added
8
12
  - Verbose option to blueprint show
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- civo_cli (0.3.0)
4
+ civo_cli (0.3.1)
5
5
  civo (>= 1.2.1)
6
6
  colorize
7
7
  json
data/lib/blueprint.rb CHANGED
@@ -31,14 +31,17 @@ module CivoCLI
31
31
  puts "-" * 29 + " CONTENT " + "-" * 29
32
32
  puts ""
33
33
  puts blueprint.dsl_content
34
- puts ""
35
- puts "-" * 29 + " SCRIPT " + "-" * 29
36
- puts ""
37
- puts blueprint.script_content
38
- puts ""
39
- puts "-" * 29 + " LAST RAN " + "-" * 29
40
- puts ""
41
- puts blueprint.last_build_script_output
34
+
35
+ unless options["verbose"].nil?
36
+ puts ""
37
+ puts "-" * 29 + " SCRIPT " + "-" * 29
38
+ puts ""
39
+ puts blueprint.script_content
40
+ puts ""
41
+ puts "-" * 29 + " LAST RAN " + "-" * 29
42
+ puts ""
43
+ puts blueprint.last_build_script_output
44
+ end
42
45
  rescue Flexirest::HTTPForbiddenClientException => e
43
46
  puts "Sorry, you don't have access to this feature".colorize(:red)
44
47
  exit 1
@@ -1,3 +1,3 @@
1
1
  module CivoCLI
2
- VERSION = "0.3.0"
2
+ VERSION = "0.3.1"
3
3
  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.3.0
4
+ version: 0.3.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Andy Jeffries