numo-random 0.6.0 → 0.6.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: 1eeb10dc61a62c47df25d130d2974ad137b4ea580daac0eb49f6fe33cf0aa66e
4
- data.tar.gz: a4c77b7d71ab7798c2c2fa142d272ea7e1e9f352c30cf11b8e397edc92b793e3
3
+ metadata.gz: 0a4cd127caf0dc5231c44de11449349304d21b446d19142e5797fe439ad55a91
4
+ data.tar.gz: 1f7e26b2a4658def9f34edaa4ec5a0237d4fcbc8b36286a97098d0ef74c2d764
5
5
  SHA512:
6
- metadata.gz: bb111e599ed0c0c4bedc2beb10fa0b89456622d6e6d3e61cb698cf6a3ba5771c6e1c4b47b18ce87ea4c51b6bcb4471f03897a9b77cc6c5cf5ecdd84378150a86
7
- data.tar.gz: c19b5fb6c238762c462f659c078071ca90af8a17acc728c4c874cda52c2528ba1563830e63f03e8ae0cd25cbe0acb80b31ee0f84beadfe746240dd6e087a0d8b
6
+ metadata.gz: c55ce28087a79220b61c08c7e9c549c5d688cbe451910ec98e7a6e473b03cdcbfb2d2e11271955f0b75ae6bdcf6099767f501c2be309357265c01b93b3e3f120
7
+ data.tar.gz: a2ff00965c87c25a7a61b32f51c68df4b24e32c17f6df6de77c4b4897b71812f84d70b055d8f77de3d588ec6173e7ec6d67287a7ef9c8fbd039ef90096fca222
data/CHANGELOG.md CHANGED
@@ -1,3 +1,8 @@
1
+ ## [[0.6.1](https://github.com/yoshoku/numo-random/compare/v0.6.0...v0.6.1)] - 2025-11-18
2
+
3
+ - Set the required version of numo-narray-alt to 0.9.9 or higher.
4
+ - Change require statement to explicitly load numo/narray/alt.
5
+
1
6
  ## [[0.6.0](https://github.com/yoshoku/numo-random/compare/v0.5.1...v0.6.0)] - 2025-10-01
2
7
 
3
8
  **Breaking change**
@@ -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
@@ -3,6 +3,6 @@
3
3
  module Numo
4
4
  module Random
5
5
  # The version of Numo::Random you install.
6
- VERSION = '0.6.0'
6
+ VERSION = '0.6.1'
7
7
  end
8
8
  end
data/lib/numo/random.rb CHANGED
@@ -1,6 +1,6 @@
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
  require_relative 'random/ext'
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.0
4
+ version: 0.6.1
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.3
18
+ version: 0.9.9
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.3
25
+ version: 0.9.9
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.0/
56
+ documentation_uri: https://gemdocs.org/gems/numo-random/0.6.1/
57
57
  rubygems_mfa_required: 'true'
58
58
  rdoc_options: []
59
59
  require_paths: