bluepill 0.0.56 → 0.0.57

Sign up to get free protection for your applications and to get access to all the features.
@@ -91,7 +91,7 @@ module Bluepill
91
91
  loop do
92
92
  begin
93
93
  client = self.socket.accept
94
- client.close_on_exec = true
94
+ client.close_on_exec = true if client.respond_to?(:close_on_exec=)
95
95
  command, *args = client.readline.strip.split(":")
96
96
  response = begin
97
97
  mutex { self.send(command, *args) }
@@ -1,4 +1,4 @@
1
1
  # -*- encoding: utf-8 -*-
2
2
  module Bluepill
3
- VERSION = "0.0.56".freeze
3
+ VERSION = "0.0.57".freeze
4
4
  end
metadata CHANGED
@@ -1,217 +1,157 @@
1
- --- !ruby/object:Gem::Specification
1
+ --- !ruby/object:Gem::Specification
2
2
  name: bluepill
3
- version: !ruby/object:Gem::Version
4
- hash: 111
5
- prerelease: false
6
- segments:
7
- - 0
8
- - 0
9
- - 56
10
- version: 0.0.56
3
+ version: !ruby/object:Gem::Version
4
+ version: 0.0.57
5
+ prerelease:
11
6
  platform: ruby
12
- authors:
7
+ authors:
13
8
  - Arya Asemanfar
14
9
  - Gary Tsang
15
10
  - Rohith Ravi
16
11
  autorequire:
17
12
  bindir: bin
18
13
  cert_chain: []
19
-
20
- date: 2012-02-18 00:00:00 +04:00
21
- default_executable:
22
- dependencies:
23
- - !ruby/object:Gem::Dependency
14
+ date: 2012-02-20 00:00:00.000000000 Z
15
+ dependencies:
16
+ - !ruby/object:Gem::Dependency
24
17
  name: daemons
25
- prerelease: false
26
- requirement: &id001 !ruby/object:Gem::Requirement
18
+ requirement: &2154671380 !ruby/object:Gem::Requirement
27
19
  none: false
28
- requirements:
20
+ requirements:
29
21
  - - ~>
30
- - !ruby/object:Gem::Version
31
- hash: 27
32
- segments:
33
- - 1
34
- - 1
35
- - 4
22
+ - !ruby/object:Gem::Version
36
23
  version: 1.1.4
37
24
  - - <=
38
- - !ruby/object:Gem::Version
39
- hash: 31
40
- segments:
41
- - 1
42
- - 1
43
- - 6
25
+ - !ruby/object:Gem::Version
44
26
  version: 1.1.6
45
27
  type: :runtime
46
- version_requirements: *id001
47
- - !ruby/object:Gem::Dependency
48
- name: state_machine
49
28
  prerelease: false
50
- requirement: &id002 !ruby/object:Gem::Requirement
29
+ version_requirements: *2154671380
30
+ - !ruby/object:Gem::Dependency
31
+ name: state_machine
32
+ requirement: &2154670640 !ruby/object:Gem::Requirement
51
33
  none: false
52
- requirements:
34
+ requirements:
53
35
  - - ~>
54
- - !ruby/object:Gem::Version
55
- hash: 19
56
- segments:
57
- - 1
58
- - 1
59
- - 0
36
+ - !ruby/object:Gem::Version
60
37
  version: 1.1.0
61
38
  type: :runtime
62
- version_requirements: *id002
63
- - !ruby/object:Gem::Dependency
64
- name: activesupport
65
39
  prerelease: false
66
- requirement: &id003 !ruby/object:Gem::Requirement
40
+ version_requirements: *2154670640
41
+ - !ruby/object:Gem::Dependency
42
+ name: activesupport
43
+ requirement: &2154670180 !ruby/object:Gem::Requirement
67
44
  none: false
68
- requirements:
69
- - - ">="
70
- - !ruby/object:Gem::Version
71
- hash: 7
72
- segments:
73
- - 3
74
- - 0
75
- - 0
45
+ requirements:
46
+ - - ! '>='
47
+ - !ruby/object:Gem::Version
76
48
  version: 3.0.0
77
49
  type: :runtime
78
- version_requirements: *id003
79
- - !ruby/object:Gem::Dependency
80
- name: i18n
81
50
  prerelease: false
