symphony 0.3.0.pre20140327204419
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- checksums.yaml.gz.sig +0 -0
- data/.simplecov +9 -0
- data/ChangeLog +508 -0
- data/History.rdoc +15 -0
- data/Manifest.txt +30 -0
- data/README.rdoc +89 -0
- data/Rakefile +77 -0
- data/TODO.md +5 -0
- data/USAGE.rdoc +381 -0
- data/bin/symphony +8 -0
- data/bin/symphony-task +10 -0
- data/etc/config.yml.example +9 -0
- data/lib/symphony/daemon.rb +372 -0
- data/lib/symphony/metrics.rb +84 -0
- data/lib/symphony/mixins.rb +75 -0
- data/lib/symphony/queue.rb +313 -0
- data/lib/symphony/routing.rb +98 -0
- data/lib/symphony/signal_handling.rb +107 -0
- data/lib/symphony/task.rb +407 -0
- data/lib/symphony/tasks/auditor.rb +51 -0
- data/lib/symphony/tasks/failure_logger.rb +106 -0
- data/lib/symphony/tasks/pinger.rb +64 -0
- data/lib/symphony/tasks/simulator.rb +57 -0
- data/lib/symphony/tasks/ssh.rb +126 -0
- data/lib/symphony/tasks/sshscript.rb +168 -0
- data/lib/symphony.rb +56 -0
- data/spec/helpers.rb +36 -0
- data/spec/symphony/mixins_spec.rb +78 -0
- data/spec/symphony/queue_spec.rb +368 -0
- data/spec/symphony/task_spec.rb +147 -0
- data/spec/symphony_spec.rb +14 -0
- data.tar.gz.sig +0 -0
- metadata +332 -0
- metadata.gz.sig +0 -0
metadata
ADDED
@@ -0,0 +1,332 @@
|
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
|
+
name: symphony
|
3
|
+
version: !ruby/object:Gem::Version
|
4
|
+
version: 0.3.0.pre20140327204419
|
5
|
+
platform: ruby
|
6
|
+
authors:
|
7
|
+
- Michael Granger
|
8
|
+
- Mahlon E. Smith
|
9
|
+
autorequire:
|
10
|
+
bindir: bin
|
11
|
+
cert_chain:
|
12
|
+
- |
|
13
|
+
-----BEGIN CERTIFICATE-----
|
14
|
+
MIIDbDCCAlSgAwIBAgIBATANBgkqhk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
Zq2EuyEOc96g31uoIvjNdieKs+1kE+K+dJDjtw+wTH2i63P7r6N/NfPPXpxsFquo
|
30
|
+
wcYRRrHdR7GhdJeT+V8Q8Bi5bglCUGdx+8scMgkkePc98k9osQHypbACmzO+Bqkv
|
31
|
+
c7ZKPJcWBv0sm81+FCZXNACn2f9jfF8OQinxVs0O052KbGuEQaaiGIYeuuwQE2q6
|
32
|
+
ggcrPfcYeTwWlfZPu2LrBg==
|
33
|
+
-----END CERTIFICATE-----
|
34
|
+
date: 2014-03-28 00:00:00.000000000 Z
|
35
|
+
dependencies:
|
36
|
+
- !ruby/object:Gem::Dependency
|
37
|
+
name: pluggability
|
38
|
+
requirement: !ruby/object:Gem::Requirement
|
39
|
+
requirements:
|
40
|
+
- - ~>
|
41
|
+
- !ruby/object:Gem::Version
|
42
|
+
version: '0.4'
|
43
|
+
type: :runtime
|
44
|
+
prerelease: false
|
45
|
+
version_requirements: !ruby/object:Gem::Requirement
|
46
|
+
requirements:
|
47
|
+
- - ~>
|
48
|
+
- !ruby/object:Gem::Version
|
49
|
+
version: '0.4'
|
50
|
+
- !ruby/object:Gem::Dependency
|
51
|
+
name: bunny
|
52
|
+
requirement: !ruby/object:Gem::Requirement
|
53
|
+
requirements:
|
54
|
+
- - ~>
|
55
|
+
- !ruby/object:Gem::Version
|
56
|
+
version: '1.1'
|
57
|
+
type: :runtime
|
58
|
+
prerelease: false
|
59
|
+
version_requirements: !ruby/object:Gem::Requirement
|
60
|
+
requirements:
|
61
|
+
- - ~>
|
62
|
+
- !ruby/object:Gem::Version
|
63
|
+
version: '1.1'
|
64
|
+
- !ruby/object:Gem::Dependency
|
65
|
+
name: sysexits
|
66
|
+
requirement: !ruby/object:Gem::Requirement
|
67
|
+
requirements:
|
68
|
+
- - ~>
|
69
|
+
- !ruby/object:Gem::Version
|
70
|
+
version: '1.1'
|
71
|
+
type: :runtime
|
72
|
+
prerelease: false
|
73
|
+
version_requirements: !ruby/object:Gem::Requirement
|
74
|
+
requirements:
|
75
|
+
- - ~>
|
76
|
+
- !ruby/object:Gem::Version
|
77
|
+
version: '1.1'
|
78
|
+
- !ruby/object:Gem::Dependency
|
79
|
+
name: yajl-ruby
|
80
|
+
requirement: !ruby/object:Gem::Requirement
|
81
|
+
requirements:
|
82
|
+
- - ~>
|
83
|
+
- !ruby/object:Gem::Version
|
84
|
+
version: '1.2'
|
85
|
+
type: :runtime
|
86
|
+
prerelease: false
|
87
|
+
version_requirements: !ruby/object:Gem::Requirement
|
88
|
+
requirements:
|
89
|
+
- - ~>
|
90
|
+
- !ruby/object:Gem::Version
|
91
|
+
version: '1.2'
|
92
|
+
- !ruby/object:Gem::Dependency
|
93
|
+
name: msgpack
|
94
|
+
requirement: !ruby/object:Gem::Requirement
|
95
|
+
requirements:
|
96
|
+
- - ~>
|
97
|
+
- !ruby/object:Gem::Version
|
98
|
+
version: '0.5'
|
99
|
+
type: :runtime
|
100
|
+
prerelease: false
|
101
|
+
version_requirements: !ruby/object:Gem::Requirement
|
102
|
+
requirements:
|
103
|
+
- - ~>
|
104
|
+
- !ruby/object:Gem::Version
|
105
|
+
version: '0.5'
|
106
|
+
- !ruby/object:Gem::Dependency
|
107
|
+
name: metriks
|
108
|
+
requirement: !ruby/object:Gem::Requirement
|
109
|
+
requirements:
|
110
|
+
- - ~>
|
111
|
+
- !ruby/object:Gem::Version
|
112
|
+
version: '0.9'
|
113
|
+
type: :runtime
|
114
|
+
prerelease: false
|
115
|
+
version_requirements: !ruby/object:Gem::Requirement
|
116
|
+
requirements:
|
117
|
+
- - ~>
|
118
|
+
- !ruby/object:Gem::Version
|
119
|
+
version: '0.9'
|
120
|
+
- !ruby/object:Gem::Dependency
|
121
|
+
name: rusage
|
122
|
+
requirement: !ruby/object:Gem::Requirement
|
123
|
+
requirements:
|
124
|
+
- - ~>
|
125
|
+
- !ruby/object:Gem::Version
|
126
|
+
version: '0.2'
|
127
|
+
type: :runtime
|
128
|
+
prerelease: false
|
129
|
+
version_requirements: !ruby/object:Gem::Requirement
|
130
|
+
requirements:
|
131
|
+
- - ~>
|
132
|
+
- !ruby/object:Gem::Version
|
133
|
+
version: '0.2'
|
134
|
+
- !ruby/object:Gem::Dependency
|
135
|
+
name: hoe-mercurial
|
136
|
+
requirement: !ruby/object:Gem::Requirement
|
137
|
+
requirements:
|
138
|
+
- - ~>
|
139
|
+
- !ruby/object:Gem::Version
|
140
|
+
version: 1.4.0
|
141
|
+
type: :development
|
142
|
+
prerelease: false
|
143
|
+
version_requirements: !ruby/object:Gem::Requirement
|
144
|
+
requirements:
|
145
|
+
- - ~>
|
146
|
+
- !ruby/object:Gem::Version
|
147
|
+
version: 1.4.0
|
148
|
+
- !ruby/object:Gem::Dependency
|
149
|
+
name: hoe-highline
|
150
|
+
requirement: !ruby/object:Gem::Requirement
|
151
|
+
requirements:
|
152
|
+
- - ~>
|
153
|
+
- !ruby/object:Gem::Version
|
154
|
+
version: 0.1.0
|
155
|
+
type: :development
|
156
|
+
prerelease: false
|
157
|
+
version_requirements: !ruby/object:Gem::Requirement
|
158
|
+
requirements:
|
159
|
+
- - ~>
|
160
|
+
- !ruby/object:Gem::Version
|
161
|
+
version: 0.1.0
|
162
|
+
- !ruby/object:Gem::Dependency
|
163
|
+
name: rdoc
|
164
|
+
requirement: !ruby/object:Gem::Requirement
|
165
|
+
requirements:
|
166
|
+
- - ~>
|
167
|
+
- !ruby/object:Gem::Version
|
168
|
+
version: '4.0'
|
169
|
+
type: :development
|
170
|
+
prerelease: false
|
171
|
+
version_requirements: !ruby/object:Gem::Requirement
|
172
|
+
requirements:
|
173
|
+
- - ~>
|
174
|
+
- !ruby/object:Gem::Version
|
175
|
+
version: '4.0'
|
176
|
+
- !ruby/object:Gem::Dependency
|
177
|
+
name: rspec
|
178
|
+
requirement: !ruby/object:Gem::Requirement
|
179
|
+
requirements:
|
180
|
+
- - ~>
|
181
|
+
- !ruby/object:Gem::Version
|
182
|
+
version: '3.0'
|
183
|
+
type: :development
|
184
|
+
prerelease: false
|
185
|
+
version_requirements: !ruby/object:Gem::Requirement
|
186
|
+
requirements:
|
187
|
+
- - ~>
|
188
|
+
- !ruby/object:Gem::Version
|
189
|
+
version: '3.0'
|
190
|
+
- !ruby/object:Gem::Dependency
|
191
|
+
name: net-ssh
|
192
|
+
requirement: !ruby/object:Gem::Requirement
|
193
|
+
requirements:
|
194
|
+
- - ~>
|
195
|
+
- !ruby/object:Gem::Version
|
196
|
+
version: '2.8'
|
197
|
+
type: :development
|
198
|
+
prerelease: false
|
199
|
+
version_requirements: !ruby/object:Gem::Requirement
|
200
|
+
requirements:
|
201
|
+
- - ~>
|
202
|
+
- !ruby/object:Gem::Version
|
203
|
+
version: '2.8'
|
204
|
+
- !ruby/object:Gem::Dependency
|
205
|
+
name: net-sftp
|
206
|
+
requirement: !ruby/object:Gem::Requirement
|
207
|
+
requirements:
|
208
|
+
- - ~>
|
209
|
+
- !ruby/object:Gem::Version
|
210
|
+
version: '2.1'
|
211
|
+
type: :development
|
212
|
+
prerelease: false
|
213
|
+
version_requirements: !ruby/object:Gem::Requirement
|
214
|
+
requirements:
|
215
|
+
- - ~>
|
216
|
+
- !ruby/object:Gem::Version
|
217
|
+
version: '2.1'
|
218
|
+
- !ruby/object:Gem::Dependency
|
219
|
+
name: simplecov
|
220
|
+
requirement: !ruby/object:Gem::Requirement
|
221
|
+
requirements:
|
222
|
+
- - ~>
|
223
|
+
- !ruby/object:Gem::Version
|
224
|
+
version: '0.8'
|
225
|
+
type: :development
|
226
|
+
prerelease: false
|
227
|
+
version_requirements: !ruby/object:Gem::Requirement
|
228
|
+
requirements:
|
229
|
+
- - ~>
|
230
|
+
- !ruby/object:Gem::Version
|
231
|
+
version: '0.8'
|
232
|
+
- !ruby/object:Gem::Dependency
|
233
|
+
name: hoe
|
234
|
+
requirement: !ruby/object:Gem::Requirement
|
235
|
+
requirements:
|
236
|
+
- - ~>
|
237
|
+
- !ruby/object:Gem::Version
|
238
|
+
version: '3.9'
|
239
|
+
type: :development
|
240
|
+
prerelease: false
|
241
|
+
version_requirements: !ruby/object:Gem::Requirement
|
242
|
+
requirements:
|
243
|
+
- - ~>
|
244
|
+
- !ruby/object:Gem::Version
|
245
|
+
version: '3.9'
|
246
|
+
description: |-
|
247
|
+
Symphony is a subscription-based asynchronous job system. It
|
248
|
+
allows you to define jobs that watch for lightweight events from a
|
249
|
+
distributed-messaging AMQP broker, and do work based on their payload.
|
250
|
+
|
251
|
+
It includes several executables under bin/:
|
252
|
+
|
253
|
+
symphony::
|
254
|
+
A daemon which manages startup and shutdown of one or more Workers
|
255
|
+
running Tasks as they are published from a queue.
|
256
|
+
|
257
|
+
symphony-task::
|
258
|
+
A wrapper that runs a single task, useful for testing, or if you don't
|
259
|
+
require the process management that the symphony daemon provides.
|
260
|
+
email:
|
261
|
+
- ged@FaerieMUD.org
|
262
|
+
- mahlon@martini.nu
|
263
|
+
executables:
|
264
|
+
- symphony
|
265
|
+
- symphony-task
|
266
|
+
extensions: []
|
267
|
+
extra_rdoc_files:
|
268
|
+
- History.rdoc
|
269
|
+
- Manifest.txt
|
270
|
+
- README.rdoc
|
271
|
+
- TODO.md
|
272
|
+
- USAGE.rdoc
|
273
|
+
files:
|
274
|
+
- .simplecov
|
275
|
+
- ChangeLog
|
276
|
+
- History.rdoc
|
277
|
+
- Manifest.txt
|
278
|
+
- README.rdoc
|
279
|
+
- Rakefile
|
280
|
+
- TODO.md
|
281
|
+
- USAGE.rdoc
|
282
|
+
- bin/symphony
|
283
|
+
- bin/symphony-task
|
284
|
+
- etc/config.yml.example
|
285
|
+
- lib/symphony.rb
|
286
|
+
- lib/symphony/daemon.rb
|
287
|
+
- lib/symphony/metrics.rb
|
288
|
+
- lib/symphony/mixins.rb
|
289
|
+
- lib/symphony/queue.rb
|
290
|
+
- lib/symphony/routing.rb
|
291
|
+
- lib/symphony/signal_handling.rb
|
292
|
+
- lib/symphony/task.rb
|
293
|
+
- lib/symphony/tasks/auditor.rb
|
294
|
+
- lib/symphony/tasks/failure_logger.rb
|
295
|
+
- lib/symphony/tasks/pinger.rb
|
296
|
+
- lib/symphony/tasks/simulator.rb
|
297
|
+
- lib/symphony/tasks/ssh.rb
|
298
|
+
- lib/symphony/tasks/sshscript.rb
|
299
|
+
- spec/helpers.rb
|
300
|
+
- spec/symphony/mixins_spec.rb
|
301
|
+
- spec/symphony/queue_spec.rb
|
302
|
+
- spec/symphony/task_spec.rb
|
303
|
+
- spec/symphony_spec.rb
|
304
|
+
homepage: http://bitbucket.org/ged/symphony
|
305
|
+
licenses:
|
306
|
+
- BSD
|
307
|
+
metadata: {}
|
308
|
+
post_install_message:
|
309
|
+
rdoc_options:
|
310
|
+
- -f
|
311
|
+
- fivefish
|
312
|
+
- -t
|
313
|
+
- Symphony
|
314
|
+
require_paths:
|
315
|
+
- lib
|
316
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
317
|
+
requirements:
|
318
|
+
- - '>='
|
319
|
+
- !ruby/object:Gem::Version
|
320
|
+
version: 2.0.0
|
321
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
322
|
+
requirements:
|
323
|
+
- - '>'
|
324
|
+
- !ruby/object:Gem::Version
|
325
|
+
version: 1.3.1
|
326
|
+
requirements: []
|
327
|
+
rubyforge_project: symphony
|
328
|
+
rubygems_version: 2.2.2
|
329
|
+
signing_key:
|
330
|
+
specification_version: 4
|
331
|
+
summary: Symphony is a subscription-based asynchronous job system
|
332
|
+
test_files: []
|
metadata.gz.sig
ADDED
Binary file
|