dyndoc-ruby-core 1.2.6 → 1.5.0

Sign up to get free protection for your applications and to get access to all the features.
@@ -1,7 +1,7 @@
1
1
 
2
2
 
3
3
  module Ruby
4
-
4
+ using Libdl
5
5
  librb=Libdl.dlopen(("JULIA_RUBYLIB_PATH" in keys(ENV)) ? ENV["JULIA_RUBYLIB_PATH"] : "/usr/lib/libruby")
6
6
 
7
7
  export start,stop,run,alive
@@ -9,20 +9,20 @@ module Ruby
9
9
  global ruby_alive=false
10
10
 
11
11
  function start()
12
- ccall(Libdl.dlsym(librb,:ruby_init),Void,())
13
- ccall(Libdl.dlsym(librb,:ruby_init_loadpath),Void,())
12
+ ccall(Libdl.dlsym(librb,:ruby_init),Cvoid,())
13
+ ccall(Libdl.dlsym(librb,:ruby_init_loadpath),Cvoid,())
14
14
  ruby_alive=true
15
15
  end
16
16
 
17
17
  function stop()
18
- ccall(Libdl.dlsym(librb,:ruby_finalize),Void,())
18
+ ccall(Libdl.dlsym(librb,:ruby_finalize),Cvoid,())
19
19
  ruby_alive=false
20
20
  end
21
21
 
22
22
  function run(code::AbstractString)
23
23
  state=1 #not modified then
24
24
  ##println(code)
25
- res=ccall(Libdl.dlsym(librb,:rb_eval_string_protect),Ptr{UInt64},(Ptr{UInt8},Ptr{UInt32}),string(code),&state)
25
+ res=ccall(Libdl.dlsym(librb,:rb_eval_string_protect),Ptr{UInt64},(Ptr{UInt8},Ref{UInt32}),string(code),state)
26
26
  return nothing
27
27
  end
28
28
 
metadata CHANGED
@@ -1,98 +1,63 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: dyndoc-ruby-core
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.2.6
4
+ version: 1.5.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - CQLS
8
- autorequire:
8
+ autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2017-03-11 00:00:00.000000000 Z
11
+ date: 2020-12-18 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: configliere
15
15
  requirement: !ruby/object:Gem::Requirement
16
16
  requirements:
17
- - - ~>
17
+ - - "~>"
18
18
  - !ruby/object:Gem::Version
19
19
  version: '0.4'
20
- - - '>='
20
+ - - ">="
21
21
  - !ruby/object:Gem::Version
22
22
  version: 0.4.18
23
23
  type: :runtime
24
24
  prerelease: false
25
25
  version_requirements: !ruby/object:Gem::Requirement
26
26
  requirements:
27
- - - ~>
27
+ - - "~>"
28
28
  - !ruby/object:Gem::Version
29
29
  version: '0.4'
30
- - - '>='
30
+ - - ">="
31
31
  - !ruby/object:Gem::Version
32
32
  version: 0.4.18
33
33
  - !ruby/object:Gem::Dependency
34
34
  name: ultraviolet
35
35
  requirement: !ruby/object:Gem::Requirement
36
36
  requirements:
37
- - - ~>
38
- - !ruby/object:Gem::Version
39
- version: '1.0'
40
- - - '>='
37
+ - - ">="
41
38
  - !ruby/object:Gem::Version
42
39
  version: 1.0.0
40
+ - - "~>"
41
+ - !ruby/object:Gem::Version
42
+ version: '1.0'
43
43
  type: :runtime
44
44
  prerelease: false
45
45
  version_requirements: !ruby/object:Gem::Requirement
46
46
  requirements:
47
- - - ~>
48
- - !ruby/object:Gem::Version
49
- version: '1.0'
50
- - - '>='
47
+ - - ">="
51
48
  - !ruby/object:Gem::Version
52
49
  version: 1.0.0
