sensu-plugins-consul 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/CHANGELOG.md +8 -0
- data/lib/sensu-plugins-consul.rb +0 -13
- data/lib/sensu-plugins-consul/version.rb +1 -20
- metadata +9 -7
- 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: 8cbfd06801dfa7ec17a95b3dc869cd9777660517
|
4
|
+
data.tar.gz: 98ac80d4457224e1b376aded5a5db4c27b16584b
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 351289dce2c4c4226c75e0c9e6f68d9e680746d7a43c96076b9ff8360abaa908dcb7bd632505e7642005fdb60b80ae614ab32bceae1ed60442446d42dd8acb70
|
7
|
+
data.tar.gz: d684a3baec6015298c0847870b17c6c2ccdff8b75516309c4fb0804130071f241ec205cb5f688bc18885751dd2b30040bb8956d09b12d3065e390899d5801068
|
checksums.yaml.gz.sig
CHANGED
Binary file
|
data.tar.gz.sig
CHANGED
Binary file
|
data/CHANGELOG.md
CHANGED
data/lib/sensu-plugins-consul.rb
CHANGED
@@ -1,28 +1,9 @@
|
|
1
|
-
require 'json'
|
2
|
-
|
3
|
-
# encoding: utf-8
|
4
1
|
module SensuPluginsConsul
|
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-consul'
|
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-consul
|
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
|
@@ -66,14 +66,14 @@ dependencies:
|
|
66
66
|
requirements:
|
67
67
|
- - '='
|
68
68
|
- !ruby/object:Gem::Version
|
69
|
-
version: 0.
|
69
|
+
version: 0.11.0
|
70
70
|
type: :runtime
|
71
71
|
prerelease: false
|
72
72
|
version_requirements: !ruby/object:Gem::Requirement
|
73
73
|
requirements:
|
74
74
|
- - '='
|
75
75
|
- !ruby/object:Gem::Version
|
76
|
-
version: 0.
|
76
|
+
version: 0.11.0
|
77
77
|
- !ruby/object:Gem::Dependency
|
78
78
|
name: codeclimate-test-reporter
|
79
79
|
requirement: !ruby/object:Gem::Requirement
|
@@ -200,9 +200,11 @@ dependencies:
|
|
200
200
|
- - "~>"
|
201
201
|
- !ruby/object:Gem::Version
|
202
202
|
version: '0.10'
|
203
|
-
description: Sensu plugins for
|
203
|
+
description: Sensu plugins for Consul
|
204
204
|
email: "<sensu-users@googlegroups.com>"
|
205
|
-
executables:
|
205
|
+
executables:
|
206
|
+
- check-service-consul.rb
|
207
|
+
- check-consul-leader.rb
|
206
208
|
extensions: []
|
207
209
|
extra_rdoc_files: []
|
208
210
|
files:
|
@@ -242,5 +244,5 @@ rubyforge_project:
|
|
242
244
|
rubygems_version: 2.4.6
|
243
245
|
signing_key:
|
244
246
|
specification_version: 4
|
245
|
-
summary: Sensu plugins for
|
247
|
+
summary: Sensu plugins for Consul
|
246
248
|
test_files: []
|
metadata.gz.sig
CHANGED
Binary file
|