ruby-statistics 1.0.0 → 1.0.2

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
  SHA1:
3
- metadata.gz: a98a2e5755e14ddcfab200641afa2e3bc931a188
4
- data.tar.gz: 8532c77ff003ee31a0ea3989e0e22f382c3272e7
3
+ metadata.gz: 7e8b5d9c7b99a8d2bd81f0976ff883558053fbd1
4
+ data.tar.gz: 886fa6a14b3620dcb81be856da2ba7d5539d0d2b
5
5
  SHA512:
6
- metadata.gz: 3582142dd14dd4076c9972b35d0d00599d55376659990111a7012ed574c098f3cf635274259bc013d3d1d6600d9308920274cc77e9ed8ee587d0f73b9f9834e0
7
- data.tar.gz: cae3993eb2452cbcce670c6b1262b74e9b6c516a0e80820c1f3b20ec1ec0c0a65de6f138383814c8aae5aa82aa6e8b1a799a9848ed79564fe609bce5afe9e014
6
+ metadata.gz: 726ac86977b1354ddf1e82fd7d7794b1e14717f9132e2cc3544a28fcc130d76a8ac839f8a5e0280a98dc4e0a9620889f999a434c7349cfead7a8d5bf6c580f05
7
+ data.tar.gz: 605336ac006a155924d1fea0252577c5cab88d8375be119856dc80d64ed3cd4780af8136f496ec211a671af1d48d76de55e77f0a8ff2315e0421e2806284fe14
data/lib/statistics.rb CHANGED
@@ -1,7 +1,7 @@
1
1
  require 'descriptive_statistics'
2
2
 
3
- Dir['./lib/statistics/**/*.rb'].each {|file| require file }
4
- require_relative './math'
3
+ require File.dirname(__FILE__) + '/math'
4
+ Dir[ File.dirname(__FILE__) + '/statistics/**/*.rb'].each {|file| require file }
5
5
 
6
6
  module Statistics
7
7
  # Your code goes here...
@@ -1,4 +1,4 @@
1
- Dir['./lib/statistics/distribution/**/*.rb'].each {|file| require file }
1
+ Dir[File.dirname(__FILE__) + '/distribution/**/*.rb'].each {|file| require file }
2
2
 
3
3
  module Statistics
4
4
  module Distribution
@@ -0,0 +1,11 @@
1
+ Dir[File.dirname(__FILE__) + '/statistical_test/**/*.rb'].each {|file| require file }
2
+
3
+ module Statistics
4
+ module StatisticalTest
5
+ end
6
+ end
7
+
8
+ # If StatisticalTest is not defined, setup alias.
9
+ if defined?(Statistics) && !(defined?(StatisticalTest))
10
+ StatisticalTest = Statistics::StatisticalTest
11
+ end
@@ -1,3 +1,3 @@
1
1
  module Statistics
2
- VERSION = "1.0.0"
2
+ VERSION = "1.0.2"
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: ruby-statistics
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.0
4
+ version: 1.0.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - esteban zapata
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2017-10-16 00:00:00.000000000 Z
11
+ date: 2017-10-17 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler
@@ -129,6 +129,7 @@ files:
129
129
  - lib/statistics/distribution/t_student.rb
130
130
  - lib/statistics/distribution/uniform.rb
131
131
  - lib/statistics/distribution/weibull.rb
132
+ - lib/statistics/statistical_test.rb
132
133
  - lib/statistics/statistical_test/f_test.rb
133
134
  - lib/statistics/statistical_test/t_test.rb
134
135
  - lib/statistics/version.rb