sensu 0.6.0 → 0.6.3
Sign up to get free protection for your applications and to get access to all the features.
- data/Rakefile +7 -1
- data/lib/sensu.rb +1 -2
- data/sensu.gemspec +6 -7
- data/sensu.windows +30 -0
- metadata +3 -2
data/Rakefile
CHANGED
@@ -4,5 +4,11 @@ require 'rake/testtask'
|
|
4
4
|
task :default => 'test'
|
5
5
|
|
6
6
|
Rake::TestTask.new do |test|
|
7
|
-
test.pattern =
|
7
|
+
test.pattern = 'test/*_test.rb'
|
8
|
+
end
|
9
|
+
|
10
|
+
desc "Build Sensu for Windows"
|
11
|
+
task :build_windows do
|
12
|
+
puts `sh -c 'BUILD=mswin gem build sensu.windows'`
|
13
|
+
puts `sh -c 'BUILD=mingw gem build sensu.windows'`
|
8
14
|
end
|
data/lib/sensu.rb
CHANGED
data/sensu.gemspec
CHANGED
@@ -1,6 +1,8 @@
|
|
1
|
+
require File.expand_path("../lib/sensu", __FILE__)
|
2
|
+
|
1
3
|
Gem::Specification.new do |s|
|
2
4
|
s.name = "sensu"
|
3
|
-
s.version =
|
5
|
+
s.version = Sensu::VERSION
|
4
6
|
s.platform = Gem::Platform::RUBY
|
5
7
|
s.authors = ["Sean Porter", "Justin Kolberg"]
|
6
8
|
s.email = ["sean.porter@sonian.net", "justin.kolberg@sonian.net"]
|
@@ -14,12 +16,9 @@ Gem::Specification.new do |s|
|
|
14
16
|
s.add_dependency("json")
|
15
17
|
s.add_dependency("uuidtools")
|
16
18
|
s.add_dependency("em-syslog")
|
17
|
-
|
18
|
-
|
19
|
-
|
20
|
-
s.add_dependency("async_sinatra")
|
21
|
-
s.add_dependency("thin")
|
22
|
-
end
|
19
|
+
s.add_dependency("em-hiredis")
|
20
|
+
s.add_dependency("async_sinatra")
|
21
|
+
s.add_dependency("thin")
|
23
22
|
|
24
23
|
s.add_development_dependency('rake')
|
25
24
|
s.add_development_dependency('minitest')
|
data/sensu.windows
ADDED
@@ -0,0 +1,30 @@
|
|
1
|
+
require File.expand_path("../lib/sensu", __FILE__)
|
2
|
+
|
3
|
+
Gem::Specification.new do |s|
|
4
|
+
s.name = "sensu"
|
5
|
+
s.version = Sensu::VERSION
|
6
|
+
s.authors = ["Sean Porter", "Justin Kolberg"]
|
7
|
+
s.email = ["sean.porter@sonian.net", "justin.kolberg@sonian.net"]
|
8
|
+
s.homepage = "https://github.com/sonian/sensu"
|
9
|
+
s.summary = %q{A server monitoring framework}
|
10
|
+
s.description = %q{A server monitoring framework using the publish-subscribe model}
|
11
|
+
s.license = "MIT"
|
12
|
+
s.has_rdoc = false
|
13
|
+
|
14
|
+
s.platform = case ENV['BUILD']
|
15
|
+
when "mswin"
|
16
|
+
"x86-mswin32"
|
17
|
+
when "mingw"
|
18
|
+
"x86-mingw32"
|
19
|
+
end
|
20
|
+
|
21
|
+
s.add_dependency("eventmachine", "1.0.0.beta.4.1")
|
22
|
+
s.add_dependency("amqp", "0.7.4")
|
23
|
+
s.add_dependency("json")
|
24
|
+
s.add_dependency("uuidtools")
|
25
|
+
s.add_dependency("em-syslog")
|
26
|
+
|
27
|
+
s.files = `git ls-files`.split("\n").reject {|f| f =~ /(dist|test)/}
|
28
|
+
s.executables = `git ls-files -- bin/*`.split("\n").map{ |f| File.basename(f) }
|
29
|
+
s.require_paths = ["lib"]
|
30
|
+
end
|
metadata
CHANGED
@@ -2,7 +2,7 @@
|
|
2
2
|
name: sensu
|
3
3
|
version: !ruby/object:Gem::Version
|
4
4
|
prerelease:
|
5
|
-
version: 0.6.
|
5
|
+
version: 0.6.3
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
8
8
|
- Sean Porter
|
@@ -11,7 +11,7 @@ autorequire:
|
|
11
11
|
bindir: bin
|
12
12
|
cert_chain: []
|
13
13
|
|
14
|
-
date: 2011-09-
|
14
|
+
date: 2011-09-27 00:00:00 Z
|
15
15
|
dependencies:
|
16
16
|
- !ruby/object:Gem::Dependency
|
17
17
|
name: amqp
|
@@ -163,6 +163,7 @@ files:
|
|
163
163
|
- lib/sensu/helpers.rb
|
164
164
|
- lib/sensu/server.rb
|
165
165
|
- sensu.gemspec
|
166
|
+
- sensu.windows
|
166
167
|
homepage: https://github.com/sonian/sensu
|
167
168
|
licenses:
|
168
169
|
- MIT
|