numo-random 0.5.0 → 0.5.1

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: d9c0d26c2b1751451a84c8b53c6e38b9257a82ff7d2c3479bd94d7311cfb1628
4
- data.tar.gz: ae9262ff84d81abb58af7d4856e0936160c33f3a824818515878ae97ce3c9ea0
3
+ metadata.gz: ffdaa65d4b6d47411f6012be28d855af1e67ac7b80702d780cb4add53e48ad7f
4
+ data.tar.gz: 614eeb1dcdf2ea7563ac7cfab1c0200a698df99e33126b7ce16ae86afc109866
5
5
  SHA512:
6
- metadata.gz: f153a0090d65b3ee39d5f8cde36a3669e0d12b6e4f84c56045156c42c2f5fe7dfe3de7b6d649c994bafec730ff8bbcaff09e9befa6aba04e9b5fd0d77dae8d91
7
- data.tar.gz: 27af398428b05b955c690f36d948112329484f47146631b2a4f58ef60551a84039144c387e96ad49ee0d13815225930100659823ece1040fb59898e73c13dc0d
6
+ metadata.gz: af4074175b9daf0547d58c603c9c26c48079fdc844fb16ebe58ecbe5a9842f4f4fcf4ac6ca25af6dde870498326fc4ed8617331cc423fd283d2ecfcdc631101b
7
+ data.tar.gz: 48511c4ab7b969c69cd55678e6a35d5355e6838f0fe220f8185146c70529e3e88de18f6cab3ffa8aa5d560557cc11ec18bb59ee6ac6b33a0cea4589ba1c98743
data/CHANGELOG.md CHANGED
@@ -1,4 +1,9 @@
1
+ ## [0.5.1]
2
+
3
+ - Fix build failure with Xcode 14 and Ruby 3.1.x.
4
+
1
5
  ## [0.5.0]
6
+
2
7
  - Support 32-bit PCG and Mersenne Twister.
3
8
 
4
9
  ```ruby
@@ -12,17 +17,22 @@ rng = Numo::Random::Generator.new(algorithm: 'mt64')
12
17
  ```
13
18
 
14
19
  ## [0.4.0]
20
+
15
21
  - Add method for random number generation with bernoulli distribution: bernoulli, binomial, negative_binomial, and geometric.
16
22
 
17
23
  ## [0.3.0]
24
+
18
25
  - Change native extension filename.
19
26
  - Add methods for random number generation with poisson distributions: poisson, exponential, gamma, gumbel, and weibull.
20
27
 
21
28
  ## [0.2.0]
29
+
22
30
  - Add discrete method.
23
31
 
24
32
  ### Breaking Changes
33
+
25
34
  - Change to return array for all methods that fill array with random numbers in Generator class.
26
35
 
27
36
  ## [0.1.0]
37
+
28
38
  - Initial release.
@@ -26,4 +26,10 @@ $CXXFLAGS << " -std=c++11"
26
26
  $INCFLAGS << " -I$(srcdir)/src"
27
27
  $VPATH << "$(srcdir)/src"
28
28
 
29
+ if RUBY_PLATFORM.match?(/darwin/) && Gem::Version.new('3.1.0') <= Gem::Version.new(RUBY_VERSION)
30
+ if try_link('int main(void){return 0;}', '-Wl,-undefined,dynamic_lookup')
31
+ $LDFLAGS << ' -Wl,-undefined,dynamic_lookup'
32
+ end
33
+ end
34
+
29
35
  create_makefile("numo/random/ext")
@@ -3,6 +3,6 @@
3
3
  module Numo
4
4
  module Random
5
5
  # The version of Numo::Random you install.
6
- VERSION = '0.5.0'
6
+ VERSION = '0.5.1'
7
7
  end
8
8
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: numo-random
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.5.0
4
+ version: 0.5.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - yoshoku
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2022-11-20 00:00:00.000000000 Z
11
+ date: 2022-11-27 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: numo-narray
@@ -71,7 +71,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
71
71
  - !ruby/object:Gem::Version
72
72
  version: '0'
73
73
  requirements: []
74
- rubygems_version: 3.3.7
74
+ rubygems_version: 3.3.26
75
75
  signing_key:
76
76
  specification_version: 4
77
77
  summary: Numo::Random provides random number generation with several distributions