dyndoc-ruby-core 1.5.3 → 1.5.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/lib/dyndoc/base/filter/filter_mngr.rb +9 -11
- data/lib/dyndoc/init/home.rb +1 -1
- metadata +3 -3
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 8f8daa58308a72de9835b6e6531613f78e34ed7dc9a26a0378114ddbfd1c5a0b
|
|
4
|
+
data.tar.gz: 18c27e21dde63e6920e1bea143cb0fa276fbf98e0f8e6509ff8441fa89c60c33
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: da70eb29f796995102dd410a6b7e76286a54fd8654f5a60b4fd3ba2ed446e0409bce971ad28a3c84f58049bcce339241dbd92069d627a0bce5ac1a0d03284335
|
|
7
|
+
data.tar.gz: f1eb77458ea8b6ed4842050abd25046dae53690299ee1a04f44f9e91ed27985bb9bd4ce796a7420cc3237319e2df0ac83fd364b756ea515a5b2bcb23b1402a52
|
|
@@ -378,8 +378,7 @@ module Dyndoc
|
|
|
378
378
|
$dyn_logger.write("ERROR R: #{txt} was not properly evaluated!\n") unless Dyndoc.cfg_dyn[:dyndoc_mode]==:normal
|
|
379
379
|
res=txt
|
|
380
380
|
end
|
|
381
|
-
#
|
|
382
|
-
puts "#{txt} in #{@rEnvir[0]} is #{res}"
|
|
381
|
+
#puts "#{txt} in #{@rEnvir[0]} is #{res}"
|
|
383
382
|
when ":r","#r"
|
|
384
383
|
return txt if @mode==:pre
|
|
385
384
|
res=RServer.safe_output(txt2,@rEnvir[0],:pretty=>true)
|
|
@@ -388,8 +387,7 @@ module Dyndoc
|
|
|
388
387
|
$dyn_logger.write("ERROR R: #{txt} was not properly evaluated!\n") unless Dyndoc.cfg_dyn[:dyndoc_mode]==:normal
|
|
389
388
|
res=txt
|
|
390
389
|
end
|
|
391
|
-
#
|
|
392
|
-
puts "#{txt} in #{@rEnvir[0]} is #{res}"
|
|
390
|
+
#puts "#{txt} in #{@rEnvir[0]} is #{res}"
|
|
393
391
|
when ":jl","#jl"
|
|
394
392
|
return txt if @mode==:pre
|
|
395
393
|
## puts "#jl:"+txt2
|
|
@@ -540,14 +538,14 @@ module Dyndoc
|
|
|
540
538
|
return res unless out_type
|
|
541
539
|
case out_type
|
|
542
540
|
when ":=",":rb=",":Rb=","#rb=","#Rb="
|
|
543
|
-
|
|
544
|
-
|
|
545
|
-
#puts out_type;p res;p res.inspect
|
|
546
|
-
|
|
547
|
-
|
|
548
|
-
|
|
541
|
+
# if res.is_a? String
|
|
542
|
+
# res.inspect
|
|
543
|
+
# #puts out_type;p res;p res.inspect
|
|
544
|
+
# elsif res.is_a? Array and res.length==1
|
|
545
|
+
# res[0].inspect
|
|
546
|
+
# else
|
|
549
547
|
res.inspect
|
|
550
|
-
end
|
|
548
|
+
# end
|
|
551
549
|
when ":",":rb",":Rb","#rb","#Rb"
|
|
552
550
|
#puts "convert [rb]:";p res
|
|
553
551
|
if res.is_a? Array
|
data/lib/dyndoc/init/home.rb
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
module Dyndoc
|
|
2
2
|
def Dyndoc.home
|
|
3
3
|
dyndoc_home = File.join(ENV['HOME'],'dyndoc')
|
|
4
|
-
dyndoc_home = File.read(File.join(ENV['HOME'],'.dyndoc_home')).strip if File.
|
|
4
|
+
dyndoc_home = File.read(File.join(ENV['HOME'],'.dyndoc_home')).strip if File.exist? File.join(ENV['HOME'],'.dyndoc_home')
|
|
5
5
|
dyndoc_home = File.expand_path(dyndoc_home)
|
|
6
6
|
#puts "dyndoc_home: "+ dyndoc_home
|
|
7
7
|
dyndoc_home
|
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.5.
|
|
4
|
+
version: 1.5.4
|
|
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: 2023-01-25 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: configliere
|
|
@@ -214,7 +214,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
|
214
214
|
version: '0'
|
|
215
215
|
requirements:
|
|
216
216
|
- none
|
|
217
|
-
rubygems_version: 3.
|
|
217
|
+
rubygems_version: 3.4.2
|
|
218
218
|
signing_key:
|
|
219
219
|
specification_version: 4
|
|
220
220
|
summary: R and Ruby in text document
|