distribution 0.6.0 → 0.8.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.
Files changed (117) hide show
  1. checksums.yaml +7 -0
  2. data/.gitignore +7 -0
  3. data/.travis.yml +13 -0
  4. data/.yardopts +5 -0
  5. data/Gemfile +5 -0
  6. data/History.txt +24 -8
  7. data/LICENCE.md +26 -0
  8. data/README.md +155 -0
  9. data/Rakefile +15 -19
  10. data/benchmark/binomial_coefficient.rb +19 -23
  11. data/benchmark/binomial_coefficient/experiment.rb +33 -36
  12. data/benchmark/factorial_hash.rb +7 -8
  13. data/benchmark/factorial_method.rb +4 -6
  14. data/benchmark/odd.rb +6 -7
  15. data/benchmark/power.rb +11 -11
  16. data/bin/distribution +26 -26
  17. data/data/template/spec.erb +7 -6
  18. data/distribution.gemspec +25 -0
  19. data/lib/distribution.rb +79 -124
  20. data/lib/distribution/beta.rb +6 -8
  21. data/lib/distribution/beta/gsl.rb +14 -9
  22. data/lib/distribution/beta/java.rb +1 -1
  23. data/lib/distribution/beta/ruby.rb +41 -7
  24. data/lib/distribution/binomial.rb +10 -11
  25. data/lib/distribution/binomial/gsl.rb +6 -5
  26. data/lib/distribution/binomial/java.rb +1 -1
  27. data/lib/distribution/binomial/ruby.rb +22 -15
  28. data/lib/distribution/bivariatenormal.rb +4 -5
  29. data/lib/distribution/bivariatenormal/gsl.rb +2 -2
  30. data/lib/distribution/bivariatenormal/java.rb +1 -1
  31. data/lib/distribution/bivariatenormal/ruby.rb +245 -254
  32. data/lib/distribution/chisquare.rb +8 -10
  33. data/lib/distribution/chisquare/gsl.rb +24 -19
  34. data/lib/distribution/chisquare/java.rb +1 -1
  35. data/lib/distribution/chisquare/ruby.rb +60 -55
  36. data/lib/distribution/chisquare/statistics2.rb +16 -13
  37. data/lib/distribution/distributable.rb +40 -0
  38. data/lib/distribution/exponential.rb +4 -5
  39. data/lib/distribution/exponential/gsl.rb +13 -9
  40. data/lib/distribution/exponential/ruby.rb +17 -11
  41. data/lib/distribution/f.rb +10 -11
  42. data/lib/distribution/f/gsl.rb +26 -22
  43. data/lib/distribution/f/java.rb +1 -1
  44. data/lib/distribution/f/ruby.rb +104 -105
  45. data/lib/distribution/f/statistics2.rb +22 -19
  46. data/lib/distribution/gamma.rb +5 -7
  47. data/lib/distribution/gamma/gsl.rb +13 -9
  48. data/lib/distribution/gamma/java.rb +1 -1
  49. data/lib/distribution/gamma/ruby.rb +5 -11
  50. data/lib/distribution/hypergeometric.rb +5 -8
  51. data/lib/distribution/hypergeometric/gsl.rb +5 -6
  52. data/lib/distribution/hypergeometric/java.rb +1 -1
  53. data/lib/distribution/hypergeometric/ruby.rb +34 -35
  54. data/lib/distribution/logistic.rb +6 -9
  55. data/lib/distribution/logistic/ruby.rb +14 -9
  56. data/lib/distribution/lognormal.rb +37 -0
  57. data/lib/distribution/lognormal/gsl.rb +21 -0
  58. data/lib/distribution/lognormal/ruby.rb +16 -0
  59. data/lib/distribution/math_extension.rb +187 -231
  60. data/lib/distribution/math_extension/chebyshev_series.rb +281 -272
  61. data/lib/distribution/math_extension/erfc.rb +28 -31
  62. data/lib/distribution/math_extension/exponential_integral.rb +17 -17
  63. data/lib/distribution/math_extension/gammastar.rb +19 -20
  64. data/lib/distribution/math_extension/gsl_utilities.rb +12 -12
  65. data/lib/distribution/math_extension/incomplete_beta.rb +52 -61
  66. data/lib/distribution/math_extension/incomplete_gamma.rb +166 -168
  67. data/lib/distribution/math_extension/log_utilities.rb +20 -22
  68. data/lib/distribution/normal.rb +11 -13
  69. data/lib/distribution/normal/gsl.rb +13 -10
  70. data/lib/distribution/normal/java.rb +30 -1
  71. data/lib/distribution/normal/ruby.rb +69 -59
  72. data/lib/distribution/normal/statistics2.rb +5 -2
  73. data/lib/distribution/normalmultivariate.rb +64 -64
  74. data/lib/distribution/poisson.rb +12 -14
  75. data/lib/distribution/poisson/gsl.rb +7 -7
  76. data/lib/distribution/poisson/java.rb +26 -0
  77. data/lib/distribution/poisson/ruby.rb +38 -9
  78. data/lib/distribution/shorthand.rb +17 -0
  79. data/lib/distribution/t.rb +16 -16
  80. data/lib/distribution/t/gsl.rb +27 -24
  81. data/lib/distribution/t/java.rb +1 -1
  82. data/lib/distribution/t/ruby.rb +99 -100
  83. data/lib/distribution/t/statistics2.rb +19 -19
  84. data/lib/distribution/uniform.rb +26 -0
  85. data/lib/distribution/uniform/gsl.rb +36 -0
  86. data/lib/distribution/uniform/ruby.rb +91 -0
  87. data/lib/distribution/version.rb +3 -0
  88. data/lib/distribution/weibull.rb +10 -0
  89. data/lib/distribution/weibull/gsl.rb +21 -0
  90. data/lib/distribution/weibull/ruby.rb +34 -0
  91. data/spec/beta_spec.rb +48 -50
  92. data/spec/binomial_spec.rb +80 -84
  93. data/spec/bivariatenormal_spec.rb +28 -35
  94. data/spec/chisquare_spec.rb +49 -52
  95. data/spec/distribution_spec.rb +11 -11
  96. data/spec/exponential_spec.rb +48 -39
  97. data/spec/f_spec.rb +73 -71
  98. data/spec/gamma_spec.rb +50 -53
  99. data/spec/hypergeometric_spec.rb +63 -69
  100. data/spec/logistic_spec.rb +31 -37
  101. data/spec/lognormal_spec.rb +54 -0
  102. data/spec/math_extension_spec.rb +192 -209
  103. data/spec/normal_spec.rb +80 -73
  104. data/spec/poisson_spec.rb +78 -36
  105. data/spec/shorthand_spec.rb +19 -22
  106. data/spec/spec_helper.rb +31 -6
  107. data/spec/t_spec.rb +63 -77
  108. data/spec/uniform_spec.rb +154 -0
  109. data/spec/weibull_spec.rb +17 -0
  110. data/vendor/java/commons-math-2.2.jar +0 -0
  111. metadata +91 -111
  112. data.tar.gz.sig +0 -0
  113. data/.autotest +0 -23
  114. data/.gemtest +0 -0
  115. data/Manifest.txt +0 -95
  116. data/README.txt +0 -100
  117. metadata.gz.sig +0 -0
