terraform_landscape 0.0.1 → 0.1.0
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: f8cb77102d5ee6a38ba30d4e10210b6d6280d152
|
4
|
+
data.tar.gz: 5a6c9c4899c6ac6a8a91a1bc1f1781a4149681ee
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 36644116b7a8f3a27a2011bb5ccca12eb1461ed1102dee2a33b7b4af06323ab45e4685ec48d7ea728e5ef0fe9dfac833f98b0fcc33c332b3969009f1c3d2fb77
|
7
|
+
data.tar.gz: 3e2629b749c139b95ffce1fc42cd86b47e0c7810edc08134842d70a5e2c5c1be47d63ac27fe866de4de9ce6a7f3baaa188ff30bb9247d8012482d1e14a0024f2
|
@@ -36,6 +36,11 @@ module TerraformLandscape
|
|
36
36
|
# Remove preface
|
37
37
|
if (match = scrubbed_output.match(/^Path:[^\n]+/))
|
38
38
|
scrubbed_output = scrubbed_output[match.end(0)..-1]
|
39
|
+
elsif (match = scrubbed_output.match(/^(~|\+|\-)/))
|
40
|
+
scrubbed_output = scrubbed_output[match.begin(0)..-1]
|
41
|
+
elsif scrubbed_output.match(/^No changes/)
|
42
|
+
@output.puts 'No changes'
|
43
|
+
return
|
39
44
|
else
|
40
45
|
raise ParseError, 'Output does not contain proper preface'
|
41
46
|
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.0
|
4
|
+
version: 0.1.0
|
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-
|
12
|
+
date: 2017-03-13 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: colorize
|