nagiosplugin 1.1.1 → 1.1.2
Sign up to get free protection for your applications and to get access to all the features.
- data/lib/nagiosplugin/status_error.rb +1 -1
- data/lib/nagiosplugin/version.rb +1 -1
- metadata +28 -28
@@ -3,7 +3,7 @@ module NagiosPlugin
|
|
3
3
|
# A custom status error which will be raised through the status methods.
|
4
4
|
class StatusError < StandardError
|
5
5
|
|
6
|
-
# All allowed statuses sorted by their
|
6
|
+
# All allowed statuses sorted by their exit code
|
7
7
|
STATUS = [:ok, :warning, :critical, :unknown]
|
8
8
|
|
9
9
|
# @param [Symbol] status the status (must be {NagiosPlugin::Plugin::StatusError::STATUS a valid status})
|
data/lib/nagiosplugin/version.rb
CHANGED
metadata
CHANGED
@@ -1,13 +1,13 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: nagiosplugin
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
hash:
|
4
|
+
hash: 23
|
5
5
|
prerelease:
|
6
6
|
segments:
|
7
7
|
- 1
|
8
8
|
- 1
|
9
|
-
-
|
10
|
-
version: 1.1.
|
9
|
+
- 2
|
10
|
+
version: 1.1.2
|
11
11
|
platform: ruby
|
12
12
|
authors:
|
13
13
|
- "Bj\xC3\xB6rn Albers"
|
@@ -18,8 +18,7 @@ cert_chain: []
|
|
18
18
|
date: 2012-04-02 00:00:00 Z
|
19
19
|
dependencies:
|
20
20
|
- !ruby/object:Gem::Dependency
|
21
|
-
|
22
|
-
requirement: &id001 !ruby/object:Gem::Requirement
|
21
|
+
version_requirements: &id001 !ruby/object:Gem::Requirement
|
23
22
|
none: false
|
24
23
|
requirements:
|
25
24
|
- - ">="
|
@@ -28,12 +27,12 @@ dependencies:
|
|
28
27
|
segments:
|
29
28
|
- 0
|
30
29
|
version: "0"
|
31
|
-
|
30
|
+
requirement: *id001
|
31
|
+
type: :development
|
32
32
|
name: rake
|
33
|
-
|
33
|
+
prerelease: false
|
34
34
|
- !ruby/object:Gem::Dependency
|
35
|
-
|
36
|
-
requirement: &id002 !ruby/object:Gem::Requirement
|
35
|
+
version_requirements: &id002 !ruby/object:Gem::Requirement
|
37
36
|
none: false
|
38
37
|
requirements:
|
39
38
|
- - ">="
|
@@ -42,12 +41,12 @@ dependencies:
|
|
42
41
|
segments:
|
43
42
|
- 0
|
44
43
|
version: "0"
|
45
|
-
|
44
|
+
requirement: *id002
|
45
|
+
type: :development
|
46
46
|
name: cucumber
|
47
|
-
|
47
|
+
prerelease: false
|
48
48
|
- !ruby/object:Gem::Dependency
|
49
|
-
|
50
|
-
requirement: &id003 !ruby/object:Gem::Requirement
|
49
|
+
version_requirements: &id003 !ruby/object:Gem::Requirement
|
51
50
|
none: false
|
52
51
|
requirements:
|
53
52
|
- - ">="
|
@@ -56,12 +55,12 @@ dependencies:
|
|
56
55
|
segments:
|
57
56
|
- 0
|
58
57
|
version: "0"
|
59
|
-
|
58
|
+
requirement: *id003
|
59
|
+
type: :development
|
60
60
|
name: aruba
|
61
|
-
|
61
|
+
prerelease: false
|
62
62
|
- !ruby/object:Gem::Dependency
|
63
|
-
|
64
|
-
requirement: &id004 !ruby/object:Gem::Requirement
|
63
|
+
version_requirements: &id004 !ruby/object:Gem::Requirement
|
65
64
|
none: false
|
66
65
|
requirements:
|
67
66
|
- - ">="
|
@@ -70,12 +69,12 @@ dependencies:
|
|
70
69
|
segments:
|
71
70
|
- 0
|
72
71
|
version: "0"
|
73
|
-
|
72
|
+
requirement: *id004
|
73
|
+
type: :development
|
74
74
|
name: guard-cucumber
|
75
|
-
|
75
|
+
prerelease: false
|
76
76
|
- !ruby/object:Gem::Dependency
|
77
|
-
|
78
|
-
requirement: &id005 !ruby/object:Gem::Requirement
|
77
|
+
version_requirements: &id005 !ruby/object:Gem::Requirement
|
79
78
|
none: false
|
80
79
|
requirements:
|
81
80
|
- - ">="
|
@@ -84,12 +83,12 @@ dependencies:
|
|
84
83
|
segments:
|
85
84
|
- 0
|
86
85
|
version: "0"
|
87
|
-
|
86
|
+
requirement: *id005
|
87
|
+
type: :development
|
88
88
|
name: rspec
|
89
|
-
|
89
|
+
prerelease: false
|
90
90
|
- !ruby/object:Gem::Dependency
|
91
|
-
|
92
|
-
requirement: &id006 !ruby/object:Gem::Requirement
|
91
|
+
version_requirements: &id006 !ruby/object:Gem::Requirement
|
93
92
|
none: false
|
94
93
|
requirements:
|
95
94
|
- - ">="
|
@@ -98,9 +97,10 @@ dependencies:
|
|
98
97
|
segments:
|
99
98
|
- 0
|
100
99
|
version: "0"
|
101
|
-
|
100
|
+
requirement: *id006
|
101
|
+
type: :development
|
102
102
|
name: guard-rspec
|
103
|
-
|
103
|
+
prerelease: false
|
104
104
|
description: The one Nagios Plugin framework, forged in the fires of Mount Doom.
|
105
105
|
email:
|
106
106
|
- bjoernalbers@googlemail.com
|
@@ -161,7 +161,7 @@ rubyforge_project:
|
|
161
161
|
rubygems_version: 1.8.11
|
162
162
|
signing_key:
|
163
163
|
specification_version: 3
|
164
|
-
summary: nagiosplugin-1.1.
|
164
|
+
summary: nagiosplugin-1.1.2
|
165
165
|
test_files:
|
166
166
|
- features/nagiosplugin_usage.feature
|
167
167
|
- features/steps/dev_steps.rb
|