evented_bluepill 0.0.46
Sign up to get free protection for your applications and to get access to all the features.
- data/DESIGN.md +10 -0
- data/LICENSE +22 -0
- data/README.md +228 -0
- data/Rakefile +54 -0
- data/VERSION +1 -0
- data/bin/bluepill +109 -0
- data/bin/bpsv +3 -0
- data/evented_bluepill.gemspec +86 -0
- data/lib/bluepill/application/client.rb +7 -0
- data/lib/bluepill/application/server.rb +24 -0
- data/lib/bluepill/application.rb +202 -0
- data/lib/bluepill/condition_watch.rb +55 -0
- data/lib/bluepill/controller.rb +120 -0
- data/lib/bluepill/dsl.rb +155 -0
- data/lib/bluepill/group.rb +71 -0
- data/lib/bluepill/logger.rb +62 -0
- data/lib/bluepill/process.rb +422 -0
- data/lib/bluepill/process_conditions/always_true.rb +17 -0
- data/lib/bluepill/process_conditions/cpu_usage.rb +18 -0
- data/lib/bluepill/process_conditions/http.rb +52 -0
- data/lib/bluepill/process_conditions/mem_usage.rb +31 -0
- data/lib/bluepill/process_conditions/process_condition.rb +21 -0
- data/lib/bluepill/process_conditions.rb +13 -0
- data/lib/bluepill/process_statistics.rb +24 -0
- data/lib/bluepill/socket.rb +47 -0
- data/lib/bluepill/system.rb +229 -0
- data/lib/bluepill/trigger.rb +70 -0
- data/lib/bluepill/triggers/flapping.rb +59 -0
- data/lib/bluepill/util/rotational_array.rb +72 -0
- data/lib/bluepill/version.rb +3 -0
- data/lib/bluepill.rb +31 -0
- data/lib/example.rb +85 -0
- data/lib/runit_example.rb +25 -0
- metadata +175 -0
metadata
ADDED
@@ -0,0 +1,175 @@
|
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
|
+
name: evented_bluepill
|
3
|
+
version: !ruby/object:Gem::Version
|
4
|
+
prerelease: false
|
5
|
+
segments:
|
6
|
+
- 0
|
7
|
+
- 0
|
8
|
+
- 46
|
9
|
+
version: 0.0.46
|
10
|
+
platform: ruby
|
11
|
+
authors:
|
12
|
+
- Stefan Huber
|
13
|
+
- Arya Asemanfar
|
14
|
+
- Gary Tsang
|
15
|
+
- Rohith Ravi
|
16
|
+
autorequire:
|
17
|
+
bindir: bin
|
18
|
+
cert_chain: []
|
19
|
+
|
20
|
+
date: 2011-01-10 00:00:00 +00:00
|
21
|
+
default_executable: bluepill
|
22
|
+
dependencies:
|
23
|
+
- !ruby/object:Gem::Dependency
|
24
|
+
name: daemons
|
25
|
+
prerelease: false
|
26
|
+
requirement: &id001 !ruby/object:Gem::Requirement
|
27
|
+
none: false
|
28
|
+
requirements:
|
29
|
+
- - ">="
|
30
|
+
- !ruby/object:Gem::Version
|
31
|
+
segments:
|
32
|
+
- 1
|
33
|
+
- 0
|
34
|
+
- 9
|
35
|
+
version: 1.0.9
|
36
|
+
type: :runtime
|
37
|
+
version_requirements: *id001
|
38
|
+
- !ruby/object:Gem::Dependency
|
39
|
+
name: blankslate
|
40
|
+
prerelease: false
|
41
|
+
requirement: &id002 !ruby/object:Gem::Requirement
|
42
|
+
none: false
|
43
|
+
requirements:
|
44
|
+
- - ">="
|
45
|
+
- !ruby/object:Gem::Version
|
46
|
+
segments:
|
47
|
+
- 2
|
48
|
+
- 1
|
49
|
+
- 2
|
50
|
+
- 2
|
51
|
+
version: 2.1.2.2
|
52
|
+
type: :runtime
|
53
|
+
version_requirements: *id002
|
54
|
+
- !ruby/object:Gem::Dependency
|
55
|
+
name: state_machine
|
56
|
+
prerelease: false
|
57
|
+
requirement: &id003 !ruby/object:Gem::Requirement
|
58
|
+
none: false
|
59
|
+
requirements:
|
60
|
+
- - ">="
|
61
|
+
- !ruby/object:Gem::Version
|
62
|
+
segments:
|
63
|
+
- 0
|
64
|
+
- 8
|
65
|
+
- 0
|
66
|
+
version: 0.8.0
|
67
|
+
type: :runtime
|
68
|
+
version_requirements: *id003
|
69
|
+
- !ruby/object:Gem::Dependency
|
70
|
+
name: activesupport
|
71
|
+
prerelease: false
|
72
|
+
requirement: &id004 !ruby/object:Gem::Requirement
|
73
|
+
none: false
|
74
|
+
requirements:
|
75
|
+
- - ">="
|
76
|
+
- !ruby/object:Gem::Version
|
77
|
+
segments:
|
78
|
+
- 2
|
79
|
+
- 3
|
80
|
+
- 4
|
81
|
+
version: 2.3.4
|
82
|
+
type: :runtime
|
83
|
+
version_requirements: *id004
|
84
|
+
- !ruby/object:Gem::Dependency
|
85
|
+
name: cool.io
|
86
|
+
prerelease: false
|
87
|
+
requirement: &id005 !ruby/object:Gem::Requirement
|
88
|
+
none: false
|
89
|
+
requirements:
|
90
|
+
- - ">="
|
91
|
+
- !ruby/object:Gem::Version
|
92
|
+
segments:
|
93
|
+
- 1
|
94
|
+
- 0
|
95
|
+
- 0
|
96
|
+
version: 1.0.0
|
97
|
+
type: :runtime
|
98
|
+
version_requirements: *id005
|
99
|
+
description: Bluepill 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.
|
100
|
+
email: MSNexploder@gmail.com
|
101
|
+
executables:
|
102
|
+
- bluepill
|
103
|
+
extensions: []
|
104
|
+
|
105
|
+
extra_rdoc_files:
|
106
|
+
- LICENSE
|
107
|
+
- README.md
|
108
|
+
files:
|
109
|
+
- DESIGN.md
|
110
|
+
- LICENSE
|
111
|
+
- README.md
|
112
|
+
- Rakefile
|
113
|
+
- VERSION
|
114
|
+
- bin/bluepill
|
115
|
+
- bin/bpsv
|
116
|
+
- evented_bluepill.gemspec
|
117
|
+
- lib/bluepill.rb
|
118
|
+
- lib/bluepill/application.rb
|
119
|
+
- lib/bluepill/application/client.rb
|
120
|
+
- lib/bluepill/application/server.rb
|
121
|
+
- lib/bluepill/condition_watch.rb
|
122
|
+
- lib/bluepill/controller.rb
|
123
|
+
- lib/bluepill/dsl.rb
|
124
|
+
- lib/bluepill/group.rb
|
125
|
+
- lib/bluepill/logger.rb
|
126
|
+
- lib/bluepill/process.rb
|
127
|
+
- lib/bluepill/process_conditions.rb
|
128
|
+
- lib/bluepill/process_conditions/always_true.rb
|
129
|
+
- lib/bluepill/process_conditions/cpu_usage.rb
|
130
|
+
- lib/bluepill/process_conditions/http.rb
|
131
|
+
- lib/bluepill/process_conditions/mem_usage.rb
|
132
|
+
- lib/bluepill/process_conditions/process_condition.rb
|
133
|
+
- lib/bluepill/process_statistics.rb
|
134
|
+
- lib/bluepill/socket.rb
|
135
|
+
- lib/bluepill/system.rb
|
136
|
+
- lib/bluepill/trigger.rb
|
137
|
+
- lib/bluepill/triggers/flapping.rb
|
138
|
+
- lib/bluepill/util/rotational_array.rb
|
139
|
+
- lib/bluepill/version.rb
|
140
|
+
- lib/example.rb
|
141
|
+
- lib/runit_example.rb
|
142
|
+
has_rdoc: true
|
143
|
+
homepage: http://github.com/msnexploder/evented_bluepill
|
144
|
+
licenses: []
|
145
|
+
|
146
|
+
post_install_message:
|
147
|
+
rdoc_options: []
|
148
|
+
|
149
|
+
require_paths:
|
150
|
+
- lib
|
151
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
152
|
+
none: false
|
153
|
+
requirements:
|
154
|
+
- - ">="
|
155
|
+
- !ruby/object:Gem::Version
|
156
|
+
segments:
|
157
|
+
- 0
|
158
|
+
version: "0"
|
159
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
160
|
+
none: false
|
161
|
+
requirements:
|
162
|
+
- - ">="
|
163
|
+
- !ruby/object:Gem::Version
|
164
|
+
segments:
|
165
|
+
- 0
|
166
|
+
version: "0"
|
167
|
+
requirements: []
|
168
|
+
|
169
|
+
rubyforge_project:
|
170
|
+
rubygems_version: 1.3.7
|
171
|
+
signing_key:
|
172
|
+
specification_version: 3
|
173
|
+
summary: A process monitor written in Ruby with stability and minimalism in mind.
|
174
|
+
test_files: []
|
175
|
+
|