terraform_landscape 0.1.15 → 0.1.16

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
  SHA1:
3
- metadata.gz: 5eb1394da2bcf02e16e0536b664e2e7b430c4b8e
4
- data.tar.gz: 9a6c6489c1f1da6fb3824282d60fe10c5a09ab30
3
+ metadata.gz: 9f69e18f1f75024189ec29179ba5e7cecf308721
4
+ data.tar.gz: 6c15737dcf860e9b5bbae78e2dbf71e72f388274
5
5
  SHA512:
6
- metadata.gz: 62cbadc2c52b973b513cfebad4f535e027d5715bcb834c78accf27d1a55626ac44a5d0d2b96092cdb66453272e6142c4d205d0a2b74d6fe30c06c7a7e75d5038
7
- data.tar.gz: 8748da16145151d9852d87469a5fb3f3370636ec695952b05b71c483f6103bc5a0e7fe938ae277fe4c5d2af98263c3ddb8af0a037708969c20d81fa7a46cf200
6
+ metadata.gz: '08fde4d4f89041a32dd48ce7149b3ba95a91f1ca987c059514df9a15acaf06c15f5dc8faf130b208b988a938787342386cb05f0bf57b3d44d95f5973e06e4ada'
7
+ data.tar.gz: e42f2a410bb6217873c96326e0285e6659b165c792ee7e8f47e1855757f8758a08b2f927319ac5c274496326942f3721f8a425ca5fbaebeeeaebda92fe11cae8
@@ -38,6 +38,11 @@ module TerraformLandscape
38
38
  def process_string(plan_output)
39
39
  scrubbed_output = plan_output.gsub(/\e\[\d+m/, '')
40
40
 
41
+ # Remove initialization messages like
42
+ # "- Downloading plugin for provider "aws" (1.1.0)..."
43
+ # as these break the parser which thinks "-" is a resource deletion
44
+ scrubbed_output.gsub!(/^- .*\.\.\.$/, '')
45
+
41
46
  # Remove preface
42
47
  if (match = scrubbed_output.match(/^Path:[^\n]+/))
43
48
  scrubbed_output = scrubbed_output[match.end(0)..-1]
@@ -2,5 +2,5 @@
2
2
 
3
3
  # Defines the gem version.
4
4
  module TerraformLandscape
5
- VERSION = '0.1.15'.freeze
5
+ VERSION = '0.1.16'.freeze
6
6
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: terraform_landscape
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.15
4
+ version: 0.1.16
5
5
  platform: ruby
6
6
  authors:
7
7
  - Coinbase
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2017-10-13 00:00:00.000000000 Z
12
+ date: 2017-10-19 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: colorize