Skip to content
This repository
Browse code

forgot to run tests )

  • Loading branch information...
commit b5939ad613010348ce820e503dd734a37b44066c 1 parent 366bbe1
Luke van der Hoeven authored December 01, 2010
4  kthxbye.gemspec
@@ -10,11 +10,11 @@ Gem::Specification.new do |s|
10 10
   s.summary = %q{Async processing + results notification}
11 11
   s.description = %q{Kthxbye is the answer to a fairly unique-yet-common problem: Background job processing when we care about the result.}
12 12
   s.email = %q{hungerandthirst@gmail.com}
13  
-  s.extra_rdoc_files = %w(LICENSE README.rdoc)
  13
+  s.extra_rdoc_files = %w(LICENSE README.md)
14 14
   s.executables = ['kthxbye-monitor']
15 15
   s.default_executable = 'kthxbye-monitor'
16 16
 
17  
-  s.files = Dir.glob("{bin,lib}/**/*") + %w(LICENSE README.rdoc DESIGN.textile config.ru Gemfile)
  17
+  s.files = Dir.glob("{bin,lib}/**/*") + %w(LICENSE README.md DESIGN.textile config.ru Gemfile)
18 18
   s.test_files = Dir.glob("{test}/**/*")
19 19
 
20 20
   s.homepage = %q{http://github.com/plukevdh/kthxbye}
2  lib/kthxbye/job.rb
@@ -122,7 +122,7 @@ def perform
122 122
 
123 123
         result = @klass.send(:perform, *@payload)
124 124
         redis.hset( "result-store:#{@queue}", @id, encode( result ) )
125  
-        redis.publish("job.completed", @current_job.id)
  125
+        redis.publish("job.completed", @id)
126 126
         return result
127 127
       rescue Object => ex
128 128
         # handled by worker

0 notes on commit b5939ad

Please sign in to comment.
Something went wrong with that request. Please try again.