sensu-plugins-process-checks 3.0.0 → 3.0.1

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: e5b5afd51c3a410249cf094508d91b7c7c4b78efc436b82fc9997f52922b3928
4
- data.tar.gz: 0537e6f072b295a549c73621177eca769c95b69c04dfb520003639575364c4b2
3
+ metadata.gz: 75003eb9be3bf34501791b565cbecb8d2f66eea220f3593af2dff160c1f62f13
4
+ data.tar.gz: 777f324837498eec1f02233b62b31910b3f4dd954d2a176943e58c05ffb5bf5c
5
5
  SHA512:
6
- metadata.gz: f1574fa7c4e7a744dd594e7c47041305c73a0663158556f59c898aa4b2eb0afcb2a8a0e9b9000b9c4e4fb7717c4fc92d5cee7d566f2adcfb6555526cd709d35c
7
- data.tar.gz: ce3d9ecd31545e84f8ad8ca7e891df4d5983833ed4e4ea7f8f1bb1c014a940d041dad3109d9fa9c46cfbf83b69bfc3a0b6beca231ca9ce7a1a230cd89fa93382
6
+ metadata.gz: 29b4df1b52c0880e77df983798078f37b4c1d73ce006ccde79f41e616dd5c1c1c13314b00df69764cf1e340f06dff92bffd165c5df3f7fa549d2d6df0f3e577b
7
+ data.tar.gz: f2465df32618899325b162d1dbd10aa3bdcd7e75367cee798150471db0dc93a635e5ad9fbc66226b740e93fc3bbedf60ae7281d5ac88f948dc038afccaf5fddd
@@ -6,6 +6,9 @@ This CHANGELOG follows the format listed [here](https://github.com/sensu-plugins
6
6
 
7
7
  ## [Unreleased]
8
8
 
9
+ ### Fixed
10
+ - check-process.rb: fixed an issue introduced in #61 (@majormoses)
11
+
9
12
  ## [3.0.0] - 2018-03-17
10
13
  ### Security
11
14
  - updated rubocop dependency to `~> 0.51.0` per: https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2017-8418. (@majormoses)
@@ -170,7 +173,8 @@ This CHANGELOG follows the format listed [here](https://github.com/sensu-plugins
170
173
  - built against 1.9.3, 2.0, 2.1
171
174
  - cryptographically signed
172
175
 
173
- [Unreleased]: https://github.com/sensu-plugins/sensu-plugins-process-checks/compare/3.0.0...HEAD
176
+ [Unreleased]: https://github.com/sensu-plugins/sensu-plugins-process-checks/compare/3.0.1...HEAD
177
+ [3.0.1]: https://github.com/sensu-plugins/sensu-plugins-process-checks/compare/3.0.0...3.0.1
174
178
  [3.0.0]: https://github.com/sensu-plugins/sensu-plugins-process-checks/compare/2.7.0...3.0.0
175
179
  [2.7.0]: https://github.com/sensu-plugins/sensu-plugins-process-checks/compare/2.6.0...2.7.0
176
180
  [2.6.0]: https://github.com/sensu-plugins/sensu-plugins-process-checks/compare/2.5.0...2.6.0
@@ -208,7 +208,7 @@ class CheckProcess < Sensu::Plugin::Check::CLI
208
208
  #
209
209
  def on_cygwin?
210
210
  # #YELLOW
211
- `ps -W 2>&1`; $CHILD_STATUS.zero? # rubocop:disable Semicolon
211
+ `ps -W 2>&1`; $CHILD_STATUS.exitstatus.zero? # rubocop:disable Semicolon
212
212
  end
213
213
 
214
214
  # Acquire all the proceeses on a system for further analysis
@@ -2,7 +2,7 @@ module SensuPluginsProcessChecks
2
2
  module Version
3
3
  MAJOR = 3
4
4
  MINOR = 0
5
- PATCH = 0
5
+ PATCH = 1
6
6
 
7
7
  VER_STRING = [MAJOR, MINOR, PATCH].compact.join('.')
8
8
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: sensu-plugins-process-checks
3
3
  version: !ruby/object:Gem::Version
4
- version: 3.0.0
4
+ version: 3.0.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Sensu-Plugins and contributors