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 +4 -4
- data/dyndoc/Dyn/Base.dyn +1 -0
- data/dyndoc/Dyn/Minimum.dyn +2 -1
- data/dyndoc/Std/Code.dyn +19 -0
- metadata +3 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 4e64d62bbdfa8367cb12f5b66bad319fc82430bb
|
4
|
+
data.tar.gz: ca94074f8ff8ab75e389fb5790d75a85c3d1385e
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: c87c6e6aead0b0c052eb3e6458386bb98f1a83d5d48ac4e826b416f6432de8bd2d6e164d5d42010af41a72516cd99bfd74de40cc30ab252ac10b3436eb6306ad
|
7
|
+
data.tar.gz: 65d941ec0252754f3228bb337d04d7156215422355ea0ad342829dfe33c4f181aeb7151ae41adb5787acdc2457df7020fec50b8fac3e2aff451e6c2c68d94b18
|
data/dyndoc/Dyn/Base.dyn
CHANGED
data/dyndoc/Dyn/Minimum.dyn
CHANGED
data/dyndoc/Std/Code.dyn
ADDED
@@ -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.
|
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-
|
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
|