sensu 0.6.2-x86-mingw32 → 0.6.3-x86-mingw32

Sign up to get free protection for your applications and to get access to all the features.
Files changed (5) hide show
  1. data/Rakefile +7 -1
  2. data/lib/sensu.rb +1 -2
  3. data/sensu.gemspec +7 -18
  4. data/sensu.windows +30 -0
  5. metadata +10 -75
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 = "test/*_test.rb"
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
@@ -1,4 +1,3 @@
1
- #!/usr/bin/env ruby
2
-
3
1
  module Sensu
2
+ VERSION = "0.6.3"
4
3
  end
data/sensu.gemspec CHANGED
@@ -1,6 +1,9 @@
1
+ require File.expand_path("../lib/sensu", __FILE__)
2
+
1
3
  Gem::Specification.new do |s|
2
4
  s.name = "sensu"
3
- s.version = "0.6.2"
5
+ s.version = Sensu::VERSION
6
+ s.platform = Gem::Platform::RUBY
4
7
  s.authors = ["Sean Porter", "Justin Kolberg"]
5
8
  s.email = ["sean.porter@sonian.net", "justin.kolberg@sonian.net"]
6
9
  s.homepage = "https://github.com/sonian/sensu"
@@ -9,27 +12,13 @@ Gem::Specification.new do |s|
9
12
  s.license = "MIT"
10
13
  s.has_rdoc = false
11
14
 
12
- s.platform = case ENV['BUILD']
13
- when "mingw"
14
- "x86-mingw32"
15
- when "mswin"
16
- "x86-mswin32"
17
- else
18
- RUBY_PLATFORM[/mingw32|mswin32/] || 'ruby'
19
- end
20
-
21
- s.add_dependency("eventmachine", "1.0.0.beta.4.1") if s.platform =~ /mswin|mingw32|windows/
22
-
23
15
  s.add_dependency("amqp", "0.7.4")
24
16
  s.add_dependency("json")
25
17
  s.add_dependency("uuidtools")
26
18
  s.add_dependency("em-syslog")
27
-
28
- unless s.platform =~ /mswin|mingw32|windows/
29
- s.add_dependency("em-hiredis")
30
- s.add_dependency("async_sinatra")
31
- s.add_dependency("thin")
32
- end
19
+ s.add_dependency("em-hiredis")
20
+ s.add_dependency("async_sinatra")
21
+ s.add_dependency("thin")
33
22
 
34
23
  s.add_development_dependency('rake')
35
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.2
5
+ version: 0.6.3
6
6
  platform: x86-mingw32
7
7
  authors:
8
8
  - Sean Porter
@@ -14,29 +14,29 @@ cert_chain: []
14
14
  date: 2011-09-27 00:00:00 Z
15
15
  dependencies:
16
16
  - !ruby/object:Gem::Dependency
17
- name: amqp
17
+ name: eventmachine
18
18
  prerelease: false
19
19
  requirement: &id001 !ruby/object:Gem::Requirement
20
20
  none: false
21
21
  requirements:
22
22
  - - "="
23
23
  - !ruby/object:Gem::Version
24
- version: 0.7.4
24
+ version: 1.0.0.beta.4.1
25
25
  type: :runtime
26
26
  version_requirements: *id001
27
27
  - !ruby/object:Gem::Dependency
28
- name: json
28
+ name: amqp
29
29
  prerelease: false
30
30
  requirement: &id002 !ruby/object:Gem::Requirement
31
31
  none: false
32
32
  requirements:
33
- - - ">="
33
+ - - "="
34
34
  - !ruby/object:Gem::Version
35
- version: "0"
35
+ version: 0.7.4
36
36
  type: :runtime
37
37
  version_requirements: *id002
38
38
  - !ruby/object:Gem::Dependency
39
- name: uuidtools
39
+ name: json
40
40
  prerelease: false
41
41
  requirement: &id003 !ruby/object:Gem::Requirement
42
42
  none: false
@@ -47,7 +47,7 @@ dependencies:
47
47
  type: :runtime
48
48
  version_requirements: *id003
49
49
  - !ruby/object:Gem::Dependency
50
- name: em-syslog
50
+ name: uuidtools
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-hiredis
61
+ name: em-syslog
62
62
  prerelease: false
63
63
  requirement: &id005 !ruby/object:Gem::Requirement
64
64
  none: false
@@ -68,72 +68,6 @@ dependencies:
68
68
  version: "0"
69
69
  type: :runtime
70
70
  version_requirements: *id005
71
- - !ruby/object:Gem::Dependency
72
- name: async_sinatra
73
- prerelease: false
74
- requirement: &id006 !ruby/object:Gem::Requirement
75
- none: false
76
- requirements:
77
- - - ">="
78
- - !ruby/object:Gem::Version
79
- version: "0"
80
- type: :runtime
81
- version_requirements: *id006
82
- - !ruby/object:Gem::Dependency
83
- name: thin
84
- prerelease: false
85
- requirement: &id007 !ruby/object:Gem::Requirement
86
- none: false
87
- requirements:
88
- - - ">="
89
- - !ruby/object:Gem::Version
90
- version: "0"
91
- type: :runtime
92
- version_requirements: *id007
93
- - !ruby/object:Gem::Dependency
94
- name: rake
95
- prerelease: false
96
- requirement: &id008 !ruby/object:Gem::Requirement
97
- none: false
98
- requirements:
99
- - - ">="
100
- - !ruby/object:Gem::Version
101
- version: "0"
102
- type: :development
103
- version_requirements: *id008
104
- - !ruby/object:Gem::Dependency
105
- name: minitest
106
- prerelease: false
107
- requirement: &id009 !ruby/object:Gem::Requirement
108
- none: false
109
- requirements:
110
- - - ">="
111
- - !ruby/object:Gem::Version
112
- version: "0"
113
- type: :development
114
- version_requirements: *id009
115
- - !ruby/object:Gem::Dependency
116
- name: em-ventually
117
- prerelease: false
118
- requirement: &id010 !ruby/object:Gem::Requirement
119
- none: false
120
- requirements:
121
- - - ">="
122
- - !ruby/object:Gem::Version
123
- version: "0"
124
- type: :development
125
- version_requirements: *id010
126
- - !ruby/object:Gem::Dependency
127
- name: rest-client
128
- prerelease: false
129
- requirement: &id011 !ruby/object:Gem::Requirement
130
- none: false
131
- requirements:
132
- - - ">="
133
- - !ruby/object:Gem::Version
134
- version: "0"
135
- type: :development
136
- version_requirements: *id011
137
71
  description: A server monitoring framework using the publish-subscribe model
138
72
  email:
139
73
  - sean.porter@sonian.net
@@ -163,6 +97,7 @@ files:
163
97
  - lib/sensu/helpers.rb
164
98
  - lib/sensu/server.rb
165
99
  - sensu.gemspec
100
+ - sensu.windows
166
101
  homepage: https://github.com/sonian/sensu
167
102
  licenses:
168
103
  - MIT