pulse_meter_core 0.5.1 → 0.5.2
Sign up to get free protection for your applications and to get access to all the features.
data/pulse_meter_core.gemspec
CHANGED
@@ -15,7 +15,7 @@ Gem::Specification.new do |gem|
|
|
15
15
|
gem.test_files = gem.files.grep(%r{^(test|spec|features)/})
|
16
16
|
gem.name = "pulse_meter_core"
|
17
17
|
gem.require_paths = ["lib"]
|
18
|
-
gem.version = "0.5.
|
18
|
+
gem.version = "0.5.2"
|
19
19
|
|
20
20
|
gem.add_runtime_dependency('json')
|
21
21
|
gem.add_runtime_dependency('redis')
|
@@ -2,7 +2,7 @@ require 'spec_helper'
|
|
2
2
|
|
3
3
|
describe PulseMeter::Sensor::Timelined::HashedCounter do
|
4
4
|
it_should_behave_like "timeline sensor", {}, {:foo => 1}
|
5
|
-
it_should_behave_like "timelined subclass", [{:foo => 1}, {:foo => 2}], {:foo => 3
|
6
|
-
it_should_behave_like "timelined subclass", [{:foo => 1}, {:foo => :bad_value}], {:foo => 1
|
7
|
-
it_should_behave_like "timelined subclass", [{:foo => 1}, {:boo => 2}], {:foo => 1, :boo => 2
|
5
|
+
it_should_behave_like "timelined subclass", [{:foo => 1}, {:foo => 2}], {:foo => 3}.to_json
|
6
|
+
it_should_behave_like "timelined subclass", [{:foo => 1}, {:foo => :bad_value}], {:foo => 1}.to_json
|
7
|
+
it_should_behave_like "timelined subclass", [{:foo => 1}, {:boo => 2}], {:foo => 1, :boo => 2}.to_json
|
8
8
|
end
|