terraform_landscape 0.3.0 → 0.3.1
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 +3 -1
- data/lib/terraform_landscape/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 9d031c52891f2756e052628eac29040a6ffcd256887c7f05e06ac14ca0ae32e7
|
4
|
+
data.tar.gz: c0b75e6932f9985f2434b33232bef61efb06817712ea6c1ae279483adeb556a9
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: ef20a22fad2f137c0f585a8a2a5c794b9abfd71c700c94e8ee5e9c6a80af1e7f00d8f38cab5bc13c38032a0b1dbc08db4380fb9d0761bd80f996f07ad32c4e99
|
7
|
+
data.tar.gz: 3a0864c1eddeaa402c056a7079fdbfb71050a35c8b31570e5a8a7ce06f4d48cf1e4335286be3b4a4f6f3d27d255f4492c4cd2ba5eb21c0c503eaff5f6905ff1a
|
@@ -1,7 +1,7 @@
|
|
1
1
|
require 'stringio'
|
2
2
|
|
3
3
|
module TerraformLandscape
|
4
|
-
# Takes output from Terraform executable
|
4
|
+
# Takes output from Terraform executable and outputs it in a prettified
|
5
5
|
# format.
|
6
6
|
class Printer
|
7
7
|
def initialize(output)
|
@@ -59,8 +59,10 @@ module TerraformLandscape
|
|
59
59
|
|
60
60
|
# Remove initialization messages like
|
61
61
|
# "- Downloading plugin for provider "aws" (1.1.0)..."
|
62
|
+
# "- module.base_network"
|
62
63
|
# as these break the parser which thinks "-" is a resource deletion
|
63
64
|
scrubbed_output.gsub!(/^- .*\.\.\.$/, '')
|
65
|
+
scrubbed_output.gsub!(/^- module\..*$/, '')
|
64
66
|
|
65
67
|
# Remove separation lines that appear after refreshing state
|
66
68
|
scrubbed_output.gsub!(/^-+$/, '')
|
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.3.
|
4
|
+
version: 0.3.1
|
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: 2019-
|
12
|
+
date: 2019-02-07 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: colorize
|