numo-liblinear 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: 99231aa2faea06b9f5f146e56360e6cbb510418284dba28893f0eb468c5032fd
4
- data.tar.gz: 70a872b39f277e6ea6465e25fd9df9772d212b307eeab817acca3be89c6a4413
3
+ metadata.gz: fd0c8f910881911dd12c6106e911c7734b88e57a679bb9a803580242402b7584
4
+ data.tar.gz: 3406136f646003cb660ef8240024671613c1e0e56c4a6dfe5ba2bf04ee06a11a
5
5
  SHA512:
6
- metadata.gz: 11e1870522975ca23a949cd198e0a9444ee93757804320ec61522d946b1056c9f87340f0be4562fdf0d29e778b7fa8db5a6c885c65f9978a142ad2468635aa8a
7
- data.tar.gz: 95b9371d5d5eab96c4960d7eebe63b7b598db51d482103b5bae261ca5de93f7f01b272921d6955cc7d8a970c6732e19b7c19b4171d652df32fdb445911cdfcef
6
+ metadata.gz: 611c4eda7ebce7f60eb44d769223343243b7359aec140c4afe55ec951a880ea6ebbd6c28f0a299baca650963af8aae7df9ce55564110fd295a110a35c67dfc31
7
+ data.tar.gz: a0b26fe3cddbddd523c85867efda2c2d92bc07b5d73658ed307a68ee24efdc11ba324a058d85125fdbcaac80db2b6d4371e1f5e530b0a28a9b99b0505431bd11
data/CHANGELOG.md CHANGED
@@ -1,3 +1,11 @@
1
+ # [[3.1.1](https://github.com/yoshoku/numo-liblinear/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-liblinear/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-liblinear/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-liblinear/compare/v2.4.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
 
@@ -31,7 +39,7 @@
31
39
 
32
40
  # 2.0.0
33
41
  - Redesign native extension codes.
34
- - Change not ot use git submodule for LIBLINEAR codes bundle.
42
+ - Change not to use git submodule for LIBLINEAR codes bundle.
35
43
  - Introduce conventional commits.
36
44
 
37
45
  # 1.2.2
@@ -61,7 +69,7 @@
61
69
  There is no need to install LIBLINEAR in advance to use Numo::LIBLINEAR.
62
70
 
63
71
  # 0.5.0
64
- - Fix to use LIBLINEAR sparce vector representation for internal processing.
72
+ - Fix to use LIBLINEAR sparse vector representation for internal processing.
65
73
 
66
74
  # 0.4.0
67
75
  - Add verbose parameter to output learning process messages.
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,20 +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
-
30
- have_libcpp = false
31
- if RUBY_PLATFORM.include?('darwin')
32
- if have_library('c++')
33
- have_libcpp = true
34
- else
35
- warn 'libc++ is not found.'
36
- end
37
- end
38
-
39
- if !have_libcpp && !RUBY_PLATFORM.include?('mswin')
40
- warn 'libstdc++ is not found.' unless have_library('stdc++')
41
- end
42
-
43
29
  $srcs = Dir.glob("#{$srcdir}/**/*.cpp").map { |path| File.basename(path) }
44
30
  $srcs.concat(%w[daxpy.c ddot.c dnrm2.c dscal.c])
45
31
 
@@ -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 Liblinear
5
5
  # The version of Numo::Liblienar 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-liblinear
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::Liblinear is a Ruby gem binding to the LIBLINEAR library.
28
34
  LIBLINEAR is one of the famous libraries for large-scale regularized linear classification and regression.
@@ -61,7 +67,7 @@ metadata:
61
67
  homepage_uri: https://github.com/yoshoku/numo-liblinear
62
68
  source_code_uri: https://github.com/yoshoku/numo-liblinear
63
69
  changelog_uri: https://github.com/yoshoku/numo-liblinear/blob/main/CHANGELOG.md
64
- documentation_uri: https://gemdocs.org/gems/numo-liblinear/3.0.1/
70
+ documentation_uri: https://gemdocs.org/gems/numo-liblinear/3.1.1/
65
71
  rubygems_mfa_required: 'true'
66
72
  rdoc_options: []
67
73
  require_paths:
@@ -77,7 +83,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
77
83
  - !ruby/object:Gem::Version
78
84
  version: '0'
79
85
  requirements: []
80
- rubygems_version: 3.7.2
86
+ rubygems_version: 4.0.3
81
87
  specification_version: 4
82
88
  summary: Numo::Liblinear is a Ruby gem binding to the LIBLINEAR library. Numo::Liblinear
83
89
  makes to use the LIBLINEAR functions with dataset represented by Numo::NArray.