midas-edge 0.3.1 → 0.3.2

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: 464c47984f7e61fc4e726a0e4499a56a91d0294ff1b1c2d28f65795d11a7b78b
4
- data.tar.gz: 38cc5f7c6a671fc5508c36ae546c92219eb2eba51499b4ff4bf1036acf33d444
3
+ metadata.gz: f8175447ed65a3d573a488a8c980900732900da1e9d8e70d0db33a9d95019b12
4
+ data.tar.gz: 6a14d897bae5824729568c4d9a9e6c50e6116687a0fd1ee06b65df297a5a4d38
5
5
  SHA512:
6
- metadata.gz: 44251431f027cf89f46b3c1f51fcc73e72bfe5ae28121e2cf0f6292e622cfc9994fc343452947827c19505ecf5335dd9a22a46280c77dc4914a8e4ec61b21557
7
- data.tar.gz: c925fffbd5e8dca94c90f7eb1a5607cc569373e37797d6971eabf022181fb72eaf7c11d23aeee01707c899a0a76663e8897906a93df5f947276b5cda034b85e1
6
+ metadata.gz: d3bfc584de5bce01ffab5ef755a3bbc1d380e7cd40b867567cd158a0542e8b8f58cf935f1f88e48bf3d338ad936e5259647e5f53a85a602fa37b8bf5887dc349
7
+ data.tar.gz: 7d6766011b2901640b13a268d4146a2f3c2f211d6d36f05ece1bf496e16ae413b1720841b45a7231c13059acf55e8e323e74f8dcfe4b10d7c33c6f6b049590d9
data/CHANGELOG.md CHANGED
@@ -1,3 +1,7 @@
1
+ ## 0.3.2 (2021-06-08)
2
+
3
+ - Fixed installation error
4
+
1
5
  ## 0.3.1 (2021-05-23)
2
6
 
3
7
  - Improved performance
data/ext/midas/extconf.rb CHANGED
@@ -1,10 +1,11 @@
1
1
  require "mkmf-rice"
2
+ require "numo/narray"
2
3
 
3
4
  $CXXFLAGS << " -std=c++17 $(optflags)"
4
5
 
5
- numo = $LOAD_PATH.find { |v| File.exist?("#{v}/numo/numo/narray.h") }
6
- abort "Numo header not found" unless numo && find_header("numo/narray.h", "#{numo}/numo")
7
- abort "Numo library not found" if Gem.win_platform? && !find_library("narray", nil, "#{numo}/numo")
6
+ numo = File.join(Gem.loaded_specs["numo-narray"].require_path, "numo")
7
+ abort "Numo header not found" unless find_header("numo/narray.h", numo)
8
+ abort "Numo library not found" if Gem.win_platform? && !find_library("narray", nil, numo)
8
9
 
9
10
  midas = File.expand_path("../../vendor/MIDAS/src", __dir__)
10
11
  abort "Midas not found" unless find_header("NormalCore.hpp", midas)
data/lib/midas/version.rb CHANGED
@@ -1,3 +1,3 @@
1
1
  module Midas
2
- VERSION = "0.3.1"
2
+ VERSION = "0.3.2"
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: midas-edge
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.3.1
4
+ version: 0.3.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Andrew Kane
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2021-05-23 00:00:00.000000000 Z
11
+ date: 2021-06-08 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rice