numo-libsvm 3.0.0 → 3.1.0

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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 10d7ba229178a10bee36cd31ffd005984fa007b5f63dbd4b282b300f3820f02f
4
- data.tar.gz: 713c171d6bd151846b31e27a586db5db0b70f7bb98cfda4c08da39a044056260
3
+ metadata.gz: ce0bba312502df8987fce7634e8afe803f4106d2c09b7466d137eba81b9d1b07
4
+ data.tar.gz: 9f0563c66133a1b9d41cc69e8bc06727abb2fed4bf7399341d85d11ba241c823
5
5
  SHA512:
6
- metadata.gz: 69fb57aedba1d02c522d42504be52bea1540973f33af4ef06e4310bca9be75ab954ec7f77c0c565f0b5c3e82fa74469848fb2c74a9c5dbb500fc003d54445e76
7
- data.tar.gz: 99abcc664b6f62d7ebf9993e8c3ee2a97ca3546407c97184d115c806b79671fc16d4db2c7675caaf11cb8fe39edca8c4ec5405f0d834e1f697282dab3f1248d0
6
+ metadata.gz: b68f8597e7b250e6c8a6ecb0c8fd77a93653c398cfc0dfc63612cd3feab05ce8346298ff2b5a78681d41d7a318bfac2d7e319b72d7f7864d799299364a78285e
7
+ data.tar.gz: 5422108c274aaf37be9e880b5f2ad4192b38f70e5c61653a24b83a55416928cf178ed9844c4c2d48a8bc18487f08981015a3cdae15d2ae482a9fc32cea94b403
data/CHANGELOG.md CHANGED
@@ -1,3 +1,12 @@
1
+ # [[3.1.0](https://github.com/yoshoku/numo-libsvm/compare/v3.0.1...v3.1.0)] - 2026-02-06
2
+
3
+ - relax numo-narray-alt version constraint to >= 0.9.10, < 0.11.0.
4
+
5
+ # [[3.0.1](https://github.com/yoshoku/numo-libsvm/compare/v3.0.0...v3.0.1)] - 2025-11-19
6
+
7
+ - Set the required version of numo-narray-alt to 0.9.10 or higher.
8
+ - Change require statement to explicitly load numo/narray/alt.
9
+
1
10
  # [[3.0.0](https://github.com/yoshoku/numo-libsvm/compare/v2.3.0...v3.0.0)] - 2025-10-01
2
11
 
3
12
  **Breaking chage**
data/LICENSE.txt CHANGED
@@ -1,4 +1,4 @@
1
- Copyright (c) 2019-2025 Atsushi Tatsuma
1
+ Copyright (c) 2019-2026 Atsushi Tatsuma
2
2
  All rights reserved.
3
3
 
4
4
  Redistribution and use in source and binary forms, with or without
