libmf 0.1.0 → 0.1.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +4 -0
- data/README.md +2 -0
- data/lib/libmf.rb +5 -5
- data/lib/libmf/version.rb +1 -1
- metadata +1 -2
- data/lib/libmf.bundle +0 -0
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 2f46be88d7d3f59b4c77ad15c4843a4f88745ec4433a09193ce28a7cc77c1b38
|
4
|
+
data.tar.gz: 7b39d8a0d9c9495fb91c6424903fee5f694672493c031f9107f8db49571b384d
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 0b95f27bc77e5a6f2c8352c960d5005c5ac0011e7eaff80f63608294536af074a6fbdefbc0932ae1a13769f8264ad044a419fade2377c56a93aa8ac885bb4662
|
7
|
+
data.tar.gz: ed73f96ce4cd0c1bd105ad5b7b6c0f85a9f14949e4cc48f107714d791b0ec20e64398697778da87c41003cd742fe13ed789aec29296aff7518c7b01a4bc5052b
|
data/CHANGELOG.md
CHANGED
data/README.md
CHANGED
data/lib/libmf.rb
CHANGED
@@ -11,15 +11,15 @@ module Libmf
|
|
11
11
|
class << self
|
12
12
|
attr_accessor :ffi_lib
|
13
13
|
end
|
14
|
-
self.ffi_lib = ["mf"]
|
15
|
-
|
16
14
|
lib_path =
|
17
15
|
if ::FFI::Platform.windows?
|
18
|
-
"../vendor/windows/mf.dll"
|
19
|
-
|
16
|
+
"../vendor/libmf/windows/mf.dll"
|
17
|
+
elsif ::FFI::Platform.mac?
|
20
18
|
"libmf.bundle"
|
19
|
+
else
|
20
|
+
"libmf.so"
|
21
21
|
end
|
22
|
-
self.ffi_lib
|
22
|
+
self.ffi_lib = [File.expand_path(lib_path, __dir__)]
|
23
23
|
|
24
24
|
# friendlier error message
|
25
25
|
autoload :FFI, "libmf/ffi"
|
data/lib/libmf/version.rb
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: libmf
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Andrew Kane
|
@@ -91,7 +91,6 @@ files:
|
|
91
91
|
- LICENSE.txt
|
92
92
|
- README.md
|
93
93
|
- ext/libmf/extconf.rb
|
94
|
-
- lib/libmf.bundle
|
95
94
|
- lib/libmf.rb
|
96
95
|
- lib/libmf/ffi.rb
|
97
96
|
- lib/libmf/model.rb
|
data/lib/libmf.bundle
DELETED
Binary file
|