sensu 0.20.4-java → 0.20.5-java

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: 34732700241b68d848504a8292bd3b75f6348fdd
4
- data.tar.gz: 4541192775dd95f090a1dfe208e1833862cf475d
3
+ metadata.gz: 923c6f4227eaf088c354a1537d7caf9b6d52bd43
4
+ data.tar.gz: bc2c5489cbb22cda8ab7ac03f7954c424448fb22
5
5
  SHA512:
6
- metadata.gz: 654731652717fe1a940ca0e7f24caae822525f0c7923675107fb6c2431016f63a3a91dc3c3293f0fd71064be081e2c39072f50bfbab4685649c3921d7888cd5c
7
- data.tar.gz: eae20f46c3de25fc7559226fa8920b1c31b7393e6584b6dd6859c3d9fddfb345e9d5d822ac36d654c593af60649ef4ce606be4835c2dae7d648174e955a37920
6
+ metadata.gz: 57a1da9ffca503307405c449972c93fe7af542e4f2bb754f4504a6ae36cce4409cbd64797a0ac9d61a42bb6f4ef2756c6fc90a5327dc9a349871500d60837a06
7
+ data.tar.gz: 83415bcd10f4f138817e0f31e6fd9f096e9d0766094bd632adfc09ea32c5501914becf8d1a2cfc2117d7f142fbd89dbe1a489105f149df31e4ad29c8f5042acd
data/CHANGELOG.md CHANGED
@@ -1,3 +1,12 @@
1
+ ## 0.20.5 - 2015-09-09
2
+
3
+ ### Other
4
+
5
+ Updated sensu-spawn to 1.4.0, adding a mutex to ChildProcess Unix POSIX
6
+ spawn, allowing safe execution on Ruby runtimes with real threads (JRuby).
7
+
8
+ Fixed metric check output truncation when output is empty.
9
+
1
10
  ## 0.20.4 - 2015-08-28
2
11
 
3
12
  ### Other
@@ -1,7 +1,7 @@
1
1
  module Sensu
2
2
  unless defined?(Sensu::VERSION)
3
3
  # Sensu release version.
4
- VERSION = "0.20.4"
4
+ VERSION = "0.20.5"
5
5
 
6
6
  # Sensu check severities.
7
7
  SEVERITIES = %w[ok warning critical unknown]
data/lib/sensu/daemon.rb CHANGED
@@ -8,7 +8,7 @@ gem "sensu-settings", "3.1.0"
8
8
  gem "sensu-extension", "1.1.2"
9
9
  gem "sensu-extensions", "1.2.0"
10
10
  gem "sensu-transport", "3.2.1"
11
- gem "sensu-spawn", "1.3.0"
11
+ gem "sensu-spawn", "1.4.0"
12
12
 
13
13
  require "time"
14
14
  require "uri"
@@ -210,7 +210,7 @@ module Sensu
210
210
  case check[:type]
211
211
  when "metric"
212
212
  output_lines = check[:output].split("\n")
213
- output = output_lines.first
213
+ output = output_lines.first || check[:output]
214
214
  if output_lines.size > 1 || output.length > 255
215
215
  output = output[0..255] + "\n..."
216
216
  end
data/sensu.gemspec CHANGED
@@ -23,7 +23,7 @@ Gem::Specification.new do |s|
23
23
  s.add_dependency "sensu-extension", "1.1.2"
24
24
  s.add_dependency "sensu-extensions", "1.2.0"
25
25
  s.add_dependency "sensu-transport", "3.2.1"
26
- s.add_dependency "sensu-spawn", "1.3.0"
26
+ s.add_dependency "sensu-spawn", "1.4.0"
27
27
  s.add_dependency "em-redis-unified", "1.0.0"
28
28
  s.add_dependency "sinatra", "1.4.6"
29
29
  s.add_dependency "async_sinatra", "1.2.0"
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: sensu
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.20.4
4
+ version: 0.20.5
5
5
  platform: java
6
6
  authors:
7
7
  - Sean Porter
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2015-08-29 00:00:00.000000000 Z
12
+ date: 2015-09-09 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: multi_json
@@ -143,12 +143,12 @@ dependencies:
143
143
  requirements:
144
144
  - - '='
145
145
  - !ruby/object:Gem::Version
146
- version: 1.3.0
146
+ version: 1.4.0
147
147
  requirement: !ruby/object:Gem::Requirement
148
148
  requirements:
149
149
  - - '='
150
150
  - !ruby/object:Gem::Version
151
- version: 1.3.0
151
+ version: 1.4.0
152
152
  prerelease: false
153
153
  type: :runtime
154
154
  - !ruby/object:Gem::Dependency