srvmonitor 0.0.3 → 0.0.4

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.
@@ -37,7 +37,7 @@ module SrvMonitor
37
37
  end
38
38
 
39
39
  def output
40
- st = "#{@status}\tresponse code: #{@response_code} response time: #{@response_time.round}ms"
40
+ st = "#{@status}\tresponse code: #{@response_code} response time: #{@response_time.to_f.round}ms"
41
41
  st = "[#{@server.name}]\t#{st}"
42
42
  st
43
43
  end
@@ -1,5 +1,5 @@
1
1
  module SrvMonitor
2
- PATCH = 3
2
+ PATCH = 4
3
3
  MINOR = 0
4
4
  MAJOR = 0
5
5
  VERSION = "#{MAJOR}.#{MINOR}.#{PATCH}".freeze
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: srvmonitor
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.3
4
+ version: 0.0.4
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2011-09-21 00:00:00.000000000Z
12
+ date: 2011-09-23 00:00:00.000000000Z
13
13
  dependencies: []
14
14
  description: Server monitor.
15
15
  email: clickjogos@clickjogos.com.br