nagios-check 0.0.1 → 0.0.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/lib/{nagios.rb → nagios-check.rb} +4 -4
- data/lib/{nagios/check → nagios-check}/base.rb +0 -0
- data/lib/{nagios/check → nagios-check}/range.rb +0 -0
- data/lib/{nagios/check → nagios-check}/threshold.rb +0 -0
- data/lib/nagios-check/version.rb +5 -0
- data/nagios-check.gemspec +1 -1
- metadata +63 -83
- data/lib/nagios/check/version.rb +0 -5
checksums.yaml
ADDED
@@ -0,0 +1,7 @@
|
|
1
|
+
---
|
2
|
+
SHA1:
|
3
|
+
metadata.gz: 44ef9dd67f78153bb6fa7a4ae518504e4fb24d13
|
4
|
+
data.tar.gz: e8fc14971e8dd0161c38bedf97cc6e11f6d12cf3
|
5
|
+
SHA512:
|
6
|
+
metadata.gz: 8239e821e84df5d7924bfe87eee2f29759a47c1e69980dfe7b09a39a50046bbb37f8290eda4eb1aebada2fb3d4624fcbfad29f4ab88dcc2bda81f5200b53be8a
|
7
|
+
data.tar.gz: 01306a3e63413dcf87c5fed5f6ec0a13dec69c9a2a5ffe52ed06760d7cc3ca57a517d77439ff39fbd802d697a2dd031f3bf41ed188a964c8ede924121fbe87d4
|
@@ -23,10 +23,10 @@ module Nagios
|
|
23
23
|
@logger || Logger.new(STDOUT)
|
24
24
|
end
|
25
25
|
|
26
|
-
module Check
|
27
|
-
autoload :Range, "nagios
|
28
|
-
autoload :Threshold, "nagios
|
29
|
-
autoload :Base, "nagios
|
26
|
+
module Check
|
27
|
+
autoload :Range, "nagios-check/range"
|
28
|
+
autoload :Threshold, "nagios-check/threshold"
|
29
|
+
autoload :Base, "nagios-check/base"
|
30
30
|
end
|
31
31
|
|
32
32
|
end
|
File without changes
|
File without changes
|
File without changes
|
data/nagios-check.gemspec
CHANGED
metadata
CHANGED
@@ -1,126 +1,106 @@
|
|
1
|
-
--- !ruby/object:Gem::Specification
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
2
|
name: nagios-check
|
3
|
-
version: !ruby/object:Gem::Version
|
4
|
-
|
5
|
-
prerelease:
|
6
|
-
segments:
|
7
|
-
- 0
|
8
|
-
- 0
|
9
|
-
- 1
|
10
|
-
version: 0.0.1
|
3
|
+
version: !ruby/object:Gem::Version
|
4
|
+
version: 0.0.2
|
11
5
|
platform: ruby
|
12
|
-
authors:
|
6
|
+
authors:
|
13
7
|
- Max Horbul
|
14
8
|
autorequire:
|
15
9
|
bindir: bin
|
16
10
|
cert_chain: []
|
17
|
-
|
18
|
-
|
19
|
-
|
20
|
-
- !ruby/object:Gem::Dependency
|
11
|
+
date: 2014-11-11 00:00:00.000000000 Z
|
12
|
+
dependencies:
|
13
|
+
- !ruby/object:Gem::Dependency
|
21
14
|
name: bundler
|
22
|
-
|
23
|
-
|
24
|
-
|
25
|
-
|
26
|
-
|
27
|
-
- !ruby/object:Gem::Version
|
28
|
-
hash: 9
|
29
|
-
segments:
|
30
|
-
- 1
|
31
|
-
- 3
|
32
|
-
version: "1.3"
|
15
|
+
requirement: !ruby/object:Gem::Requirement
|
16
|
+
requirements:
|
17
|
+
- - "~>"
|
18
|
+
- !ruby/object:Gem::Version
|
19
|
+
version: '1.3'
|
33
20
|
type: :development
|
34
|
-
version_requirements: *id001
|
35
|
-
- !ruby/object:Gem::Dependency
|
36
|
-
name: rake
|
37
21
|
prerelease: false
|
38
|
-
|
39
|
-
|
40
|
-
|
22
|
+
version_requirements: !ruby/object:Gem::Requirement
|
23
|
+
requirements:
|
24
|
+
- - "~>"
|
25
|
+
- !ruby/object:Gem::Version
|
26
|
+
version: '1.3'
|
27
|
+
- !ruby/object:Gem::Dependency
|
28
|
+
name: rake
|
29
|
+
requirement: !ruby/object:Gem::Requirement
|
30
|
+
requirements:
|
41
31
|
- - ">="
|
42
|
-
- !ruby/object:Gem::Version
|
43
|
-
|
44
|
-
segments:
|
45
|
-
- 0
|
46
|
-
version: "0"
|
32
|
+
- !ruby/object:Gem::Version
|
33
|
+
version: '0'
|
47
34
|
type: :development
|
48
|
-
version_requirements: *id002
|
49
|
-
- !ruby/object:Gem::Dependency
|
50
|
-
name: rspec
|
51
35
|
prerelease: false
|
52
|
-
|
53
|
-
|
54
|
-
requirements:
|
36
|
+
version_requirements: !ruby/object:Gem::Requirement
|
37
|
+
requirements:
|
55
38
|
- - ">="
|
56
|
-
- !ruby/object:Gem::Version
|
57
|
-
|
58
|
-
|
59
|
-
|
60
|
-
|
39
|
+
- !ruby/object:Gem::Version
|
40
|
+
version: '0'
|
41
|
+
- !ruby/object:Gem::Dependency
|
42
|
+
name: rspec
|
43
|
+
requirement: !ruby/object:Gem::Requirement
|
44
|
+
requirements:
|
45
|
+
- - ">="
|
46
|
+
- !ruby/object:Gem::Version
|
47
|
+
version: '0'
|
61
48
|
type: :development
|
62
|
-
|
49
|
+
prerelease: false
|
50
|
+
version_requirements: !ruby/object:Gem::Requirement
|
51
|
+
requirements:
|
52
|
+
- - ">="
|
53
|
+
- !ruby/object:Gem::Version
|
54
|
+
version: '0'
|
63
55
|
description: Nagios check written in Ruby
|
64
|
-
email:
|
56
|
+
email:
|
65
57
|
- max@gorbul.net
|
66
58
|
executables: []
|
67
|
-
|
68
59
|
extensions: []
|
69
|
-
|
70
60
|
extra_rdoc_files: []
|
71
|
-
|
72
|
-
|
73
|
-
- .gitignore
|
61
|
+
files:
|
62
|
+
- ".gitignore"
|
74
63
|
- Gemfile
|
75
64
|
- LICENSE.txt
|
76
65
|
- README.md
|
77
66
|
- Rakefile
|
78
67
|
- examples/check_file_age.rb
|
79
68
|
- examples/check_redis.rb
|
80
|
-
- lib/nagios.rb
|
81
|
-
- lib/nagios
|
82
|
-
- lib/nagios
|
83
|
-
- lib/nagios
|
84
|
-
- lib/nagios
|
69
|
+
- lib/nagios-check.rb
|
70
|
+
- lib/nagios-check/base.rb
|
71
|
+
- lib/nagios-check/range.rb
|
72
|
+
- lib/nagios-check/threshold.rb
|
73
|
+
- lib/nagios-check/version.rb
|
85
74
|
- nagios-check.gemspec
|
86
75
|
- spec/lib/nagios/check/base_spec.rb
|
87
76
|
- spec/lib/nagios/check/range_spec.rb
|
88
77
|
- spec/lib/nagios/check/threshold_spec.rb
|
89
78
|
- spec/spec_helper.rb
|
90
|
-
homepage:
|
91
|
-
licenses:
|
79
|
+
homepage: ''
|
80
|
+
licenses:
|
92
81
|
- MIT
|
82
|
+
metadata: {}
|
93
83
|
post_install_message:
|
94
84
|
rdoc_options: []
|
95
|
-
|
96
|
-
require_paths:
|
85
|
+
require_paths:
|
97
86
|
- lib
|
98
|
-
required_ruby_version: !ruby/object:Gem::Requirement
|
99
|
-
|
100
|
-
requirements:
|
87
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
88
|
+
requirements:
|
101
89
|
- - ">="
|
102
|
-
- !ruby/object:Gem::Version
|
103
|
-
|
104
|
-
|
105
|
-
|
106
|
-
version: "0"
|
107
|
-
required_rubygems_version: !ruby/object:Gem::Requirement
|
108
|
-
none: false
|
109
|
-
requirements:
|
90
|
+
- !ruby/object:Gem::Version
|
91
|
+
version: '0'
|
92
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
93
|
+
requirements:
|
110
94
|
- - ">="
|
111
|
-
- !ruby/object:Gem::Version
|
112
|
-
|
113
|
-
segments:
|
114
|
-
- 0
|
115
|
-
version: "0"
|
95
|
+
- !ruby/object:Gem::Version
|
96
|
+
version: '0'
|
116
97
|
requirements: []
|
117
|
-
|
118
98
|
rubyforge_project:
|
119
|
-
rubygems_version:
|
99
|
+
rubygems_version: 2.2.2
|
120
100
|
signing_key:
|
121
|
-
specification_version:
|
101
|
+
specification_version: 4
|
122
102
|
summary: This is a base for Nagios checks development in Ruby
|
123
|
-
test_files:
|
103
|
+
test_files:
|
124
104
|
- spec/lib/nagios/check/base_spec.rb
|
125
105
|
- spec/lib/nagios/check/range_spec.rb
|
126
106
|
- spec/lib/nagios/check/threshold_spec.rb
|