sensu 0.5.15 → 0.6.0
Sign up to get free protection for your applications and to get access to all the features.
- data/bin/sensu-api +1 -1
- data/bin/sensu-server +1 -1
- data/sensu.gemspec +5 -2
- metadata +1 -1
data/bin/sensu-api
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
#!/usr/bin/env ruby
|
2
2
|
|
3
|
-
raise "The Sensu API does not run on Windows" if RUBY_PLATFORM.downcase
|
3
|
+
raise "The Sensu API does not run on Windows" if RUBY_PLATFORM.downcase =~ /mswin|mingw32|windows/
|
4
4
|
|
5
5
|
$: << File.dirname(__FILE__) + '/../lib' unless $:.include?(File.dirname(__FILE__) + '/../lib/')
|
6
6
|
require 'sensu/api'
|
data/bin/sensu-server
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
#!/usr/bin/env ruby
|
2
2
|
|
3
|
-
raise "The Sensu Server does not run on Windows" if RUBY_PLATFORM.downcase
|
3
|
+
raise "The Sensu Server does not run on Windows" if RUBY_PLATFORM.downcase =~ /mswin|mingw32|windows/
|
4
4
|
|
5
5
|
$: << File.dirname(__FILE__) + '/../lib' unless $:.include?(File.dirname(__FILE__) + '/../lib/')
|
6
6
|
require 'sensu/server'
|
data/sensu.gemspec
CHANGED
@@ -1,6 +1,7 @@
|
|
1
1
|
Gem::Specification.new do |s|
|
2
2
|
s.name = "sensu"
|
3
|
-
s.version = "0.
|
3
|
+
s.version = "0.6.0"
|
4
|
+
s.platform = Gem::Platform::RUBY
|
4
5
|
s.authors = ["Sean Porter", "Justin Kolberg"]
|
5
6
|
s.email = ["sean.porter@sonian.net", "justin.kolberg@sonian.net"]
|
6
7
|
s.homepage = "https://github.com/sonian/sensu"
|
@@ -13,11 +14,13 @@ Gem::Specification.new do |s|
|
|
13
14
|
s.add_dependency("json")
|
14
15
|
s.add_dependency("uuidtools")
|
15
16
|
s.add_dependency("em-syslog")
|
16
|
-
|
17
|
+
|
18
|
+
unless RUBY_PLATFORM.downcase =~ /mswin|mingw32|windows/
|
17
19
|
s.add_dependency("em-hiredis")
|
18
20
|
s.add_dependency("async_sinatra")
|
19
21
|
s.add_dependency("thin")
|
20
22
|
end
|
23
|
+
|
21
24
|
s.add_development_dependency('rake')
|
22
25
|
s.add_development_dependency('minitest')
|
23
26
|
s.add_development_dependency('em-ventually')
|