53
- description: |2
54
- Provide templating in text document.
50
+ - - "~>"
51
+ - !ruby/object:Gem::Version
52
+ version: '1.0'
53
+ description: " Provide templating in text document.\n"
55
54
  email: rdrouilh@gmail.com
56
55
  executables: []
57
56
  extensions: []
58
57
  extra_rdoc_files: []
59
58
  files:
60
- - lib/dyndoc-core.rb
61
- - lib/dyndoc/base/envir.rb
62
- - lib/dyndoc/base/filter/call.rb
63
- - lib/dyndoc/base/filter/filter_mngr.rb
64
- - lib/dyndoc/base/filter/server.rb
65
- - lib/dyndoc/base/filters.rb
66
- - lib/dyndoc/base/helpers.rb
67
- - lib/dyndoc/base/helpers/core.rb
68
- - lib/dyndoc/base/helpers/parser.rb
69
- - lib/dyndoc/base/scanner.rb
70
- - lib/dyndoc/base/tags.rb
71
- - lib/dyndoc/base/tags/keys_mngr.rb
72
- - lib/dyndoc/base/tags/part_tag.rb
73
- - lib/dyndoc/base/tags/tag_mngr.rb
74
- - lib/dyndoc/base/tags/user_tag.rb
75
- - lib/dyndoc/base/tmpl.rb
76
- - lib/dyndoc/base/tmpl/eval.rb
77
- - lib/dyndoc/base/tmpl/extension.rb
78
- - lib/dyndoc/base/tmpl/manager.rb
79
- - lib/dyndoc/base/tmpl/oop.rb
80
- - lib/dyndoc/base/tmpl/parse_do.rb
81
- - lib/dyndoc/base/tmpl/rbenvir.rb
82
- - lib/dyndoc/base/utils.rb
83
- - lib/dyndoc/common/dynArray.rb
84
- - lib/dyndoc/common/file.rb
85
- - lib/dyndoc/common/init.rb
86
- - lib/dyndoc/common/tilt.rb
87
- - lib/dyndoc/common/utils.rb
88
- - lib/dyndoc/common/uv.rb
89
- - lib/dyndoc/init/config.rb
90
- - lib/dyndoc/init/home.rb
91
- - lib/dyndoc/plugins/tex.rb
92
- - lib/dyndoc/plugins/tex/beamer.rb
93
- - lib/dyndoc/plugins/tex/tex_eval.rb
94
- - lib/dyndoc/plugins/tex/tex_parse_do.rb
95
- - lib/dyndoc/plugins/tex/tex_user_tag.rb
59
+ - dyndoc/Dyn/.postload
60
+ - dyndoc/Dyn/.preload
96
61
  - dyndoc/Dyn/After.dyn
97
62
  - dyndoc/Dyn/Base.dyn
98
63
  - dyndoc/Dyn/Minimum.dyn
@@ -130,6 +95,8 @@ files:
130
95
  - dyndoc/Style/Text/StdAlias.dyn
131
96
  - dyndoc/Style/Text/StdTex.dyn
132
97
  - dyndoc/Style/Text/Txt.dyn
98
+ - dyndoc/Tex/.postload
99
+ - dyndoc/Tex/.preload
133
100
  - dyndoc/Tex/10pt_tmpl.tex
134
101
  - dyndoc/Tex/11pt_tmpl.tex
135
102
  - dyndoc/Tex/12pt_tmpl.tex
@@ -178,43 +145,77 @@ files:
178
145
  - dyndoc/Tools/Web/TabBar.dyn
179
146
  - dyndoc/Tools/Web/Ttm.dyn
180
147
  - dyndoc/Tools/Web/Txtl.dyn