82
- requirement: &id004 !ruby/object:Gem::Requirement
51
+ version_requirements: *2154670180
52
+ - !ruby/object:Gem::Dependency
53
+ name: i18n
54
+ requirement: &2154669720 !ruby/object:Gem::Requirement
83
55
  none: false
84
- requirements:
85
- - - ">="
86
- - !ruby/object:Gem::Version
87
- hash: 11
88
- segments:
89
- - 0
90
- - 5
91
- - 0
56
+ requirements:
57
+ - - ! '>='
58
+ - !ruby/object:Gem::Version
92
59
  version: 0.5.0
93
60
  type: :runtime
94
- version_requirements: *id004
95
- - !ruby/object:Gem::Dependency
96
- name: bundler
97
61
  prerelease: false
98
- requirement: &id005 !ruby/object:Gem::Requirement
62
+ version_requirements: *2154669720
63
+ - !ruby/object:Gem::Dependency
64
+ name: bundler
65
+ requirement: &2154669260 !ruby/object:Gem::Requirement
99
66
  none: false
100
- requirements:
101
- - - ">="
102
- - !ruby/object:Gem::Version
103
- hash: 3
104
- segments:
105
- - 1
106
- - 0
107
- - 10
67
+ requirements:
68
+ - - ! '>='
69
+ - !ruby/object:Gem::Version
108
70
  version: 1.0.10
109
71
  type: :development
110
- version_requirements: *id005
111
- - !ruby/object:Gem::Dependency
112
- name: rake
113
72
  prerelease: false
114
- requirement: &id006 !ruby/object:Gem::Requirement
73
+ version_requirements: *2154669260
74
+ - !ruby/object:Gem::Dependency
75
+ name: rake
76
+ requirement: &2154668800 !ruby/object:Gem::Requirement
115
77
  none: false
116
- requirements:
117
- - - "!="
118
- - !ruby/object:Gem::Version
119
- hash: 59
120
- segments:
121
- - 0
122
- - 9
123
- - 0
78
+ requirements:
79
+ - - ! '!='
80
+ - !ruby/object:Gem::Version
124
81
  version: 0.9.0
125
82
  type: :development
126
- version_requirements: *id006
127
- - !ruby/object:Gem::Dependency
128
- name: rspec-core
129
83
  prerelease: false
130
- requirement: &id007 !ruby/object:Gem::Requirement
84
+ version_requirements: *2154668800
85
+ - !ruby/object:Gem::Dependency
86
+ name: rspec-core
87
+ requirement: &2154668340 !ruby/object:Gem::Requirement
131
88
  none: false
132
- requirements:
89
+ requirements:
133
90
  - - ~>
134
- - !ruby/object:Gem::Version
135
- hash: 3
136
- segments:
137
- - 2
138
- - 0
139
- version: "2.0"
91
+ - !ruby/object:Gem::Version
92
+ version: '2.0'
140
93
  type: :development
141
- version_requirements: *id007
142
- - !ruby/object:Gem::Dependency
143
- name: rspec-expectations
144
94
  prerelease: false
145
- requirement: &id008 !ruby/object:Gem::Requirement
95
+ version_requirements: *2154668340
96
+ - !ruby/object:Gem::Dependency
97
+ name: rspec-expectations
98
+ requirement: &2154699960 !ruby/object:Gem::Requirement
146
99
  none: false
147
- requirements:
100
+ requirements:
148
101
  - - ~>
149
- - !ruby/object:Gem::Version
150
- hash: 3
151
- segments:
152
- - 2
153
- - 0
154
- version: "2.0"
102
+ - !ruby/object:Gem::Version
103
+ version: '2.0'
155
104
  type: :development
156
- version_requirements: *id008
157
- - !ruby/object:Gem::Dependency
158
- name: rr
159
105
  prerelease: false
160
- requirement: &id009 !ruby/object:Gem::Requirement
106
+ version_requirements: *2154699960
107
+ - !ruby/object:Gem::Dependency
108
+ name: rr
109
+ requirement: &2154699500 !ruby/object:Gem::Requirement
161
110
  none: false
162
- requirements:
111
+ requirements:
163
112
  - - ~>
164
- - !ruby/object:Gem::Version
165
- hash: 15
166
- segments:
167
- - 1
168
- - 0
169
- version: "1.0"
113
+ - !ruby/object:Gem::Version
114
+ version: '1.0'
170
115
  type: :development
