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 +4 -4
- data/lib/dyndoc/base/tmpl/parse_do.rb +4 -2
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 6fca389823485e0db54ce3b7f9ec1582f28c2f31
|
4
|
+
data.tar.gz: e09a282bcb037243f5414b123ae962d16df5139f
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
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
|
-
##
|
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
|
+
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:
|
11
|
+
date: 2017-01-24 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: configliere
|