civo_cli 0.2.6 → 0.2.7

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: d861f11c17a9e24b51e0853bf40c4953f9a1aa45af1b7722f922d197bbeee969
4
- data.tar.gz: 7edd364cba9bebb15b74dfffff2ca5e23008599486e0b1b7f2345220b052cc60
3
+ metadata.gz: df73cb390c44a24588fbd169f8d5117123b05f730077dcd33b8c66503863b796
4
+ data.tar.gz: 22cdc50995bb5afa99115c220acd7b03785083203bb847c3d77081bffa139529
5
5
  SHA512:
6
- metadata.gz: dc8151061ee863bef860070924feef1c8b740cd15269510020f62cf7335ad5d6543d2624f056698cf9c2ca9b014808613c77285278d39dcdfc104636585c6e4d
7
- data.tar.gz: f08fe71cfb4fe4d892ace4caff14337fc4f1af0090fa23321db7892715e60804235011a2974fc9d85a285fcda9cd4ddbc462727c16e74c70c94143690347885b
6
+ metadata.gz: c348ecf64f2ee3e494a05dfc13cf08de0981289644fe89a149261120cf847d4ffc19d05db50401db7c1fcddb374b0f5d24ecb3b7697a2994eea3b0c780461fb0
7
+ data.tar.gz: 542db45d0c4aa6049d2ce18c0168fd6dc6ed139c39940617e46a87deaae796b59f461e7a4cffe345a018a6c4a7979d8f9ff8bf7a494cfc3bd4dcb1498a3213e1
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.2.7] - 2019-07-04
7
+ ### Fixed
8
+ - Broken display after updating a blueprint if you use a name instead of an ID
9
+
6
10
  ## [0.2.6] - 2019-07-04
7
11
  ### Fixed
8
12
  - Slightly badly named method caused confusion, clarified by renaming the method and correcting usage of it
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- civo_cli (0.2.6)
4
+ civo_cli (0.2.7)
5
5
  civo (>= 1.2.1)
6
6
  colorize
7
7
  json
data/lib/blueprint.rb CHANGED
@@ -51,7 +51,7 @@ module CivoCLI
51
51
  params[:name] = options["name"] unless options["name"].nil?
52
52
  params[:force] = options["force"] unless options["force"].nil?
53
53
  Civo::Blueprint.update(params)
54
- blueprint = Civo::Blueprint.all.detect {|b| b.id == id }
54
+ blueprint = detect_blueprint(id)
55
55
  puts "Updated blueprint #{blueprint.name.colorize(:green)}"
56
56
  rescue Flexirest::HTTPForbiddenClientException => e
57
57
  puts "Sorry, you don't have access to this feature".colorize(:red)
@@ -1,3 +1,3 @@
1
1
  module CivoCLI
2
- VERSION = "0.2.6"
2
+ VERSION = "0.2.7"
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.2.6
4
+ version: 0.2.7
5
5
  platform: ruby
6
6
  authors:
7
7
  - Andy Jeffries