autostacker24 1.0.32 → 1.0.33
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/autostacker24/template_preprocessor.rb +2 -3
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: e5f59595db1a62542fd874eb31297747447649ce
|
4
|
+
data.tar.gz: 9b5c07d65f8a2fe14039f819151cb9cf3d23c5c8
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: cdba4bd8666155e9c22a116884fb2650c8cffa0c94388b5e853e81873a245ea2af49b36d145b4288e28b9d8adab63302602791055a92e4734c34251335d9fcb1
|
7
|
+
data.tar.gz: a97b2637732d38d4682734950787826adcb9e78eb6ca18275e072a70572db82eda4d7cc186d19f0597c8480ad9c7e00610963f7a3945b30f551c03083b83538e
|
@@ -49,13 +49,12 @@ module AutoStacker24
|
|
49
49
|
else # we need a join construct
|
50
50
|
{'Fn::Join' => ['', parts]}
|
51
51
|
end
|
52
|
-
|
53
52
|
end
|
54
53
|
|
55
54
|
def self.tokenize(s)
|
56
55
|
pattern = /@@|@([\w:]+)/
|
57
56
|
tokens = []
|
58
|
-
|
57
|
+
loop do
|
59
58
|
m = pattern.match(s)
|
60
59
|
if m
|
61
60
|
tokens << m.pre_match unless m.pre_match.empty?
|
@@ -63,7 +62,7 @@ module AutoStacker24
|
|
63
62
|
s = m.post_match
|
64
63
|
else
|
65
64
|
tokens << s
|
66
|
-
|
65
|
+
break
|
67
66
|
end
|
68
67
|
end
|
69
68
|
tokens
|