pylon 0.2.6 → 0.2.7

Sign up to get free protection for your applications and to get access to all the features.
@@ -15,5 +15,6 @@
15
15
  # limitations under the License.
16
16
 
17
17
  class Pylon
18
- VERSION = "0.2.6"
18
+ PYLON_ROOT = File.dirname(File.expand_path(File.dirname(__FILE__)))
19
+ VERSION = "0.2.7"
19
20
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: pylon
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.6
4
+ version: 0.2.7
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -13,19 +13,74 @@ date: 2011-09-19 00:00:00.000000000 +12:00
13
13
  default_executable: pylon
14
14
  dependencies:
15
15
  - !ruby/object:Gem::Dependency
16
- name: pylon
17
- requirement: &2156553900 !ruby/object:Gem::Requirement
16
+ name: bundler
17
+ requirement: &2158677700 !ruby/object:Gem::Requirement
18
+ none: false
19
+ requirements:
20
+ - - ~>
21
+ - !ruby/object:Gem::Version
22
+ version: 1.0.0
23
+ type: :development
24
+ prerelease: false
25
+ version_requirements: *2158677700
26
+ - !ruby/object:Gem::Dependency
27
+ name: jeweler
28
+ requirement: &2158677220 !ruby/object:Gem::Requirement
29
+ none: false
30
+ requirements:
31
+ - - ~>
32
+ - !ruby/object:Gem::Version
33
+ version: 1.6.4
34
+ type: :development
35
+ prerelease: false
36
+ version_requirements: *2158677220
37
+ - !ruby/object:Gem::Dependency
38
+ name: rcov
39
+ requirement: &2158676740 !ruby/object:Gem::Requirement
18
40
  none: false
19
41
  requirements:
20
42
  - - ! '>='
21
43
  - !ruby/object:Gem::Version
22
44
  version: '0'
23
- type: :runtime
45
+ type: :development
46
+ prerelease: false
47
+ version_requirements: *2158676740
48
+ - !ruby/object:Gem::Dependency
49
+ name: vagrant
50
+ requirement: &2158676100 !ruby/object:Gem::Requirement
51
+ none: false
52
+ requirements:
53
+ - - ! '>='
54
+ - !ruby/object:Gem::Version
55
+ version: '0'
56
+ type: :development
57
+ prerelease: false
58
+ version_requirements: *2158676100
59
+ - !ruby/object:Gem::Dependency
60
+ name: virtualbox
61
+ requirement: &2158675240 !ruby/object:Gem::Requirement
62
+ none: false
63
+ requirements:
64
+ - - ! '>='
65
+ - !ruby/object:Gem::Version
66
+ version: '0'
67
+ type: :development
24
68
  prerelease: false
25
- version_requirements: *2156553900
69
+ version_requirements: *2158675240
70
+ - !ruby/object:Gem::Dependency
71
+ name: minitest
72
+ requirement: &2158674520 !ruby/object:Gem::Requirement
73
+ none: false
74
+ requirements:
75
+ - - ~>
76
+ - !ruby/object:Gem::Version
77
+ version: 2.6.0
78
+ type: :development
79
+ prerelease: false
80
+ version_requirements: *2158674520
26
81
  - !ruby/object:Gem::Dependency
27
82
  name: bundler
28
- requirement: &2156552860 !ruby/object:Gem::Requirement
83
+ requirement: &2158674040 !ruby/object:Gem::Requirement
29
84
  none: false
30
85
  requirements:
31
86
  - - ~>
@@ -33,10 +88,10 @@ dependencies:
33
88
  version: 1.0.0
34
89
  type: :development
35
90
  prerelease: false
36
- version_requirements: *2156552860
91
+ version_requirements: *2158674040
37
92
  - !ruby/object:Gem::Dependency
38
93
  name: jeweler
39
- requirement: &2156551980 !ruby/object:Gem::Requirement
94
+ requirement: &2158673420 !ruby/object:Gem::Requirement
40
95
  none: false
41
96
  requirements:
42
97
  - - ~>
@@ -44,10 +99,10 @@ dependencies:
44
99
  version: 1.6.4
45
100
  type: :development
46
101
  prerelease: false
47
- version_requirements: *2156551980
102
+ version_requirements: *2158673420
48
103
  - !ruby/object:Gem::Dependency
49
104
  name: rcov
50
- requirement: &2156550960 !ruby/object:Gem::Requirement
105
+ requirement: &2158672780 !ruby/object:Gem::Requirement
51
106
  none: false
52
107
  requirements:
53
108
  - - ! '>='
@@ -55,10 +110,10 @@ dependencies:
55
110
  version: '0'
56
111
  type: :development
57
112
  prerelease: false
58
- version_requirements: *2156550960
113
+ version_requirements: *2158672780
59
114
  - !ruby/object:Gem::Dependency
60
115
  name: vagrant
