creation_report 0.0.4 → 0.0.5

Sign up to get free protection for your applications and to get access to all the features.
@@ -1,3 +1,3 @@
1
1
  module CreationReport
2
- VERSION = "0.0.4"
2
+ VERSION = "0.0.5"
3
3
  end
@@ -20,12 +20,9 @@ class DataSet::HourlyDataSet < DataSet
20
20
 
21
21
  protected
22
22
  def fill_with_zeroes( hours )
23
- puts "Filling to #{@count}..."
24
- (0..@count).each do |i|
25
- puts "Adding #{i.hours.ago.strftime("%Y-%m-%d %H")}"
23
+ (0..@count-1).each do |i|
26
24
  @datapoints[i.hours.ago.strftime("%Y-%m-%d %H")] ||= 0
27
25
  end
28
-
29
26
  @datapoints = @datapoints.sort
30
27
  end
31
28
  end
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: creation_report
3
3
  version: !ruby/object:Gem::Version
4
- hash: 23
4
+ hash: 21
5
5
  prerelease:
6
6
  segments:
7
7
  - 0
8
8
  - 0
9
- - 4
10
- version: 0.0.4
9
+ - 5
10
+ version: 0.0.5
11
11
  platform: ruby
12
12
  authors:
13
13
  - Jon Collier