numo-optimize 0.2.3 → 0.3.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: 5a2f3fa5f75770e13676cc474bf58428a73420aaa80c460145657ee4f51c3657
4
- data.tar.gz: 66ad13230045c15dc1cb065fe4c3dd3a7e096051fdf34c645226ba3549460d71
3
+ metadata.gz: 2e65af59a2268354b45fecd49a409979ae03c2caeb8967fd8d00766f0f0baf43
4
+ data.tar.gz: 7db2484bf0e0dd29290ba4ce07729cdf2a3141af540e62b8e6bc8a0622bd9f3a
5
5
  SHA512:
6
- metadata.gz: b9102e5565035ae05f4564becad7233b1181530ab8ddca23aae4fc87b72245daaf6ff444c3ef56d8b2b6bbb5ce2695a010f7fe097bee085bf50d539c8f7c8992
7
- data.tar.gz: 3f03cb7a487a1cc176e8caa6aa15f447b17dca6dc9d70bf0427083e0900667857d8b78bf17368264bed3b91a75e86dc5188288af37cebea8eac7dfd105a7fa6b
6
+ metadata.gz: 1dbf266e7ac8711057ad9bfb82e98d04c868c04e363327f9569e6456fbb3b352543e1ebd6d48084166b20f066c1bcd210b9978bf29d8e2be593ed09d03670952
7
+ data.tar.gz: abd9e1c7eab9953f32162480c092fd6cc2c7c5f6d10579a1df792644d3c740177e87ce85459aa7dd54dfa782a043ed2eae638f449095363be91b8a58fc048a7b
data/CHANGELOG.md CHANGED
@@ -1,3 +1,7 @@
1
+ ## [[0.3.0](https://github.com/yoshoku/numo-optimize/compare/v0.2.3...v0.3.0)] - 2026-02-06
2
+
3
+ - relax numo-narray-alt version constraint to >= 0.9.9, < 0.11.0.
4
+
1
5
  ## [[0.2.3](https://github.com/yoshoku/numo-optimize/compare/v0.2.2...v0.2.3)] - 2025-12-03
2
6
 
3
7
  - Update CFLAGS and LDFLAGS for native extensions to match those in [lbfgsb.rb](https://github.com/yoshoku/lbfgsb.rb).
data/LICENSE.txt CHANGED
@@ -1,4 +1,4 @@
1
- Copyright (c) 2025 Atsushi Tatsuma
1
+ Copyright (c) 2025-2026 Atsushi Tatsuma
2
2
  All rights reserved.
3
3
 
4
4
  Redistribution and use in source and binary forms, with or without
@@ -5,6 +5,6 @@ module Numo
5
5
  # Numo::Optimize provides functions for minimizing objective functions.
6
6
  module Optimize
7
7
  # The version of numo-optimize you install.
8
- VERSION = '0.2.3'
8
+ VERSION = '0.3.0'
9
9
  end
10
10
  end
data/lib/numo/optimize.rb CHANGED
@@ -2,11 +2,11 @@
2
2
 
3
3
  require 'numo/narray/alt'
4
4
 
5
- # On distributions like Rocky Linux, native extensions are installed in a separate
6
- # directory from Ruby code, so use require to load them.
5
+ require_relative 'optimize/version'
6
+ # On RHEL-based Linux distributions, native extensions are installed in a separate
7
+ # directory from Ruby scripts, so use require to load them.
7
8
  require 'numo/optimize/optimize'
8
9
 
9
- require_relative 'optimize/version'
10
10
  require_relative 'optimize/lbfgsb'
11
11
  require_relative 'optimize/scg'
12
12
  require_relative 'optimize/nelder_mead'
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: numo-optimize
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.3
4
+ version: 0.3.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
18
  version: 0.9.9
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.9
29
+ - - "<"
30
+ - !ruby/object:Gem::Version
31
+ version: 0.11.0
26
32
  description: Numo::Optimize provides functions for minimizing objective functions.
27
33
  email:
28
34
  - yoshoku@outlook.com
@@ -59,7 +65,7 @@ metadata:
59
65
  homepage_uri: https://github.com/yoshoku/numo-optimize
60
66
  source_code_uri: https://github.com/yoshoku/numo-optimize
61
67
  changelog_uri: https://github.com/yoshoku/numo-optimize/blob/main/CHANGELOG.md
62
- documentation_uri: https://gemdocs.org/gems/numo-optimize/0.2.3/
68
+ documentation_uri: https://gemdocs.org/gems/numo-optimize/0.3.0/
63
69
  rubygems_mfa_required: 'true'
64
70
  rdoc_options: []
65
71
  require_paths:
@@ -75,7 +81,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
75
81
  - !ruby/object:Gem::Version
76
82
  version: '0'
77
83
  requirements: []
78
- rubygems_version: 3.7.2
84
+ rubygems_version: 4.0.3
79
85
  specification_version: 4
80
86
  summary: Numo::Optimize provides functions for minimizing objective functions.
81
87
  test_files: []