dyndoc-ruby-core 1.2.4 → 1.2.5

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: 908491605d36117470ce330d56970d32da53676d
4
- data.tar.gz: 9a0559e127320a90f93fffb8b5b58af3d5cb81f5
3
+ metadata.gz: 6fca389823485e0db54ce3b7f9ec1582f28c2f31
4
+ data.tar.gz: e09a282bcb037243f5414b123ae962d16df5139f
5
5
  SHA512:
6
- metadata.gz: 2d0afa34b8a8006ed3938db15bfd0f6ee6d77068bae711b643cc377fad00b3f0cd5928a41a4c114050ea889580a2c710d2064907e0d8df5e8b203aa18294ae56
7
- data.tar.gz: 05b05760915dd32712c58ef6e8bf92e72e7da0bd3f56e40da1a5f35386ec43cea154272a8b5a0493affdb1735b91ff4d643df7045db8c2b5d7ff3dd8e81cb2eb
6
+ metadata.gz: 0e5a6ac0ce89d9ee738a6144c4e9d7568cbce05e384ca350a3263fd9cb256a8e6393e1d1880d4a44b8668251d2bf8e193c0487ce39d413ea2c047b9eb12f502f
7
+ data.tar.gz: 29d60202888c1f07ae9f094213a84f4c2837ecceb4496f23a9ff2c4acc406eb41f3bfebf081f9e1f732d0e200422a27dd977cd0a27c8fc0235b8032f3c9e0810
@@ -65,9 +65,9 @@ module Dyndoc
65
65
  Utils.escape!(texblock,CHARS_SET_FIRST)
66
66
  Utils.clean_bom_utf8!(texblock)
67
67
  Utils.silence_warnings do
68
- texblock=@scan.process("{#document][#content]" + texblock + "[#}")
68
+ texblock=@scan.process("{#document][#content]" + texblock + "[#document}")
69
69
  end
70
- ## Dyndoc.warn "parsed",texblock
70
+ ##Dyndoc.warn "parsed",texblock
71
71
  end
72
72
  #p "texblock";p texblock
73
73
  unless filterLoc
@@ -1232,6 +1232,8 @@ p call
1232
1232
  #p var
1233
1233
  end
1234
1234
  end while i<blck.length-1
1235
+ ## IMPORTANT: special treatment for default empty block to avoid infinit loop
1236
+ code["default"] << :out << [:main,""] if code["default"].length==1
1235
1237
  code.each_key{|k| code.delete(k) if code[k].length==1 }
1236
1238
  return [var,code]
1237
1239
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: dyndoc-ruby-core
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.2.4
4
+ version: 1.2.5
5
5
  platform: ruby
6
6
  authors:
7
7
  - CQLS
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2016-12-28 00:00:00.000000000 Z
11
+ date: 2017-01-24 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: configliere