nightfury 0.6 → 0.6.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- data/lib/nightfury/metric.rb +1 -1
- data/lib/nightfury/metric/time_series.rb +1 -0
- data/lib/nightfury/version.rb +1 -1
- metadata +1 -1
data/lib/nightfury/metric.rb
CHANGED
@@ -106,6 +106,7 @@ module Nightfury
|
|
106
106
|
case step
|
107
107
|
when :minute then time.round(60)
|
108
108
|
when :hour then time.round(1.hour)
|
109
|
+
when :day then time.round(1.day)
|
109
110
|
when :week then time.round(1.week)
|
110
111
|
when :month then time.round(Time.days_in_month(time.month, time.year))
|
111
112
|
end
|
data/lib/nightfury/version.rb
CHANGED