jl4rb 0.2.6 → 0.2.7

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: 994b5475b648747803c998adf29256d8142e40197a0a2880b2f5c2ef309045f6
4
- data.tar.gz: 73a77f6ccc7a6c5ffa2bf86179ddf4efaa3c8d5b30abde28c0563b59a0fee1df
3
+ metadata.gz: 39f1e776734ecde25df8d6e3ee1b91bc1ec602f80ea71c50f234fbb1797b7e3d
4
+ data.tar.gz: f8615146a175bb910d3979945ac61d4e52cee03728489a80a19a3575df08e623
5
5
  SHA512:
6
- metadata.gz: 21394963d68c946891f10d9eb71613f170f0e5c78130126ad7fafcc98fe8e3558d787e39f7f451136e11d5c85a0635ea7531361a126f50eafbf73849120e4d6e
7
- data.tar.gz: 2924a03b95e4860482d6227565dbc83e88e33ce17318c33221d3b47d3bfaa860a7a2f851d25fcddc9d27a8fa6ebb2b4a13ac53092c4e5313848e022e57d95d96
6
+ metadata.gz: 86ebed5c572ca81c4a7359f65267de8d70aa35898cf299b448d5a29dc2be120a5e92ce3c3e077d8af585225a0e77901224a8283bed4b13422ad92eaada5d8e3f
7
+ data.tar.gz: 76a7c658e9c74ac599cad5a53bf80a9b165ce5915eeac9eda0537c243bcdfad1d8d9e63e4be618cb1e7576b82b0b94568a74ad73bf9ff64c14b078d112ce8ab1
data/Rakefile CHANGED
@@ -62,8 +62,8 @@ end
62
62
  ## clean task
63
63
  desc "Remove #{File.join(PKGDIR,PKG_NAME+'-'+PKG_VERSION+'.gem')}"
64
64
  task :clean do |t|
65
- rm File.join(PKGDIR,PKG_NAME+'-'+PKG_VERSION+'.gem') if File.exists? File.join(PKGDIR,PKG_NAME+'-'+PKG_VERSION+'.gem')
66
- rm_rf File.join(PKGDIR,PKG_NAME+'-'+PKG_VERSION) if File.exists? File.join(PKGDIR,PKG_NAME+'-'+PKG_VERSION)
65
+ rm File.join(PKGDIR,PKG_NAME+'-'+PKG_VERSION+'.gem') if File.exist? File.join(PKGDIR,PKG_NAME+'-'+PKG_VERSION+'.gem')
66
+ rm_rf File.join(PKGDIR,PKG_NAME+'-'+PKG_VERSION) if File.exist? File.join(PKGDIR,PKG_NAME+'-'+PKG_VERSION)
67
67
  end
68
68
 
69
69
 
@@ -77,13 +77,13 @@ end
77
77
  desc "Quick install #{File.join(PKGDIR,PKG_NAME+'-'+PKG_VERSION+'.gem')}"
78
78
  task :install do |t|
79
79
  `gem install #{File.join(PKGDIR,PKG_NAME+'-'+PKG_VERSION+'.gem')} --local --no-rdoc --no-ri`
80
- rm_rf File.join(PKGDIR,PKG_NAME+'-'+PKG_VERSION) if File.exists? File.join(PKGDIR,PKG_NAME+'-'+PKG_VERSION)
80
+ rm_rf File.join(PKGDIR,PKG_NAME+'-'+PKG_VERSION) if File.exist? File.join(PKGDIR,PKG_NAME+'-'+PKG_VERSION)
81
81
  end
82
82
 
83
83
  desc "Docker install #{File.join(PKGDIR,PKG_NAME+'-'+PKG_VERSION+'.gem')}"
84
84
  task :docker => :package do |t|
85
85
  `gem install #{File.join(PKGDIR,PKG_NAME+'-'+PKG_VERSION+'.gem')} --local --no-rdoc --no-ri`
86
- rm_rf File.join(PKGDIR,PKG_NAME+'-'+PKG_VERSION) if File.exists? File.join(PKGDIR,PKG_NAME+'-'+PKG_VERSION)
86
+ rm_rf File.join(PKGDIR,PKG_NAME+'-'+PKG_VERSION) if File.exist? File.join(PKGDIR,PKG_NAME+'-'+PKG_VERSION)
87
87
  end
88
88
 
89
89
 
data/ext/jl4rb/extconf.rb CHANGED
@@ -5,11 +5,11 @@ $prefix_include,$prefix_lib=[],[]
5
5
  $prefix= File.dirname(`julia -e 'print(Sys.BINDIR)'`)
6
6
 
7
7
  [$prefix+"/include/julia",$prefix+"/usr/include",$prefix+"/src",$prefix+"/src/support"].each do |incl|
8
- $prefix_include << incl if File.exists? incl
8
+ $prefix_include << incl if File.exist? incl
9
9
  end
10
10
 
11
11
  ([$prefix+"/lib/julia",$prefix+"/usr/lib",$prefix+"/lib"]+(RUBY_PLATFORM=~/(?:mingw|msys)/ ? [$prefix+"/bin"] : [])).each do |lib|
12
- $prefix_lib << lib if File.exists? lib
12
+ $prefix_lib << lib if File.exist? lib
13
13
  end
14
14
 
15
15
  def jl4rb_makefile(incs,libs)
data/jl4rb.gemspec CHANGED
@@ -2,7 +2,7 @@ require 'rubygems'
2
2
  require 'rubygems/package_task'
3
3
 
4
4
  PKG_NAME='jl4rb'
5
- PKG_VERSION='0.2.6'
5
+ PKG_VERSION='0.2.7'
6
6
  PKG_FILES=FileList[
7
7
  'Rakefile','jl4rb.gemspec',
8
8
  'ext/jl4rb/*.c',
data/lib/jl4rb.rb CHANGED
@@ -1,5 +1,5 @@
1
- require 'jl4rb.bundle' if File.exists? File.join(File.dirname(__FILE__),'jl4rb.bundle')
2
- require 'jl4rb.so' if File.exists? File.join(File.dirname(__FILE__),'jl4rb.so')
1
+ require 'jl4rb.bundle' if File.exist? File.join(File.dirname(__FILE__),'jl4rb.bundle')
2
+ require 'jl4rb.so' if File.exist? File.join(File.dirname(__FILE__),'jl4rb.so')
3
3
 
4
4
  p [:dl, "jl4rb.DLL loaded" ]
5
5
  # loading ruby files
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: jl4rb
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.6
4
+ version: 0.2.7
5
5
  platform: ruby
6
6
  authors:
7
7
  - CQLS
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2022-10-29 00:00:00.000000000 Z
11
+ date: 2023-01-25 00:00:00.000000000 Z
12
12
  dependencies: []
13
13
  description: 'R is embedded in ruby with some communication support .
14
14
 
@@ -52,7 +52,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
52
52
  version: '0'
53
53
  requirements:
54
54
  - none
55
- rubygems_version: 3.3.11
55
+ rubygems_version: 3.4.5
56
56
  signing_key:
57
57
  specification_version: 4
58
58
  summary: Julia for ruby