rumale 0.12.7 → 0.12.8

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
  SHA1:
3
- metadata.gz: e59e9e95af6dcb6dbca000120e29d317f55cc15e
4
- data.tar.gz: b4779b41ce2ed7308d447b1a7757f9f5a016b433
3
+ metadata.gz: cbe91a2e4b8e16a5cf37ae8141ad73a760dbeac2
4
+ data.tar.gz: eac618abc865d6a9a8458afeec91b8f86fcc7b98
5
5
  SHA512:
6
- metadata.gz: 2a3def8c19142e39c30b47907af5fb539d5cce56ded3f30e51002a1a6bb84d8e77133bc19b1f51a6681a1744fda60468ca919f50289d0585bbb643caa4236de1
7
- data.tar.gz: 3fcfd001fbfdac7c885f26b30714417ca0d17189e0ef1e5d80b64e39043d8b841e4d1610399993da5875792ebdd3edb999a390d982dfab2adcc9b1ee109972d1
6
+ metadata.gz: d980b9f3fb0d13bd71a672b4cdc39cef616ec354df5581ec7fb3e793059c0847be8d008a50297328b9a78b7a2b0c146b65aa667b72b9becf56e0f9b1fb279955
7
+ data.tar.gz: 3a24e75f869e64a922202b5e81122f8c19a813fade58914788cd5c239c0c53a27ce5e9bbb7ed1c8c62a11d1f0fa54eb43244e52502f45c4907866b92fd01b405
data/CHANGELOG.md CHANGED
@@ -1,5 +1,8 @@
1
+ # 0.12.8
2
+ - Fix bug that fails to build and install on Windows again. Fix extconf to add Numo::NArray libraries to $lib.
3
+
1
4
  # 0.12.7
2
- - Fix bug that fails to build and install on Windows.
5
+ - Fix bug that fails to build and install on Windows. Add search for Numo::NArray static library path to extconf.
3
6
 
4
7
  # 0.12.6
5
8
  - Fix extension codes of decision tree classifier and gradient tree regressor for using Numo::NArray.
data/README.md CHANGED
@@ -6,7 +6,7 @@
6
6
  [![Coverage Status](https://coveralls.io/repos/github/yoshoku/rumale/badge.svg?branch=master)](https://coveralls.io/github/yoshoku/rumale?branch=master)
7
7
  [![Gem Version](https://badge.fury.io/rb/rumale.svg)](https://badge.fury.io/rb/rumale)
8
8
  [![BSD 2-Clause License](https://img.shields.io/badge/License-BSD%202--Clause-orange.svg)](https://github.com/yoshoku/rumale/blob/master/LICENSE.txt)
9
- [![Documentation](http://img.shields.io/badge/docs-rdoc.info-blue.svg)](https://www.rubydoc.info/gems/rumale/0.12.7)
9
+ [![Documentation](http://img.shields.io/badge/docs-rdoc.info-blue.svg)](https://www.rubydoc.info/gems/rumale/0.12.8)
10
10
 
11
11
  Rumale (**Ru**by **ma**chine **le**arning) is a machine learning library in Ruby.
12
12
  Rumale provides machine learning algorithms with interfaces similar to Scikit-Learn in Python.
@@ -10,13 +10,22 @@ $LOAD_PATH.each do |lp|
10
10
  end
11
11
  end
12
12
 
13
+ unless have_header('numo/narray.h')
14
+ puts 'numo/narray.h not found.'
15
+ exit(1)
16
+ end
17
+
13
18
  if RUBY_PLATFORM =~ /mswin|cygwin|mingw/
14
19
  $LOAD_PATH.each do |lp|
15
- if File.exist? File.join(lp, 'numo/libnarray.a')
20
+ if File.exist?(File.join(lp, 'numo/libnarray.a'))
16
21
  $LDFLAGS = "-L#{lp}/numo #{$LDFLAGS}"
17
22
  break
18
23
  end
19
24
  end
25
+ unless have_library('narray', 'nary_new')
26
+ puts 'libnarray.a not found.'
27
+ exit(1)
28
+ end
20
29
  end
21
30
 
22
31
  create_makefile('rumale/rumale')
@@ -3,5 +3,5 @@
3
3
  # Rumale is a machine learning library in Ruby.
4
4
  module Rumale
5
5
  # The version of Rumale you are using.
6
- VERSION = '0.12.7'
6
+ VERSION = '0.12.8'
7
7
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: rumale
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.12.7
4
+ version: 0.12.8
5
5
  platform: ruby
6
6
  authors:
7
7
  - yoshoku
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2019-07-14 00:00:00.000000000 Z
11
+ date: 2019-07-15 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: numo-narray