@@ -0,0 +1,154 @@
1
+ require File.expand_path(File.dirname(__FILE__) + "/spec_helper.rb")
2
+ require 'distribution/uniform'
3
+
4
+ describe Distribution::Uniform do
5
+
6
+ shared_examples_for "uniform engine" do
7
+
8
+ it ".rng should generate sequences with the right mean & variance" do
9
+ skip("This method is very innacurrate due to the low convergence rate")
10
+ # samples = 100_000
11
+ # sum = 0
12
+ # ss = 0
13
+ # lower = 0
14
+ # upper = 20
15
+
16
+ # # Expectations
17
+ # exp_mean = (upper + lower) / 2
18
+ # exp_variance = ((upper - lower) ** 2) / 12
19
+ # rng = @engine.rng(lower, upper)
20
+
21
+ # samples.times do
22
+ # v = rng.call
23
+ # sum += v
24
+ # ss += (v - exp_mean) ** 2
25
+ # end
26
+
27
+ # mean = sum.to_f / samples
28
+ # variance = ss.to_f / samples
29
+ # mean.should be_within(1e-5).of(exp_mean)
30
+ # variance.should be_within(1e-5).of(exp_variance)
31
+ end
32
+
33
+ it ".rng with a specified seed should be reproducible" do
34
+ seed = Random.new_seed.modulo 100000007
35
+ gen_a = @engine.rng(0, 1, seed)
36
+ gen_b = @engine.rng(0, 1, seed)
37
+
38
+ expect((gen_a.call)).to eq(gen_b.call)
39
+ end
40
+
41
+ it ".pdf should return correct pdf for values within the defined range" do
42
+ if @engine.respond_to? :pdf
43
+ 10.times do
44
+ low, width = rand, rand
45
+ x = low + rand * width
46
+ epdf = 1.0 / width
47
+ expect(@engine.pdf(x, low, low + width)).to be_within(1e-10).of(epdf)
48
+ end
49
+
50
+ else
51
+ pending("No #{@engine}.pdf")
52
+ end
53
+ end
54
+
55
+ it ".pdf should return 0 for values outside the defined range" do
56
+ if @engine.respond_to? :pdf
57
+ 10.times do
58
+ low, width = rand, rand
59
+ # x lies just outside of where the pdf exists as a non-zero value
60
+ # A small amount (1e-10) is removed from bad_x to ensure no overlap
61
+ x = low - (1 + rand) * width - 1e-10
62
+ expect(@engine.pdf(x, low, low + width)).to be_within(1e-10).of(0.0)
63
+ end
64
+
65
+ else
66
+ pending("No #{@engine}.pdf")
67
+ end
68
+ end
69
+
70
+
71
+ it ".cdf should return 0 for values smaller than the lower bound" do
72
+ if @engine.respond_to? :cdf
73
+ low, width = rand, rand
74
+ x = low - rand * width
75
+ expect(@engine.cdf(x, low, low + width)).to be_within(1e-10).of(0.0)
76
+ else
77
+ pending("No #{@engine}.cdf")
78
+ end
79
+ end
80
+
81
+ it ".cdf should return correct cdf for x within defined range" do
82
+ if @engine.respond_to? :cdf
83
+ low, width = rand, rand
84
+ x = low + rand * width
85
+ ecdf = (x - low) / width
86
+ expect(@engine.cdf(x, low, low + width)).to be_within(1e-10).of(ecdf)
87
+ else
88
+ pending("No #{@engine}.cdf")
89
+ end
90
+ end
91
+
92
+ it ".cdf should return 1 for values greater than the upper bound" do
93
+ if @engine.respond_to? :cdf
94
+ low, width = rand, rand
95
+ x = low + (1 + rand) * (width)
96
+ expect(@engine.cdf(x, low, low + width)).to be_within(1e-10).of(1.0)
97
+ else
98
+ pending("No #{@engine}.cdf")
99
+ end
100
+ end
101
+
102
+ it ".quantile should return correct inverse cdf" do
103
+ if @engine.respond_to? :quantile
104
+ low, width = rand, rand
105
+ scale = rand
106
+ x = low + scale * width
107
+ qn = (x - low) / width
108
+ expect(@engine.quantile(qn, low, low + width)).to be_within(1e-10).of(x)
109
+ else
110
+ pending("No #{@engine}.quantile")
111
+ end
112
+ end
113
+
114
+ it ".p_value should return same result as .quantile" do
115
+ if @engine.respond_to? :p_value and @engine.respond_to? :quantile
116
+ low, width = rand, rand
117
+ scale = rand
118
+ x = low + scale * width
119
+ qn = (x - low) / width
120
+
121
+ expect(@engine.quantile(qn, low, low + width)).to eq(@engine.p_value(qn, low, low + width))
122
+ else
123
+ pending("No #{@engine}.p_value")
124
+ end
125
+ end
126
+ end
127
+
128
+
129
+ describe "singleton" do
130
+ before do
131
+ @engine = Distribution::Uniform
132
+ end
133
+ it_should_behave_like "uniform engine"
134
+ end
135
+
136
+ describe Distribution::Uniform::Ruby_ do
137
+ before do
138
+ @engine = Distribution::Uniform::Ruby_
139
+ end
140
+ it_should_behave_like "uniform engine"
141
+
142
+ end
143
+
144
+ if Distribution.has_gsl?
145
+ describe Distribution::Uniform::GSL_ do
146
+ before do
147
+ @engine = Distribution::Uniform::GSL_
148
+ end
149
+ it_should_behave_like "uniform engine"
150
+ end
151
+ end
152
+
153
+
154
+ end
@@ -0,0 +1,17 @@
1
+ require File.expand_path(File.dirname(__FILE__) + '/spec_helper.rb')
2
+
3
+ include ExampleWithGSL
4
+
5
+ describe Distribution::Weibull do
6
+ # shared_examples for "Weibull engine" do
7
+ it 'should return correct pdf' do
8
+ expect(Distribution::Weibull.pdf(2, 1, 1)).to be_within(1e-3).of(0.13533)
9
+ end
10
+ it 'should return correct cdf' do
11
+ expect(Distribution::Weibull.cdf(2, 1, 1)).to be_within(1e-3).of(0.86466)
12
+ end
13
+ it 'should return correct p-value' do
14
+ expect(Distribution::Weibull.p_value(0.86466, 1, 1)).to be_within(1e-3).of(2.0)
15
+ end
16
+ # end
17
+ end
metadata CHANGED
@@ -1,104 +1,75 @@
1
- --- !ruby/object:Gem::Specification
1
+ --- !ruby/object:Gem::Specification
2
2
  name: distribution
