terraspace 0.5.3 → 0.5.4

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: 3046cd50c2a592878bc84dce2fdf21f00fbcf93e4a4fd47a57fe59fbab87adf5
4
- data.tar.gz: 154ec374284a4758b3e45111653e67d7540ad0ed02661cabd2b5dfa1f79ad35c
3
+ metadata.gz: 7e39eb604e5161adb75c3df9f81f11c29399c81a4f87909fd4197b55e730abb7
4
+ data.tar.gz: ba6a3053596e82c55681a12763768f19ff28405a6c4cdc4659f24fa3c00484ba
5
5
  SHA512:
6
- metadata.gz: ab3def1c9c10a952aef42cbea27de2c645627c69af0ae452baceef36c15ed6f87abd43ab2cda16b0d1f76bc0080a50eb75d802ef6f540e77c13a7796a46ba78f
7
- data.tar.gz: 2b6e9314e91cd27ef3e19e3a827006dbc081ae8a7ad0d38da445482bc503f978d38575470836f91b1a9a10799fb707d8dacb895818b94a513e46a64f14cbf1da
6
+ metadata.gz: 0b3104e8b07c0b55b47a175cece06c2d24c1dc92db5ccbff69e0185d2958db867e46943f335e620d04c7d694a29e9d7a097531d9b9442b4e49912e1395e9d992
7
+ data.tar.gz: 879fea1fd5e477eb20133696e16978f75d59ae000727f8183fafae5b2f36801a32c91a231fd63f2ec207bd4110110a3c49a69f9a4eff6c247452d3647c180c57
@@ -3,6 +3,9 @@
3
3
  All notable changes to this project will be documented in this file.
4
4
  This project *loosely tries* to adhere to [Semantic Versioning](http://semver.org/), even before v1.0.
5
5
 
6
+ ## [0.5.4] - 2020-11-27
7
+ - fix check setup when terraform not found
8
+
6
9
  ## [0.5.3] - 2020-11-27
7
10
  - [#60](https://github.com/boltops-tools/terraspace/pull/60) fix terraspace check_setup, use type and allow to run outside project
8
11
  - improve terraform is not installed message
@@ -65,8 +65,9 @@ class Terraspace::CLI
65
65
 
66
66
  def terraform_bin
67
67
  out = `type terraform 2>&1`.strip
68
- bin_path = out.match(/is (.*)/)[1]
69
- bin_path if $?.success?
68
+ return unless $?.success?
69
+ md = out.match(/is (.*)/)
70
+ md[1] if md
70
71
  end
71
72
  memoize :terraform_bin
72
73
 
@@ -1,3 +1,3 @@
1
1
  module Terraspace
2
- VERSION = "0.5.3"
2
+ VERSION = "0.5.4"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: terraspace
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.5.3
4
+ version: 0.5.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - Tung Nguyen