numo-liblinear 1.2.1 → 1.2.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/.github/workflows/build.yml +2 -1
- data/CHANGELOG.md +3 -0
- data/Steepfile +1 -1
- data/lib/numo/liblinear/version.rb +1 -1
- data/numo-liblinear.gemspec +5 -7
- metadata +2 -3
- data/sig/patch.rbs +0 -8
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: e01c76e5ada65d064a521c29a11e1ad18644ca60a5f79119b552ad6732fc6ab2
|
4
|
+
data.tar.gz: d73b0a4e48ca51053ba162783c6dc128ef20b49ef3ecb7f06654ed9eba4c8a55
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 27188ec56a5956df8acebf89384d901aab38b24f6f98cf5b877b4f70be8172b107e05021f9d637761cdf23e3578daf1c1a50f009129e2f556b6d963cd30ebe28
|
7
|
+
data.tar.gz: 3bf342d11db29b36a05cd0f345ae98376547a25e3920d7937f1974ed625fa8c4dfbe23be8e7910207090084f2c23cd2b65cf5f999e162d6f1ae35c5d18667df7
|
data/.github/workflows/build.yml
CHANGED
@@ -18,9 +18,10 @@ jobs:
|
|
18
18
|
git submodule sync --recursive
|
19
19
|
git -c "http.extraheader=$auth_header" -c protocol.version=2 submodule update --init --force --recursive --depth=1
|
20
20
|
- name: Set up Ruby ${{ matrix.ruby }}
|
21
|
-
uses:
|
21
|
+
uses: ruby/setup-ruby@v1
|
22
22
|
with:
|
23
23
|
ruby-version: ${{ matrix.ruby }}
|
24
|
+
bundler-cache: true
|
24
25
|
- name: Build and test with Rake
|
25
26
|
run: |
|
26
27
|
gem install --no-document bundler
|
data/CHANGELOG.md
CHANGED
data/Steepfile
CHANGED
data/numo-liblinear.gemspec
CHANGED
@@ -1,5 +1,3 @@
|
|
1
|
-
# frozen_string_literal: true
|
2
|
-
|
3
1
|
lib = File.expand_path('lib', __dir__)
|
4
2
|
$LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
|
5
3
|
require 'numo/liblinear/version'
|
@@ -25,13 +23,13 @@ Gem::Specification.new do |spec|
|
|
25
23
|
# Specify which files should be added to the gem when it is released.
|
26
24
|
# The `git ls-files -z` loads the files in the RubyGem that have been added into git.
|
27
25
|
spec.files = Dir.chdir(File.expand_path(__dir__)) do
|
28
|
-
`git ls-files -z`.split("\x0").reject { |f| f.match(%r{^(test|spec|features)/}) }
|
26
|
+
`git ls-files -z`.split("\x0").reject { |f| f.match(%r{^(test|spec|features|sig-deps)/}) }
|
29
27
|
end
|
30
28
|
|
31
|
-
|
32
|
-
|
33
|
-
|
34
|
-
|
29
|
+
submodule_path = `git submodule --quiet foreach pwd`.split($INPUT_RECORD_SEPARATOR).first
|
30
|
+
submodule_relative_path = submodule_path.sub("#{File.expand_path(__dir__)}/", '')
|
31
|
+
liblinear_files = %w[linear.cpp linear.h newton.cpp newton.h
|
32
|
+
blas/blas.h blas/blasp.h blas/daxpy.c blas/ddot.c blas/dnrm2.c blas/dscal.c]
|
35
33
|
liblinear_files.each { |liblinf| spec.files << "#{submodule_relative_path}/#{liblinf}" }
|
36
34
|
|
37
35
|
spec.bindir = 'exe'
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: numo-liblinear
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.2.
|
4
|
+
version: 1.2.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- yoshoku
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2021-
|
11
|
+
date: 2021-07-10 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: numo-narray
|
@@ -73,7 +73,6 @@ files:
|
|
73
73
|
- lib/numo/liblinear/version.rb
|
74
74
|
- numo-liblinear.gemspec
|
75
75
|
- sig/numo/liblinear.rbs
|
76
|
-
- sig/patch.rbs
|
77
76
|
homepage: https://github.com/yoshoku/numo-liblinear
|
78
77
|
licenses:
|
79
78
|
- BSD-3-Clause
|