data/README.md CHANGED
@@ -3,7 +3,7 @@
3
3
  [![Build Status](https://github.com/yoshoku/numo-libsvm/workflows/build/badge.svg)](https://github.com/yoshoku/numo-libsvm/actions?query=workflow%3Abuild)
4
4
  [![Gem Version](https://badge.fury.io/rb/numo-libsvm.svg)](https://badge.fury.io/rb/numo-libsvm)
5
5
  [![BSD 3-Clause License](https://img.shields.io/badge/License-BSD%203--Clause-orange.svg)](https://github.com/yoshoku/numo-libsvm/blob/main/LICENSE.txt)
6
- [![Documentation](https://img.shields.io/badge/api-reference-blue.svg)](https://yoshoku.github.io/numo-libsvm/doc/)
6
+ [![Documentation](https://img.shields.io/badge/api-reference-blue.svg)](https://gemdocs.org/gems/numo-libsvm/)
7
7
 
8
8
  Numo::Libsvm is a Ruby gem binding to the [LIBSVM](https://github.com/cjlin1/libsvm) library.
9
9
  LIBSVM is one of the famous libraries that implemented Support Vector Machines,
@@ -1,5 +1,5 @@
1
1
  require 'mkmf'
2
- require 'numo/narray'
2
+ require 'numo/narray/alt'
3
3
 
4
4
  $LOAD_PATH.each do |lp|
5
5
  if File.exist?(File.join(lp, 'numo/numo/narray.h'))
@@ -12,8 +12,8 @@ abort 'numo/narray.h not found.' unless have_header('numo/narray.h')
12
12
 
13
13
  if RUBY_PLATFORM =~ /mswin|cygwin|mingw/
14
14
  $LOAD_PATH.each do |lp|
15
- if File.exist?(File.join(lp, 'numo/libnarray.a'))
16
- $LDFLAGS = "-L#{lp}/numo #{$LDFLAGS}"
15
+ if File.exist?(File.join(lp, 'numo/narray/libnarray.a'))
16
+ $LDFLAGS = "-L#{lp}/numo/narray #{$LDFLAGS}"
17
17
  break
18
18
  end
19
19
  end
@@ -1,5 +1,5 @@
1
1
  /**
2
- * Copyright (c) 2019-2024 Atsushi Tatsuma
2
+ * Copyright (c) 2019-2026 Atsushi Tatsuma
3
3
  * All rights reserved.
4
4
  *
5
5
  * Redistribution and use in source and binary forms, with or without
@@ -1,5 +1,5 @@
1
1
  /**
2
- * Copyright (c) 2019-2024 Atsushi Tatsuma
2
+ * Copyright (c) 2019-2026 Atsushi Tatsuma
3
3
  * All rights reserved.
4
4
  *
5
5
  * Redistribution and use in source and binary forms, with or without
@@ -3,6 +3,6 @@
3
3
  module Numo
4
4
  module Libsvm
5
5
  # The version of Numo::Libsvm you are using.
6
- VERSION = '3.0.0'
6
+ VERSION = '3.1.0'
7
7
  end
8
8
  end
data/lib/numo/libsvm.rb CHANGED
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
- require 'numo/narray'
3
+ require 'numo/narray/alt'
4
4
  require 'numo/libsvm/version'
5
5
  require 'numo/libsvm/libsvmext'
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: numo-libsvm
3
3
  version: !ruby/object:Gem::Version
4
- version: 3.0.0
4
+ version: 3.1.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - yoshoku
@@ -13,16 +13,22 @@ dependencies:
13
13
  name: numo-narray-alt
14
14
  requirement: !ruby/object:Gem::Requirement
15
15
  requirements:
16
- - - "~>"
16
+ - - ">="
17
17
  - !ruby/object:Gem::Version
18
- version: 0.9.3
18
+ version: 0.9.10
19
+ - - "<"
20
+ - !ruby/object:Gem::Version
21
+ version: 0.11.0
19
22
  type: :runtime
20
23
  prerelease: false
21
24
  version_requirements: !ruby/object:Gem::Requirement
22
25
  requirements:
23
- - - "~>"
26
+ - - ">="
27
+ - !ruby/object:Gem::Version
28
+ version: 0.9.10
29
+ - - "<"
24
30
  - !ruby/object:Gem::Version
25
- version: 0.9.3
31
+ version: 0.11.0
26
32
  description: |
27
33
  Numo::Libsvm is a Ruby gem binding to the LIBSVM library.
28
34
  LIBSVM is one of the famous libraries that implemented Support Vector Machines,
@@ -54,7 +60,7 @@ metadata:
54
60
  homepage_uri: https://github.com/yoshoku/numo-libsvm
55
61
  source_code_uri: https://github.com/yoshoku/numo-libsvm
56
62
  changelog_uri: https://github.com/yoshoku/numo-libsvm/blob/main/CHANGELOG.md
57
- documentation_uri: https://gemdocs.org/gems/numo-libsvm/3.0.0/
63
+ documentation_uri: https://gemdocs.org/gems/numo-libsvm/3.1.0/
58
64
  rubygems_mfa_required: 'true'
59
65
  rdoc_options: []
60
66
  require_paths:
@@ -70,7 +76,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
70
76
  - !ruby/object:Gem::Version
71
77
  version: '0'
72
78
  requirements: []
73
- rubygems_version: 3.6.9
79
+ rubygems_version: 4.0.3
74
80
  specification_version: 4
75
81
  summary: Numo::Libsvm is a Ruby gem binding to the LIBSVM library. Numo::Libsvm makes
76
82
  to use the LIBSVM functions with dataset represented by Numo::NArray.