rabbit_jobs 0.0.8.1 → 0.0.8.2

Sign up to get free protection for your applications and to get access to all the features.
@@ -21,14 +21,14 @@ namespace :rj do
21
21
  require 'rabbit_jobs'
22
22
 
23
23
  queues = (ENV['QUEUES'] || ENV['QUEUE']).to_s.split(',')
24
- worker = initialize_rj_service(RJ::Worker.new(*queues))
24
+ worker = initialize_rj_daemon(RJ::Worker.new(*queues))
25
25
 
26
26
  worker.work
27
27
  end
28
28
 
29
29
  desc "Start a Rabbit Jobs scheduler"
30
30
  task :scheduler => [ :preload, :setup ] do
31
- scheduler = initialize_rj_service(RabbitJobs::Scheduler.new)
31
+ scheduler = initialize_rj_daemon(RabbitJobs::Scheduler.new)
32
32
 
33
33
  scheduler.work
34
34
  end
@@ -1,3 +1,3 @@
1
1
  module RabbitJobs
2
- VERSION = "0.0.8.1"
2
+ VERSION = "0.0.8.2"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: rabbit_jobs
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.8.1
4
+ version: 0.0.8.2
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -13,7 +13,7 @@ date: 2012-02-22 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: amqp
16
- requirement: &70326148231000 !ruby/object:Gem::Requirement
16
+ requirement: &70260665942980 !ruby/object:Gem::Requirement
17
17
  none: false
18
18
  requirements:
19
19
  - - ~>
@@ -21,10 +21,10 @@ dependencies:
21
21
  version: '0.9'
22
22
  type: :runtime
23
23
  prerelease: false
24
- version_requirements: *70326148231000
24
+ version_requirements: *70260665942980
25
25
  - !ruby/object:Gem::Dependency
26
26
  name: rake
27
- requirement: &70326148230580 !ruby/object:Gem::Requirement
27
+ requirement: &70260665942560 !ruby/object:Gem::Requirement
28
28
  none: false
29
29
  requirements:
30
30
  - - ! '>='
@@ -32,10 +32,10 @@ dependencies:
32
32
  version: '0'
33
33
  type: :runtime
34
34
  prerelease: false
35
- version_requirements: *70326148230580
35
+ version_requirements: *70260665942560
36
36
  - !ruby/object:Gem::Dependency
37
37
  name: rufus-scheduler
38
- requirement: &70326148230040 !ruby/object:Gem::Requirement
38
+ requirement: &70260665942020 !ruby/object:Gem::Requirement
39
39
  none: false
40
40
  requirements:
41
41
  - - ~>
@@ -43,7 +43,7 @@ dependencies:
43
43
  version: '2.0'
44
44
  type: :runtime
45
45
  prerelease: false
46
- version_requirements: *70326148230040
46
+ version_requirements: *70260665942020
47
47
  description: Background jobs on RabbitMQ
48
48
  email:
49
49
  - lazureykis@gmail.com