cloudformation-tool 0.5.1 → 0.5.2

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: b895c712fd73503a7aafbb3f761b9f95951f171e
4
- data.tar.gz: 343a03cf57bbbc961e13165a55e76e3a9730aad2
3
+ metadata.gz: 8f10d075bcc46e1aee1eb5d30533280c2cc6da3a
4
+ data.tar.gz: d469837f4ec102b19fc80b3e9b2329eafd651f95
5
5
  SHA512:
6
- metadata.gz: 3b52e88265e708f87295600173e454627384fd4308dce79bc96e895718f6d8c99e27e0213f14584e71518375ce84513f934cfc7bf722e8a990857a70cea89a66
7
- data.tar.gz: 987f7d224e4b33a5b8ed2219d7d53ddcec2d6974d88c3c2e43a0ac5b019dc66e7e7888fb0b7c6bfe8e6e24fa89127265fea4bdeafa503cf48103022a3829ab4c
6
+ metadata.gz: 3cf45e66cf9fe0788bc4004c813486c6c2777c33a0c69f4931674560d7216c13386b1baea9e51c7a534c4efde8b58d25d4d2e6324b059900a2bb97cd405cecef
7
+ data.tar.gz: e24c12d0810391ab254ab7c8d9bad79e8aef9207c83fda42399d2e42703879c524a85fa6860b06d0a840e7303cf87aa9be3f528173b4fb7ad809ebdc1b1f279f
@@ -18,11 +18,11 @@ module CloudFormationTool
18
18
  @basedir = File.dirname(@path)
19
19
  @compiled = false
20
20
  @params = nil
21
- text = File.read(@path)
22
- # remove comments because white space seen between comments can seriously psych Psych
23
- text.gsub!(/^#.*\n/s,'')
24
- text = fixShorthand(text)
25
21
  begin
22
+ text = File.read(@path)
23
+ # remove comments because white space seen between comments can seriously psych Psych
24
+ text.gsub!(/^#.*\n/s,'')
25
+ text = fixShorthand(text)
26
26
  @data = YAML.load(text).to_h
27
27
  rescue Psych::SyntaxError => e
28
28
  e.message =~ /line (\d+) column (\d+)/
@@ -1,3 +1,3 @@
1
1
  module CloudFormationTool
2
- VERSION = '0.5.1'
2
+ VERSION = '0.5.2'
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: cloudformation-tool
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.5.1
4
+ version: 0.5.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Oded Arbel