sensu 0.5.14 → 0.5.15

Sign up to get free protection for your applications and to get access to all the features.
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- sensu (0.5.13)
4
+ sensu (0.5.14)
5
5
  amqp (= 0.7.4)
6
6
  async_sinatra
7
7
  em-hiredis
data/bin/sensu-api CHANGED
@@ -1,6 +1,9 @@
1
1
  #!/usr/bin/env ruby
2
2
 
3
+ raise "The Sensu API does not run on Windows" if RUBY_PLATFORM.downcase.include?('mswin32')
4
+
3
5
  $: << File.dirname(__FILE__) + '/../lib' unless $:.include?(File.dirname(__FILE__) + '/../lib/')
4
6
  require 'sensu/api'
5
7
 
6
- Sensu::API.run(Sensu::Config.read_arguments(ARGV))
8
+ options = Sensu::Config.read_arguments(ARGV)
9
+ Sensu::API.run(options)
data/bin/sensu-client CHANGED
@@ -3,4 +3,5 @@
3
3
  $: << File.dirname(__FILE__) + '/../lib' unless $:.include?(File.dirname(__FILE__) + '/../lib/')
4
4
  require 'sensu/client'
5
5
 
6
- Sensu::Client.run(Sensu::Config.read_arguments(ARGV))
6
+ options = Sensu::Config.read_arguments(ARGV)
7
+ Sensu::Client.run(options)
data/bin/sensu-server CHANGED
@@ -1,6 +1,9 @@
1
1
  #!/usr/bin/env ruby
2
2
 
3
+ raise "The Sensu Server does not run on Windows" if RUBY_PLATFORM.downcase.include?('mswin32')
4
+
3
5
  $: << File.dirname(__FILE__) + '/../lib' unless $:.include?(File.dirname(__FILE__) + '/../lib/')
4
6
  require 'sensu/server'
5
7
 
6
- Sensu::Server.run(Sensu::Config.read_arguments(ARGV))
8
+ options = Sensu::Config.read_arguments(ARGV)
9
+ Sensu::Server.run(options)
data/sensu.gemspec CHANGED
@@ -1,6 +1,6 @@
1
1
  Gem::Specification.new do |s|
2
2
  s.name = "sensu"
3
- s.version = "0.5.14"
3
+ s.version = "0.5.15"
4
4
  s.authors = ["Sean Porter", "Justin Kolberg"]
5
5
  s.email = ["sean.porter@sonian.net", "justin.kolberg@sonian.net"]
6
6
  s.homepage = "https://github.com/sonian/sensu"
@@ -12,10 +12,12 @@ Gem::Specification.new do |s|
12
12
  s.add_dependency("amqp", "0.7.4")
13
13
  s.add_dependency("json")
14
14
  s.add_dependency("uuidtools")
15
- s.add_dependency("em-hiredis")
16
15
  s.add_dependency("em-syslog")
17
- s.add_dependency("async_sinatra")
18
- s.add_dependency("thin")
16
+ unless RUBY_PLATFORM.downcase.include?('mswin32')
17
+ s.add_dependency("em-hiredis")
18
+ s.add_dependency("async_sinatra")
19
+ s.add_dependency("thin")
20
+ end
19
21
  s.add_development_dependency('rake')
20
22
  s.add_development_dependency('minitest')
21
23
  s.add_development_dependency('em-ventually')
metadata CHANGED
@@ -2,7 +2,7 @@
2
2
  name: sensu
3
3
  version: !ruby/object:Gem::Version
4
4
  prerelease:
5
- version: 0.5.14
5
+ version: 0.5.15
6
6
  platform: ruby
7
7
  authors:
8
8
  - Sean Porter
@@ -47,7 +47,7 @@ dependencies:
47
47
  type: :runtime
48
48
  version_requirements: *id003
49
49
  - !ruby/object:Gem::Dependency
50
- name: em-hiredis
50
+ name: em-syslog
51
51
  prerelease: false
52
52
  requirement: &id004 !ruby/object:Gem::Requirement
53
53
  none: false
@@ -58,7 +58,7 @@ dependencies:
58
58
  type: :runtime
59
59
  version_requirements: *id004
60
60
  - !ruby/object:Gem::Dependency
61
- name: em-syslog
61
+ name: em-hiredis
62
62
  prerelease: false
63
63
  requirement: &id005 !ruby/object:Gem::Requirement
64
64
  none: false