lib/tabs/metrics/counter.rb in tabs-0.8.2 vs lib/tabs/metrics/counter.rb in tabs-0.9.0

- old
+ new

@@ -10,10 +10,10 @@ @key = key end def increment(timestamp=Time.now) timestamp.utc - Tabs::RESOLUTIONS.each do |resolution| + Tabs::Resolution.all.each do |resolution| increment_resolution(resolution, timestamp) end increment_total true end