sensu 0.5.15 → 0.6.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (4) hide show
  1. data/bin/sensu-api +1 -1
  2. data/bin/sensu-server +1 -1
  3. data/sensu.gemspec +5 -2
  4. metadata +1 -1
@@ -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.include?('mswin32')
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'
@@ -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.include?('mswin32')
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'
@@ -1,6 +1,7 @@
1
1
  Gem::Specification.new do |s|
2
2
  s.name = "sensu"
3
- s.version = "0.5.15"
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
- unless RUBY_PLATFORM.downcase.include?('mswin32')
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')
metadata CHANGED
@@ -2,7 +2,7 @@
2
2
  name: sensu
3
3
  version: !ruby/object:Gem::Version
4
4
  prerelease:
5
- version: 0.5.15
5
+ version: 0.6.0
6
6
  platform: ruby
7
7
  authors:
8
8
  - Sean Porter