61
- requirement: &2156549500 !ruby/object:Gem::Requirement
116
+ requirement: &2158672300 !ruby/object:Gem::Requirement
62
117
  none: false
63
118
  requirements:
64
119
  - - ! '>='
@@ -66,10 +121,10 @@ dependencies:
66
121
  version: '0'
67
122
  type: :development
68
123
  prerelease: false
69
- version_requirements: *2156549500
124
+ version_requirements: *2158672300
70
125
  - !ruby/object:Gem::Dependency
71
126
  name: virtualbox
72
- requirement: &2156548080 !ruby/object:Gem::Requirement
127
+ requirement: &2158671820 !ruby/object:Gem::Requirement
73
128
  none: false
74
129
  requirements:
75
130
  - - ! '>='
@@ -77,10 +132,10 @@ dependencies:
77
132
  version: '0'
78
133
  type: :development
79
134
  prerelease: false
80
- version_requirements: *2156548080
135
+ version_requirements: *2158671820
81
136
  - !ruby/object:Gem::Dependency
82
137
  name: minitest
83
- requirement: &2156547160 !ruby/object:Gem::Requirement
138
+ requirement: &2158671280 !ruby/object:Gem::Requirement
84
139
  none: false
85
140
  requirements:
86
141
  - - ~>
@@ -88,10 +143,10 @@ dependencies:
88
143
  version: 2.6.0
89
144
  type: :development
90
145
  prerelease: false
91
- version_requirements: *2156547160
146
+ version_requirements: *2158671280
92
147
  - !ruby/object:Gem::Dependency
93
148
  name: bundler
94
- requirement: &2156546260 !ruby/object:Gem::Requirement
149
+ requirement: &2158652820 !ruby/object:Gem::Requirement
95
150
  none: false
96
151
  requirements:
97
152
  - - ~>
@@ -99,10 +154,10 @@ dependencies:
99
154
  version: 1.0.0
100
155
  type: :development
101
156
  prerelease: false
102
- version_requirements: *2156546260
157
+ version_requirements: *2158652820
103
158
  - !ruby/object:Gem::Dependency
104
159
  name: jeweler
105
- requirement: &2156544600 !ruby/object:Gem::Requirement
160
+ requirement: &2158651960 !ruby/object:Gem::Requirement
106
161
  none: false
107
162
  requirements:
108
163
  - - ~>
@@ -110,10 +165,10 @@ dependencies:
110
165
  version: 1.6.4
111
166
  type: :development
112
167
  prerelease: false
113
- version_requirements: *2156544600
168
+ version_requirements: *2158651960
114
169
  - !ruby/object:Gem::Dependency
115
170
  name: rcov
116
- requirement: &2156543320 !ruby/object:Gem::Requirement
171
+ requirement: &2158651100 !ruby/object:Gem::Requirement
117
172
  none: false
118
173
  requirements:
119
174
  - - ! '>='
@@ -121,10 +176,10 @@ dependencies:
121
176
  version: '0'
122
177
  type: :development
123
178
  prerelease: false
124
- version_requirements: *2156543320
179
+ version_requirements: *2158651100
125
180
  - !ruby/object:Gem::Dependency
126
181
  name: vagrant
127
- requirement: &2156541840 !ruby/object:Gem::Requirement
182
+ requirement: &2158650620 !ruby/object:Gem::Requirement
128
183
  none: false
129
184
  requirements:
130
185
  - - ! '>='
@@ -132,10 +187,10 @@ dependencies:
132
187
  version: '0'
133
188
  type: :development
134
189
  prerelease: false
135
- version_requirements: *2156541840
190
+ version_requirements: *2158650620
136
191
  - !ruby/object:Gem::Dependency
137
192
  name: virtualbox
138
- requirement: &2156540460 !ruby/object:Gem::Requirement
193
+ requirement: &2158650120 !ruby/object:Gem::Requirement
139
194
  none: false
140
195
  requirements:
141
196
  - - ! '>='
@@ -143,10 +198,10 @@ dependencies:
143
198
  version: '0'
144
199
  type: :development
145
200
  prerelease: false
146
- version_requirements: *2156540460
201
+ version_requirements: *2158650120
147
202
  - !ruby/object:Gem::Dependency
148
203
  name: minitest
149
- requirement: &2156538960 !ruby/object:Gem::Requirement
204
+ requirement: &2158649420 !ruby/object:Gem::Requirement
150
205
  none: false
151
206
  requirements:
152
207
  - - ~>
@@ -154,10 +209,10 @@ dependencies:
154
209
  version: 2.6.0
155
210
  type: :development
156
211
  prerelease: false
157
- version_requirements: *2156538960
212
+ version_requirements: *2158649420
158
213
  - !ruby/object:Gem::Dependency
159
214
  name: bundler
160
- requirement: &2156538200 !ruby/object:Gem::Requirement
215
+ requirement: &2158648680 !ruby/object:Gem::Requirement
161
216
  none: false
