mfilter 0.2.2.1 → 0.2.3.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Gemfile.lock +1 -1
- data/ext/mfilter/extconf.rb +3 -0
- data/lib/mfilter/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 76a04a88c9ff2d091feedd81112779a057dd90df87ccabb9f0a9448fc697d684
|
4
|
+
data.tar.gz: 6917d15d83834b8ecc7c709345a36cb504631dd0e0703ec8b5b73710e9a060e4
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 0e3c689d4898a5e3b055bdab94b68364fe2243520ee38f01a5fd005091118c31f87dde301c200be011f3c0c5484c615cf8ec4a328c3aaa7ebcf6272ddf50232e
|
7
|
+
data.tar.gz: 682e4f36ccfc175609084d2a11f8c8d5a754e90ec60dcf1349afb6d9af1ffbaf22e5563f06230e3d5cfc94f97f9d6990921b57420d68d8dd508395515ccce342
|
data/Gemfile.lock
CHANGED
data/ext/mfilter/extconf.rb
CHANGED
@@ -2,6 +2,8 @@ require "mkmf"
|
|
2
2
|
|
3
3
|
# homebrew で Octave がインストールされている場合
|
4
4
|
oct_inc_dir = Dir.glob("#{ENV["HOME"]}/.linuxbrew/include/octave-*")
|
5
|
+
oct_inc_dir = Dir.glob("/home/linuxbrew/.linuxbrew/include/octave-*") if oct_inc_dir.empty?
|
6
|
+
|
5
7
|
unless oct_inc_dir.empty?
|
6
8
|
oct_inc_dir = oct_inc_dir[0]
|
7
9
|
if File.exist? oct_inc_dir
|
@@ -12,6 +14,7 @@ unless oct_inc_dir.empty?
|
|
12
14
|
end
|
13
15
|
oct_inc_dir += "/octave"
|
14
16
|
oct_lib_dir = "#{ENV["HOME"]}/.linuxbrew/lib/octave/#{oct_ver}"
|
17
|
+
oct_lib_dir = "/home/linuxbrew/.linuxbrew/lib/octave/#{oct_ver}" unless File.exist?(oct_lib_dir)
|
15
18
|
oct_lib_dir = File.exist?(oct_lib_dir) ? oct_lib_dir : nil
|
16
19
|
else
|
17
20
|
oct_inc_dir = Dir.glob("/usr/include/octave-*")
|
data/lib/mfilter/version.rb
CHANGED