3
- version: !ruby/object:Gem::Version
4
- prerelease:
5
- version: 0.6.0
3
+ version: !ruby/object:Gem::Version
4
+ version: 0.8.0
6
5
  platform: ruby
7
- authors:
6
+ authors:
8
7
  - Claudio Bustos
9
- autorequire:
8
+ - Carlos Agarie
9
+ autorequire:
10
10
  bindir: bin
11
- cert_chain:
12
- - |
13
- -----BEGIN CERTIFICATE-----
14
- MIIDMjCCAhqgAwIBAgIBADANBgkqhkiG9w0BAQUFADA/MREwDwYDVQQDDAhjbGJ1
15
- c3RvczEVMBMGCgmSJomT8ixkARkWBWdtYWlsMRMwEQYKCZImiZPyLGQBGRYDY29t
16
- MB4XDTEwMDMyOTIxMzg1NVoXDTExMDMyOTIxMzg1NVowPzERMA8GA1UEAwwIY2xi
17
- dXN0b3MxFTATBgoJkiaJk/IsZAEZFgVnbWFpbDETMBEGCgmSJomT8ixkARkWA2Nv
18
- bTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBALf8JVMGqE7m5kYb+PNN
19
- neZv2pcXV5fQCi6xkyG8bi2/SIFy/LyxuvLzEeOxBeaz1Be93bayIUquOIqw3dyw
20
- /KXWa31FxuNuvAm6CN8fyeRYX/ou4cw3OIUUnIvB7RMNIu4wbgeM6htV/QEsNLrv
21
- at1/mh9JpqawPrcjIOVMj4BIp67vmzJCaUf+S/H2uYtSO09F+YQE3tv85TPeRmqU
22
- yjyXyTc/oJiw1cXskUL8UtMWZmrwNLHXuZWWIMzkjiz3UNdhJr/t5ROk8S2WPznl
23
- 0bMy/PMIlAbqWolRn1zl2VFJ3TaXScbqImY8Wf4g62b/1ZSUlGrtnLNsCYXrWiso
24
- UPUCAwEAAaM5MDcwCQYDVR0TBAIwADALBgNVHQ8EBAMCBLAwHQYDVR0OBBYEFGu9
25
- rrJ1H64qRmNNu3Jj/Qjvh0u5MA0GCSqGSIb3DQEBBQUAA4IBAQCV0Unka5isrhZk
26
- GjqSDqY/6hF+G2pbFcbWUpjmC8NWtAxeC+7NGV3ljd0e1SLfoyBj4gnFtFmY8qX4
27
- K02tgSZM0eDV8TpgFpWXzK6LzHvoanuahHLZEtk/+Z885lFene+nHadkem1n9iAB
28
- cs96JO9/JfFyuXM27wFAwmfHCmJfPF09R4VvGHRAvb8MGzSVgk2i06OJTqkBTwvv
29
- JHJdoyw3+8bw9RJ+jLaNoQ+xu+1pQdS2bb3m7xjZpufml/m8zFCtjYM/7qgkKR8z
30
- /ZZt8lCiKfFArppRrZayE2FVsps4X6WwBdrKTMZ0CKSXTRctbEj1BAZ67eoTvBBt
31
- rpP0jjs0
32
- -----END CERTIFICATE-----
33
-
34
- date: 2011-08-23 00:00:00 -03:00
35
- default_executable:
36
- dependencies:
37
- - !ruby/object:Gem::Dependency
38
- name: rubyforge
39
- prerelease: false
40
- requirement: &id001 !ruby/object:Gem::Requirement
41
- none: false
42
- requirements:
11
+ cert_chain: []
12
+ date: 2020-07-05 00:00:00.000000000 Z
13
+ dependencies:
14
+ - !ruby/object:Gem::Dependency
15
+ name: bundler
16
+ requirement: !ruby/object:Gem::Requirement
17
+ requirements:
43
18
  - - ">="