162
217
  requirements:
163
218
  - - ~>
@@ -165,10 +220,10 @@ dependencies:
165
220
  version: 1.0.0
166
221
  type: :development
167
222
  prerelease: false
168
- version_requirements: *2156538200
223
+ version_requirements: *2158648680
169
224
  - !ruby/object:Gem::Dependency
170
225
  name: jeweler
171
- requirement: &2156537240 !ruby/object:Gem::Requirement
226
+ requirement: &2158647980 !ruby/object:Gem::Requirement
172
227
  none: false
173
228
  requirements:
174
229
  - - ~>
@@ -176,10 +231,10 @@ dependencies:
176
231
  version: 1.6.4
177
232
  type: :development
178
233
  prerelease: false
179
- version_requirements: *2156537240
234
+ version_requirements: *2158647980
180
235
  - !ruby/object:Gem::Dependency
181
236
  name: rcov
182
- requirement: &2156536400 !ruby/object:Gem::Requirement
237
+ requirement: &2158647240 !ruby/object:Gem::Requirement
183
238
  none: false
184
239
  requirements:
185
240
  - - ! '>='
@@ -187,10 +242,10 @@ dependencies:
187
242
  version: '0'
188
243
  type: :development
189
244
  prerelease: false
190
- version_requirements: *2156536400
245
+ version_requirements: *2158647240
191
246
  - !ruby/object:Gem::Dependency
192
247
  name: vagrant
193
- requirement: &2156535320 !ruby/object:Gem::Requirement
248
+ requirement: &2158646540 !ruby/object:Gem::Requirement
194
249
  none: false
195
250
  requirements:
196
251
  - - ! '>='
@@ -198,10 +253,10 @@ dependencies:
198
253
  version: '0'
199
254
  type: :development
200
255
  prerelease: false
201
- version_requirements: *2156535320
256
+ version_requirements: *2158646540
202
257
  - !ruby/object:Gem::Dependency
203
258
  name: virtualbox
204
- requirement: &2156534360 !ruby/object:Gem::Requirement
259
+ requirement: &2158645860 !ruby/object:Gem::Requirement
205
260
  none: false
206
261
  requirements:
207
262
  - - ! '>='
@@ -209,10 +264,10 @@ dependencies:
209
264
  version: '0'
210
265
  type: :development
211
266
  prerelease: false
212
- version_requirements: *2156534360
267
+ version_requirements: *2158645860
213
268
  - !ruby/object:Gem::Dependency
214
269
  name: minitest
215
- requirement: &2156533500 !ruby/object:Gem::Requirement
270
+ requirement: &2158645380 !ruby/object:Gem::Requirement
216
271
  none: false
217
272
  requirements:
218
273
  - - ~>
@@ -220,10 +275,10 @@ dependencies:
220
275
  version: 2.6.0
221
276
  type: :development
222
277
  prerelease: false
223
- version_requirements: *2156533500
278
+ version_requirements: *2158645380
224
279
  - !ruby/object:Gem::Dependency
225
280
  name: bundler
226
- requirement: &2156532560 !ruby/object:Gem::Requirement
281
+ requirement: &2158644880 !ruby/object:Gem::Requirement
227
282
  none: false
228
283
  requirements:
229
284
  - - ~>
@@ -231,10 +286,10 @@ dependencies:
231
286
  version: 1.0.0
232
287
  type: :development
233
288
  prerelease: false
234
- version_requirements: *2156532560
289
+ version_requirements: *2158644880
235
290
  - !ruby/object:Gem::Dependency
236
291
  name: jeweler
237
- requirement: &2156531960 !ruby/object:Gem::Requirement
292
+ requirement: &2158644400 !ruby/object:Gem::Requirement
238
293
  none: false
239
294
  requirements:
240
295
  - - ~>
@@ -242,10 +297,10 @@ dependencies:
242
297
  version: 1.6.4
243
298
  type: :development
244
299
  prerelease: false
245
- version_requirements: *2156531960
300
+ version_requirements: *2158644400
246
301
  - !ruby/object:Gem::Dependency
247
302
  name: rcov
248
- requirement: &2156531280 !ruby/object:Gem::Requirement
303
+ requirement: &2158643920 !ruby/object:Gem::Requirement
249
304
  none: false
250
305
  requirements:
251
306
  - - ! '>='
@@ -253,10 +308,10 @@ dependencies:
253
308
  version: '0'
254
309
  type: :development
255
310
  prerelease: false
256
- version_requirements: *2156531280
311
+ version_requirements: *2158643920
257
312
  - !ruby/object:Gem::Dependency
258
313
  name: vagrant
259
- requirement: &2156530300 !ruby/object:Gem::Requirement
314
+ requirement: &2158643440 !ruby/object:Gem::Requirement
260
315
  none: false
261
316
  requirements:
262
317
  - - ! '>='