171
- version_requirements: *id009
172
- - !ruby/object:Gem::Dependency
173
- name: faker
174
116
  prerelease: false
175
- requirement: &id010 !ruby/object:Gem::Requirement
117
+ version_requirements: *2154699500
118
+ - !ruby/object:Gem::Dependency
119
+ name: faker
120
+ requirement: &2154699040 !ruby/object:Gem::Requirement
176
121
  none: false
177
- requirements:
122
+ requirements:
178
123
  - - ~>
179
- - !ruby/object:Gem::Version
180
- hash: 25
181
- segments:
182
- - 0
183
- - 9
184
- version: "0.9"
124
+ - !ruby/object:Gem::Version
125
+ version: '0.9'
185
126
  type: :development
186
- version_requirements: *id010
187
- - !ruby/object:Gem::Dependency
188
- name: yard
189
127
  prerelease: false
190
- requirement: &id011 !ruby/object:Gem::Requirement
128
+ version_requirements: *2154699040
129
+ - !ruby/object:Gem::Dependency
130
+ name: yard
131
+ requirement: &2154698580 !ruby/object:Gem::Requirement
191
132
  none: false
192
- requirements:
133
+ requirements:
193
134
  - - ~>
194
- - !ruby/object:Gem::Version
195
- hash: 5
196
- segments:
197
- - 0
198
- - 7
199
- version: "0.7"
135
+ - !ruby/object:Gem::Version
136
+ version: '0.7'
200
137
  type: :development
201
- version_requirements: *id011
202
- 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.
203
- email:
138
+ prerelease: false
139
+ version_requirements: *2154698580
140
+ description: Bluepill keeps your daemons up while taking up as little resources as
141
+ possible. After all you probably want the resources of your server to be used by
142
+ whatever daemons you are running rather than the thing that's supposed to make sure
143
+ they are brought back up, should they die or misbehave.
144
+ email:
204
145
  - entombedvirus@gmail.com
205
- executables:
146
+ executables:
206
147
  - bluepill
207
148
  - bpsv
208
149
  - sample_forking_server
209
150
  extensions: []
210
-
211
- extra_rdoc_files:
151
+ extra_rdoc_files:
212
152
  - LICENSE
213
153
  - README.md
214
- files:
154
+ files:
215
155
  - .gitignore
216
156
  - .rspec
217
157
  - DESIGN.md
@@ -257,42 +197,33 @@ files:
257
197
  - spec/lib/bluepill/process_statistics_spec.rb
258
198
  - spec/lib/bluepill/system_spec.rb
259
199
  - spec/spec_helper.rb
260
- has_rdoc: true
261
200
  homepage: http://github.com/arya/bluepill
262
201
  licenses: []
263
-
264
202
  post_install_message:
265
203
  rdoc_options: []
266
-
267
- require_paths:
204
+ require_paths:
268
205
  - lib
269
- required_ruby_version: !ruby/object:Gem::Requirement
206
+ required_ruby_version: !ruby/object:Gem::Requirement
270
207
  none: false
271
- requirements:
272
- - - ">="
273
- - !ruby/object:Gem::Version
274
- hash: 3
275
- segments:
276
- - 0
277
- version: "0"
278
- required_rubygems_version: !ruby/object:Gem::Requirement
208
+ requirements:
209
+ - - ! '>='
210
+ - !ruby/object:Gem::Version
211
+ version: '0'
212
+ required_rubygems_version: !ruby/object:Gem::Requirement
279
213
  none: false
280
- requirements:
281
- - - ">="
282
- - !ruby/object:Gem::Version
283
- hash: 3
284
- segments:
285
- - 0
286
- version: "0"
214
+ requirements:
215
+ - - ! '>='
216
+ - !ruby/object:Gem::Version
217
+ version: '0'
287
218
  requirements: []
288
-
289
219
  rubyforge_project:
290
- rubygems_version: 1.3.7
220
+ rubygems_version: 1.8.10
291
221
  signing_key:
292
222
  specification_version: 3
293
223
  summary: A process monitor written in Ruby with stability and minimalism in mind.
294
- test_files:
224
+ test_files:
295
225
  - spec/lib/bluepill/logger_spec.rb
296
226
  - spec/lib/bluepill/process_statistics_spec.rb
297
227
  - spec/lib/bluepill/system_spec.rb
298
228
  - spec/spec_helper.rb
229
+ has_rdoc: