sensu-plugins-http 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 +4 -4
- checksums.yaml.gz.sig +0 -0
- data.tar.gz.sig +0 -0
- data/lib/sensu-plugins-http.rb +0 -13
- data/lib/sensu-plugins-http/version.rb +1 -20
- metadata +8 -22
- metadata.gz.sig +0 -0
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: ad4c13281ab3b04c1046b07ed07909e2b96ae9ed
|
4
|
+
data.tar.gz: 84b9fb07f2fc65363f0f2e9213b1644099148125
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: fdbdfa7094ab72e2fc17c77506964fedcca3d91934325532d89be0b40fe85791fb9959078622be36362c1b1e23364c0a79df16011b64874e4378654c0e68c58d
|
7
|
+
data.tar.gz: 08a09c04127984588678dc2bde1236a0f01060159dfdd6d7321720dd6e705876f94568f0eb8cb6e071771bd4f57a6fffb2752048c972c1b260c19fc849342463
|
checksums.yaml.gz.sig
CHANGED
Binary file
|
data.tar.gz.sig
CHANGED
Binary file
|
data/lib/sensu-plugins-http.rb
CHANGED
@@ -1,28 +1,9 @@
|
|
1
|
-
require 'json'
|
2
|
-
|
3
|
-
# encoding: utf-8
|
4
1
|
module SensuPluginsHttp
|
5
|
-
# This defines the version of the gem
|
6
2
|
module Version
|
7
3
|
MAJOR = 0
|
8
4
|
MINOR = 0
|
9
|
-
PATCH =
|
5
|
+
PATCH = 2
|
10
6
|
|
11
7
|
VER_STRING = [MAJOR, MINOR, PATCH].compact.join('.')
|
12
|
-
|
13
|
-
NAME = 'sensu-plugins-http'
|
14
|
-
BANNER = "#{NAME} v%s"
|
15
|
-
|
16
|
-
module_function
|
17
|
-
|
18
|
-
def version
|
19
|
-
format(BANNER, VER_STRING)
|
20
|
-
end
|
21
|
-
|
22
|
-
def json_version
|
23
|
-
{
|
24
|
-
'version' => VER_STRING
|
25
|
-
}.to_json
|
26
|
-
end
|
27
8
|
end
|
28
9
|
end
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: sensu-plugins-http
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Sensu-Plugins and contributors
|
@@ -30,7 +30,7 @@ cert_chain:
|
|
30
30
|
8sHuVruarogxxKPBzlL2is4EUb6oN/RdpGx2l4254+nyR+abg//Ed27Ym0PkB4lk
|
31
31
|
HP0m8WSjZmFr109pE/sVsM5jtOCvogyujQOjNVGN4gz1wwPr
|
32
32
|
-----END CERTIFICATE-----
|
33
|
-
date: 2015-
|
33
|
+
date: 2015-06-03 00:00:00.000000000 Z
|
34
34
|
dependencies:
|
35
35
|
- !ruby/object:Gem::Dependency
|
36
36
|
name: sensu-plugin
|
@@ -46,20 +46,6 @@ dependencies:
|
|
46
46
|
- - '='
|
47
47
|
- !ruby/object:Gem::Version
|
48
48
|
version: 1.1.0
|
49
|
-
- !ruby/object:Gem::Dependency
|
50
|
-
name: json
|
51
|
-
requirement: !ruby/object:Gem::Requirement
|
52
|
-
requirements:
|
53
|
-
- - '='
|
54
|
-
- !ruby/object:Gem::Version
|
55
|
-
version: 1.8.2
|
56
|
-
type: :runtime
|
57
|
-
prerelease: false
|
58
|
-
version_requirements: !ruby/object:Gem::Requirement
|
59
|
-
requirements:
|
60
|
-
- - '='
|
61
|
-
- !ruby/object:Gem::Version
|
62
|
-
version: 1.8.2
|
63
49
|
- !ruby/object:Gem::Dependency
|
64
50
|
name: codeclimate-test-reporter
|
65
51
|
requirement: !ruby/object:Gem::Requirement
|
@@ -189,10 +175,10 @@ dependencies:
|
|
189
175
|
description: Sensu plugins for various http monitors and metrics
|
190
176
|
email: "<sensu-users@googlegroups.com>"
|
191
177
|
executables:
|
192
|
-
- check-http-json.rb
|
193
|
-
- check-http.rb
|
194
|
-
- check-https-cert.rb
|
195
178
|
- metrics-curl.rb
|
179
|
+
- check-https-cert.rb
|
180
|
+
- check-http.rb
|
181
|
+
- check-http-json.rb
|
196
182
|
extensions: []
|
197
183
|
extra_rdoc_files: []
|
198
184
|
files:
|
@@ -209,10 +195,10 @@ homepage: https://github.com/sensu-plugins/sensu-plugins-http
|
|
209
195
|
licenses:
|
210
196
|
- MIT
|
211
197
|
metadata:
|
212
|
-
maintainer:
|
213
|
-
development_status:
|
198
|
+
maintainer: sensu-plugin
|
199
|
+
development_status: active
|
214
200
|
production_status: unstable - testing recommended
|
215
|
-
|
201
|
+
release_draft: 'false'
|
216
202
|
release_prerelease: 'false'
|
217
203
|
post_install_message: You can use the embedded Ruby by setting EMBEDDED_RUBY=true
|
218
204
|
in /etc/default/sensu
|
metadata.gz.sig
CHANGED
Binary file
|