to_histogram 1.0.0 → 1.0.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: 58c176192de9ba9ed43fb91778c36eed19fc1c5d
4
- data.tar.gz: d830c2a73ac48d2e5d88f8ffbad6297c76414c58
3
+ metadata.gz: 162e10ea64eef54086423d4d614eb4773504cbc3
4
+ data.tar.gz: a9af663142333bf284fcf931f368d56b915a321c
5
5
  SHA512:
6
- metadata.gz: af37532d0ffd6715bbc0c4fb02e5692d81861cd5b10e160d8dad1dbaf1c89a2c863a88b9e4f3fe5b7181c9b9b4a1119e480ed15568eda53d490ca16ebcb5ed77
7
- data.tar.gz: 86cad0be42831b5693b7559d68aabca95232a2bb0589da4ae0c995a7835ba4659285c383d10afe118e3864c254d9f3136c68ae9a521596ea5146d6ceb2c9cc78
6
+ metadata.gz: 989f868d25eca22f80a09992d67a193009343c204ca7ab37562848e3f2cef9eccd77302ed6a8ae6a250085d7a9dcb6f9b78ab7b3711933d2c78dcb7921678892
7
+ data.tar.gz: bc4232aaf2d2bd80259133c102de38bb30d4fc7ced0437eda25e75976ad6270c5b2029c9d89b5e95ada640bc0bb8952f21a27ba6aeb07a6882a308e6054e26d3
data/lib/stdout_print.rb CHANGED
@@ -20,9 +20,6 @@ module ToHistogram
20
20
  printf("%-20s | %-20s | %-30s | %-20s \n", range, frequency, ('%.4f' % percentage), stars)
21
21
  last_value = b[-1]
22
22
  end
23
-
24
- puts "\n\n"
25
- return nil
26
23
  end
27
24
 
28
25
  end
data/lib/to_histogram.rb CHANGED
@@ -8,6 +8,7 @@ class Array
8
8
 
9
9
  stdout_print.invoke
10
10
 
11
- return histogram
11
+ puts "\n\n"
12
+ return nil
12
13
  end
13
14
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: to_histogram
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.0
4
+ version: 1.0.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Brett Sykes