rabbit_jobs 0.8.19 → 0.8.20
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/rabbit_jobs/version.rb +1 -1
- data/lib/rabbit_jobs/worker.rb +3 -3
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 6ae8280cb0507c08c0bd8603349ca504b389d986
|
4
|
+
data.tar.gz: 277bd310798482e364287b14530a029d6888bc13
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 6569f377bce44b954ed3de7485547294a52e246c7acda1019b23b06fa82236450106f3c0a73e5b4c425747029c3750e23a6a80f143bd23e5ae584121ce83df93
|
7
|
+
data.tar.gz: f8f8872fb78f74014d7767d48d169e5637bf967573c5dc3857b708c3c214da49994c56f9c11578c6217c22c7ed1994e43f7ce2b0401cd53e76c698a188b1c626
|
data/lib/rabbit_jobs/version.rb
CHANGED
data/lib/rabbit_jobs/worker.rb
CHANGED
@@ -94,13 +94,13 @@ module RabbitJobs
|
|
94
94
|
private
|
95
95
|
|
96
96
|
def consume_message(delivery_info, properties, payload)
|
97
|
-
if RJ.run_before_process_message_callbacks
|
97
|
+
if (RJ.run_before_process_message_callbacks rescue nil)
|
98
98
|
begin
|
99
99
|
@consumer.process_message(delivery_info, properties, payload)
|
100
100
|
@processed_count += 1
|
101
101
|
rescue
|
102
|
-
RabbitJobs.logger.error(short_message:
|
103
|
-
|
102
|
+
RabbitJobs.logger.error(short_message: $!.message,
|
103
|
+
_payload: payload, _exception: $!.class, full_message: _cleanup_backtrace($!.backtrace).join("\r\n"))
|
104
104
|
end
|
105
105
|
true
|
106
106
|
else
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: rabbit_jobs
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.8.
|
4
|
+
version: 0.8.20
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Pavel Lazureykis
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2013-11-
|
11
|
+
date: 2013-11-30 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bunny
|
@@ -132,7 +132,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
132
132
|
version: '0'
|
133
133
|
requirements: []
|
134
134
|
rubyforge_project:
|
135
|
-
rubygems_version: 2.0.
|
135
|
+
rubygems_version: 2.0.14
|
136
136
|
signing_key:
|
137
137
|
specification_version: 4
|
138
138
|
summary: Background jobs on RabbitMQ
|