sensu 0.20.4 → 0.20.5

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: 5469b19ac21f6339e4d64ae5c8437e58f2f19b50
4
- data.tar.gz: ea3e79ea6588dfd3579b0dca1b39282b988cceaa
3
+ metadata.gz: 8007404a6dd86529b0ec5641f44251fb1f66e381
4
+ data.tar.gz: 2169f30451c9c3fe065fee86698e9093d0edc33d
5
5
  SHA512:
6
- metadata.gz: 0c0d2fcb925f79554e5c5a7e39852ad2db7c0db1fef889c4c9be68432a742c747a96266d77c99915aa9ee65b9cdf99a744feedcd4c5830750fe94222ec3d2f49
7
- data.tar.gz: ab20c73aaca110365baafde283548bca34a7863ae65dd523ffc98bc3d1945f8abbd30aca06e452d5700d56e5ef110025b9642d72268a62e4c0011cd8c520ff30
6
+ metadata.gz: 4b24da36fda299858ed7c49e484ff569ad0fb8050395093352e9768391480c90f136adb2339bfa7d7b82b6039fbcb7cda9236a598a19540b06de2a61de698c60
7
+ data.tar.gz: cee8022b8fcc784ff5fbf5b9fb6e92a1620549deac35c4728df69ee6cbaecdf314cdd24a7f59c5ede5cd0f53c8d18f5020c8feea2e2c1223d9719d0790f6c1d7
@@ -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]
@@ -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
@@ -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: ruby
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,14 +143,14 @@ dependencies:
143
143
  requirements:
144
144
  - - '='
145
145
  - !ruby/object:Gem::Version
146
- version: 1.3.0
146
+ version: 1.4.0
147
147
  type: :runtime
148
148
  prerelease: false
149
149
  version_requirements: !ruby/object:Gem::Requirement
150
150
  requirements:
151
151
  - - '='
152
152
  - !ruby/object:Gem::Version
153
- version: 1.3.0
153
+ version: 1.4.0
154
154
  - !ruby/object:Gem::Dependency
155
155
  name: em-redis-unified
156
156
  requirement: !ruby/object:Gem::Requirement