nagios_analyzer 0.0.4 → 0.0.5
Sign up to get free protection for your applications and to get access to all the features.
- data/.travis.yml +7 -2
- data/lib/nagios_analyzer/section.rb +9 -0
- data/lib/nagios_analyzer/status.rb +1 -1
- data/lib/nagios_analyzer/version.rb +1 -1
- metadata +49 -40
data/.travis.yml
CHANGED
@@ -13,6 +13,15 @@ module NagiosAnalyzer
|
|
13
13
|
end
|
14
14
|
end
|
15
15
|
|
16
|
+
#explicitly define NagiosAnalyzer::Section#type method in ruby 1.8
|
17
|
+
#because it returns the class in this version, hence not triggers
|
18
|
+
#method_missing to return our internal type.
|
19
|
+
if RUBY_VERSION == "1.8.7"
|
20
|
+
def type
|
21
|
+
hash[:type]
|
22
|
+
end
|
23
|
+
end
|
24
|
+
|
16
25
|
def hash
|
17
26
|
return @hash if @hash
|
18
27
|
@hash = {}
|
metadata
CHANGED
@@ -1,41 +1,46 @@
|
|
1
|
-
--- !ruby/object:Gem::Specification
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
2
|
name: nagios_analyzer
|
3
|
-
version: !ruby/object:Gem::Version
|
4
|
-
|
3
|
+
version: !ruby/object:Gem::Version
|
4
|
+
hash: 21
|
5
5
|
prerelease:
|
6
|
+
segments:
|
7
|
+
- 0
|
8
|
+
- 0
|
9
|
+
- 5
|
10
|
+
version: 0.0.5
|
6
11
|
platform: ruby
|
7
|
-
authors:
|
12
|
+
authors:
|
8
13
|
- Jean-Baptiste Barth
|
9
14
|
autorequire:
|
10
15
|
bindir: bin
|
11
16
|
cert_chain: []
|
12
|
-
|
13
|
-
|
14
|
-
|
15
|
-
|
16
|
-
|
17
|
+
|
18
|
+
date: 2013-07-14 00:00:00 Z
|
19
|
+
dependencies:
|
20
|
+
- !ruby/object:Gem::Dependency
|
21
|
+
version_requirements: &id001 !ruby/object:Gem::Requirement
|
17
22
|
none: false
|
18
|
-
requirements:
|
19
|
-
- -
|
20
|
-
- !ruby/object:Gem::Version
|
21
|
-
|
22
|
-
|
23
|
+
requirements:
|
24
|
+
- - ">="
|
25
|
+
- !ruby/object:Gem::Version
|
26
|
+
hash: 3
|
27
|
+
segments:
|
28
|
+
- 0
|
29
|
+
version: "0"
|
30
|
+
name: rspec
|
23
31
|
prerelease: false
|
24
|
-
|
25
|
-
|
26
|
-
|
27
|
-
|
28
|
-
- !ruby/object:Gem::Version
|
29
|
-
version: '0'
|
30
|
-
description: Helps you parse a status.dat file produced by nagios or shinken. It aims
|
31
|
-
at being performant for big status.dat files. Take a look at nagios_parser too if
|
32
|
-
you want, looks very cool too !
|
33
|
-
email:
|
32
|
+
type: :development
|
33
|
+
requirement: *id001
|
34
|
+
description: Helps you parse a status.dat file produced by nagios or shinken. It aims at being performant for big status.dat files. Take a look at nagios_parser too if you want, looks very cool too !
|
35
|
+
email:
|
34
36
|
- jeanbaptiste.barth@gmail.com
|
35
37
|
executables: []
|
38
|
+
|
36
39
|
extensions: []
|
40
|
+
|
37
41
|
extra_rdoc_files: []
|
38
|
-
|
42
|
+
|
43
|
+
files:
|
39
44
|
- .gitignore
|
40
45
|
- .travis.yml
|
41
46
|
- Gemfile
|
@@ -54,32 +59,36 @@ files:
|
|
54
59
|
- spec/status_spec.rb
|
55
60
|
homepage: http://github.com/jbbarth/nagios_analyzer
|
56
61
|
licenses: []
|
62
|
+
|
57
63
|
post_install_message:
|
58
64
|
rdoc_options: []
|
59
|
-
|
65
|
+
|
66
|
+
require_paths:
|
60
67
|
- lib
|
61
|
-
required_ruby_version: !ruby/object:Gem::Requirement
|
68
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
62
69
|
none: false
|
63
|
-
requirements:
|
64
|
-
- -
|
65
|
-
- !ruby/object:Gem::Version
|
66
|
-
|
67
|
-
segments:
|
70
|
+
requirements:
|
71
|
+
- - ">="
|
72
|
+
- !ruby/object:Gem::Version
|
73
|
+
hash: 3
|
74
|
+
segments:
|
68
75
|
- 0
|
69
|
-
|
70
|
-
required_rubygems_version: !ruby/object:Gem::Requirement
|
76
|
+
version: "0"
|
77
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
71
78
|
none: false
|
72
|
-
requirements:
|
73
|
-
- -
|
74
|
-
- !ruby/object:Gem::Version
|
75
|
-
|
76
|
-
segments:
|
79
|
+
requirements:
|
80
|
+
- - ">="
|
81
|
+
- !ruby/object:Gem::Version
|
82
|
+
hash: 3
|
83
|
+
segments:
|
77
84
|
- 0
|
78
|
-
|
85
|
+
version: "0"
|
79
86
|
requirements: []
|
87
|
+
|
80
88
|
rubyforge_project: nagios_analyzer
|
81
89
|
rubygems_version: 1.8.25
|
82
90
|
signing_key:
|
83
91
|
specification_version: 3
|
84
92
|
summary: Parses a nagios/shinken status.dat file
|
85
93
|
test_files: []
|
94
|
+
|