carbios 0.0.3 → 0.0.4

Sign up to get free protection for your applications and to get access to all the features.
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- carbios (0.0.1)
4
+ carbios (0.0.3)
5
5
  graphite
6
6
 
7
7
  GEM
@@ -31,7 +31,7 @@ class PerfData
31
31
  else
32
32
  raise "Cannot find #{SERVICEKEY} or #{HOSTKEY} keys"
33
33
  end
34
- @perfdata = Hash[@checkdata[@key].scan(/(\S+)=(\d+(?:\.\d+)?)\S*\s?/)]
34
+ @perfdata = Hash[@checkdata[@key].scan(/(\S+)=(-?\d+(?:\.\d+)?)\S*\s?/)]
35
35
  end
36
36
 
37
37
  def normalize_perfdata
@@ -1,3 +1,3 @@
1
1
  module Carbios
2
- VERSION = "0.0.3"
2
+ VERSION = "0.0.4"
3
3
  end
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: carbios
3
3
  version: !ruby/object:Gem::Version
4
- hash: 25
4
+ hash: 23
5
5
  prerelease:
6
6
  segments:
7
7
  - 0
8
8
  - 0
9
- - 3
10
- version: 0.0.3
9
+ - 4
10
+ version: 0.0.4
11
11
  platform: ruby
12
12
  authors:
13
13
  - Aaron Brown
@@ -15,7 +15,7 @@ autorequire:
15
15
  bindir: bin
16
16
  cert_chain: []
17
17
 
18
- date: 2012-10-31 00:00:00 Z
18
+ date: 2013-03-12 00:00:00 Z
19
19
  dependencies:
20
20
  - !ruby/object:Gem::Dependency
21
21
  name: graphite
@@ -90,3 +90,4 @@ specification_version: 3
90
90
  summary: Nagios perfdata to Graphite/Carbon connector
91
91
  test_files: []
92
92
 
93
+ has_rdoc: