numo-libsvm 3.0.1 → 3.1.1

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: a84d5ffa9bbbccb512409634d9febefbafec59c4ba9bc85c1d710739164358b1
4
- data.tar.gz: 2a75ff30676dc0cee9622b552ba2097dc45eb2db2781f7048d56d02a5ddff75f
3
+ metadata.gz: 03dd06a979fac643362f39021cef559518ba64020707dc80519302b4f96cbda7
4
+ data.tar.gz: fc158a4d9421a3d15a9b848c4ca80a48848fcf37ff2a0e1cc733836c9abda2f8
5
5
  SHA512:
6
- metadata.gz: d7e5dbd2dc27274d2c9d224cf4a3c0ddd869260b2d6056b47249ea85effdbaa6dfe83be1cf186e0afe363ec2d21616f7d29061c36fc80477b232654f3b729adb
7
- data.tar.gz: 7614c1a72d88a5ed93ae201aaecfe50293b22e197ebfc1d5dc6d3b230f581ed379a44325e3ddd94e02b4fe22150315bf6371713b391ac618582d7ceaf91c56d3
6
+ metadata.gz: 188c13ade247698e594269c9a866abb6a6fa2a4a1e65daa8f34f57fe8b539124f0b894e921768207acb39f2ff93a1d9228095a3e18479edcdb05d46e60b75e99
7
+ data.tar.gz: 3a0552baa7e69208c36fbca678ec9837e1b55d6cff41a7ffe9254579b2ebc2609b0e54a96f517239c9cfeefd0320fa21b6510958e001686ae65fd79028667535
data/CHANGELOG.md CHANGED
@@ -1,3 +1,11 @@
1
+ # [[3.1.1](https://github.com/yoshoku/numo-libsvm/compare/v3.1.0...v3.1.1)] - 2026-02-17
2
+
3
+ - Remove unnecessary C++ shared library loading check from native extensions build step.
4
+
5
+ # [[3.1.0](https://github.com/yoshoku/numo-libsvm/compare/v3.0.1...v3.1.0)] - 2026-02-06
6
+
7
+ - Relax numo-narray-alt version constraint to >= 0.9.10, < 0.11.0.
8
+
1
9
  # [[3.0.1](https://github.com/yoshoku/numo-libsvm/compare/v3.0.0...v3.0.1)] - 2025-11-19
2
10
 
3
11
  - Set the required version of numo-narray-alt to 0.9.10 or higher.
@@ -5,7 +13,7 @@
5
13
 
6
14
  # [[3.0.0](https://github.com/yoshoku/numo-libsvm/compare/v2.3.0...v3.0.0)] - 2025-10-01
7
15
 
8
- **Breaking chage**
16
+ **Breaking change**
9
17
 
10
18
  - Change dependency from numo-narray to [numo-narray-alt](https://github.com/yoshoku/numo-narray-alt).
11
19
 
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
@@ -26,19 +26,6 @@ if RUBY_PLATFORM.match?(/darwin/) && Gem::Version.new('3.1.0') <= Gem::Version.n
26
26
  end
27
27
  end
28
28
 
29
- have_libcpp = false
30
- if RUBY_PLATFORM.include?('darwin')
31
- if have_library('c++')
32
- have_libcpp = true
33
- else
34
- warn 'libc++ is not found.'
35
- end
36
- end
37
-
38
- if !have_libcpp && !RUBY_PLATFORM.include?('mswin')
39
- warn 'libstdc++ is not found.' unless have_library('stdc++')
40
- end
41
-
42
29
  $srcs = Dir.glob("#{$srcdir}/**/*.cpp").map { |path| File.basename(path) }
43
30
  $INCFLAGS << " -I$(srcdir)/src"
44
31
  $VPATH << "$(srcdir)/src"
@@ -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.1'
6
+ VERSION = '3.1.1'
7
7
  end
8
8
  end
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.1
4
+ version: 3.1.1
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
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
+ - - ">="
24
27
  - !ruby/object:Gem::Version
25
28
  version: 0.9.10
29
+ - - "<"
30
+ - !ruby/object:Gem::Version
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.1/
63
+ documentation_uri: https://gemdocs.org/gems/numo-libsvm/3.1.1/
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.7.2
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.