@@ -264,10 +319,10 @@ dependencies:
264
319
  version: '0'
265
320
  type: :development
266
321
  prerelease: false
267
- version_requirements: *2156530300
322
+ version_requirements: *2158643440
268
323
  - !ruby/object:Gem::Dependency
269
324
  name: virtualbox
270
- requirement: &2156528540 !ruby/object:Gem::Requirement
325
+ requirement: &2158642940 !ruby/object:Gem::Requirement
271
326
  none: false
272
327
  requirements:
273
328
  - - ! '>='
@@ -275,10 +330,10 @@ dependencies:
275
330
  version: '0'
276
331
  type: :development
277
332
  prerelease: false
278
- version_requirements: *2156528540
333
+ version_requirements: *2158642940
279
334
  - !ruby/object:Gem::Dependency
280
335
  name: ffi-rzmq
281
- requirement: &2156527400 !ruby/object:Gem::Requirement
336
+ requirement: &2158642460 !ruby/object:Gem::Requirement
282
337
  none: false
283
338
  requirements:
284
339
  - - ~>
@@ -286,10 +341,10 @@ dependencies:
286
341
  version: 0.8.2
287
342
  type: :runtime
288
343
  prerelease: false
289
- version_requirements: *2156527400
344
+ version_requirements: *2158642460
290
345
  - !ruby/object:Gem::Dependency
291
346
  name: mixlib-log
292
- requirement: &2156526360 !ruby/object:Gem::Requirement
347
+ requirement: &2158641980 !ruby/object:Gem::Requirement
293
348
  none: false
294
349
  requirements:
295
350
  - - ! '>='
@@ -297,10 +352,10 @@ dependencies:
297
352
  version: '0'
298
353
  type: :runtime
299
354
  prerelease: false
300
- version_requirements: *2156526360
355
+ version_requirements: *2158641980
301
356
  - !ruby/object:Gem::Dependency
302
357
  name: mixlib-cli
303
- requirement: &2156525180 !ruby/object:Gem::Requirement
358
+ requirement: &2158641500 !ruby/object:Gem::Requirement
304
359
  none: false
305
360
  requirements:
306
361
  - - ! '>='
@@ -308,10 +363,10 @@ dependencies:
308
363
  version: '0'
309
364
  type: :runtime
310
365
  prerelease: false
311
- version_requirements: *2156525180
366
+ version_requirements: *2158641500
312
367
  - !ruby/object:Gem::Dependency
313
368
  name: mixlib-config
314
- requirement: &2156524060 !ruby/object:Gem::Requirement
369
+ requirement: &2158641020 !ruby/object:Gem::Requirement
315
370
  none: false
316
371
  requirements:
317
372
  - - ! '>='
@@ -319,10 +374,10 @@ dependencies:
319
374
  version: '0'
320
375
  type: :runtime
321
376
  prerelease: false
322
- version_requirements: *2156524060
377
+ version_requirements: *2158641020
323
378
  - !ruby/object:Gem::Dependency
324
379
  name: uuidtools
325
- requirement: &2156522820 !ruby/object:Gem::Requirement
380
+ requirement: &2158640540 !ruby/object:Gem::Requirement
326
381
  none: false
327
382
  requirements:
328
383
  - - ~>
@@ -330,10 +385,10 @@ dependencies:
330
385
  version: 2.1.2
331
386
  type: :runtime
332
387
  prerelease: false
333
- version_requirements: *2156522820
388
+ version_requirements: *2158640540
334
389
  - !ruby/object:Gem::Dependency
335
390
  name: json
336
- requirement: &2156521660 !ruby/object:Gem::Requirement
391
+ requirement: &2158640060 !ruby/object:Gem::Requirement
337
392
  none: false
338
393
  requirements:
339
394
  - - ! '>='
@@ -341,10 +396,10 @@ dependencies:
341
396
  version: '0'
342
397
  type: :runtime
343
398
  prerelease: false
344
- version_requirements: *2156521660
399
+ version_requirements: *2158640060
345
400
  - !ruby/object:Gem::Dependency
346
401
  name: minitest
347
- requirement: &2156519800 !ruby/object:Gem::Requirement
402
+ requirement: &2158639580 !ruby/object:Gem::Requirement
348
403
  none: false
349
404
  requirements:
350
405
  - - ~>
@@ -352,10 +407,10 @@ dependencies:
352
407
  version: 2.6.0
353
408
  type: :development
354
409
  prerelease: false
355
- version_requirements: *2156519800
410
+ version_requirements: *2158639580
356
411
  - !ruby/object:Gem::Dependency
357
412
  name: bundler
358
- requirement: &2156517180 !ruby/object:Gem::Requirement
413
+ requirement: &2158639100 !ruby/object:Gem::Requirement
359
414
  none: false
360
415
  requirements:
361
416
  - - ~>
@@ -363,10 +418,10 @@ dependencies:
363
418
  version: 1.0.0
