sensu 0.14.0.beta → 0.14.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: 03f7b351c7b3313b052fc9101104a507e222a72a
4
- data.tar.gz: 9d383b007b24f9ffd36199fda48d93301e78512e
3
+ metadata.gz: adea9f9477e945ab2526d28659ef3d236a78f308
4
+ data.tar.gz: ed54bd09e178e624a28cad223feee4a1d4d50650
5
5
  SHA512:
6
- metadata.gz: 2a97f6ffac42dd09e68eea5baaf9248c9dec3f20c5495c560651c28ea2900f1b6b86ac2dfbdb202c9460e6965c18595eae76ce85bc3715028d39d5548eaa0568
7
- data.tar.gz: ea7357550ec3663bad511a880d6db95b2a4454efe34af55cd21e892f6baf1a5f0f8529896f1c67e6c6488aa1c5db3e323aeba901ce9eefc0defd1c9122e9c16b
6
+ metadata.gz: 3f8262a436f850447e9bb3be00974503d8e87c0892def21a7484931db63c88c7d646ba23afdcabe3d27bcb742aad081eb2e15f3522ada6ffcbfcb1e6d4c738bf
7
+ data.tar.gz: 85501da63da2b4352a0719893014e960b1c791d87a9939e4b544e176d2c1ad0e832e9b9bb98bb0cb66fc867ab18817a2d0f5f017a45b56bdd36eb0bda05f3b88
data/CHANGELOG.md CHANGED
@@ -1,4 +1,4 @@
1
- ## 0.14.0 - TBD
1
+ ## 0.14.0 - 2014-09-29
2
2
 
3
3
  ### Features
4
4
 
@@ -7,6 +7,9 @@ allows check results to have larger output (metrics, backtraces, etc).
7
7
 
8
8
  API now supports CORS (configurable).
9
9
 
10
+ Check "source" attribute validation; it must be a string, event data
11
+ consumers no longer have to validate it.
12
+
10
13
  ### Other
11
14
 
12
15
  Child process manager now supports check output larger than the max OS
data/lib/sensu/api.rb CHANGED
@@ -135,7 +135,7 @@ module Sensu
135
135
  end
136
136
 
137
137
  def unauthorized!
138
- ahalt 401
138
+ throw(:halt, [401, ''])
139
139
  end
140
140
 
141
141
  def not_found!
@@ -1,6 +1,6 @@
1
1
  module Sensu
2
2
  unless defined?(Sensu::VERSION)
3
- VERSION = '0.14.0.beta'
3
+ VERSION = '0.14.0'
4
4
 
5
5
  SEVERITIES = %w[ok warning critical unknown]
6
6
 
data/lib/sensu/daemon.rb CHANGED
@@ -4,7 +4,7 @@ gem 'multi_json', '1.10.1'
4
4
 
5
5
  gem 'sensu-em', '2.4.0'
6
6
  gem 'sensu-logger', '1.0.0'
7
- gem 'sensu-settings', '1.0.0'
7
+ gem 'sensu-settings', '1.2.0'
8
8
  gem 'sensu-extension', '1.0.0'
9
9
  gem 'sensu-extensions', '1.0.0'
10
10
  gem 'sensu-transport', '1.0.0'
data/lib/sensu/server.rb CHANGED
@@ -41,6 +41,7 @@ module Sensu
41
41
  :message => message,
42
42
  :error => error.to_s
43
43
  })
44
+ @transport.ack(message_info)
44
45
  end
45
46
  end
46
47
  end
@@ -460,15 +461,15 @@ module Sensu
460
461
  :result => result
461
462
  })
462
463
  process_result(result)
463
- EM::next_tick do
464
- @transport.ack(message_info)
465
- end
466
464
  rescue MultiJson::ParseError => error
467
465
  @logger.error('failed to parse result payload', {
468
466
  :message => message,
469
467
  :error => error.to_s
470
468
  })
471
469
  end
470
+ EM::next_tick do
471
+ @transport.ack(message_info)
472
+ end
472
473
  end
473
474
  end
474
475
 
data/sensu.gemspec CHANGED
@@ -18,7 +18,7 @@ Gem::Specification.new do |s|
18
18
  s.add_dependency('uuidtools', '2.1.4')
19
19
  s.add_dependency('sensu-em', '2.4.0')
20
20
  s.add_dependency('sensu-logger', '1.0.0')
21
- s.add_dependency('sensu-settings', '1.0.0')
21
+ s.add_dependency('sensu-settings', '1.2.0')
22
22
  s.add_dependency('sensu-extension', '1.0.0')
23
23
  s.add_dependency('sensu-extensions', '1.0.0')
24
24
  s.add_dependency('sensu-transport', '1.0.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.14.0.beta
4
+ version: 0.14.0
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: 2014-09-19 00:00:00.000000000 Z
12
+ date: 2014-09-29 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: multi_json
@@ -73,14 +73,14 @@ dependencies:
73
73
  requirements:
74
74
  - - '='
75
75
  - !ruby/object:Gem::Version
76
- version: 1.0.0
76
+ version: 1.2.0
77
77
  type: :runtime
78
78
  prerelease: false
79
79
  version_requirements: !ruby/object:Gem::Requirement
80
80
  requirements:
81
81
  - - '='
82
82
  - !ruby/object:Gem::Version
83
- version: 1.0.0
83
+ version: 1.2.0
84
84
  - !ruby/object:Gem::Dependency
85
85
  name: sensu-extension
86
86
  requirement: !ruby/object:Gem::Requirement
@@ -279,9 +279,9 @@ required_ruby_version: !ruby/object:Gem::Requirement
279
279
  version: '0'
280
280
  required_rubygems_version: !ruby/object:Gem::Requirement
281
281
  requirements:
282
- - - ">"
282
+ - - ">="
283
283
  - !ruby/object:Gem::Version
284
- version: 1.3.1
284
+ version: '0'
285
285
  requirements: []
286
286
  rubyforge_project:
287
287
  rubygems_version: 2.2.2