ruby-dcl 1.7.0 → 1.7.0.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (3) hide show
  1. data/extconf.rb +4 -5
  2. data/lib/dcl/version.rb +1 -1
  3. metadata +1 -1
data/extconf.rb CHANGED
@@ -11,11 +11,10 @@ rescue LoadError
11
11
  end
12
12
 
13
13
  #dir_config('narray',$sitearchdir,$sitearchdir)
14
- hoge = Gem::GemPathSearcher.new.find("narray")
15
- narray_fullname = hoge.full_name
16
- narray_installpath = hoge.installation_path
17
- narray_include = "#{narray_installpath}/gems/#{narray_fullname}/"
18
- narray_lib = "#{narray_installpath}/gems/#{narray_fullname}/"
14
+ gem_home=(`gem environment GEM_HOME`).chomp
15
+ narray_dir = Dir.glob("#{gem_home}/gems/narray-*").sort[-1]
16
+ narray_include = narray_dir
17
+ narray_lib = narray_dir
19
18
  dir_config('narray',narray_include,narray_lib)
20
19
  if ( ! ( have_header("narray.h") && have_header("narray_config.h") ) ) then
21
20
  print <<-EOS
data/lib/dcl/version.rb CHANGED
@@ -1,3 +1,3 @@
1
1
  module DCL
2
- VERSION = "1.7.0"
2
+ VERSION = "1.7.0.1"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: ruby-dcl
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.7.0
4
+ version: 1.7.0.1
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors: