numo-liblinear 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: 801d6ed5e1bee82b834821190bd146dc2a0c2d99342808cf93d4521e4d74a0a2
4
- data.tar.gz: 0dd5510dcd7cc2f2b5963141374c6993ca5030d5dc2c3d60a896ae336123b037
3
+ metadata.gz: 3ce43a5ff368e9e41dec94c04a8096d8d4ee358ec1e58a2dc3e51845d2b92530
4
+ data.tar.gz: 1ddc8f7415d7e2cf6b6fce4f4efc618f0cda5ed63d03a1d8b7ab7987a93425f0
5
5
  SHA512:
6
- metadata.gz: fa81218b4c8c4b7a6afad06e83606d57521a1dce0c75c76cb24ab92530639becdf57e89637a7be8f67c1a0d2fd0136c219a55d3e984e82df28920a7ccc764916
7
- data.tar.gz: c2b756af42d1de564d2c4e527a96174239a240f85cd6f882cc4009f0cef0002e4001e9d133aba6bfa56ce1524c44fd394a22d6d99d5d9fbee297a80cd5c94b0c
6
+ metadata.gz: 3229e72e815c2a5cabecde251e831e80bf162c31c0961cf8bdfd4c96ac2c3a4ac8a58b7889ddb5a56042f995c68d5d597d1e9cb62316b088dc635597ab858f2d
7
+ data.tar.gz: '00578ba1f6a1bd22dc0e7925f8feb97eba6a2af0a7633f72da288a9268c50e182611fca04ece54bdc21ff1659f28f267ad7f86edfa045a90ed3c221c1d71ef47'
data/CHANGELOG.md CHANGED
@@ -1,3 +1,12 @@
1
+ # [[3.1.0](https://github.com/yoshoku/numo-liblinear/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-liblinear/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-liblinear/compare/v2.4.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-liblinear/workflows/build/badge.svg)](https://github.com/yoshoku/numo-liblinear/actions?query=workflow%3Abuild)
4
4
  [![Gem Version](https://badge.fury.io/rb/numo-liblinear.svg)](https://badge.fury.io/rb/numo-liblinear)
5
5
  [![BSD 3-Clause License](https://img.shields.io/badge/License-BSD%203--Clause-orange.svg)](https://github.com/yoshoku/numo-liblinear/blob/main/LICENSE.txt)
6
- [![Documentation](https://img.shields.io/badge/docs-rdoc.info-blue.svg)](https://yoshoku.github.io/numo-liblinear/doc/)
6
+ [![Documentation](https://img.shields.io/badge/docs-rdoc.info-blue.svg)](https://gemdocs.org/gems/numo-liblinear/)
7
7
 
8
8
  Numo::Liblinear is a Ruby gem binding to the [LIBLINEAR](https://www.csie.ntu.edu.tw/~cjlin/liblinear/) library.
9
9
  LIBLINEAR is one of the famous libraries for large-scale regularized linear classification and regression.
@@ -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 Liblinear
5
5
  # The version of Numo::Liblienar you are using.
6
- VERSION = '3.0.0'
6
+ VERSION = '3.1.0'
7
7
  end
8
8
  end
@@ -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/liblinear/version'
5
5
  require 'numo/liblinear/liblinearext'
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.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::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.0/
70
+ documentation_uri: https://gemdocs.org/gems/numo-liblinear/3.1.0/
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.6.9
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.