numo-random 0.6.0 → 0.6.2
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 +4 -4
- data/CHANGELOG.md +10 -0
- data/ext/numo/random/extconf.rb +3 -3
- data/lib/numo/random/version.rb +1 -1
- data/lib/numo/random.rb +4 -2
- metadata +5 -5
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: b4208ed4ac8b83d7f15a55bc2d7419c928140920d8d77c49722bc9f8d15a506c
|
|
4
|
+
data.tar.gz: 6cfca57abf2afedf7fb4437c77101c9adefb885145ce49131291d2f08c5f0d52
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 8aaac5c7d6439ee89bf9784651b58801306aa0a83061523fdc91bdfdd98575b305d26befd7e71bd77e87efeaf8a34cf256eec9b778cf12d981bb3979c6332833
|
|
7
|
+
data.tar.gz: e3c345a263c7c8ddb4ef6eb91c322640bddb073986b8d56c9b414d776b5324778f95bb5bd4e0e0bc81ef3241921990b5222b20db893fe6163da680fd3c275b6b
|
data/CHANGELOG.md
CHANGED
|
@@ -1,3 +1,13 @@
|
|
|
1
|
+
## [[0.6.2](https://github.com/yoshoku/numo-random/compare/v0.6.1...v0.6.2)] - 2025-11-19
|
|
2
|
+
|
|
3
|
+
- Fix to use require for compatibility with distributions installing extensions separately.
|
|
4
|
+
- Set the required version of numo-narray-alt to 0.9.10 or higher.
|
|
5
|
+
|
|
6
|
+
## [[0.6.1](https://github.com/yoshoku/numo-random/compare/v0.6.0...v0.6.1)] - 2025-11-18
|
|
7
|
+
|
|
8
|
+
- Set the required version of numo-narray-alt to 0.9.9 or higher.
|
|
9
|
+
- Change require statement to explicitly load numo/narray/alt.
|
|
10
|
+
|
|
1
11
|
## [[0.6.0](https://github.com/yoshoku/numo-random/compare/v0.5.1...v0.6.0)] - 2025-10-01
|
|
2
12
|
|
|
3
13
|
**Breaking change**
|
data/ext/numo/random/extconf.rb
CHANGED
|
@@ -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
|
data/lib/numo/random/version.rb
CHANGED
data/lib/numo/random.rb
CHANGED
|
@@ -1,7 +1,9 @@
|
|
|
1
1
|
# frozen_string_literal: true
|
|
2
2
|
|
|
3
|
-
require 'numo/narray'
|
|
3
|
+
require 'numo/narray/alt'
|
|
4
4
|
|
|
5
5
|
require_relative 'random/version'
|
|
6
|
-
|
|
6
|
+
# On distributions like Rocky Linux, native extensions are installed in a separate
|
|
7
|
+
# directory from Ruby code, so use require to load them.
|
|
8
|
+
require 'numo/random/ext'
|
|
7
9
|
require_relative 'random/generator'
|
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: numo-random
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.6.
|
|
4
|
+
version: 0.6.2
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- yoshoku
|
|
@@ -15,14 +15,14 @@ dependencies:
|
|
|
15
15
|
requirements:
|
|
16
16
|
- - "~>"
|
|
17
17
|
- !ruby/object:Gem::Version
|
|
18
|
-
version: 0.9.
|
|
18
|
+
version: 0.9.10
|
|
19
19
|
type: :runtime
|
|
20
20
|
prerelease: false
|
|
21
21
|
version_requirements: !ruby/object:Gem::Requirement
|
|
22
22
|
requirements:
|
|
23
23
|
- - "~>"
|
|
24
24
|
- !ruby/object:Gem::Version
|
|
25
|
-
version: 0.9.
|
|
25
|
+
version: 0.9.10
|
|
26
26
|
description: Numo::Random provides random number generation with several distributions
|
|
27
27
|
for Numo::NArray.
|
|
28
28
|
email:
|
|
@@ -53,7 +53,7 @@ metadata:
|
|
|
53
53
|
homepage_uri: https://github.com/yoshoku/numo-random
|
|
54
54
|
source_code_uri: https://github.com/yoshoku/numo-random
|
|
55
55
|
changelog_uri: https://github.com/yoshoku/numo-random/blob/main/CHANGELOG.md
|
|
56
|
-
documentation_uri: https://gemdocs.org/gems/numo-random/0.6.
|
|
56
|
+
documentation_uri: https://gemdocs.org/gems/numo-random/0.6.2/
|
|
57
57
|
rubygems_mfa_required: 'true'
|
|
58
58
|
rdoc_options: []
|
|
59
59
|
require_paths:
|
|
@@ -69,7 +69,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
|
69
69
|
- !ruby/object:Gem::Version
|
|
70
70
|
version: '0'
|
|
71
71
|
requirements: []
|
|
72
|
-
rubygems_version: 3.
|
|
72
|
+
rubygems_version: 3.7.2
|
|
73
73
|
specification_version: 4
|
|
74
74
|
summary: Numo::Random provides random number generation with several distributions
|
|
75
75
|
for Numo::NArray.
|