sensu 0.14.0.beta-java → 0.14.0-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: 4579594b99d018ca7ec1fe9c2d82d8c3a1796dc6
4
- data.tar.gz: 95def4eb9ebce9a3851c3571dfb06a23a126a639
3
+ metadata.gz: 328d24e5e21e7d4ae6f0d39723a6a6e7f7725df9
4
+ data.tar.gz: 34a1af82a31abf17d0c481960923244fabb140d6
5
5
  SHA512:
6
- metadata.gz: b185dc5176bb716b33537424da4cbfd81155dcee418911bc6beb980238781fd6b15e1080530294ade66d4666d368f3cd31d43dac7bc85c32178a28c8dabeb642
7
- data.tar.gz: 594bddf91fb61f1e97a4ebf4867b967e0457c8eed61a5d24887a3ac2083d2fd9ddc6b03c1a180fbb69aed970546d370dcd51f6eb00587431afe31f73531aa5b5
6
+ metadata.gz: bfd5d13ed7e66cb3cde4d50b904dbfff4d5447f72425a8ea5822301d228bb3ccd06edf41429d2908994e4c41070905c7e55554d57d2e2f28b401360f238f2c00
7
+ data.tar.gz: bb0f2ecf54df0a04c5f9ee7ad2bf279b8702e6747a6a289575caffa16dfba4edcc24f7fa6b58b84f28aec9edff3431bd42c3d40e5558d248336d753e7a3b75d5
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: 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: 2014-09-19 00:00:00.000000000 Z
12
+ date: 2014-09-30 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: multi_json
@@ -73,12 +73,12 @@ dependencies:
73
73
  requirements:
74
74
  - - '='
75
75
  - !ruby/object:Gem::Version
76
- version: 1.0.0
76
+ version: 1.2.0
77
77
  requirement: !ruby/object:Gem::Requirement
78
78
  requirements:
79
79
  - - '='
80
80
  - !ruby/object:Gem::Version
81
- version: 1.0.0
81
+ version: 1.2.0
82
82
  prerelease: false
83
83
  type: :runtime
84
84
  - !ruby/object:Gem::Dependency
@@ -265,9 +265,9 @@ required_ruby_version: !ruby/object:Gem::Requirement
265
265
  version: '0'
266
266
  required_rubygems_version: !ruby/object:Gem::Requirement
267
267
  requirements:
268
- - - '>'
268
+ - - '>='
269
269
  - !ruby/object:Gem::Version
270
- version: 1.3.1
270
+ version: '0'
271
271
  requirements: []
272
272
  rubyforge_project:
273
273
  rubygems_version: 2.1.9