xlearn 0.1.3 → 0.1.4

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: e412507862a4f703ac75cfb7c69a8f60bafdcafc20650e985607929c7d2a1682
4
- data.tar.gz: c750ba69fcb27cb436d597cc6f5825efd2ca9a818cdf8ef55343f509939e0f0e
3
+ metadata.gz: f3a03335ce34564c93d235425d33019acd9aac39c9793efa93df4253f7adf9f7
4
+ data.tar.gz: 81620576716d572343c803af08db4ee75ab40efcf0d43cb53703c0365cd3c3a3
5
5
  SHA512:
6
- metadata.gz: 3ad86fc29459c7f6a8a9bfce72ee3bba772f39b6279804d4c758d1f93786e0dff4a0db04b31d75b1fe7afb9f110eeabab11ba4c0a68df9138f65ee2db60bc225
7
- data.tar.gz: d5c862cf8b0516c2c29436c9f2c735f1bf2f20b68aae9cff40bfcc2d71f10df866438ed46ae25d623c87ec3bcbe22648b0c92784435126c0f01d579119e702e5
6
+ metadata.gz: e394c80b5f461a82d209f48e652d664fa2400a232f5209e4f26d2048cdb8d3b3aaa86c80a09f52de4b95b9d8c7f86136b94c3b9b9f615f58f5449c353ca64b3c
7
+ data.tar.gz: 1b834d1a743a039890c90f22807ae2874859cf972170dd138e996c0a4810763e492da7fb66fe1162936b3614ac920eaae93a780c0a5ac469c4bec9dbb6fa1206
data/CHANGELOG.md CHANGED
@@ -1,3 +1,7 @@
1
+ ## 0.1.4 (2020-02-11)
2
+
3
+ - Fixed `Could not find xLearn` error on some Linux platforms
4
+
1
5
  ## 0.1.3 (2020-02-09)
2
6
 
3
7
  - Fixed illegal instruction error on some Linux platforms
data/lib/xlearn/ffi.rb CHANGED
@@ -2,12 +2,7 @@ module XLearn
2
2
  module FFI
3
3
  extend ::FFI::Library
4
4
 
5
- begin
6
- ffi_lib XLearn.ffi_lib
7
- rescue LoadError => e
8
- raise e if ENV["XLEARN_DEBUG"]
9
- raise LoadError, "Could not find xLearn"
10
- end
5
+ ffi_lib XLearn.ffi_lib
11
6
 
12
7
  # https://github.com/aksnzhy/xlearn/blob/master/src/c_api/c_api.h
13
8
  # keep same order
@@ -1,3 +1,3 @@
1
1
  module XLearn
2
- VERSION = "0.1.3"
2
+ VERSION = "0.1.4"
3
3
  end
Binary file
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: xlearn
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.3
4
+ version: 0.1.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - Andrew Kane
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2020-02-10 00:00:00.000000000 Z
11
+ date: 2020-02-12 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: ffi