dyndoc-ruby-core 1.2.0 → 1.2.1

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: 7ae79ca38d95e8cbca20c77964c32562632aa1d0
4
- data.tar.gz: d80a75b15083c95c30b330f39077312b643a741c
3
+ metadata.gz: 4e64d62bbdfa8367cb12f5b66bad319fc82430bb
4
+ data.tar.gz: ca94074f8ff8ab75e389fb5790d75a85c3d1385e
5
5
  SHA512:
6
- metadata.gz: 1853d4d83db83858c5a65f3a97043b01a364b4eedc9c8f83abbe81e505aed78d1b68996ac5b7601df3630b4f222fc7e51754981273cf469747873b73de97e5a3
7
- data.tar.gz: 4460712f1c09b496e9595b61b8b089b40bea046e22ca5e735e5291411a4c809a3d90e0ebad6f98df991ef328e696bf834710cd8bb837f1ac4ca2b294d934b9a0
6
+ metadata.gz: c87c6e6aead0b0c052eb3e6458386bb98f1a83d5d48ac4e826b416f6432de8bd2d6e164d5d42010af41a72516cd99bfd74de40cc30ab252ac10b3436eb6306ad
7
+ data.tar.gz: 65d941ec0252754f3228bb337d04d7156215422355ea0ad342829dfe33c4f181aeb7151ae41adb5787acdc2457df7020fec50b8fac3e2aff451e6c2c68d94b18
data/dyndoc/Dyn/Base.dyn CHANGED
@@ -10,6 +10,7 @@ Std/Verb
10
10
  Std/Signal
11
11
  Std/DevTag
12
12
  Std/Composer
13
+ Std/Code
13
14
  Tools/R/Fig
14
15
  Tools/R/Tools
15
16
  Tools/Tex/Table
@@ -10,6 +10,7 @@ Std/Verb
10
10
  Std/Signal
11
11
  Std/DevTag
12
12
  Std/Composer
13
+ Std/Code
13
14
  Tools/R/Fig
14
15
  Tools/R/Tools
15
16
  Tools/Tex/Table
@@ -17,4 +18,4 @@ Tools/Tex/Tools
17
18
  Tools/Web/Html
18
19
  Tools/Web/Ttm
19
20
  Tools/Web/Txtl
20
- [#}
21
+ [#}
@@ -0,0 +1,19 @@
1
+ {#def]srcCode[#,]lang[][#,]code[][#,]theme[solarized]
2
+ [#rb<]require "dyndoc/common/uv"
3
+ code=#{=code}
4
+ res=Uv.parse(code.force_encoding("utf-8"), "xhtml", File.join(Uv.syntax_path,"#{lang}.syntax") , false, #{=theme},false)
5
+ #p [:res,res]
6
+ [#>]:{res}
7
+ [#def}
8
+
9
+ {#def]redCode[#,]code[][#>]{#srcCode]source.shell[#code]:{#{=code}.strip}[#srcCode}[#def}
10
+
11
+ {#def]bashCode[#,]code[][#>]{#srcCode]source.shell[#code]:{#{=code}.strip}[#srcCode}[#def}
12
+
13
+ {#def]RCode[#,]code[][#>]{#srcCode]source.r[#code]:{#{=code}.strip}[#srcCode}[#def}
14
+
15
+ {#def]RConsoleCode[#,]code[][#>]{#srcCode]source.r-console[#code]:{#{=code}.strip}[#srcCode}[#def}
16
+
17
+ {#def]rbCode[#,]code[][#>]{#srcCode]source.ruby[#code]:{#{=code}.strip}[#srcCode}[#def}
18
+
19
+ {#def]pyCode[#,]code[][#>]{#srcCode]source.python[#code]:{#{=code}.strip}[#srcCode}[#def}
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.0
4
+ version: 1.2.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - CQLS
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2016-09-28 00:00:00.000000000 Z
11
+ date: 2016-10-21 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: configliere
@@ -109,6 +109,7 @@ files:
109
109
  - dyndoc/Model/Ttm/DefaultPost_tmpl.ttm
110
110
  - dyndoc/Model/Ttm/DefaultPre_tmpl.ttm
111
111
  - dyndoc/Std/Array.dyn
112
+ - dyndoc/Std/Code.dyn
112
113
  - dyndoc/Std/Composer.dyn
113
114
  - dyndoc/Std/DevTag.dyn
114
115
  - dyndoc/Std/DynVar.dyn