evented_bluepill 0.0.51 → 0.0.52
Sign up to get free protection for your applications and to get access to all the features.
- data/lib/evented_bluepill/controller.rb +2 -1
- data/lib/evented_bluepill/version.rb +1 -1
- metadata +129 -74
@@ -5,6 +5,7 @@ require 'rbconfig'
|
|
5
5
|
require 'evented_bluepill/options'
|
6
6
|
require 'evented_bluepill/system'
|
7
7
|
require 'evented_bluepill/socket'
|
8
|
+
require 'evented_bluepill/application'
|
8
9
|
|
9
10
|
module EventedBluepill
|
10
11
|
class Controller
|
@@ -35,7 +36,7 @@ module EventedBluepill
|
|
35
36
|
end
|
36
37
|
when :status
|
37
38
|
puts self.send_to_daemon(application, :status, *args)
|
38
|
-
when *Application::PROCESS_COMMANDS
|
39
|
+
when *EventedBluepill::Application::PROCESS_COMMANDS
|
39
40
|
# these need to be sent to the daemon and the results printed out
|
40
41
|
affected = self.send_to_daemon(application, command, *args)
|
41
42
|
if affected.empty?
|
metadata
CHANGED
@@ -1,10 +1,15 @@
|
|
1
|
-
--- !ruby/object:Gem::Specification
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
2
|
name: evented_bluepill
|
3
|
-
version: !ruby/object:Gem::Version
|
4
|
-
|
3
|
+
version: !ruby/object:Gem::Version
|
4
|
+
hash: 119
|
5
5
|
prerelease:
|
6
|
+
segments:
|
7
|
+
- 0
|
8
|
+
- 0
|
9
|
+
- 52
|
10
|
+
version: 0.0.52
|
6
11
|
platform: ruby
|
7
|
-
authors:
|
12
|
+
authors:
|
8
13
|
- Stefan Huber
|
9
14
|
- Arya Asemanfar
|
10
15
|
- Gary Tsang
|
@@ -12,109 +17,150 @@ authors:
|
|
12
17
|
autorequire:
|
13
18
|
bindir: bin
|
14
19
|
cert_chain: []
|
15
|
-
|
20
|
+
|
21
|
+
date: 2011-03-17 00:00:00 +00:00
|
16
22
|
default_executable:
|
17
|
-
dependencies:
|
18
|
-
- !ruby/object:Gem::Dependency
|
23
|
+
dependencies:
|
24
|
+
- !ruby/object:Gem::Dependency
|
19
25
|
name: daemons
|
20
|
-
|
26
|
+
prerelease: false
|
27
|
+
requirement: &id001 !ruby/object:Gem::Requirement
|
21
28
|
none: false
|
22
|
-
requirements:
|
29
|
+
requirements:
|
23
30
|
- - ~>
|
24
|
-
- !ruby/object:Gem::Version
|
31
|
+
- !ruby/object:Gem::Version
|
32
|
+
hash: 19
|
33
|
+
segments:
|
34
|
+
- 1
|
35
|
+
- 1
|
36
|
+
- 0
|
25
37
|
version: 1.1.0
|
26
38
|
type: :runtime
|
27
|
-
|
28
|
-
|
29
|
-
- !ruby/object:Gem::Dependency
|
39
|
+
version_requirements: *id001
|
40
|
+
- !ruby/object:Gem::Dependency
|
30
41
|
name: blankslate
|
31
|
-
|
42
|
+
prerelease: false
|
43
|
+
requirement: &id002 !ruby/object:Gem::Requirement
|
32
44
|
none: false
|
33
|
-
requirements:
|
45
|
+
requirements:
|
34
46
|
- - ~>
|
35
|
-
- !ruby/object:Gem::Version
|
47
|
+
- !ruby/object:Gem::Version
|
48
|
+
hash: 105
|
49
|
+
segments:
|
50
|
+
- 2
|
51
|
+
- 1
|
52
|
+
- 2
|
53
|
+
- 3
|
36
54
|
version: 2.1.2.3
|
37
55
|
type: :runtime
|
38
|
-
|
39
|
-
|
40
|
-
- !ruby/object:Gem::Dependency
|
56
|
+
version_requirements: *id002
|
57
|
+
- !ruby/object:Gem::Dependency
|
41
58
|
name: state_machine
|
42
|
-
|
59
|
+
prerelease: false
|
60
|
+
requirement: &id003 !ruby/object:Gem::Requirement
|
43
61
|
none: false
|
44
|
-
requirements:
|
62
|
+
requirements:
|
45
63
|
- - ~>
|
46
|
-
- !ruby/object:Gem::Version
|
64
|
+
- !ruby/object:Gem::Version
|
65
|
+
hash: 51
|
66
|
+
segments:
|
67
|
+
- 0
|
68
|
+
- 9
|
69
|
+
- 4
|
47
70
|
version: 0.9.4
|
48
71
|
type: :runtime
|
49
|
-
|
50
|
-
|
51
|
-
- !ruby/object:Gem::Dependency
|
72
|
+
version_requirements: *id003
|
73
|
+
- !ruby/object:Gem::Dependency
|
52
74
|
name: activesupport
|
53
|
-
|
75
|
+
prerelease: false
|
76
|
+
requirement: &id004 !ruby/object:Gem::Requirement
|
54
77
|
none: false
|
55
|
-
requirements:
|
78
|
+
requirements:
|
56
79
|
- - ~>
|
57
|
-
- !ruby/object:Gem::Version
|
80
|
+
- !ruby/object:Gem::Version
|
81
|
+
hash: 7
|
82
|
+
segments:
|
83
|
+
- 3
|
84
|
+
- 0
|
85
|
+
- 0
|
58
86
|
version: 3.0.0
|
59
87
|
type: :runtime
|
60
|
-
|
61
|
-
|
62
|
-
- !ruby/object:Gem::Dependency
|
88
|
+
version_requirements: *id004
|
89
|
+
- !ruby/object:Gem::Dependency
|
63
90
|
name: i18n
|
64
|
-
|
91
|
+
prerelease: false
|
92
|
+
requirement: &id005 !ruby/object:Gem::Requirement
|
65
93
|
none: false
|
66
|
-
requirements:
|
94
|
+
requirements:
|
67
95
|
- - ~>
|
68
|
-
- !ruby/object:Gem::Version
|
96
|
+
- !ruby/object:Gem::Version
|
97
|
+
hash: 11
|
98
|
+
segments:
|
99
|
+
- 0
|
100
|
+
- 5
|
101
|
+
- 0
|
69
102
|
version: 0.5.0
|
70
103
|
type: :runtime
|
71
|
-
|
72
|
-
|
73
|
-
- !ruby/object:Gem::Dependency
|
104
|
+
version_requirements: *id005
|
105
|
+
- !ruby/object:Gem::Dependency
|
74
106
|
name: cool.io
|
75
|
-
|
107
|
+
prerelease: false
|
108
|
+
requirement: &id006 !ruby/object:Gem::Requirement
|
76
109
|
none: false
|
77
|
-
requirements:
|
110
|
+
requirements:
|
78
111
|
- - ~>
|
79
|
-
- !ruby/object:Gem::Version
|
112
|
+
- !ruby/object:Gem::Version
|
113
|
+
hash: 23
|
114
|
+
segments:
|
115
|
+
- 1
|
116
|
+
- 0
|
117
|
+
- 0
|
80
118
|
version: 1.0.0
|
81
119
|
type: :runtime
|
82
|
-
|
83
|
-
|
84
|
-
- !ruby/object:Gem::Dependency
|
120
|
+
version_requirements: *id006
|
121
|
+
- !ruby/object:Gem::Dependency
|
85
122
|
name: minitest
|
86
|
-
|
123
|
+
prerelease: false
|
124
|
+
requirement: &id007 !ruby/object:Gem::Requirement
|
87
125
|
none: false
|
88
|
-
requirements:
|
126
|
+
requirements:
|
89
127
|
- - ~>
|
90
|
-
- !ruby/object:Gem::Version
|
128
|
+
- !ruby/object:Gem::Version
|
129
|
+
hash: 11
|
130
|
+
segments:
|
131
|
+
- 2
|
132
|
+
- 0
|
133
|
+
- 2
|
91
134
|
version: 2.0.2
|
92
135
|
type: :development
|
93
|
-
|
94
|
-
|
95
|
-
- !ruby/object:Gem::Dependency
|
136
|
+
version_requirements: *id007
|
137
|
+
- !ruby/object:Gem::Dependency
|
96
138
|
name: mocha
|
97
|
-
|
139
|
+
prerelease: false
|
140
|
+
requirement: &id008 !ruby/object:Gem::Requirement
|
98
141
|
none: false
|
99
|
-
requirements:
|
142
|
+
requirements:
|
100
143
|
- - ~>
|
101
|
-
- !ruby/object:Gem::Version
|
144
|
+
- !ruby/object:Gem::Version
|
145
|
+
hash: 35
|
146
|
+
segments:
|
147
|
+
- 0
|
148
|
+
- 9
|
149
|
+
- 12
|
102
150
|
version: 0.9.12
|
103
151
|
type: :development
|
104
|
-
|
105
|
-
|
106
|
-
|
107
|
-
as possible. After all you probably want the resources of your server to be used
|
108
|
-
by whatever daemons you are running rather than the thing that's supposed to make
|
109
|
-
sure they are brought back up, should they die or misbehave.
|
110
|
-
email:
|
152
|
+
version_requirements: *id008
|
153
|
+
description: EventedBluepill keeps your daemons up while taking up as little resources as possible. After all you probably want the resources of your server to be used by whatever daemons you are running rather than the thing that's supposed to make sure they are brought back up, should they die or misbehave.
|
154
|
+
email:
|
111
155
|
- MSNexploder@gmail.com
|
112
|
-
executables:
|
156
|
+
executables:
|
113
157
|
- bluepill
|
114
158
|
- evented_bluepill
|
115
159
|
extensions: []
|
160
|
+
|
116
161
|
extra_rdoc_files: []
|
117
|
-
|
162
|
+
|
163
|
+
files:
|
118
164
|
- .gitignore
|
119
165
|
- CHANGELOG.md
|
120
166
|
- DESIGN.md
|
@@ -165,29 +211,38 @@ files:
|
|
165
211
|
has_rdoc: true
|
166
212
|
homepage: http://github.com/msnexploder/evented_bluepill
|
167
213
|
licenses: []
|
214
|
+
|
168
215
|
post_install_message:
|
169
216
|
rdoc_options: []
|
170
|
-
|
217
|
+
|
218
|
+
require_paths:
|
171
219
|
- lib
|
172
|
-
required_ruby_version: !ruby/object:Gem::Requirement
|
220
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
173
221
|
none: false
|
174
|
-
requirements:
|
175
|
-
- -
|
176
|
-
- !ruby/object:Gem::Version
|
177
|
-
|
178
|
-
|
222
|
+
requirements:
|
223
|
+
- - ">="
|
224
|
+
- !ruby/object:Gem::Version
|
225
|
+
hash: 3
|
226
|
+
segments:
|
227
|
+
- 0
|
228
|
+
version: "0"
|
229
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
179
230
|
none: false
|
180
|
-
requirements:
|
181
|
-
- -
|
182
|
-
- !ruby/object:Gem::Version
|
183
|
-
|
231
|
+
requirements:
|
232
|
+
- - ">="
|
233
|
+
- !ruby/object:Gem::Version
|
234
|
+
hash: 3
|
235
|
+
segments:
|
236
|
+
- 0
|
237
|
+
version: "0"
|
184
238
|
requirements: []
|
239
|
+
|
185
240
|
rubyforge_project: evented_bluepill
|
186
|
-
rubygems_version: 1.
|
241
|
+
rubygems_version: 1.4.2
|
187
242
|
signing_key:
|
188
243
|
specification_version: 3
|
189
244
|
summary: A process monitor written in Ruby with stability and minimalism in mind.
|
190
|
-
test_files:
|
245
|
+
test_files:
|
191
246
|
- spec/always_true_spec.rb
|
192
247
|
- spec/cpu_usage_spec.rb
|
193
248
|
- spec/mem_usage_spec.rb
|