181
- - share/julia/dynArray.jl
182
- - share/julia/dyndoc.jl
183
- - share/julia/ruby.jl
148
+ - dyndoc/Tools/julia/Fig.dyn
149
+ - lib/dyndoc-core.rb
150
+ - lib/dyndoc/base/envir.rb
151
+ - lib/dyndoc/base/filter/call.rb
152
+ - lib/dyndoc/base/filter/filter_mngr.rb
153
+ - lib/dyndoc/base/filter/server.rb
154
+ - lib/dyndoc/base/filters.rb
155
+ - lib/dyndoc/base/helpers.rb
156
+ - lib/dyndoc/base/helpers/core.rb
157
+ - lib/dyndoc/base/helpers/parser.rb
158
+ - lib/dyndoc/base/scanner.rb
159
+ - lib/dyndoc/base/tags.rb
160
+ - lib/dyndoc/base/tags/keys_mngr.rb
161
+ - lib/dyndoc/base/tags/part_tag.rb
162
+ - lib/dyndoc/base/tags/tag_mngr.rb
163
+ - lib/dyndoc/base/tags/user_tag.rb
164
+ - lib/dyndoc/base/tmpl.rb
165
+ - lib/dyndoc/base/tmpl/eval.rb
166
+ - lib/dyndoc/base/tmpl/extension.rb
167
+ - lib/dyndoc/base/tmpl/manager.rb
168
+ - lib/dyndoc/base/tmpl/oop.rb
169
+ - lib/dyndoc/base/tmpl/parse_do.rb
170
+ - lib/dyndoc/base/tmpl/rbenvir.rb
171
+ - lib/dyndoc/base/utils.rb
172
+ - lib/dyndoc/common/dynArray.rb
173
+ - lib/dyndoc/common/file.rb
174
+ - lib/dyndoc/common/init.rb
175
+ - lib/dyndoc/common/tilt.rb
176
+ - lib/dyndoc/common/utils.rb
177
+ - lib/dyndoc/common/uv.rb
178
+ - lib/dyndoc/init/config.rb
179
+ - lib/dyndoc/init/home.rb
180
+ - lib/dyndoc/plugins/tex.rb
181
+ - lib/dyndoc/plugins/tex/beamer.rb
182
+ - lib/dyndoc/plugins/tex/tex_eval.rb
183
+ - lib/dyndoc/plugins/tex/tex_parse_do.rb
184
+ - lib/dyndoc/plugins/tex/tex_user_tag.rb
184
185
  - share/R/dyndocMsys2.R
185
186
  - share/R/dyndocTools.R
186
187
  - share/R/test.R
187
188
  - share/R/tools/dynArray.R
188
189
  - share/R/tools/dynCapture.R
189
190
  - share/R/tools/dynMsys2.R
190
- - dyndoc/Dyn/.postload
191
- - dyndoc/Dyn/.preload
192
- - dyndoc/Tex/.postload
193
- - dyndoc/Tex/.preload
191
+ - share/julia/dynArray.jl
192
+ - share/julia/dyndoc.jl
193
+ - share/julia/dyndocOLD.jl
194
+ - share/julia/dynreport.jl
195
+ - share/julia/ruby.jl
194
196
  homepage: http://cqls.upmf-grenoble.fr
195
197
  licenses:
196
198
  - MIT
197
- - GPL-2
199
+ - GPL-2.0
198
200
  metadata: {}
199
- post_install_message:
201
+ post_install_message:
200
202
  rdoc_options: []
201
203
  require_paths:
202
204
  - lib
203
205
  required_ruby_version: !ruby/object:Gem::Requirement
204
206
  requirements:
205
- - - '>='
207
+ - - ">="
206
208
  - !ruby/object:Gem::Version
207
209
  version: '0'
208
210
  required_rubygems_version: !ruby/object:Gem::Requirement
209
211
  requirements:
210
- - - '>='
212
+ - - ">="
211
213
  - !ruby/object:Gem::Version
212
214
  version: '0'
213
215
  requirements:
214
216
  - none
215
- rubyforge_project:
216
- rubygems_version: 2.0.14.1
217
- signing_key:
217
+ rubygems_version: 3.0.6
218
+ signing_key:
218
219
  specification_version: 4
219
220
  summary: R and Ruby in text document
220
221
  test_files: []