to_histogram 1.0.13 → 1.0.14

Sign up to get free protection for your applications and to get access to all the features.
Files changed (3) hide show
  1. checksums.yaml +4 -4
  2. data/lib/to_histogram.rb +1 -1
  3. metadata +1 -1
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 4f7a5efff36a9fd8c54c233cfdc39985b4877a8d
4
- data.tar.gz: 5af300736977af50a2feb8959c796706b9f3f227
3
+ metadata.gz: c7008f7a14f4a5c752f833e60f80357bd2282d8d
4
+ data.tar.gz: 6ec8b6c9d8cc9c6a299906e6101b67cb6d5fee94
5
5
  SHA512:
6
- metadata.gz: 359d663aa9272e65df320de8dc23c0d641e405d6484a1626fb915ac50c1bbc0a554a011947bb3f6841dfc176af05826adf80e624b33d929e336fc701e8102def
7
- data.tar.gz: e27aaa6a607b942b75e73e7e51725c2dc482260f4755bc7a980fca293812a4ebb193b252a01f1b335445b55f8d097020f944900198024f9c82caa9e95d3c6f18
6
+ metadata.gz: fcfbf59ad4090be49a7e2221279bf8dbcefe6f994ad91f7e81c90ed109098f26ed377d6edae30a5f7048cf406cc71ce4bcf6dbe5b115f0f2870fb2b80f739a17
7
+ data.tar.gz: ae9e34f448578d2e86e7e27584fea3201ba64f3e240a78b4a771afd7fe5626fba48270a1013f9cc125e4ec4c593fdd95bdaf04fc97c7a0700fdb425fbefa9579
data/lib/to_histogram.rb CHANGED
@@ -4,7 +4,7 @@ require_relative './stdout_print'
4
4
  class Array
5
5
  def to_histogram(num_buckets: 20, bucket_width: 'auto', percentile: 100, print_info: true)
6
6
  histogram = ToHistogram::Histogram.new(self, num_buckets: num_buckets, bucket_width: bucket_width, percentile: percentile)
7
- stdout_print = ToHistogram::StdoutPrint.new(histogram, self)
7
+ stdout_print = ToHistogram::StdoutPrint.new(histogram)
8
8
 
9
9
  stdout_print.invoke if print_info
10
10
 
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.13
4
+ version: 1.0.14
5
5
  platform: ruby
6
6
  authors:
7
7
  - Brett Sykes