u-mann-whitney 0.2.0 → 0.2.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
  SHA1:
3
- metadata.gz: 112da382ec63a2542f288a107c5146a085fddf07
4
- data.tar.gz: fcd41bb66d898a600d7612a589adcf9327725f9b
3
+ metadata.gz: 0fd3047ad35303f27bce3346ddacaeec671a1f96
4
+ data.tar.gz: 134ae969dfe9baede87076ec6620e208cef9feae
5
5
  SHA512:
6
- metadata.gz: 68639f69f30c5a40beca736cb35525116efeda5dfa7d94f340eb22649e0c338b1e14d83b90eec764ffe85642ef4deb8fdb3c04574c6bd07cd3e07e146de9714c
7
- data.tar.gz: 7de9b2175b79298bb2b2ea76471f79dccdb93d32e5eb8b7bf9dc9ced607117db736a49d96fe9c5871d00d0f450390a2dfed6c7e0ba5600bad180ea43d11eb975
6
+ metadata.gz: 1cf5f5000ebc4e4dfaec751b3e4dab394a45d80856a4eeb15b11141f04bd0debd4d55955d4e2635fc63f425c5381cb82d0e0c5c6c5c7439a4110d9f14c879481
7
+ data.tar.gz: b512e4af68f26063553f4f0ff548501e8184564634bb4bfeca26094158feaee96b3f611b057a629a3a3a42f4b9113106e2d74b787d1277f29d7f0d5526851873
@@ -1,6 +1,6 @@
1
1
  require 'u_mann_whitney/version'
2
2
  require 'distribution'
3
- require 'daru'
3
+ require 'u_mann_whitney/silent_daru'
4
4
 
5
5
  #
6
6
  # = U Mann-Whitney test
@@ -0,0 +1,9 @@
1
+ # Daru makes a lot of noise about optional dependencies. We don't want
2
+ # them, never will.
3
+ begin
4
+ original_stderr = $stderr
5
+ $stderr = File.open(File::NULL, "w")
6
+ require 'daru'
7
+ ensure
8
+ $stderr = original_stderr
9
+ end
@@ -1,3 +1,3 @@
1
1
  class UMannWhitney
2
- VERSION = "0.2.0"
2
+ VERSION = "0.2.1"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: u-mann-whitney
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.0
4
+ version: 0.2.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Claudio Bustos
@@ -10,7 +10,7 @@ authors:
10
10
  autorequire:
11
11
  bindir: exe
12
12
  cert_chain: []
13
- date: 2018-01-08 00:00:00.000000000 Z
13
+ date: 2018-01-19 00:00:00.000000000 Z
14
14
  dependencies:
15
15
  - !ruby/object:Gem::Dependency
16
16
  name: daru
@@ -106,6 +106,7 @@ files:
106
106
  - bin/rspec
107
107
  - bin/setup
108
108
  - lib/u_mann_whitney.rb
109
+ - lib/u_mann_whitney/silent_daru.rb
109
110
  - lib/u_mann_whitney/version.rb
110
111
  - u-mann-whitney.gemspec
111
112
  homepage: https://github.com/movableink/u-mann-whitney