dyndoc-ruby-core 1.5.3 → 1.5.4

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
  SHA256:
3
- metadata.gz: 0b27ebc4ded9a4c39100237831dbbaddc0fd5b7448902512c65c3d9d6b8e99df
4
- data.tar.gz: ffd6521535cfdcaad7bbc2c1c6d484e4ead55e10441896d38d3161aa64f1e9b6
3
+ metadata.gz: 8f8daa58308a72de9835b6e6531613f78e34ed7dc9a26a0378114ddbfd1c5a0b
4
+ data.tar.gz: 18c27e21dde63e6920e1bea143cb0fa276fbf98e0f8e6509ff8441fa89c60c33
5
5
  SHA512:
6
- metadata.gz: b25f6cda8f759e8f468deb59d946312d242c3006a44ca32c5e087a0ad5654d5ce1d148224729f0b90365c51dd7d4abd7e3832fdbd5a5b90ee551e3829f04ec3e
7
- data.tar.gz: '0884f5956472578c84b6736838062d6e3434aaa1612e87d409d256d83f2c2f6de4ba976485a4f1c798a6e070bb586823b2f1352214065b7ba96eb3ca602a1539'
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
- if res.is_a? String
544
- res.inspect
545
- #puts out_type;p res;p res.inspect
546
- elsif res.is_a? Array and res.length==1
547
- res[0].inspect
548
- else
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
@@ -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.exists? File.join(ENV['HOME'],'.dyndoc_home')
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.3
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: 2022-04-15 00:00:00.000000000 Z
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.3.7
217
+ rubygems_version: 3.4.2
218
218
  signing_key:
219
219
  specification_version: 4
220
220
  summary: R and Ruby in text document