em-resque 1.0.0.beta5 → 1.0.0.beta6

Sign up to get free protection for your applications and to get access to all the features.
@@ -1,5 +1,5 @@
1
1
  module EventMachine
2
2
  module Resque
3
- Version = VERSION = '1.0.0.beta5'
3
+ Version = VERSION = '1.0.0.beta6'
4
4
  end
5
5
  end
@@ -37,8 +37,6 @@ module EventMachine
37
37
 
38
38
  raise(ArgumentError, "Should have at least one fiber") if @fibers_count.to_i < 1
39
39
 
40
- build_workers
41
- build_fibers
42
40
  create_pidfile
43
41
  end
44
42
 
@@ -46,6 +44,8 @@ module EventMachine
46
44
  def start
47
45
  EM.synchrony do
48
46
  EM::Resque.redis = redis_instance(@redis)
47
+ build_workers
48
+ build_fibers
49
49
  prune_dead_workers
50
50
  trap_signals
51
51
  @fibers.each(&:resume)
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: em-resque
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.0.beta5
4
+ version: 1.0.0.beta6
5
5
  prerelease: 6
6
6
  platform: ruby
7
7
  authors:
@@ -13,7 +13,7 @@ date: 2012-01-17 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: resque
16
- requirement: &18876140 !ruby/object:Gem::Requirement
16
+ requirement: &9351180 !ruby/object:Gem::Requirement
17
17
  none: false
18
18
  requirements:
19
19
  - - ~>
@@ -21,10 +21,10 @@ dependencies:
21
21
  version: 1.19.0
22
22
  type: :runtime
23
23
  prerelease: false
24
- version_requirements: *18876140
24
+ version_requirements: *9351180
25
25
  - !ruby/object:Gem::Dependency
26
26
  name: em-synchrony
27
- requirement: &18875480 !ruby/object:Gem::Requirement
27
+ requirement: &9350600 !ruby/object:Gem::Requirement
28
28
  none: false
29
29
  requirements:
30
30
  - - ~>
@@ -32,10 +32,10 @@ dependencies:
32
32
  version: 1.0.0
33
33
  type: :runtime
34
34
  prerelease: false
35
- version_requirements: *18875480
35
+ version_requirements: *9350600
36
36
  - !ruby/object:Gem::Dependency
37
37
  name: em-redis
38
- requirement: &18874980 !ruby/object:Gem::Requirement
38
+ requirement: &9349920 !ruby/object:Gem::Requirement
39
39
  none: false
40
40
  requirements:
41
41
  - - ! '>='
@@ -43,7 +43,7 @@ dependencies:
43
43
  version: '0'
44
44
  type: :runtime
45
45
  prerelease: false
46
- version_requirements: *18874980
46
+ version_requirements: *9349920
47
47
  description: ! " Em-resque is a version of Resque, which offers non-blocking and
48
48
  non-forking\n workers. The idea is to have fast as possible workers for tasks
49
49
  with lots of\n IO like pinging third party servers or hitting the database.\n\n