sensu-plugins-selinux 0.0.4 → 1.0.0

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
  SHA1:
3
- metadata.gz: f7466396c638b52bdb596af60f3eb67555b0c67f
4
- data.tar.gz: bb68e161831470f7497bd04f5513ba7918313e13
3
+ metadata.gz: 70f73e290386fadd9320ee5694a58c331cbdf6fe
4
+ data.tar.gz: ec67e8187cf2083c0c5b6b1be7d00a9e1c48cb06
5
5
  SHA512:
6
- metadata.gz: e195c6e702846840e2e4bbc79bea66301dc92200a392d612cf902aadb331d0a894c9282dfe54c6f810dda922194fbccec5d6bb9633cf1be060eaacf780f93791
7
- data.tar.gz: c2924c2f88fb0c6396a9adcbb661e496c44e7cc3809f8f9885c3b3d8f2ff6bc80c6e79bf885df9df1392a97e5765c6f271c85f0f52a4cb980500f5f55ccb2bef
6
+ metadata.gz: 0b3f6698b0ecc561a6263169ed2cadbf432c09547d74aa8ed1acdea76aca04bd346fd847c7aa038785792698cda03c2a8d2e570e2125065dae966efe35f18892
7
+ data.tar.gz: 29108cfdebdd78b7d8e9a0df908fd0a669192e5547da0f4b7a477aa60e1a5b77b393d0fe5119a09828cce03810c9844175307b9d64cce3e033074f08c70f2179
data/CHANGELOG.md CHANGED
@@ -1,9 +1,20 @@
1
- #Change Log
1
+ # Change Log
2
2
  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
- ## Unreleased
6
+ ## [Unreleased]
7
+
8
+ ## [1.0.0] - 2017-06-07
9
+ ### Added
10
+ - Support for Ruby 2.3 and 2.4 (@eheydrick)
11
+
12
+ ### Removed
13
+ - Support for Ruby 1.9.3 (@eheydrick)
14
+
15
+ ### Changed
16
+ - Relax `sensu-plugin` dependency to `~> 1.2` (@mattyjones)
17
+ - Rubocop upgrade and cleanup
7
18
 
8
19
  ## [0.0.4] - 2016-01-05
9
20
  ### Fixed
@@ -17,8 +28,12 @@ This CHANGELOG follows the format listed at [Keep A Changelog](http://keepachang
17
28
  ### Changed
18
29
  - updated sensu-plugin gem to 1.2.0
19
30
 
20
- ## [0.0.1] - 2015-07-04
21
-
31
+ ## 0.0.1 - 2015-07-04
22
32
  ### Added
23
33
  - initial release
24
34
 
35
+ [Unreleased]: https://github.com/sensu-plugins/sensu-plugins-selinux/compare/1.0.0...HEAD
36
+ [1.0.0]: https://github.com/sensu-plugins/sensu-plugins-selinux/compare/0.0.4...1.0.0
37
+ [0.0.4]: https://github.com/sensu-plugins/sensu-plugins-selinux/compare/0.0.3...0.0.4
38
+ [0.0.3]: https://github.com/sensu-plugins/sensu-plugins-selinux/compare/0.0.2...0.0.3
39
+ [0.0.2]: https://github.com/sensu-plugins/sensu-plugins-selinux/compare/0.0.1...0.0.2
data/README.md CHANGED
@@ -5,7 +5,6 @@
5
5
  [![Code Climate](https://codeclimate.com/github/sensu-plugins/sensu-plugins-selinux/badges/gpa.svg)](https://codeclimate.com/github/sensu-plugins/sensu-plugins-selinux)
6
6
  [![Test Coverage](https://codeclimate.com/github/sensu-plugins/sensu-plugins-selinux/badges/coverage.svg)](https://codeclimate.com/github/sensu-plugins/sensu-plugins-selinux)
7
7
  [![Dependency Status](https://gemnasium.com/sensu-plugins/sensu-plugins-selinux.svg)](https://gemnasium.com/sensu-plugins/sensu-plugins-selinux)
8
- [![Codeship Status for sensu-plugins/sensu-plugins-selinux](https://codeship.com/projects/d4eb0e60-e8a5-0132-ba60-0e94167ad564/status?branch=master)](https://codeship.com/projects/82855)
9
8
 
10
9
  ## Functionality
11
10
 
data/bin/check-selinux.rb CHANGED
@@ -33,7 +33,7 @@ class SELinuxCheck < Sensu::Plugin::Check::CLI
33
33
  required: false
34
34
 
35
35
  def enforcing?(check)
36
- if check.downcase == 'enforcing'
36
+ if check.casecmp('enforcing').zero?
37
37
  true
38
38
  else
39
39
  false
@@ -50,7 +50,7 @@ class SELinuxCheck < Sensu::Plugin::Check::CLI
50
50
  ok 'SELinux is disabled'
51
51
  end
52
52
  else
53
- if enforcing?(check)
53
+ if enforcing?(check) # rubocop:disable Style/IfInsideElse
54
54
  ok 'SELinux is being enforced'
55
55
  else
56
56
  critical 'SELinux is disabled'
@@ -2,9 +2,9 @@
2
2
  module SensuPluginsSelinux
3
3
  # This defines the version of the gem
4
4
  module Version
5
- MAJOR = 0
5
+ MAJOR = 1
6
6
  MINOR = 0
7
- PATCH = 4
7
+ PATCH = 0
8
8
 
9
9
  VER_STRING = [MAJOR, MINOR, PATCH].compact.join('.')
10
10
  end
metadata CHANGED
@@ -1,51 +1,29 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: sensu-plugins-selinux
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.4
4
+ version: 1.0.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Sensu-Plugins and contributors
8
8
  autorequire:
9
9
  bindir: bin
10
- cert_chain:
11
- - |
12
- -----BEGIN CERTIFICATE-----
13
- MIIDgDCCAmigAwIBAgIBATANBgkqhkiG9w0BAQUFADBDMRIwEAYDVQQDDAltYXR0
14
- am9uZXMxGDAWBgoJkiaJk/IsZAEZFgh5aWVsZGJvdDETMBEGCgmSJomT8ixkARkW
15
- A2NvbTAeFw0xNTAxMjgyMTAyNTFaFw0xNjAxMjgyMTAyNTFaMEMxEjAQBgNVBAMM
16
- CW1hdHRqb25lczEYMBYGCgmSJomT8ixkARkWCHlpZWxkYm90MRMwEQYKCZImiZPy
17
- LGQBGRYDY29tMIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEAyTSzVYnO
18
- CLgyrIyT1mBQakArQyW8xhi6MlDqyzXHJGeERT790U6EgoBVeS4XoK0ptFZNR8Tf
19
- zko0w+Nv47TarSCgkPOaxY+mxWnAVR10dOmfeLr7huiMyps+YD56/EF2FqQ3jf/+
20
- qohENfKD91qy1ieEy+Fn7Pf74ltbNKUdkb9a9eFXQ0DQ4ip5vik7DzjQkUTj4lca
21
- k6ArwnmHX4YDhZoYtrQJ8jVktN0/+NtA40M5qkCYHNe5tUW25b/tKVYuioxG6b2Z
22
- oIzaZxRLxf6HVAWpCVRT/F5+/yjigkX4u++eYacfLGleXQzoK7BL65vHGMJygWEE
23
- 0TKGqFOrl/L0AQIDAQABo38wfTAJBgNVHRMEAjAAMAsGA1UdDwQEAwIEsDAdBgNV
24
- HQ4EFgQUEf6a8Td7MrSZc8ImbLFZAENPbz0wIQYDVR0RBBowGIEWbWF0dGpvbmVz
25
- QHlpZWxkYm90LmNvbTAhBgNVHRIEGjAYgRZtYXR0am9uZXNAeWllbGRib3QuY29t
26
- MA0GCSqGSIb3DQEBBQUAA4IBAQBbzXAYA3BVGw8DZ0YYoY1VHPNEcH5qPIApmHO8
27
- rvSmuUT0yMEi7u00H/5uHRFf4LleGT/+sTdyXKsNPGT9kdRuQEgwi+vf7Zfvd8aX
28
- UF/+4VkEYf/8rV8Ere6u2QaWPgApdMV6JjKr1fAwCTd8AuGXNaWItiPPMseSQzLJ
29
- JKP4hVvbc1d+oS925B1lcBiqn2aYvElbyNAVmQPywNNqkWmvtlqj9ZVJfV5HQLdu
30
- 8sHuVruarogxxKPBzlL2is4EUb6oN/RdpGx2l4254+nyR+abg//Ed27Ym0PkB4lk
31
- HP0m8WSjZmFr109pE/sVsM5jtOCvogyujQOjNVGN4gz1wwPr
32
- -----END CERTIFICATE-----
33
- date: 2016-01-05 00:00:00.000000000 Z
10
+ cert_chain: []
11
+ date: 2017-06-08 00:00:00.000000000 Z
34
12
  dependencies:
35
13
  - !ruby/object:Gem::Dependency
36
14
  name: sensu-plugin
37
15
  requirement: !ruby/object:Gem::Requirement
38
16
  requirements:
39
- - - '='
17
+ - - "~>"
40
18
  - !ruby/object:Gem::Version
41
- version: 1.2.0
19
+ version: '1.2'
42
20
  type: :runtime
43
21
  prerelease: false
44
22
  version_requirements: !ruby/object:Gem::Requirement
45
23
  requirements:
46
- - - '='
24
+ - - "~>"
47
25
  - !ruby/object:Gem::Version
48
- version: 1.2.0
26
+ version: '1.2'
49
27
  - !ruby/object:Gem::Dependency
50
28
  name: bundler
51
29
  requirement: !ruby/object:Gem::Requirement
@@ -106,16 +84,16 @@ dependencies:
106
84
  name: rubocop
107
85
  requirement: !ruby/object:Gem::Requirement
108
86
  requirements:
109
- - - '='
87
+ - - "~>"
110
88
  - !ruby/object:Gem::Version
111
- version: 0.32.1
89
+ version: 0.40.0
112
90
  type: :development
113
91
  prerelease: false
114
92
  version_requirements: !ruby/object:Gem::Requirement
115
93
  requirements:
116
- - - '='
94
+ - - "~>"
117
95
  - !ruby/object:Gem::Version
118
- version: 0.32.1
96
+ version: 0.40.0
119
97
  - !ruby/object:Gem::Dependency
120
98
  name: rspec
121
99
  requirement: !ruby/object:Gem::Requirement
@@ -172,7 +150,7 @@ dependencies:
172
150
  - - "~>"
173
151
  - !ruby/object:Gem::Version
174
152
  version: '0.8'
175
- description: Sensu selinx plugins
153
+ description: Sensu SELinux plugins
176
154
  email: "<sensu-users@googlegroups.com>"
177
155
  executables:
178
156
  - check-selinux.rb
@@ -203,7 +181,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
203
181
  requirements:
204
182
  - - ">="
205
183
  - !ruby/object:Gem::Version
206
- version: 1.9.3
184
+ version: 2.0.0
207
185
  required_rubygems_version: !ruby/object:Gem::Requirement
208
186
  requirements:
209
187
  - - ">="
@@ -211,8 +189,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
211
189
  version: '0'
212
190
  requirements: []
213
191
  rubyforge_project:
214
- rubygems_version: 2.4.8
192
+ rubygems_version: 2.4.5
215
193
  signing_key:
216
194
  specification_version: 4
217
- summary: Sensu plugins for selinx
195
+ summary: Sensu plugins for SELinux
218
196
  test_files: []
checksums.yaml.gz.sig DELETED
@@ -1 +0,0 @@
1
- q�EB��h��D�ʳ���e�� �j��i�k[I�AU%f_�e%-2��9����M�q�/>r�b/��!/q��ny�0/ʻ�]���E�mB/w2BQ�|��@�ю �L� U|��5�������Sԏ;Q�v�iSj�z��G[ק��ValT ��j�`�g�x^Ϋ^Á�Q�����S6�
data.tar.gz.sig DELETED
Binary file
metadata.gz.sig DELETED
Binary file