numo-liblinear 1.2.1 → 1.2.2

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: fbe98bbdc79c6e0f8cb5392d0b990b7d0fc18033f2ef3f6ffe5634550b7a8065
4
- data.tar.gz: 2a1adfe9e9b653885edc7256b517d8ed9ca8ba359cb5dda492592fa3169a664f
3
+ metadata.gz: e01c76e5ada65d064a521c29a11e1ad18644ca60a5f79119b552ad6732fc6ab2
4
+ data.tar.gz: d73b0a4e48ca51053ba162783c6dc128ef20b49ef3ecb7f06654ed9eba4c8a55
5
5
  SHA512:
6
- metadata.gz: 8950474d1509b6bdf8398b0fc8961b81298110e7bcf609d60cd36ad7b1b1c5e287c349a07d3ae75799e2c5ca76c8b638a864914eaf32dfdb879c6bfe6015533b
7
- data.tar.gz: 3984b878d18885c3cafe2f0afccef0974e0c9e8722da91f475ba41edfc20b54616b7947350f9a218c40dfed4d5749e5ec52f30ee4600101827ee8df3701d9d23
6
+ metadata.gz: 27188ec56a5956df8acebf89384d901aab38b24f6f98cf5b877b4f70be8172b107e05021f9d637761cdf23e3578daf1c1a50f009129e2f556b6d963cd30ebe28
7
+ data.tar.gz: 3bf342d11db29b36a05cd0f345ae98376547a25e3920d7937f1974ed625fa8c4dfbe23be8e7910207090084f2c23cd2b65cf5f999e162d6f1ae35c5d18667df7
@@ -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: actions/setup-ruby@v1
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
@@ -1,3 +1,6 @@
1
+ # 1.2.2
2
+ - Remove dependent gem's type declaration file from installation files.
3
+
1
4
  # 1.2.1
2
5
  - Fix version specifier of runtime dependencies.
3
6
 
data/Steepfile CHANGED
@@ -1,5 +1,5 @@
1
1
  target :lib do
2
- signature "sig"
2
+ signature "sig", "sig-deps"
3
3
  #
4
4
  check "lib" # Directory name
5
5
  # check "Gemfile" # File name
@@ -3,6 +3,6 @@
3
3
  module Numo
4
4
  module Liblinear
5
5
  # The version of Numo::Liblienar you are using.
6
- VERSION = '1.2.1'
6
+ VERSION = '1.2.2'
7
7
  end
8
8
  end
@@ -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
- gem_dir = File.expand_path(__dir__) + '/'
32
- submodule_path = `git submodule --quiet foreach pwd`.split($OUTPUT_RECORD_SEPARATOR).first
33
- submodule_relative_path = submodule_path.sub gem_dir, ''
34
- liblinear_files = %w[linear.cpp linear.h newton.cpp newton.h blas/blas.h blas/blasp.h blas/daxpy.c blas/ddot.c blas/dnrm2.c blas/dscal.c]
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.1
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-06-29 00:00:00.000000000 Z
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
data/sig/patch.rbs DELETED
@@ -1,8 +0,0 @@
1
- module Numo
2
- class NArray
3
- end
4
- class DFloat < NArray
5
- end
6
- class Int32 < NArray
7
- end
8
- end