pulse_meter_cli 0.4.14 → 0.4.15
Sign up to get free protection for your applications and to get access to all the features.
- data/lib/cmd.rb +1 -1
- data/pulse_meter_cli.gemspec +1 -1
- metadata +1 -1
data/lib/cmd.rb
CHANGED
@@ -70,7 +70,7 @@ module Cmd
|
|
70
70
|
with_safe_restore_of(name) do |sensor|
|
71
71
|
now = Time.now
|
72
72
|
puts sensor.
|
73
|
-
timeline_within(now - seconds, now, true).
|
73
|
+
timeline_within(now - seconds.to_i, now, true).
|
74
74
|
map {|data| [data.start_time, data.value || '']}.
|
75
75
|
to_table(options[:format])
|
76
76
|
end
|
data/pulse_meter_cli.gemspec
CHANGED
@@ -14,7 +14,7 @@ Gem::Specification.new do |gem|
|
|
14
14
|
gem.test_files = gem.files.grep(%r{^(test|spec|features)/})
|
15
15
|
gem.name = "pulse_meter_cli"
|
16
16
|
gem.require_paths = ["lib"]
|
17
|
-
gem.version = "0.4.
|
17
|
+
gem.version = "0.4.15"
|
18
18
|
|
19
19
|
gem.add_runtime_dependency('pulse_meter_core')
|
20
20
|
gem.add_runtime_dependency('terminal-table')
|