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.
Files changed (3) hide show
  1. data/lib/cmd.rb +1 -1
  2. data/pulse_meter_cli.gemspec +1 -1
  3. 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
@@ -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.14"
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')
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: pulse_meter_cli
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.4.14
4
+ version: 0.4.15
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors: