terraform_landscape 0.3.2 → 0.3.3

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: 71f22a7ae9d3dbbc5d2c763bf68d25f20c8e08218ae2e30452050ce20cf488c4
4
- data.tar.gz: 4d328acc7803b44431fccdde6b8ea494d578a4325e9d02c250fe8de743b79597
3
+ metadata.gz: ed97c9c256fbb685fcf5817eaef307037828f2368e44ad8a4ea2cfd079197bea
4
+ data.tar.gz: d8472628aa77d68fc2f79437d3f8fae7aad60ca4fb3ad971fa7714bd1cedbe41
5
5
  SHA512:
6
- metadata.gz: 4a6d279f8e791d657faf8efa9b8f06191b75d2ad49bc88f8321abe1eae8d61c5d2fc731e6744d761d6189c936e2a64f45a36f6ea51dcd1717382916411830dc0
7
- data.tar.gz: 6f3be4f83a3c7f3d47617d0a74d81f78c0c38064c6b5aeec032318ddb4c7999e8b94178c96587c756605e67b142c11b80dc6f1b82acb0b42fce25a88861bc629
6
+ metadata.gz: f4a3b4c0ceca57406986b8282208b77378128d99fb24ec55da3cc5fd4b92c6449f9f6a1a5d06f251e3d4b02228f7cc45d3d256462177b760f6760b8165485d66
7
+ data.tar.gz: 6d20d470aea66409a28500b50a47c180eb391b367b4dcf950362dc3b1019990af859f5867c0b487ed7b7e9e38ae06c47bbc09235b5af29cbbbbae116457a9ecf
@@ -50,7 +50,7 @@ module TerraformLandscape
50
50
 
51
51
  def print(options)
52
52
  printer = Printer.new(@output)
53
- printer.process_stream(STDIN, options)
53
+ printer.process_stream(ARGF, options)
54
54
  end
55
55
  end
56
56
  end
@@ -57,6 +57,9 @@ module TerraformLandscape
57
57
  def process_string(plan_output) # rubocop:disable Metrics/MethodLength
58
58
  scrubbed_output = strip_ansi(plan_output)
59
59
 
60
+ # Our grammar assumes output with Unix line endings
61
+ scrubbed_output.gsub!("\r\n", "\n")
62
+
60
63
  # Remove initialization messages like
61
64
  # "- Downloading plugin for provider "aws" (1.1.0)..."
62
65
  # "- module.base_network"
@@ -2,5 +2,5 @@
2
2
 
3
3
  # Defines the gem version.
4
4
  module TerraformLandscape
5
- VERSION = '0.3.2'.freeze
5
+ VERSION = '0.3.3'.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.3.2
4
+ version: 0.3.3
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-03-30 00:00:00.000000000 Z
12
+ date: 2020-02-14 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: colorize