nightfury 0.4.1 → 0.4.2
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/version.rb
CHANGED
@@ -8,6 +8,16 @@ describe Nightfury::Metric::TimeSeries do
|
|
8
8
|
end
|
9
9
|
end
|
10
10
|
|
11
|
+
describe "#meta=" do
|
12
|
+
it "should save the meta to redis" do
|
13
|
+
ts_metric = Nightfury::Metric::TimeSeries.new(:avg_time)
|
14
|
+
ts_metric.meta.should == {}
|
15
|
+
ts_metric.meta= {'count' => 10}
|
16
|
+
ts_metric_reloaded = Nightfury::Metric::TimeSeries.new(:avg_time)
|
17
|
+
ts_metric_reloaded.meta.should == {'count' => 10}
|
18
|
+
end
|
19
|
+
end
|
20
|
+
|
11
21
|
describe "Getter" do
|
12
22
|
describe "#get" do
|
13
23
|
it "should retrun nil if metric key on redis is empty" do
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: nightfury
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.4.
|
4
|
+
version: 0.4.2
|
5
5
|
prerelease:
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
@@ -10,7 +10,7 @@ authors:
|
|
10
10
|
autorequire:
|
11
11
|
bindir: bin
|
12
12
|
cert_chain: []
|
13
|
-
date: 2013-01-
|
13
|
+
date: 2013-01-28 00:00:00.000000000 Z
|
14
14
|
dependencies: []
|
15
15
|
description: Nightfury is a reporting/analytics backend written on Redis
|
16
16
|
email:
|