refinery 0.9.14 → 0.9.15

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.9.14
1
+ 0.9.15
@@ -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
- @queue_provider = nil
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
@@ -1,3 +1,5 @@
1
+ $KCODE="UTF8"
2
+
1
3
  $:.unshift(File.dirname(__FILE__))
2
4
 
3
5
  require 'logger'
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.14"
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-10}
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.14
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-10 00:00:00 -04:00
12
+ date: 2009-07-11 00:00:00 -04:00
13
13
  default_executable:
14
14
  dependencies: []
15
15