rabbit_jobs 0.7.6 → 0.7.7

Sign up to get free protection for your applications and to get access to all the features.
@@ -50,7 +50,7 @@ module RabbitJobs
50
50
 
51
51
  routing_keys.map(&:to_sym).each do |routing_key|
52
52
  queue_name = RJ.config.queue_name(routing_key)
53
- queue = amqp_connection.queue(queue_name, RJ.config[:queues][routing_key])
53
+ queue = connection.queue(queue_name, RJ.config[:queues][routing_key])
54
54
  messages_count += queue.status[:message_count]
55
55
  queue.delete
56
56
  end
@@ -1,5 +1,5 @@
1
1
  # -*- encoding : utf-8 -*-
2
2
 
3
3
  module RabbitJobs
4
- VERSION = "0.7.6"
4
+ VERSION = "0.7.7"
5
5
  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.7.6
4
+ version: 0.7.7
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -13,7 +13,7 @@ date: 2013-03-22 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: bunny
16
- requirement: &16743980 !ruby/object:Gem::Requirement
16
+ requirement: &19664540 !ruby/object:Gem::Requirement
17
17
  none: false
18
18
  requirements:
19
19
  - - =
@@ -21,10 +21,10 @@ dependencies:
21
21
  version: 0.9.0.pre8
22
22
  type: :runtime
23
23
  prerelease: false
24
- version_requirements: *16743980
24
+ version_requirements: *19664540
25
25
  - !ruby/object:Gem::Dependency
26
26
  name: rake
27
- requirement: &16759760 !ruby/object:Gem::Requirement
27
+ requirement: &19793220 !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: *16759760
35
+ version_requirements: *19793220
36
36
  - !ruby/object:Gem::Dependency
37
37
  name: rufus-scheduler
38
- requirement: &16781140 !ruby/object:Gem::Requirement
38
+ requirement: &19792060 !ruby/object:Gem::Requirement
39
39
  none: false
40
40
  requirements:
41
41
  - - ~>
@@ -43,10 +43,10 @@ dependencies:
43
43
  version: '2.0'
44
44
  type: :runtime
45
45
  prerelease: false
46
- version_requirements: *16781140
46
+ version_requirements: *19792060
47
47
  - !ruby/object:Gem::Dependency
48
48
  name: rails
49
- requirement: &16779200 !ruby/object:Gem::Requirement
49
+ requirement: &19791140 !ruby/object:Gem::Requirement
50
50
  none: false
51
51
  requirements:
52
52
  - - ! '>='
@@ -54,7 +54,7 @@ dependencies:
54
54
  version: '3.0'
55
55
  type: :runtime
56
56
  prerelease: false
57
- version_requirements: *16779200
57
+ version_requirements: *19791140
58
58
  description: Background jobs on RabbitMQ
59
59
  email:
60
60
  - lazureykis@gmail.com
@@ -113,7 +113,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
113
113
  version: '0'
114
114
  segments:
115
115
  - 0
116
- hash: 504424141918949270
116
+ hash: -4333502300834498874
117
117
  required_rubygems_version: !ruby/object:Gem::Requirement
118
118
  none: false
119
119
  requirements:
@@ -122,7 +122,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
122
122
  version: '0'
123
123
  segments:
124
124
  - 0
125
- hash: 504424141918949270
125
+ hash: -4333502300834498874
126
126
  requirements: []
127
127
  rubyforge_project:
128
128
  rubygems_version: 1.8.11