autostacker24 1.0.28 → 1.0.29

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: c10740421896ea5800f9243a58a3c4e494873824
4
- data.tar.gz: 9089c7d964850502a8ab3597348c7ff3a84b046d
3
+ metadata.gz: df56d45fb2e6e40870f0fa6cb3de0360b349cf85
4
+ data.tar.gz: f6b39bbe0758e8680be8abcb8e976c45affe74d6
5
5
  SHA512:
6
- metadata.gz: 5dbc059ee7dd518c025f282f2304248364f24cdb8b912bcb484a231001a7ed4ec89554ce8e3481c73743136d7b951c0df752f5df341b9bfc65cd2f5ca0530fd1
7
- data.tar.gz: f594d5b49e2bc8f2a045ed01eed06f3d27b6d6c9cdf0ec9c7a6976224b77212e671a7d4f8c4dd26d5e037f1443667fcc5ff7ee72e777fd1ff7dc9e232e6dc76e
6
+ metadata.gz: ad54f8ee8dc97d4aa2b7e95e69a2cf8c1e2780cebdaaa8e52e1f278df6763ca56729c80bd5176d216defeb2d101b8973fe65be1741083672e2f86b5ac071608d
7
+ data.tar.gz: 9a3467780a931cc3184f8a1b038d776c6f15cbdd1f150c3b2aa985f0776bde70cb2f35748604b434a9887d819f7191e05e719339c58a69b065a400e375813cd3
@@ -6,7 +6,7 @@ module AutoStacker24
6
6
  module Preprocessor
7
7
 
8
8
  def self.preprocess(template)
9
- if template =~ /^\s*\/\/\s*AutoStacker24/i
9
+ if template =~ /^\s*\/{2}\s*/i
10
10
  template = template.gsub(/(\s*\/\/.*$)|(".*")/) {|m| m[0] == '"' ? m : ''} # replace comments
11
11
  template = preprocess_json(JSON(template)).to_s
12
12
  end
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.28
4
+ version: 1.0.29
5
5
  platform: ruby
6
6
  authors:
7
7
  - Johannes Mueller