narray_ffi 1.4.1 → 1.4.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/ext/narray_ffi_c/extconf.rb +8 -6
- data/narray_ffi.gemspec +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 80b4fd7dda0e6e10b3960f66ec0d6cc776fb6c50
|
4
|
+
data.tar.gz: 0a5f3b1ef3b4c1af940d990e46ac6c0c4a50b759
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: c6c60b03e8c962c75babb3192d64d3a342e5a707a3e2784803a93bd34368f75ce161ce8eae4741f66dd59f8c33bb95c9a8cec85d9f5fd4e1b641d3c8136d6d39
|
7
|
+
data.tar.gz: 7b0ad25fa858d174de3c5727ff8a843934489bb46023e98314a85475719c6309ea4fb0cbb4ff6ccd99757763c9f0bf668ca28d5384f6419dd958b53b3eee3927
|
data/ext/narray_ffi_c/extconf.rb
CHANGED
@@ -13,12 +13,14 @@ unless have_header("narray.h")
|
|
13
13
|
begin
|
14
14
|
require "rubygems"
|
15
15
|
if spec = Gem::Specification.find_all_by_name("narray").last then
|
16
|
-
spec.
|
17
|
-
|
18
|
-
|
19
|
-
|
20
|
-
|
21
|
-
|
16
|
+
path = spec.require_path
|
17
|
+
if path == "." then
|
18
|
+
path = spec.full_gem_path
|
19
|
+
end
|
20
|
+
$CPPFLAGS = "-I" << path << "/ " << $CPPFLAGS
|
21
|
+
if /cygwin|mingw/ =~ RUBY_PLATFORM then
|
22
|
+
$LDFLAGS = "-L" << path << "/" << $LDFLAGS
|
23
|
+
end
|
22
24
|
end
|
23
25
|
rescue LoadError
|
24
26
|
end
|
data/narray_ffi.gemspec
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: narray_ffi
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.4.
|
4
|
+
version: 1.4.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Brice Videau
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2017-
|
11
|
+
date: 2017-02-03 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: narray
|