sensu-plugins-minio 0.0.3 → 0.0.4
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.ruby-version +1 -0
- data/Gemfile.lock +42 -38
- data/bin/check-minio-update.rb +1 -1
- data/lib/sensu/plugins/minio/version.rb +1 -1
- data/sensu-plugins-minio.gemspec +4 -4
- metadata +11 -10
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 64bb081b5d04a0d0cb0bc43c8dc30eaec85d13fa4b604bae0c6575acb67123f0
|
4
|
+
data.tar.gz: 226f4a97e66844d4986220a56c0c72c12a4d057f449b64619252950e09ab4bc7
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 70e729d70a4c5d2cccbef29135cb187c36956c60eefcd3753f2183cd70df9eb7d4afe083176933b99334dd8a4ec42366002661b98f2b9e0232034901946207d6
|
7
|
+
data.tar.gz: dcca7b6c8937102069886772fa5a2e7cf42f86f024fa57c0241304391ddc633bcd94998effcf6e65f31de432c5c23bef67944a52a51633dd15380b65a0a6ac79
|
data/.ruby-version
ADDED
@@ -0,0 +1 @@
|
|
1
|
+
2.7.0
|
data/Gemfile.lock
CHANGED
@@ -1,69 +1,73 @@
|
|
1
1
|
PATH
|
2
2
|
remote: .
|
3
3
|
specs:
|
4
|
-
sensu-plugins-minio (0.0.
|
4
|
+
sensu-plugins-minio (0.0.4)
|
5
5
|
sensu-plugin (~> 2.1)
|
6
6
|
|
7
7
|
GEM
|
8
8
|
remote: https://rubygems.org/
|
9
9
|
specs:
|
10
|
-
addressable (2.
|
10
|
+
addressable (2.8.0)
|
11
11
|
public_suffix (>= 2.0.2, < 5.0)
|
12
|
-
ast (2.4.
|
13
|
-
crack (0.4.
|
14
|
-
|
15
|
-
diff-lcs (1.
|
16
|
-
hashdiff (1.0.
|
17
|
-
|
18
|
-
json (2.2.0)
|
12
|
+
ast (2.4.2)
|
13
|
+
crack (0.4.5)
|
14
|
+
rexml
|
15
|
+
diff-lcs (1.4.4)
|
16
|
+
hashdiff (1.0.1)
|
17
|
+
json (2.5.1)
|
19
18
|
mixlib-cli (1.7.0)
|
20
|
-
parallel (1.
|
21
|
-
parser (
|
22
|
-
ast (~> 2.4.
|
23
|
-
public_suffix (4.0.
|
19
|
+
parallel (1.20.1)
|
20
|
+
parser (3.0.2.0)
|
21
|
+
ast (~> 2.4.1)
|
22
|
+
public_suffix (4.0.6)
|
24
23
|
rainbow (3.0.0)
|
25
|
-
rake (
|
26
|
-
|
27
|
-
|
28
|
-
|
29
|
-
rspec-
|
30
|
-
|
31
|
-
rspec-
|
32
|
-
rspec-
|
24
|
+
rake (13.0.6)
|
25
|
+
regexp_parser (2.1.1)
|
26
|
+
rexml (3.2.5)
|
27
|
+
rspec (3.10.0)
|
28
|
+
rspec-core (~> 3.10.0)
|
29
|
+
rspec-expectations (~> 3.10.0)
|
30
|
+
rspec-mocks (~> 3.10.0)
|
31
|
+
rspec-core (3.10.1)
|
32
|
+
rspec-support (~> 3.10.0)
|
33
|
+
rspec-expectations (3.10.1)
|
33
34
|
diff-lcs (>= 1.2.0, < 2.0)
|
34
|
-
rspec-support (~> 3.
|
35
|
-
rspec-mocks (3.
|
35
|
+
rspec-support (~> 3.10.0)
|
36
|
+
rspec-mocks (3.10.2)
|
36
37
|
diff-lcs (>= 1.2.0, < 2.0)
|
37
|
-
rspec-support (~> 3.
|
38
|
-
rspec-support (3.
|
39
|
-
rubocop (0.
|
40
|
-
jaro_winkler (~> 1.5.1)
|
38
|
+
rspec-support (~> 3.10.0)
|
39
|
+
rspec-support (3.10.2)
|
40
|
+
rubocop (0.93.1)
|
41
41
|
parallel (~> 1.10)
|
42
|
-
parser (>= 2.
|
42
|
+
parser (>= 2.7.1.5)
|
43
43
|
rainbow (>= 2.2.2, < 4.0)
|
44
|
+
regexp_parser (>= 1.8)
|
45
|
+
rexml
|
46
|
+
rubocop-ast (>= 0.6.0)
|
44
47
|
ruby-progressbar (~> 1.7)
|
45
|
-
unicode-display_width (>= 1.4.0, <
|
46
|
-
|
47
|
-
|
48
|
+
unicode-display_width (>= 1.4.0, < 2.0)
|
49
|
+
rubocop-ast (1.8.0)
|
50
|
+
parser (>= 3.0.1.1)
|
51
|
+
ruby-progressbar (1.11.0)
|
48
52
|
sensu-plugin (2.7.1)
|
49
53
|
json (< 3.0.0)
|
50
54
|
mixlib-cli (~> 1.5)
|
51
|
-
unicode-display_width (1.
|
52
|
-
webmock (3.
|
55
|
+
unicode-display_width (1.7.0)
|
56
|
+
webmock (3.13.0)
|
53
57
|
addressable (>= 2.3.6)
|
54
58
|
crack (>= 0.3.2)
|
55
59
|
hashdiff (>= 0.4.0, < 2.0.0)
|
56
60
|
|
57
61
|
PLATFORMS
|
58
|
-
|
62
|
+
x86_64-linux
|
59
63
|
|
60
64
|
DEPENDENCIES
|
61
|
-
bundler (~>
|
62
|
-
rake (~>
|
63
|
-
rspec (~> 3.
|
65
|
+
bundler (~> 2.2)
|
66
|
+
rake (~> 13.0)
|
67
|
+
rspec (~> 3.10)
|
64
68
|
rubocop (~> 0.54)
|
65
69
|
sensu-plugins-minio!
|
66
70
|
webmock (~> 3.3)
|
67
71
|
|
68
72
|
BUNDLED WITH
|
69
|
-
|
73
|
+
2.2.23
|
data/bin/check-minio-update.rb
CHANGED
@@ -73,7 +73,7 @@ class CheckMinioUpdate < Sensu::Plugin::Check::CLI
|
|
73
73
|
end
|
74
74
|
|
75
75
|
def get_local_version
|
76
|
-
stdout, stderr, status = Open3.capture3('minio --version', unsetenv_others
|
76
|
+
stdout, stderr, status = Open3.capture3([{'PATH' => ENV['PATH']}, 'minio --version', :unsetenv_others => true])
|
77
77
|
|
78
78
|
raise IOError, "Unable to gather local minio version: #{stderr}" unless status.success?
|
79
79
|
|
data/sensu-plugins-minio.gemspec
CHANGED
@@ -8,7 +8,7 @@ Gem::Specification.new do |spec|
|
|
8
8
|
spec.name = 'sensu-plugins-minio'
|
9
9
|
spec.version = Sensu::Plugins::Minio::VERSION
|
10
10
|
spec.licenses = ['MIT']
|
11
|
-
spec.authors = ['Hauke Altmann']
|
11
|
+
spec.authors = ['Hauke Altmann', 'Jonathan Schlue']
|
12
12
|
spec.email = ['info@aboutsource.net']
|
13
13
|
|
14
14
|
spec.summary = 'Check if there are updates for the local minio server instance'
|
@@ -22,9 +22,9 @@ Gem::Specification.new do |spec|
|
|
22
22
|
end
|
23
23
|
|
24
24
|
spec.add_dependency 'sensu-plugin', '~> 2.1'
|
25
|
-
spec.add_development_dependency 'bundler', '~>
|
26
|
-
spec.add_development_dependency 'rake', '~>
|
27
|
-
spec.add_development_dependency 'rspec', '~> 3.
|
25
|
+
spec.add_development_dependency 'bundler', '~> 2.2'
|
26
|
+
spec.add_development_dependency 'rake', '~> 13.0'
|
27
|
+
spec.add_development_dependency 'rspec', '~> 3.10'
|
28
28
|
spec.add_development_dependency 'rubocop', '~> 0.54'
|
29
29
|
spec.add_development_dependency 'webmock', '~> 3.3'
|
30
30
|
end
|
metadata
CHANGED
@@ -1,14 +1,15 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: sensu-plugins-minio
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.4
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Hauke Altmann
|
8
|
+
- Jonathan Schlue
|
8
9
|
autorequire:
|
9
10
|
bindir: bin
|
10
11
|
cert_chain: []
|
11
|
-
date:
|
12
|
+
date: 2021-07-19 00:00:00.000000000 Z
|
12
13
|
dependencies:
|
13
14
|
- !ruby/object:Gem::Dependency
|
14
15
|
name: sensu-plugin
|
@@ -30,42 +31,42 @@ dependencies:
|
|
30
31
|
requirements:
|
31
32
|
- - "~>"
|
32
33
|
- !ruby/object:Gem::Version
|
33
|
-
version: '
|
34
|
+
version: '2.2'
|
34
35
|
type: :development
|
35
36
|
prerelease: false
|
36
37
|
version_requirements: !ruby/object:Gem::Requirement
|
37
38
|
requirements:
|
38
39
|
- - "~>"
|
39
40
|
- !ruby/object:Gem::Version
|
40
|
-
version: '
|
41
|
+
version: '2.2'
|
41
42
|
- !ruby/object:Gem::Dependency
|
42
43
|
name: rake
|
43
44
|
requirement: !ruby/object:Gem::Requirement
|
44
45
|
requirements:
|
45
46
|
- - "~>"
|
46
47
|
- !ruby/object:Gem::Version
|
47
|
-
version: '
|
48
|
+
version: '13.0'
|
48
49
|
type: :development
|
49
50
|
prerelease: false
|
50
51
|
version_requirements: !ruby/object:Gem::Requirement
|
51
52
|
requirements:
|
52
53
|
- - "~>"
|
53
54
|
- !ruby/object:Gem::Version
|
54
|
-
version: '
|
55
|
+
version: '13.0'
|
55
56
|
- !ruby/object:Gem::Dependency
|
56
57
|
name: rspec
|
57
58
|
requirement: !ruby/object:Gem::Requirement
|
58
59
|
requirements:
|
59
60
|
- - "~>"
|
60
61
|
- !ruby/object:Gem::Version
|
61
|
-
version: '3.
|
62
|
+
version: '3.10'
|
62
63
|
type: :development
|
63
64
|
prerelease: false
|
64
65
|
version_requirements: !ruby/object:Gem::Requirement
|
65
66
|
requirements:
|
66
67
|
- - "~>"
|
67
68
|
- !ruby/object:Gem::Version
|
68
|
-
version: '3.
|
69
|
+
version: '3.10'
|
69
70
|
- !ruby/object:Gem::Dependency
|
70
71
|
name: rubocop
|
71
72
|
requirement: !ruby/object:Gem::Requirement
|
@@ -103,6 +104,7 @@ extensions: []
|
|
103
104
|
extra_rdoc_files: []
|
104
105
|
files:
|
105
106
|
- ".gitignore"
|
107
|
+
- ".ruby-version"
|
106
108
|
- Gemfile
|
107
109
|
- Gemfile.lock
|
108
110
|
- LICENSE
|
@@ -132,8 +134,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
132
134
|
- !ruby/object:Gem::Version
|
133
135
|
version: '0'
|
134
136
|
requirements: []
|
135
|
-
|
136
|
-
rubygems_version: 2.7.6
|
137
|
+
rubygems_version: 3.1.2
|
137
138
|
signing_key:
|
138
139
|
specification_version: 4
|
139
140
|
summary: Check if there are updates for the local minio server instance
|