44
- - !ruby/object:Gem::Version
45
- version: 2.0.4
19
+ - !ruby/object:Gem::Version
20
+ version: '0'
46
21
  type: :development
47
- version_requirements: *id001
48
- - !ruby/object:Gem::Dependency
49
- name: rspec
50
22
  prerelease: false
51
- requirement: &id002 !ruby/object:Gem::Requirement
52
- none: false
53
- requirements:
23
+ version_requirements: !ruby/object:Gem::Requirement
24
+ requirements:
25
+ - - ">="
26
+ - !ruby/object:Gem::Version
27
+ version: '0'
28
+ - !ruby/object:Gem::Dependency
29
+ name: rake
30
+ requirement: !ruby/object:Gem::Requirement
31
+ requirements:
54
32
  - - ">="
55
- - !ruby/object:Gem::Version
56
- version: "2.0"
33
+ - !ruby/object:Gem::Version
34
+ version: '0'
57
35
  type: :development
58
- version_requirements: *id002
59
- - !ruby/object:Gem::Dependency
60
- name: rubyforge
61
36
  prerelease: false
62
- requirement: &id003 !ruby/object:Gem::Requirement
63
- none: false
64
- requirements:
37
+ version_requirements: !ruby/object:Gem::Requirement
38
+ requirements:
65
39
  - - ">="
