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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 85fc60af42649286b87cf23130c0efafd0d8951423d31b187d13097b2418e7d1
4
- data.tar.gz: ab568af8e036b6d38fcc604746eeda4fa29e2e6e7541e6af53b77f9979e9fe82
3
+ metadata.gz: 2f46be88d7d3f59b4c77ad15c4843a4f88745ec4433a09193ce28a7cc77c1b38
4
+ data.tar.gz: 7b39d8a0d9c9495fb91c6424903fee5f694672493c031f9107f8db49571b384d
5
5
  SHA512:
6
- metadata.gz: efcbffd9ed9e6f66911a63e74d694da77d798d0fde04cb1490c1ee4eaf8d9e1e93b1af13ab8e23a4a858b74503d28a616ad6499a590f4a1568df2a9dcb65d85f
7
- data.tar.gz: 671b306cad36c2ea5da6633de6703892e19fbb5774cf22a0d458ba3d967ab50dc5ae56ed271771e4ed1a0483346d8d9f34ec5db9c8424d16f369e81c5f467857
6
+ metadata.gz: 0b95f27bc77e5a6f2c8352c960d5005c5ac0011e7eaff80f63608294536af074a6fbdefbc0932ae1a13769f8264ad044a419fade2377c56a93aa8ac885bb4662
7
+ data.tar.gz: ed73f96ce4cd0c1bd105ad5b7b6c0f85a9f14949e4cc48f107714d791b0ec20e64398697778da87c41003cd742fe13ed789aec29296aff7518c7b01a4bc5052b
data/CHANGELOG.md CHANGED
@@ -1,3 +1,7 @@
1
+ ## 0.1.1
2
+
3
+ - Fixed errors on Linux and Windows
4
+
1
5
  ## 0.1.0
2
6
 
3
7
  - First release
data/README.md CHANGED
@@ -4,6 +4,8 @@
4
4
 
5
5
  :fire: Uses the C API for blazing performance
6
6
 
7
+ [![Build Status](https://travis-ci.org/ankane/libmf.svg?branch=master)](https://travis-ci.org/ankane/libmf)
8
+
7
9
  ## Installation
8
10
 
9
11
  Add this line to your application’s Gemfile:
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
- else
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 << File.expand_path(lib_path, __dir__)
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
@@ -1,3 +1,3 @@
1
1
  module Libmf
2
- VERSION = "0.1.0"
2
+ VERSION = "0.1.1"
3
3
  end
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.0
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