refinery 0.10.2 → 0.10.3

Sign up to get free protection for your applications and to get access to all the features.
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.10.2
1
+ 0.10.3
@@ -99,7 +99,8 @@ module Refinery #:nodoc:
99
99
  error_message = {
100
100
  'error' => {
101
101
  'message' => e.message,
102
- 'class' => e.class.name
102
+ 'class' => e.class.name,
103
+ 'backtrace' => e.backtrace
103
104
  },
104
105
  'host_info' => host_info,
105
106
  'original' => message.body
@@ -11,7 +11,11 @@ module Refinery #:nodoc:
11
11
  # Given the queue name and a block, yield the named queue into
12
12
  # the block.
13
13
  def with_queue(name, &block)
14
- yield queue(name)
14
+ begin
15
+ yield queue(name)
16
+ rescue Exception => e
17
+ logger.error "An error occurred when communicating with queue #{name}: #{e}"
18
+ end
15
19
  end
16
20
 
17
21
  protected
data/refinery.gemspec CHANGED
@@ -2,11 +2,11 @@
2
2
 
3
3
  Gem::Specification.new do |s|
4
4
  s.name = %q{refinery}
5
- s.version = "0.10.2"
5
+ s.version = "0.10.3"
6
6
 
7
7
  s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
8
8
  s.authors = ["Anthony Eden"]
9
- s.date = %q{2009-07-13}
9
+ s.date = %q{2009-07-14}
10
10
  s.description = %q{Process data in a distributed fashion.}
11
11
  s.email = %q{anthonyeden@gmail.com}
12
12
  s.executables = ["epub", "monitor", "pubnow", "refinery"]
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: refinery
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.10.2
4
+ version: 0.10.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Anthony Eden
@@ -9,7 +9,7 @@ autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
11
 
12
- date: 2009-07-13 00:00:00 -04:00
12
+ date: 2009-07-14 00:00:00 -04:00
13
13
  default_executable:
14
14
  dependencies: []
15
15