bluepill 0.0.37 → 0.0.38
Sign up to get free protection for your applications and to get access to all the features.
- data/VERSION +1 -1
- data/bluepill.gemspec +4 -4
- data/lib/bluepill/dsl.rb +1 -1
- data/lib/bluepill/version.rb +1 -1
- metadata +58 -21
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
0.0.
|
1
|
+
0.0.38
|
data/bluepill.gemspec
CHANGED
@@ -5,11 +5,11 @@
|
|
5
5
|
|
6
6
|
Gem::Specification.new do |s|
|
7
7
|
s.name = %q{bluepill}
|
8
|
-
s.version = "0.0.
|
8
|
+
s.version = "0.0.38"
|
9
9
|
|
10
10
|
s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
|
11
11
|
s.authors = ["Arya Asemanfar", "Gary Tsang", "Rohith Ravi"]
|
12
|
-
s.date = %q{2010-
|
12
|
+
s.date = %q{2010-05-31}
|
13
13
|
s.default_executable = %q{bluepill}
|
14
14
|
s.description = %q{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.}
|
15
15
|
s.email = %q{entombedvirus@gmail.com}
|
@@ -56,14 +56,14 @@ Gem::Specification.new do |s|
|
|
56
56
|
s.homepage = %q{http://github.com/arya/bluepill}
|
57
57
|
s.rdoc_options = ["--charset=UTF-8"]
|
58
58
|
s.require_paths = ["lib"]
|
59
|
-
s.rubygems_version = %q{1.3.
|
59
|
+
s.rubygems_version = %q{1.3.7}
|
60
60
|
s.summary = %q{A process monitor written in Ruby with stability and minimalism in mind.}
|
61
61
|
|
62
62
|
if s.respond_to? :specification_version then
|
63
63
|
current_version = Gem::Specification::CURRENT_SPECIFICATION_VERSION
|
64
64
|
s.specification_version = 3
|
65
65
|
|
66
|
-
if Gem::Version.new(Gem::
|
66
|
+
if Gem::Version.new(Gem::VERSION) >= Gem::Version.new('1.2.0') then
|
67
67
|
s.add_runtime_dependency(%q<daemons>, [">= 1.0.9"])
|
68
68
|
s.add_runtime_dependency(%q<blankslate>, [">= 2.1.2.2"])
|
69
69
|
s.add_runtime_dependency(%q<state_machine>, [">= 0.8.0"])
|
data/lib/bluepill/dsl.rb
CHANGED
@@ -43,7 +43,7 @@ module Bluepill
|
|
43
43
|
child_proxy = self.class.new
|
44
44
|
# Children inherit some properties of the parent
|
45
45
|
[:start_grace_time, :stop_grace_time, :restart_grace_time].each do |attribute|
|
46
|
-
child_proxy.send("#{
|
46
|
+
child_proxy.send("#{attribute}=", @attributes[attribute]) if @attributes.key?(attribute)
|
47
47
|
end
|
48
48
|
@child_process_block.call(child_proxy)
|
49
49
|
validate_child_process(child_proxy)
|
data/lib/bluepill/version.rb
CHANGED
metadata
CHANGED
@@ -1,7 +1,13 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: bluepill
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
|
4
|
+
hash: 83
|
5
|
+
prerelease: false
|
6
|
+
segments:
|
7
|
+
- 0
|
8
|
+
- 0
|
9
|
+
- 38
|
10
|
+
version: 0.0.38
|
5
11
|
platform: ruby
|
6
12
|
authors:
|
7
13
|
- Arya Asemanfar
|
@@ -11,49 +17,74 @@ autorequire:
|
|
11
17
|
bindir: bin
|
12
18
|
cert_chain: []
|
13
19
|
|
14
|
-
date: 2010-
|
20
|
+
date: 2010-05-31 00:00:00 -07:00
|
15
21
|
default_executable: bluepill
|
16
22
|
dependencies:
|
17
23
|
- !ruby/object:Gem::Dependency
|
18
24
|
name: daemons
|
19
|
-
|
20
|
-
|
21
|
-
|
25
|
+
prerelease: false
|
26
|
+
requirement: &id001 !ruby/object:Gem::Requirement
|
27
|
+
none: false
|
22
28
|
requirements:
|
23
29
|
- - ">="
|
24
30
|
- !ruby/object:Gem::Version
|
31
|
+
hash: 5
|
32
|
+
segments:
|
33
|
+
- 1
|
34
|
+
- 0
|
35
|
+
- 9
|
25
36
|
version: 1.0.9
|
26
|
-
|
37
|
+
type: :runtime
|
38
|
+
version_requirements: *id001
|
27
39
|
- !ruby/object:Gem::Dependency
|
28
40
|
name: blankslate
|
29
|
-
|
30
|
-
|
31
|
-
|
41
|
+
prerelease: false
|
42
|
+
requirement: &id002 !ruby/object:Gem::Requirement
|
43
|
+
none: false
|
32
44
|
requirements:
|
33
45
|
- - ">="
|
34
46
|
- !ruby/object:Gem::Version
|
47
|
+
hash: 107
|
48
|
+
segments:
|
49
|
+
- 2
|
50
|
+
- 1
|
51
|
+
- 2
|
52
|
+
- 2
|
35
53
|
version: 2.1.2.2
|
36
|
-
|
54
|
+
type: :runtime
|
55
|
+
version_requirements: *id002
|
37
56
|
- !ruby/object:Gem::Dependency
|
38
57
|
name: state_machine
|
39
|
-
|
40
|
-
|
41
|
-
|
58
|
+
prerelease: false
|
59
|
+
requirement: &id003 !ruby/object:Gem::Requirement
|
60
|
+
none: false
|
42
61
|
requirements:
|
43
62
|
- - ">="
|
44
63
|
- !ruby/object:Gem::Version
|
64
|
+
hash: 63
|
65
|
+
segments:
|
66
|
+
- 0
|
67
|
+
- 8
|
68
|
+
- 0
|
45
69
|
version: 0.8.0
|
46
|
-
|
70
|
+
type: :runtime
|
71
|
+
version_requirements: *id003
|
47
72
|
- !ruby/object:Gem::Dependency
|
48
73
|
name: activesupport
|
49
|
-
|
50
|
-
|
51
|
-
|
74
|
+
prerelease: false
|
75
|
+
requirement: &id004 !ruby/object:Gem::Requirement
|
76
|
+
none: false
|
52
77
|
requirements:
|
53
78
|
- - ">="
|
54
79
|
- !ruby/object:Gem::Version
|
80
|
+
hash: 11
|
81
|
+
segments:
|
82
|
+
- 2
|
83
|
+
- 3
|
84
|
+
- 4
|
55
85
|
version: 2.3.4
|
56
|
-
|
86
|
+
type: :runtime
|
87
|
+
version_requirements: *id004
|
57
88
|
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.
|
58
89
|
email: entombedvirus@gmail.com
|
59
90
|
executables:
|
@@ -107,21 +138,27 @@ rdoc_options:
|
|
107
138
|
require_paths:
|
108
139
|
- lib
|
109
140
|
required_ruby_version: !ruby/object:Gem::Requirement
|
141
|
+
none: false
|
110
142
|
requirements:
|
111
143
|
- - ">="
|
112
144
|
- !ruby/object:Gem::Version
|
145
|
+
hash: 3
|
146
|
+
segments:
|
147
|
+
- 0
|
113
148
|
version: "0"
|
114
|
-
version:
|
115
149
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
150
|
+
none: false
|
116
151
|
requirements:
|
117
152
|
- - ">="
|
118
153
|
- !ruby/object:Gem::Version
|
154
|
+
hash: 3
|
155
|
+
segments:
|
156
|
+
- 0
|
119
157
|
version: "0"
|
120
|
-
version:
|
121
158
|
requirements: []
|
122
159
|
|
123
160
|
rubyforge_project:
|
124
|
-
rubygems_version: 1.3.
|
161
|
+
rubygems_version: 1.3.7
|
125
162
|
signing_key:
|
126
163
|
specification_version: 3
|
127
164
|
summary: A process monitor written in Ruby with stability and minimalism in mind.
|