66
- - !ruby/object:Gem::Version
67
- version: "0"
40
+ - !ruby/object:Gem::Version
41
+ version: '0'
42
+ - !ruby/object:Gem::Dependency
43
+ name: rspec
44
+ requirement: !ruby/object:Gem::Requirement
45
+ requirements:
46
+ - - "~>"
47
+ - !ruby/object:Gem::Version
48
+ version: '3.2'
68
49
  type: :development
69
- version_requirements: *id003
70
- - !ruby/object:Gem::Dependency
71
- name: hoe
72
50
  prerelease: false
73
- requirement: &id004 !ruby/object:Gem::Requirement
74
- none: false
75
- requirements:
76
- - - ~>
77
- - !ruby/object:Gem::Version
78
- version: "2.12"
79
- type: :development
80
- version_requirements: *id004
81
- description: |-
82
- Statistical Distributions library. Includes Normal univariate and bivariate, T, F, Chi Square, Binomial, Hypergeometric, Exponential, Poisson, Beta and Gamma.
83
-
84
- Uses Ruby by default and C (statistics2/GSL) or Java extensions where available.
85
-
86
- Includes code from statistics2 on Normal, T, F and Chi Square ruby code [http://blade.nagaokaut.ac.jp/~sinara/ruby/math/statistics2]
87
- email:
88
- - clbustos_at_gmail.com
89
- executables:
51
+ version_requirements: !ruby/object:Gem::Requirement
52
+ requirements:
53
+ - - "~>"
54
+ - !ruby/object:Gem::Version
55
+ version: '3.2'
56
+ description: Distribution is a gem with several probabilistic distributions. Pure
57
+ Ruby is used by default, C (GSL) or Java extensions are used if available
58
+ email:
59
+ - clbustos@gmail.com
60
+ - carlos.agarie@gmail.com
61
+ executables:
90
62
  - distribution
91
63
  extensions: []
92
-
93
- extra_rdoc_files:
94
- - History.txt
95
- - Manifest.txt
96
- - README.txt
97
- files:
98
- - .autotest
64
+ extra_rdoc_files: []
65
+ files:
66
+ - ".gitignore"
67
+ - ".travis.yml"
68
+ - ".yardopts"
69
+ - Gemfile
99
70
  - History.txt
100
- - Manifest.txt
101
- - README.txt
71
+ - LICENCE.md
72
+ - README.md
102
73
  - Rakefile
103
74
  - benchmark/binomial_coefficient.rb
104
75
  - benchmark/binomial_coefficient/binomial_coefficient.ds
@@ -113,6 +84,7 @@ files:
113
84
  - data/template/distribution/gsl.erb
114
85
  - data/template/distribution/ruby.erb
115
86
  - data/template/spec.erb
87
+ - distribution.gemspec
116
88
  - lib/distribution.rb
117
89
  - lib/distribution/beta.rb
118
90
  - lib/distribution/beta/gsl.rb
@@ -132,6 +104,7 @@ files:
132
104
  - lib/distribution/chisquare/java.rb
133
105
  - lib/distribution/chisquare/ruby.rb
134
106
  - lib/distribution/chisquare/statistics2.rb
107
+ - lib/distribution/distributable.rb
135
108
  - lib/distribution/exponential.rb
136
109
  - lib/distribution/exponential/gsl.rb
137
110
  - lib/distribution/exponential/ruby.rb
@@ -150,6 +123,9 @@ files:
150
123
  - lib/distribution/hypergeometric/ruby.rb
151
124
  - lib/distribution/logistic.rb
152
125
  - lib/distribution/logistic/ruby.rb
126
+ - lib/distribution/lognormal.rb
127
+ - lib/distribution/lognormal/gsl.rb
128
+ - lib/distribution/lognormal/ruby.rb
153
129
  - lib/distribution/math_extension.rb
154
130
  - lib/distribution/math_extension/chebyshev_series.rb
155
131
  - lib/distribution/math_extension/erfc.rb
@@ -167,12 +143,21 @@ files:
167
143
  - lib/distribution/normalmultivariate.rb
168
144
  - lib/distribution/poisson.rb
169
145
  - lib/distribution/poisson/gsl.rb
146
+ - lib/distribution/poisson/java.rb
170
147
  - lib/distribution/poisson/ruby.rb
148
+ - lib/distribution/shorthand.rb
171
149
  - lib/distribution/t.rb
172
150
  - lib/distribution/t/gsl.rb
173
151
  - lib/distribution/t/java.rb
174
152
  - lib/distribution/t/ruby.rb
175
153
  - lib/distribution/t/statistics2.rb
154
+ - lib/distribution/uniform.rb
155
+ - lib/distribution/uniform/gsl.rb
156
+ - lib/distribution/uniform/ruby.rb
157
+ - lib/distribution/version.rb
158
+ - lib/distribution/weibull.rb
159
+ - lib/distribution/weibull/gsl.rb
160
+ - lib/distribution/weibull/ruby.rb
176
161
  - spec/beta_spec.rb
177
162
  - spec/binomial_spec.rb
178
163
  - spec/bivariatenormal_spec.rb
@@ -183,6 +168,7 @@ files:
183
168
  - spec/gamma_spec.rb
184
169
  - spec/hypergeometric_spec.rb
185
170
  - spec/logistic_spec.rb
171
+ - spec/lognormal_spec.rb
186
172
  - spec/math_extension_spec.rb
187
173
  - spec/normal_spec.rb
188
174
  - spec/poisson_spec.rb
@@ -190,35 +176,29 @@ files:
190
176
  - spec/spec.opts
191
177
  - spec/spec_helper.rb
192
178
  - spec/t_spec.rb
193
- - .gemtest
194
- has_rdoc: true
195
- homepage: https://github.com/clbustos/distribution
179
+ - spec/uniform_spec.rb
180
+ - spec/weibull_spec.rb
181
+ - vendor/java/commons-math-2.2.jar
182
+ homepage: https://github.com/sciruby/distribution
196
183
  licenses: []
197
-
198
- post_install_message:
199
- rdoc_options:
200
- - --main
201
- - README.txt
202
- require_paths:
184
+ metadata: {}
185
+ post_install_message:
186
+ rdoc_options: []
187
+ require_paths:
203
188
  - lib
204
- required_ruby_version: !ruby/object:Gem::Requirement
205
- none: false
206
- requirements:
189
+ required_ruby_version: !ruby/object:Gem::Requirement
190
+ requirements:
207
191
  - - ">="
208
- - !ruby/object:Gem::Version
209
- version: "0"
210
- required_rubygems_version: !ruby/object:Gem::Requirement
211
- none: false
212
- requirements:
192
+ - !ruby/object:Gem::Version
193
+ version: '0'
194
+ required_rubygems_version: !ruby/object:Gem::Requirement
195
+ requirements:
213
196
  - - ">="
214
- - !ruby/object:Gem::Version
215
- version: "0"
197
+ - !ruby/object:Gem::Version
198
+ version: '0'
216
199
  requirements: []
217
-
218
- rubyforge_project: distribution
219
- rubygems_version: 1.6.0
220
- signing_key:
221
- specification_version: 3
222
- summary: Statistical Distributions library
200
+ rubygems_version: 3.1.2
201
+ signing_key:
202
+ specification_version: 4
203
+ summary: Distribution
223
204
  test_files: []
224
-
data.tar.gz.sig DELETED
Binary file
data/.autotest DELETED
@@ -1,23 +0,0 @@
1
- # -*- ruby -*-
2
-
3
- require 'autotest/restart'
4
-
5
- # Autotest.add_hook :initialize do |at|
6
- # at.extra_files << "../some/external/dependency.rb"
7
- #
8
- # at.libs << ":../some/external"
9
- #
10
- # at.add_exception 'vendor'
11
- #
12
- # at.add_mapping(/dependency.rb/) do |f, _|
13
- # at.files_matching(/test_.*rb$/)
14
- # end
15
- #
16
- # %w(TestA TestB).each do |klass|
17
- # at.extra_class_map[klass] = "test/test_misc.rb"
18
- # end
19
- # end
20
-
21
- # Autotest.add_hook :run_command do |at|
22
- # system "rake build"
23
- # end