refinery 0.9.14 → 0.9.15
Sign up to get free protection for your applications and to get access to all the features.
- data/VERSION +1 -1
- data/lib/refinery/queueable.rb +5 -1
- data/lib/refinery.rb +2 -0
- data/refinery.gemspec +2 -2
- metadata +2 -2
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
0.9.
|
1
|
+
0.9.15
|
data/lib/refinery/queueable.rb
CHANGED
@@ -19,7 +19,11 @@ module Refinery #:nodoc:
|
|
19
19
|
yield queue(name)
|
20
20
|
rescue Exception => e
|
21
21
|
logger.error "Queue error: #{e.message}"
|
22
|
-
|
22
|
+
# this removes the sqs connection from the current thread.
|
23
|
+
# note that this is brittle and will break if the RightAWS
|
24
|
+
# library changes the name or the way the sqs connection is
|
25
|
+
# stored in the thread local hash
|
26
|
+
Thread.current[:sqs_connection] = nil
|
23
27
|
sleep(5)
|
24
28
|
retry
|
25
29
|
end
|
data/lib/refinery.rb
CHANGED
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.9.
|
5
|
+
s.version = "0.9.15"
|
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-
|
9
|
+
s.date = %q{2009-07-11}
|
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.9.
|
4
|
+
version: 0.9.15
|
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-
|
12
|
+
date: 2009-07-11 00:00:00 -04:00
|
13
13
|
default_executable:
|
14
14
|
dependencies: []
|
15
15
|
|