364
419
  type: :development
365
420
  prerelease: false
366
- version_requirements: *2156517180
421
+ version_requirements: *2158639100
367
422
  - !ruby/object:Gem::Dependency
368
423
  name: jeweler
369
- requirement: &2156516580 !ruby/object:Gem::Requirement
424
+ requirement: &2158638620 !ruby/object:Gem::Requirement
370
425
  none: false
371
426
  requirements:
372
427
  - - ~>
@@ -374,10 +429,10 @@ dependencies:
374
429
  version: 1.6.4
375
430
  type: :development
376
431
  prerelease: false
377
- version_requirements: *2156516580
432
+ version_requirements: *2158638620
378
433
  - !ruby/object:Gem::Dependency
379
434
  name: rcov
380
- requirement: &2156515840 !ruby/object:Gem::Requirement
435
+ requirement: &2158638140 !ruby/object:Gem::Requirement
381
436
  none: false
382
437
  requirements:
383
438
  - - ! '>='
@@ -385,10 +440,10 @@ dependencies:
385
440
  version: '0'
386
441
  type: :development
387
442
  prerelease: false
388
- version_requirements: *2156515840
443
+ version_requirements: *2158638140
389
444
  - !ruby/object:Gem::Dependency
390
445
  name: vagrant
391
- requirement: &2156514800 !ruby/object:Gem::Requirement
446
+ requirement: &2158637660 !ruby/object:Gem::Requirement
392
447
  none: false
393
448
  requirements:
394
449
  - - ! '>='
@@ -396,10 +451,10 @@ dependencies:
396
451
  version: '0'
397
452
  type: :development
398
453
  prerelease: false
399
- version_requirements: *2156514800
454
+ version_requirements: *2158637660
400
455
  - !ruby/object:Gem::Dependency
401
456
  name: virtualbox
402
- requirement: &2156513980 !ruby/object:Gem::Requirement
457
+ requirement: &2158637180 !ruby/object:Gem::Requirement
403
458
  none: false
404
459
  requirements:
405
460
  - - ! '>='
@@ -407,7 +462,7 @@ dependencies:
407
462
  version: '0'
408
463
  type: :development
409
464
  prerelease: false
410
- version_requirements: *2156513980
465
+ version_requirements: *2158637180
411
466
  description: leader election with zeromq for ruby using widely available leader election
412
467
  algorithms, similar to gen_leader erlang project in essence
413
468
  email: aj@junglist.gen.nz
@@ -418,27 +473,19 @@ extra_rdoc_files:
418
473
  - LICENSE
419
474
  - README.org
420
475
  files:
421
- - Gemfile
422
- - LICENSE
423
- - NOTICE
424
- - README.org
425
- - Rakefile
426
- - Vagrantfile
427
- - bin/pylon
428
- - cookbooks/pylon/README.rdoc
429
- - cookbooks/pylon/metadata.rb
430
- - cookbooks/pylon/recipes/default.rb
431
- - lib/pylon.rb
432
476
  - lib/pylon/application.rb
433
477
  - lib/pylon/config.rb
434
478
  - lib/pylon/daemon.rb
435
479
  - lib/pylon/elector.rb
436
480
  - lib/pylon/log.rb
437
481
  - lib/pylon/node.rb
438
- - lib/pylon/version.rb
439
- - pylon.gemspec
440
- - test/helper.rb
441
- - test/test_pylon.rb
482
+ - lib/pylon.rb
483
+ - bin/pylon
484
+ - cookbooks/pylon/metadata.rb
485
+ - cookbooks/pylon/README.rdoc
486
+ - cookbooks/pylon/recipes/default.rb
487
+ - LICENSE
488
+ - README.org
442
489
  has_rdoc: true
443
490
  homepage: http://github.com/fujin/pylon
444
491
  licenses:
@@ -455,7 +502,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
455
502
  version: '0'
456
503
  segments:
457
504
  - 0
458
- hash: 4297169006148903427
505
+ hash: 120515204154468058
459
506
  required_rubygems_version: !ruby/object:Gem::Requirement
460
507
  none: false
461
508
  requirements:
data/Gemfile DELETED
@@ -1,4 +0,0 @@
1
- source "http://rubygems.org"
2
-
3
- # Specify your gem's dependencies in pylon.gemspec
4
- gemspec
data/NOTICE DELETED
@@ -1,8 +0,0 @@
1
- Pylon Notice
2
- ===========
3
-
4
- Developed by AJ Christensen (http://junglist.gen.nz)
5
-
6
- * Copyright 2011, AJ Christensen <aj@junglist.gen.nz>
7
-
8
-
data/Rakefile DELETED
@@ -1,53 +0,0 @@
1
- # encoding: utf-8
2
-
3
- require "rubygems"
4
- require "bundler"
5
- begin
6
- Bundler.setup(:default, :development)
7
- rescue Bundler::BundlerError => e
8
- $stderr.puts e.message
9
- $stderr.puts "Run `bundle install` to install missing gems"
10
- exit e.status_code
11
- end
12
-
13
- require "rake"
14
- require "jeweler"
15
- require "rake/testtask"
16
- require "bundler/gem_tasks"
17
- require_relative "lib/pylon"
18
-
19
- Jeweler::Tasks.new do |gem|
20
- gem.name = "pylon"
21
- gem.homepage = "http://github.com/fujin/pylon"
22
- gem.license = "APLv2"
23
- gem.summary = %Q{standalone leader election with zeromq for ruby}
24
- gem.description = %Q{leader election with zeromq for ruby using widely available leader election algorithms, similar to gen_leader erlang project in essence}
25
- gem.email = "aj@junglist.gen.nz"
26
- gem.authors = ["AJ Christensen"]
27
- gem.version = Pylon::VERSION
28
- { "ffi-rzmq" => "~> 0.8.2",
29
- "mixlib-log" => ">= 0",
30
- "mixlib-cli" => ">= 0",
31
- "mixlib-config" => ">= 0",
32
- "uuidtools" => "~> 2.1.2",
33
- "json" => ">= 0"
34
- }.each { |dep,ver| gem.add_runtime_dependency dep, ver }
35
- { "minitest" => "~> 2.6.0",
36
- "bundler" => "~> 1.0.0",
37
- "jeweler" => "~> 1.6.4",
38
- "rcov" => ">= 0",
39
- "vagrant" => ">= 0",
40
- "virtualbox" => ">= 0"
41
- }.each { |dep,ver| gem.add_development_dependency dep, ver }
42
- end
43
-
44
- Jeweler::RubygemsDotOrgTasks.new
45
-
46
- Rake::TestTask.new(:test) do |test|
47
- test.libs << 'lib' << 'test'
48
- test.pattern = 'test/**/test_*.rb'
49
- test.verbose = true
50
- end
51
-
52
-
53
-
@@ -1,18 +0,0 @@
1
- def pylon_vm(config=nil, name=:pylon, count=0)
2
- return unless config
3
- config.vm.define(name) do |config|
4
- config.vm.box = 'natty64_cloudscaling_4.1'
5
- config.vm.box_url = "http://d1lfnqkkmlbdsd.cloudfront.net/vagrant/natty64_cloudscaling_4.1.box"
6
- config.vm.network "33.33.33.#{10 + count}"
7
- config.vm.provision :chef_solo do |chef|
8
- chef.cookbooks_path = "cookbooks"
9
- chef.add_recipe "pylon"
10
- end
11
- end
12
- end
13
-
14
- Vagrant::Config.run do |config|
15
- 10.times do |i|
16
- pylon_vm(config, "pylon#{i}".to_sym, i)
17
- end
18
- end
@@ -1,3 +0,0 @@
1
- module Pylon
2
- VERSION = "0.0.1"
3
- end
@@ -1,167 +0,0 @@
1
- # Generated by jeweler
2
- # DO NOT EDIT THIS FILE DIRECTLY
3
- # Instead, edit Jeweler::Tasks in Rakefile, and run 'rake gemspec'
4
- # -*- encoding: utf-8 -*-
5
-
6
- Gem::Specification.new do |s|
7
- s.name = %q{pylon}
8
- s.version = "0.2.6"
9
-
10
- s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
11
- s.authors = ["AJ Christensen"]
12
- s.date = %q{2011-09-19}
13
- s.default_executable = %q{pylon}
14
- s.description = %q{leader election with zeromq for ruby using widely available leader election algorithms, similar to gen_leader erlang project in essence}
15
- s.email = %q{aj@junglist.gen.nz}
16
- s.executables = ["pylon"]
17
- s.extra_rdoc_files = [
18
- "LICENSE",
19
- "README.org"
20
- ]
21
- s.files = [
22
- "Gemfile",
23
- "LICENSE",
24
- "NOTICE",
25
- "README.org",
26
- "Rakefile",
27
- "Vagrantfile",
28
- "bin/pylon",
29
- "cookbooks/pylon/README.rdoc",
30
- "cookbooks/pylon/metadata.rb",
31
- "cookbooks/pylon/recipes/default.rb",
32
- "lib/pylon.rb",
33
- "lib/pylon/application.rb",
34
- "lib/pylon/config.rb",
35
- "lib/pylon/daemon.rb",
36
- "lib/pylon/elector.rb",
37
- "lib/pylon/log.rb",
38
- "lib/pylon/node.rb",
39
- "lib/pylon/version.rb",
40
- "pylon.gemspec",
41
- "test/helper.rb",
42
- "test/test_pylon.rb"
43
- ]
44
- s.homepage = %q{http://github.com/fujin/pylon}
45
- s.licenses = ["APLv2"]
46
- s.require_paths = ["lib"]
47
- s.rubygems_version = %q{1.6.2}
48
- s.summary = %q{standalone leader election with zeromq for ruby}
49
-
50
- if s.respond_to? :specification_version then
51
- s.specification_version = 3
52
-
53
- if Gem::Version.new(Gem::VERSION) >= Gem::Version.new('1.2.0') then
54
- s.add_runtime_dependency(%q<pylon>, [">= 0"])
55
- s.add_development_dependency(%q<bundler>, ["~> 1.0.0"])
56
- s.add_development_dependency(%q<jeweler>, ["~> 1.6.4"])
57
- s.add_development_dependency(%q<rcov>, [">= 0"])
58
- s.add_development_dependency(%q<vagrant>, [">= 0"])
59
- s.add_development_dependency(%q<virtualbox>, [">= 0"])
60
- s.add_development_dependency(%q<minitest>, ["~> 2.6.0"])
61
- s.add_development_dependency(%q<bundler>, ["~> 1.0.0"])
62
- s.add_development_dependency(%q<jeweler>, ["~> 1.6.4"])
63
- s.add_development_dependency(%q<rcov>, [">= 0"])
64
- s.add_development_dependency(%q<vagrant>, [">= 0"])
65
- s.add_development_dependency(%q<virtualbox>, [">= 0"])
66
- s.add_development_dependency(%q<minitest>, ["~> 2.6.0"])
67
- s.add_development_dependency(%q<bundler>, ["~> 1.0.0"])
68
- s.add_development_dependency(%q<jeweler>, ["~> 1.6.4"])
69
- s.add_development_dependency(%q<rcov>, [">= 0"])
70
- s.add_development_dependency(%q<vagrant>, [">= 0"])
71
- s.add_development_dependency(%q<virtualbox>, [">= 0"])
72
- s.add_development_dependency(%q<minitest>, ["~> 2.6.0"])
73
- s.add_development_dependency(%q<bundler>, ["~> 1.0.0"])
74
- s.add_development_dependency(%q<jeweler>, ["~> 1.6.4"])
75
- s.add_development_dependency(%q<rcov>, [">= 0"])
76
- s.add_development_dependency(%q<vagrant>, [">= 0"])
77
- s.add_development_dependency(%q<virtualbox>, [">= 0"])
78
- s.add_runtime_dependency(%q<ffi-rzmq>, ["~> 0.8.2"])
79
- s.add_runtime_dependency(%q<mixlib-log>, [">= 0"])
80
- s.add_runtime_dependency(%q<mixlib-cli>, [">= 0"])
81
- s.add_runtime_dependency(%q<mixlib-config>, [">= 0"])
82
- s.add_runtime_dependency(%q<uuidtools>, ["~> 2.1.2"])
83
- s.add_runtime_dependency(%q<json>, [">= 0"])
84
- s.add_development_dependency(%q<minitest>, ["~> 2.6.0"])
85
- s.add_development_dependency(%q<bundler>, ["~> 1.0.0"])
86
- s.add_development_dependency(%q<jeweler>, ["~> 1.6.4"])
87
- s.add_development_dependency(%q<rcov>, [">= 0"])
88
- s.add_development_dependency(%q<vagrant>, [">= 0"])
89
- s.add_development_dependency(%q<virtualbox>, [">= 0"])
90
- else
91
- s.add_dependency(%q<pylon>, [">= 0"])
92
- s.add_dependency(%q<bundler>, ["~> 1.0.0"])
93
- s.add_dependency(%q<jeweler>, ["~> 1.6.4"])
94
- s.add_dependency(%q<rcov>, [">= 0"])
95
- s.add_dependency(%q<vagrant>, [">= 0"])
96
- s.add_dependency(%q<virtualbox>, [">= 0"])
97
- s.add_dependency(%q<minitest>, ["~> 2.6.0"])
98
- s.add_dependency(%q<bundler>, ["~> 1.0.0"])
99
- s.add_dependency(%q<jeweler>, ["~> 1.6.4"])
100
- s.add_dependency(%q<rcov>, [">= 0"])
101
- s.add_dependency(%q<vagrant>, [">= 0"])
102
- s.add_dependency(%q<virtualbox>, [">= 0"])
103
- s.add_dependency(%q<minitest>, ["~> 2.6.0"])
104
- s.add_dependency(%q<bundler>, ["~> 1.0.0"])
105
- s.add_dependency(%q<jeweler>, ["~> 1.6.4"])
106
- s.add_dependency(%q<rcov>, [">= 0"])
107
- s.add_dependency(%q<vagrant>, [">= 0"])
108
- s.add_dependency(%q<virtualbox>, [">= 0"])
109
- s.add_dependency(%q<minitest>, ["~> 2.6.0"])
110
- s.add_dependency(%q<bundler>, ["~> 1.0.0"])
111
- s.add_dependency(%q<jeweler>, ["~> 1.6.4"])
112
- s.add_dependency(%q<rcov>, [">= 0"])
113
- s.add_dependency(%q<vagrant>, [">= 0"])
114
- s.add_dependency(%q<virtualbox>, [">= 0"])
115
- s.add_dependency(%q<ffi-rzmq>, ["~> 0.8.2"])
116
- s.add_dependency(%q<mixlib-log>, [">= 0"])
117
- s.add_dependency(%q<mixlib-cli>, [">= 0"])
118
- s.add_dependency(%q<mixlib-config>, [">= 0"])
119
- s.add_dependency(%q<uuidtools>, ["~> 2.1.2"])
120
- s.add_dependency(%q<json>, [">= 0"])
121
- s.add_dependency(%q<minitest>, ["~> 2.6.0"])
122
- s.add_dependency(%q<bundler>, ["~> 1.0.0"])
123
- s.add_dependency(%q<jeweler>, ["~> 1.6.4"])
124
- s.add_dependency(%q<rcov>, [">= 0"])
125
- s.add_dependency(%q<vagrant>, [">= 0"])
126
- s.add_dependency(%q<virtualbox>, [">= 0"])
127
- end
128
- else
129
- s.add_dependency(%q<pylon>, [">= 0"])
130
- s.add_dependency(%q<bundler>, ["~> 1.0.0"])
131
- s.add_dependency(%q<jeweler>, ["~> 1.6.4"])
132
- s.add_dependency(%q<rcov>, [">= 0"])
133
- s.add_dependency(%q<vagrant>, [">= 0"])
134
- s.add_dependency(%q<virtualbox>, [">= 0"])
135
- s.add_dependency(%q<minitest>, ["~> 2.6.0"])
136
- s.add_dependency(%q<bundler>, ["~> 1.0.0"])
137
- s.add_dependency(%q<jeweler>, ["~> 1.6.4"])
138
- s.add_dependency(%q<rcov>, [">= 0"])
139
- s.add_dependency(%q<vagrant>, [">= 0"])
140
- s.add_dependency(%q<virtualbox>, [">= 0"])
141
- s.add_dependency(%q<minitest>, ["~> 2.6.0"])
142
- s.add_dependency(%q<bundler>, ["~> 1.0.0"])
143
- s.add_dependency(%q<jeweler>, ["~> 1.6.4"])
144
- s.add_dependency(%q<rcov>, [">= 0"])
145
- s.add_dependency(%q<vagrant>, [">= 0"])
146
- s.add_dependency(%q<virtualbox>, [">= 0"])
147
- s.add_dependency(%q<minitest>, ["~> 2.6.0"])
148
- s.add_dependency(%q<bundler>, ["~> 1.0.0"])
149
- s.add_dependency(%q<jeweler>, ["~> 1.6.4"])
150
- s.add_dependency(%q<rcov>, [">= 0"])
151
- s.add_dependency(%q<vagrant>, [">= 0"])
152
- s.add_dependency(%q<virtualbox>, [">= 0"])
153
- s.add_dependency(%q<ffi-rzmq>, ["~> 0.8.2"])
154
- s.add_dependency(%q<mixlib-log>, [">= 0"])
155
- s.add_dependency(%q<mixlib-cli>, [">= 0"])
156
- s.add_dependency(%q<mixlib-config>, [">= 0"])
157
- s.add_dependency(%q<uuidtools>, ["~> 2.1.2"])
158
- s.add_dependency(%q<json>, [">= 0"])
159
- s.add_dependency(%q<minitest>, ["~> 2.6.0"])
160
- s.add_dependency(%q<bundler>, ["~> 1.0.0"])
161
- s.add_dependency(%q<jeweler>, ["~> 1.6.4"])
162
- s.add_dependency(%q<rcov>, [">= 0"])
163
- s.add_dependency(%q<vagrant>, [">= 0"])
164
- s.add_dependency(%q<virtualbox>, [">= 0"])
165
- end
166
- end
167
-
@@ -1,19 +0,0 @@
1
- require 'rubygems'
2
- require 'bundler'
3
- begin
4
- Bundler.setup(:default, :development)
5
- rescue Bundler::BundlerError => e
6
- $stderr.puts e.message
7
- $stderr.puts "Run `bundle install` to install missing gems"
8
- exit e.status_code
9
- end
10
- require 'minitest/unit'
11
-
12
- $LOAD_PATH.unshift(File.dirname(__FILE__))
13
- $LOAD_PATH.unshift(File.join(File.dirname(__FILE__), '..', 'lib'))
14
- require 'pylon'
15
-
16
- class MiniTest::Unit::TestCase
17
- end
18
-
19
- MiniTest::Unit.autorun
@@ -1,7 +0,0 @@
1
- require 'helper'
2
-
3
- class TestPylon < MiniTest::Unit::TestCase
4
- def test_something_for_real
5
- flunk "hey buddy, you should probably rename this file and start testing for real"
6
- end
7
- end