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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 295aeee36f0029e60383de7d0c2ac5588e09fd47
4
- data.tar.gz: a56a49704faf3e8e6c4dd85d65802d285e53c249
3
+ metadata.gz: e5f59595db1a62542fd874eb31297747447649ce
4
+ data.tar.gz: 9b5c07d65f8a2fe14039f819151cb9cf3d23c5c8
5
5
  SHA512:
6
- metadata.gz: 070f2c212406f5792a70e40f6ebb95f6ad73311afe4556b46c5c57ca7a189264b6ca87a9102dd207e2bd7480b5ebb68c581e009354c85109c907e3761a2effaf
7
- data.tar.gz: d6a236becc8f4c70c27476fdf4eac1935587cbb0c09d7e0e0b52e6f3551d6732ee9ebec75b88c51be317136c7df7d8eaced8b712b753fad8c0e79b15160540ec
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
- until s.empty?
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
- s = ''
65
+ break
67
66
  end
68
67
  end
69
68
  tokens
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: autostacker24
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.32
4
+ version: 1.0.33
5
5
  platform: ruby
6
6
  authors:
7
7
  - Johannes Mueller