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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: d74061e15df08517fa18fd66022c63eed26d23141f0cc60699e907f949bccd7f
4
- data.tar.gz: 161197e9bcc9ed4a0cccc89af3d3ca6b5c9996432e0429d80d6326c1ce9d15a6
3
+ metadata.gz: 64bb081b5d04a0d0cb0bc43c8dc30eaec85d13fa4b604bae0c6575acb67123f0
4
+ data.tar.gz: 226f4a97e66844d4986220a56c0c72c12a4d057f449b64619252950e09ab4bc7
5
5
  SHA512:
6
- metadata.gz: a1995cc2b3453c2d40bd22017dad9af13bc60dbc487cee5093a575fb5cb64a59302f864eedda2fa1d793c3029704cd80e1a98224ffe9e8ef0325052e9f9917e4
7
- data.tar.gz: c139954f08cb4fc7fe9c8fc84af54c4ea76c78435ce1c69965290695c17583fc40556d60cbb28810ceeef021a12e1c42562b95d95bc4edbece5aa0d6147e9558
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.3)
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.7.0)
10
+ addressable (2.8.0)
11
11
  public_suffix (>= 2.0.2, < 5.0)
12
- ast (2.4.0)
13
- crack (0.4.3)
14
- safe_yaml (~> 1.0.0)
15
- diff-lcs (1.3)
16
- hashdiff (1.0.0)
17
- jaro_winkler (1.5.3)
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.17.0)
21
- parser (2.6.4.0)
22
- ast (~> 2.4.0)
23
- public_suffix (4.0.1)
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 (10.5.0)
26
- rspec (3.8.0)
27
- rspec-core (~> 3.8.0)
28
- rspec-expectations (~> 3.8.0)
29
- rspec-mocks (~> 3.8.0)
30
- rspec-core (3.8.2)
31
- rspec-support (~> 3.8.0)
32
- rspec-expectations (3.8.4)
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.8.0)
35
- rspec-mocks (3.8.1)
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.8.0)
38
- rspec-support (3.8.2)
39
- rubocop (0.74.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.6)
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, < 1.7)
46
- ruby-progressbar (1.10.1)
47
- safe_yaml (1.0.5)
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.6.0)
52
- webmock (3.7.2)
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
- ruby
62
+ x86_64-linux
59
63
 
60
64
  DEPENDENCIES
61
- bundler (~> 1.11)
62
- rake (~> 10.0)
63
- rspec (~> 3.7)
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
- 1.16.1
73
+ 2.2.23
@@ -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: true)
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
 
@@ -3,7 +3,7 @@
3
3
  module Sensu
4
4
  module Plugins
5
5
  module Minio
6
- VERSION = '0.0.3'
6
+ VERSION = '0.0.4'
7
7
  end
8
8
  end
9
9
  end
@@ -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', '~> 1.11'
26
- spec.add_development_dependency 'rake', '~> 10.0'
27
- spec.add_development_dependency 'rspec', '~> 3.7'
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.3
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: 2020-01-13 00:00:00.000000000 Z
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: '1.11'
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: '1.11'
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: '10.0'
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: '10.0'
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.7'
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.7'
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
- rubyforge_project:
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