sensu-plugins-meta 0.2.1 → 0.3.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +5 -5
- data/CHANGELOG.md +8 -3
- data/bin/check-meta-ruby.rb +6 -1
- data/lib/sensu_plugins_meta/version.rb +7 -3
- data/lib/sensu_plugins_meta.rb +0 -1
- metadata +41 -27
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
|
-
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
2
|
+
SHA256:
|
3
|
+
metadata.gz: 0d77524cb3b92d31a990d834c0387a6aa92b80f40197c8a08e0dbe1948095b55
|
4
|
+
data.tar.gz: 502182147ca23c617c5f2a3278b7bd64e6b00c145bac5e5561444ba1f029e006
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 8312eb5e625a0bd7d8fda34d19e11f491b7fe897ce440844d310ed5431886584ee55a33cc8763a0a0c0f4fe462e14943f620f018aa78cfaa3b53bb0b654f6d4d
|
7
|
+
data.tar.gz: 373bf23799df18d915760165031e563d598e73e813e29c6010b295f1550c73b93f47f63c5e05c2066693de67253f9be26aee684b2e9c92a998a7c319515776ff
|
data/CHANGELOG.md
CHANGED
@@ -3,6 +3,11 @@ This project adheres to [Semantic Versioning](http://semver.org/).
|
|
3
3
|
|
4
4
|
This CHANGELOG follows the format listed at [Keep A Changelog](http://keepachangelog.com/)
|
5
5
|
|
6
|
+
## [0.3.0] - 2018-02-07
|
7
|
+
### Changed
|
8
|
+
- Support loading checks with a wider range of sensu-plugin versions
|
9
|
+
- Require Ruby >= 2.1
|
10
|
+
|
6
11
|
## [0.2.1] - 2017-04-19
|
7
12
|
### Changed
|
8
13
|
- Fix error loading multiple versions of json
|
@@ -17,7 +22,7 @@ This CHANGELOG follows the format listed at [Keep A Changelog](http://keepachang
|
|
17
22
|
### Added
|
18
23
|
- Initial release
|
19
24
|
|
20
|
-
[Unreleased]: https://github.com/socrata-platform/sensu-plugins-meta/compare/
|
21
|
-
[0.2.
|
22
|
-
[0.2.0]: https://github.com/socrata-platform/sensu-plugins-meta/compare/
|
25
|
+
[Unreleased]: https://github.com/socrata-platform/sensu-plugins-meta/compare/v0.2.1...HEAD
|
26
|
+
[0.2.1]: https://github.com/socrata-platform/sensu-plugins-meta/compare/v0.2.0...v0.2.1
|
27
|
+
[0.2.0]: https://github.com/socrata-platform/sensu-plugins-meta/compare/v0.1.0...v0.2.0
|
23
28
|
[0.1.0]: https://github.com/socrata-platform/sensu-plugins-meta/tree/v0.1.0
|
data/bin/check-meta-ruby.rb
CHANGED
@@ -1,5 +1,4 @@
|
|
1
1
|
#!/usr/bin/env ruby
|
2
|
-
# encoding: utf-8
|
3
2
|
# frozen_string_literal: false
|
4
3
|
|
5
4
|
#
|
@@ -39,6 +38,12 @@
|
|
39
38
|
# for details.
|
40
39
|
#
|
41
40
|
|
41
|
+
# Load the check we're going to run before doing anything else so we don't run
|
42
|
+
# the risk of importing a version of sensu-plugin that's compatible with this
|
43
|
+
# check but not the sub-check.
|
44
|
+
idx = ARGV.index('-c') || ARGV.index('--check')
|
45
|
+
require File.expand_path("../#{ARGV[idx + 1]}", $PROGRAM_NAME) if idx
|
46
|
+
|
42
47
|
require 'sensu-plugin/check/cli'
|
43
48
|
require 'json'
|
44
49
|
|
@@ -1,11 +1,15 @@
|
|
1
|
-
# encoding: utf-8
|
2
1
|
# frozen_string_literal: false
|
3
2
|
|
4
3
|
module SensuPluginsMeta
|
4
|
+
# The version of this Sensu plugin.
|
5
5
|
module Version
|
6
|
+
# The major version.
|
6
7
|
MAJOR = 0
|
7
|
-
|
8
|
-
|
8
|
+
# The minor version.
|
9
|
+
MINOR = 3
|
10
|
+
# The patch version.
|
11
|
+
PATCH = 0
|
12
|
+
# Concat them into a version string
|
9
13
|
VER_STRING = [MAJOR, MINOR, PATCH].compact.join('.')
|
10
14
|
end
|
11
15
|
end
|
data/lib/sensu_plugins_meta.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: sensu-plugins-meta
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.3.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Sensu-Plugins and contributors
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2018-02-07 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: sensu-plugin
|
@@ -30,6 +30,20 @@ dependencies:
|
|
30
30
|
- - "<"
|
31
31
|
- !ruby/object:Gem::Version
|
32
32
|
version: '3.0'
|
33
|
+
- !ruby/object:Gem::Dependency
|
34
|
+
name: berkshelf
|
35
|
+
requirement: !ruby/object:Gem::Requirement
|
36
|
+
requirements:
|
37
|
+
- - "~>"
|
38
|
+
- !ruby/object:Gem::Version
|
39
|
+
version: '6.3'
|
40
|
+
type: :development
|
41
|
+
prerelease: false
|
42
|
+
version_requirements: !ruby/object:Gem::Requirement
|
43
|
+
requirements:
|
44
|
+
- - "~>"
|
45
|
+
- !ruby/object:Gem::Version
|
46
|
+
version: '6.3'
|
33
47
|
- !ruby/object:Gem::Dependency
|
34
48
|
name: bundler
|
35
49
|
requirement: !ruby/object:Gem::Requirement
|
@@ -59,47 +73,47 @@ dependencies:
|
|
59
73
|
- !ruby/object:Gem::Version
|
60
74
|
version: '0.8'
|
61
75
|
- !ruby/object:Gem::Dependency
|
62
|
-
name:
|
76
|
+
name: github-markup
|
63
77
|
requirement: !ruby/object:Gem::Requirement
|
64
78
|
requirements:
|
65
79
|
- - "~>"
|
66
80
|
- !ruby/object:Gem::Version
|
67
|
-
version: '0
|
81
|
+
version: '2.0'
|
68
82
|
type: :development
|
69
83
|
prerelease: false
|
70
84
|
version_requirements: !ruby/object:Gem::Requirement
|
71
85
|
requirements:
|
72
86
|
- - "~>"
|
73
87
|
- !ruby/object:Gem::Version
|
74
|
-
version: '0
|
88
|
+
version: '2.0'
|
75
89
|
- !ruby/object:Gem::Dependency
|
76
|
-
name:
|
90
|
+
name: kitchen-dokken
|
77
91
|
requirement: !ruby/object:Gem::Requirement
|
78
92
|
requirements:
|
79
93
|
- - "~>"
|
80
94
|
- !ruby/object:Gem::Version
|
81
|
-
version: '
|
95
|
+
version: '2.6'
|
82
96
|
type: :development
|
83
97
|
prerelease: false
|
84
98
|
version_requirements: !ruby/object:Gem::Requirement
|
85
99
|
requirements:
|
86
100
|
- - "~>"
|
87
101
|
- !ruby/object:Gem::Version
|
88
|
-
version: '
|
102
|
+
version: '2.6'
|
89
103
|
- !ruby/object:Gem::Dependency
|
90
|
-
name:
|
104
|
+
name: kitchen-inspec
|
91
105
|
requirement: !ruby/object:Gem::Requirement
|
92
106
|
requirements:
|
93
107
|
- - "~>"
|
94
108
|
- !ruby/object:Gem::Version
|
95
|
-
version: '
|
109
|
+
version: '0.22'
|
96
110
|
type: :development
|
97
111
|
prerelease: false
|
98
112
|
version_requirements: !ruby/object:Gem::Requirement
|
99
113
|
requirements:
|
100
114
|
- - "~>"
|
101
115
|
- !ruby/object:Gem::Version
|
102
|
-
version: '
|
116
|
+
version: '0.22'
|
103
117
|
- !ruby/object:Gem::Dependency
|
104
118
|
name: pry
|
105
119
|
requirement: !ruby/object:Gem::Requirement
|
@@ -162,70 +176,70 @@ dependencies:
|
|
162
176
|
requirements:
|
163
177
|
- - "~>"
|
164
178
|
- !ruby/object:Gem::Version
|
165
|
-
version: '0.
|
179
|
+
version: '0.52'
|
166
180
|
type: :development
|
167
181
|
prerelease: false
|
168
182
|
version_requirements: !ruby/object:Gem::Requirement
|
169
183
|
requirements:
|
170
184
|
- - "~>"
|
171
185
|
- !ruby/object:Gem::Version
|
172
|
-
version: '0.
|
186
|
+
version: '0.52'
|
173
187
|
- !ruby/object:Gem::Dependency
|
174
|
-
name:
|
188
|
+
name: simplecov
|
175
189
|
requirement: !ruby/object:Gem::Requirement
|
176
190
|
requirements:
|
177
191
|
- - "~>"
|
178
192
|
- !ruby/object:Gem::Version
|
179
|
-
version: '0.
|
193
|
+
version: '0.12'
|
180
194
|
type: :development
|
181
195
|
prerelease: false
|
182
196
|
version_requirements: !ruby/object:Gem::Requirement
|
183
197
|
requirements:
|
184
198
|
- - "~>"
|
185
199
|
- !ruby/object:Gem::Version
|
186
|
-
version: '0.
|
200
|
+
version: '0.12'
|
187
201
|
- !ruby/object:Gem::Dependency
|
188
|
-
name:
|
202
|
+
name: simplecov-console
|
189
203
|
requirement: !ruby/object:Gem::Requirement
|
190
204
|
requirements:
|
191
205
|
- - "~>"
|
192
206
|
- !ruby/object:Gem::Version
|
193
|
-
version: '
|
207
|
+
version: '0.4'
|
194
208
|
type: :development
|
195
209
|
prerelease: false
|
196
210
|
version_requirements: !ruby/object:Gem::Requirement
|
197
211
|
requirements:
|
198
212
|
- - "~>"
|
199
213
|
- !ruby/object:Gem::Version
|
200
|
-
version: '
|
214
|
+
version: '0.4'
|
201
215
|
- !ruby/object:Gem::Dependency
|
202
|
-
name: kitchen
|
216
|
+
name: test-kitchen
|
203
217
|
requirement: !ruby/object:Gem::Requirement
|
204
218
|
requirements:
|
205
219
|
- - "~>"
|
206
220
|
- !ruby/object:Gem::Version
|
207
|
-
version: '1.
|
221
|
+
version: '1.6'
|
208
222
|
type: :development
|
209
223
|
prerelease: false
|
210
224
|
version_requirements: !ruby/object:Gem::Requirement
|
211
225
|
requirements:
|
212
226
|
- - "~>"
|
213
227
|
- !ruby/object:Gem::Version
|
214
|
-
version: '1.
|
228
|
+
version: '1.6'
|
215
229
|
- !ruby/object:Gem::Dependency
|
216
|
-
name:
|
230
|
+
name: yard
|
217
231
|
requirement: !ruby/object:Gem::Requirement
|
218
232
|
requirements:
|
219
233
|
- - "~>"
|
220
234
|
- !ruby/object:Gem::Version
|
221
|
-
version: '
|
235
|
+
version: '0.9'
|
222
236
|
type: :development
|
223
237
|
prerelease: false
|
224
238
|
version_requirements: !ruby/object:Gem::Requirement
|
225
239
|
requirements:
|
226
240
|
- - "~>"
|
227
241
|
- !ruby/object:Gem::Version
|
228
|
-
version: '
|
242
|
+
version: '0.9'
|
229
243
|
description: This plugin provides a way to call other check plugins multiple times
|
230
244
|
as a single check.
|
231
245
|
email: "<sensu-users@googlegroups.com>"
|
@@ -258,7 +272,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
258
272
|
requirements:
|
259
273
|
- - ">="
|
260
274
|
- !ruby/object:Gem::Version
|
261
|
-
version: 2.
|
275
|
+
version: 2.1.0
|
262
276
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
263
277
|
requirements:
|
264
278
|
- - ">="
|
@@ -266,7 +280,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
266
280
|
version: '0'
|
267
281
|
requirements: []
|
268
282
|
rubyforge_project:
|
269
|
-
rubygems_version: 2.
|
283
|
+
rubygems_version: 2.7.5
|
270
284
|
signing_key:
|
271
285
|
specification_version: 4
|
272
286
|
summary: Sensu plugins for batching multiple checks as one
|