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 +4 -4
- data/lib/terraform_landscape/printer.rb +5 -0
- data/lib/terraform_landscape/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 9f69e18f1f75024189ec29179ba5e7cecf308721
|
4
|
+
data.tar.gz: 6c15737dcf860e9b5bbae78e2dbf71e72f388274
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
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]
|
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.
|
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-
|
12
|
+
date: 2017-10-19 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: colorize
|